@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.
Files changed (66) hide show
  1. package/dist/{ar-zUaskoUZ.js → ar-C__uXRig.js} +5 -3
  2. package/dist/ar-D9ef1rPL.js +38 -0
  3. package/dist/beatui.css +1 -1
  4. package/dist/{de-C0vbdZdj.js → de-CaqDmb7M.js} +3 -1
  5. package/dist/{de-C_Zm61s8.js → de-DvSVUCKi.js} +3 -1
  6. package/dist/{es-BALLrljC.js → es-D2MgpsFw.js} +6 -4
  7. package/dist/{es-Br-Gawkv.js → es-kZH0y7yE.js} +3 -1
  8. package/dist/{fa-4g9jzgMM.js → fa-7Lh__M6_.js} +3 -1
  9. package/dist/fa-CZ1jHeSI.js +38 -0
  10. package/dist/{fr-CzyXyFEo.js → fr-BFb9eub-.js} +3 -1
  11. package/dist/{fr-TsXahdgA.js → fr-Bi9Ce2bU.js} +6 -4
  12. package/dist/{he-CBxtA7rr.js → he-DCxEMw1h.js} +3 -1
  13. package/dist/he-iAAKM-JS.js +38 -0
  14. package/dist/hi-BMfFIHn-.js +38 -0
  15. package/dist/{hi-B6LQz-RO.js → hi-Bbnlpps9.js} +4 -2
  16. package/dist/index.es.js +1612 -1607
  17. package/dist/index.umd.js +27 -27
  18. package/dist/{it-CFHKs1al.js → it-CWTDpmhc.js} +3 -1
  19. package/dist/{it-CkmN7du_.js → it-RYZ8E-C6.js} +3 -1
  20. package/dist/{ja-C81oj42G.js → ja-4x5hNiAy.js} +6 -4
  21. package/dist/{ja-D6tNi1ze.js → ja-C1Nynl79.js} +3 -1
  22. package/dist/ko-BFy6uytC.js +38 -0
  23. package/dist/{ko-71CknADn.js → ko-BnQv3_8f.js} +3 -1
  24. package/dist/nl-BRZt7kSA.js +38 -0
  25. package/dist/{nl-CnSz3Cp_.js → nl-CH2009II.js} +3 -1
  26. package/dist/{pl-og-2JJLB.js → pl-Cd4dZDyG.js} +3 -1
  27. package/dist/pl-DKbc4KpN.js +38 -0
  28. package/dist/{pt-DtslyWAl.js → pt-Bful1nYu.js} +3 -1
  29. package/dist/{pt-M61qKkTf.js → pt-CZER9j0r.js} +3 -1
  30. package/dist/{ru-BIqAHQQ4.js → ru-9lG4xtda.js} +3 -1
  31. package/dist/{ru-CIn0tYwk.js → ru-CCEGJYwF.js} +3 -1
  32. package/dist/{tr-BXwpkxgd.js → tr-BVIGQcgy.js} +3 -1
  33. package/dist/tr-D3uQnNr4.js +38 -0
  34. package/dist/types/auth-i18n/default.d.ts +1 -0
  35. package/dist/types/auth-i18n/locales/ar.d.ts +29 -0
  36. package/dist/types/auth-i18n/locales/de.d.ts +1 -0
  37. package/dist/types/auth-i18n/locales/en.d.ts +1 -0
  38. package/dist/types/auth-i18n/locales/es.d.ts +1 -0
  39. package/dist/types/auth-i18n/locales/fa.d.ts +29 -0
  40. package/dist/types/auth-i18n/locales/fr.d.ts +1 -0
  41. package/dist/types/auth-i18n/locales/he.d.ts +29 -0
  42. package/dist/types/auth-i18n/locales/hi.d.ts +29 -0
  43. package/dist/types/auth-i18n/locales/it.d.ts +1 -0
  44. package/dist/types/auth-i18n/locales/ja.d.ts +1 -0
  45. package/dist/types/auth-i18n/locales/ko.d.ts +29 -0
  46. package/dist/types/auth-i18n/locales/nl.d.ts +29 -0
  47. package/dist/types/auth-i18n/locales/pl.d.ts +29 -0
  48. package/dist/types/auth-i18n/locales/pt.d.ts +1 -0
  49. package/dist/types/auth-i18n/locales/ru.d.ts +1 -0
  50. package/dist/types/auth-i18n/locales/tr.d.ts +29 -0
  51. package/dist/types/auth-i18n/locales/ur.d.ts +29 -0
  52. package/dist/types/auth-i18n/locales/vi.d.ts +29 -0
  53. package/dist/types/auth-i18n/locales/zh.d.ts +1 -0
  54. package/dist/types/auth-i18n/translations.d.ts +1 -0
  55. package/dist/types/beatui-i18n/default.d.ts +1 -0
  56. package/dist/types/beatui-i18n/locales/en.d.ts +1 -0
  57. package/dist/types/beatui-i18n/translations.d.ts +1 -0
  58. package/dist/types/components/auth/auth-container.d.ts +5 -6
  59. package/dist/types/components/auth/types.d.ts +1 -0
  60. package/dist/ur-BThJLsvD.js +38 -0
  61. package/dist/{ur-B7AcyGH1.js → ur-BVAP8WLA.js} +3 -1
  62. package/dist/vi-Cd6F8iSa.js +38 -0
  63. package/dist/{vi-CaJ4-itr.js → vi-Dv4aIcRH.js} +3 -1
  64. package/dist/{zh-cAmOB1FQ.js → zh-BcAbijvs.js} +3 -1
  65. package/dist/{zh-Cy7W0TAv.js → zh-Boy-i2zO.js} +3 -1
  66. 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;
@@ -24,5 +24,6 @@ declare const zh: {
24
24
  orDivider: () => string;
25
25
  error: () => string;
26
26
  required: () => string;
27
+ authenticationTitle: () => string;
27
28
  };
28
29
  export default zh;
@@ -24,4 +24,5 @@ export declare const AuthI18n: import("@tempots/dom").Provider<import("..").Reac
24
24
  orDivider: () => string;
25
25
  error: () => string;
26
26
  required: () => string;
27
+ authenticationTitle: () => string;
27
28
  }>, object>;
@@ -37,6 +37,7 @@ export declare const defaultMessages: {
37
37
  he: () => string;
38
38
  fa: () => string;
39
39
  ur: () => string;
40
+ emailPlaceholderText: () => string;
40
41
  };
41
42
  export declare const defaultLocale = "en";
42
43
  export type BeatUIMessages = typeof defaultMessages;
@@ -37,5 +37,6 @@ declare const en: {
37
37
  he: () => string;
38
38
  fa: () => string;
39
39
  ur: () => string;
40
+ emailPlaceholderText: () => string;
40
41
  };
41
42
  export default en;
@@ -37,4 +37,5 @@ export declare const BeatUII18n: import("@tempots/dom").Provider<import("..").Re
37
37
  he: () => string;
38
38
  fa: () => string;
39
39
  ur: () => string;
40
+ emailPlaceholderText: () => string;
40
41
  }>, object>;
@@ -1,7 +1,6 @@
1
- import { TNode, Value } from '@tempots/dom';
1
+ import { TNode } from '@tempots/dom';
2
2
  import { AuthContainerOptions } from './index';
3
- export declare function AuthContainer({ mode: initialMode, className, socialProviders, passwordRules, showRememberMe, showSocialDivider, showPasswordStrength, labels, onSignIn, onSignUp, onResetPassword, onModeChange, }: AuthContainerOptions): TNode;
4
- export declare function AuthModal({ isOpen, onClose, ...authOptions }: AuthContainerOptions & {
5
- isOpen: Value<boolean>;
6
- onClose?: () => void;
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
+ };
@@ -37,7 +37,9 @@ const e = {
37
37
  vi: () => "ویتنامی",
38
38
  zh: () => "چینی",
39
39
  fa: () => "فارسی",
40
- ur: () => "اردو"
40
+ ur: () => "اردو",
41
+ // input
42
+ emailPlaceholderText: () => "اپنا ای میل داخل کریں"
41
43
  };
42
44
  export {
43
45
  e as default
@@ -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
+ };
@@ -37,7 +37,9 @@ const n = {
37
37
  zh: () => "Tiếng Trung",
38
38
  he: () => "Tiếng Do Thái",
39
39
  fa: () => "Tiếng Ba Tư",
40
- ur: () => "Tiếng Urdu"
40
+ ur: () => "Tiếng Urdu",
41
+ // input
42
+ emailPlaceholderText: () => "Nhập email của bạn"
41
43
  };
42
44
  export {
43
45
  n as default
@@ -37,7 +37,9 @@ const e = {
37
37
  zh: () => "简体中文",
38
38
  he: () => "希伯来语",
39
39
  fa: () => "波斯语",
40
- ur: () => "乌尔都语"
40
+ ur: () => "乌尔都语",
41
+ // input
42
+ emailPlaceholderText: () => "请输入邮箱"
41
43
  };
42
44
  export {
43
45
  e as default
@@ -29,7 +29,9 @@ const r = {
29
29
  // Common
30
30
  orDivider: () => "或",
31
31
  error: () => "发生错误",
32
- required: () => "必填"
32
+ required: () => "必填",
33
+ // Modal
34
+ authenticationTitle: () => "认证"
33
35
  };
34
36
  export {
35
37
  r as default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tempots/beatui",
3
- "version": "0.13.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.2.0"
59
+ "@tempots/ui": "6.3.0"
60
60
  },
61
61
  "peerDependenciesMeta": {
62
62
  "@tempots/dom": {