@sikka/hawa 0.2.3 → 0.2.5-beta
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/index.d.mts +26 -12
- package/dist/index.d.ts +26 -12
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +5 -3
- package/package.json +2 -2
- package/src/blocks/AuthForms/SignInForm.tsx +90 -72
- package/src/blocks/AuthForms/SignInPhone.tsx +129 -26
- package/src/elements/UsageCard.tsx +2 -2
- package/src/styles.css +5 -3
- package/src/tailwind.css +5 -3
package/dist/index.d.mts
CHANGED
|
@@ -1204,22 +1204,22 @@ type SignInPhoneTypes = {
|
|
|
1204
1204
|
handlePhoneChange: any;
|
|
1205
1205
|
phoneRequiredText: any;
|
|
1206
1206
|
SignInButtonText: any;
|
|
1207
|
-
|
|
1207
|
+
handleContinue: any;
|
|
1208
|
+
handleConfirm: any;
|
|
1209
|
+
loadingContinue?: boolean;
|
|
1210
|
+
loadingConfirm?: boolean;
|
|
1211
|
+
confirmationStage?: boolean;
|
|
1212
|
+
texts?: {
|
|
1213
|
+
didntGetCode?: string;
|
|
1214
|
+
resendCode?: string;
|
|
1215
|
+
cancel?: string;
|
|
1216
|
+
confirm?: string;
|
|
1217
|
+
continue?: string;
|
|
1218
|
+
};
|
|
1208
1219
|
};
|
|
1209
1220
|
declare const SignInPhone: FC<SignInPhoneTypes>;
|
|
1210
1221
|
|
|
1211
|
-
declare const SignInForm: FC<SignInFormTypes>;
|
|
1212
1222
|
type SignInFormTypes = {
|
|
1213
|
-
handleLanguage?: () => void;
|
|
1214
|
-
currentLanguage?: any;
|
|
1215
|
-
handleColorMode?: () => void;
|
|
1216
|
-
currentColorMode?: any;
|
|
1217
|
-
logosOnly?: boolean;
|
|
1218
|
-
direction?: "rtl" | "ltr";
|
|
1219
|
-
showError?: any;
|
|
1220
|
-
errorTitle?: string;
|
|
1221
|
-
errorText?: string;
|
|
1222
|
-
signInType?: "email" | "username" | "phone";
|
|
1223
1223
|
texts?: {
|
|
1224
1224
|
emailLabel?: string;
|
|
1225
1225
|
emailPlaceholder?: string;
|
|
@@ -1240,12 +1240,25 @@ type SignInFormTypes = {
|
|
|
1240
1240
|
signInViaGithubLabel?: string;
|
|
1241
1241
|
signInViaTwitterLabel?: string;
|
|
1242
1242
|
};
|
|
1243
|
+
handleLanguage?: () => void;
|
|
1244
|
+
currentLanguage?: any;
|
|
1245
|
+
handleColorMode?: () => void;
|
|
1246
|
+
currentColorMode?: any;
|
|
1247
|
+
logosOnly?: boolean;
|
|
1248
|
+
direction?: "rtl" | "ltr";
|
|
1249
|
+
showError?: any;
|
|
1250
|
+
errorTitle?: string;
|
|
1251
|
+
errorText?: string;
|
|
1252
|
+
signInType?: "email" | "username" | "phone";
|
|
1243
1253
|
withoutResetPassword?: boolean;
|
|
1244
1254
|
withoutSignUp?: boolean;
|
|
1245
1255
|
/**
|
|
1246
1256
|
*show spinner if true
|
|
1247
1257
|
*/
|
|
1248
1258
|
isLoading?: any;
|
|
1259
|
+
isGoogleLoading?: boolean;
|
|
1260
|
+
isTwitterLoading?: boolean;
|
|
1261
|
+
isGithubLoading?: boolean;
|
|
1249
1262
|
viaGoogle?: boolean;
|
|
1250
1263
|
viaGithub?: boolean;
|
|
1251
1264
|
viaTwitter?: boolean;
|
|
@@ -1262,6 +1275,7 @@ type SignInFormTypes = {
|
|
|
1262
1275
|
handleGithubSignIn?: () => void;
|
|
1263
1276
|
handleTwitterSignIn?: () => void;
|
|
1264
1277
|
};
|
|
1278
|
+
declare const SignInForm: FC<SignInFormTypes>;
|
|
1265
1279
|
|
|
1266
1280
|
declare function SignInBlock(): React$1.JSX.Element;
|
|
1267
1281
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1204,22 +1204,22 @@ type SignInPhoneTypes = {
|
|
|
1204
1204
|
handlePhoneChange: any;
|
|
1205
1205
|
phoneRequiredText: any;
|
|
1206
1206
|
SignInButtonText: any;
|
|
1207
|
-
|
|
1207
|
+
handleContinue: any;
|
|
1208
|
+
handleConfirm: any;
|
|
1209
|
+
loadingContinue?: boolean;
|
|
1210
|
+
loadingConfirm?: boolean;
|
|
1211
|
+
confirmationStage?: boolean;
|
|
1212
|
+
texts?: {
|
|
1213
|
+
didntGetCode?: string;
|
|
1214
|
+
resendCode?: string;
|
|
1215
|
+
cancel?: string;
|
|
1216
|
+
confirm?: string;
|
|
1217
|
+
continue?: string;
|
|
1218
|
+
};
|
|
1208
1219
|
};
|
|
1209
1220
|
declare const SignInPhone: FC<SignInPhoneTypes>;
|
|
1210
1221
|
|
|
1211
|
-
declare const SignInForm: FC<SignInFormTypes>;
|
|
1212
1222
|
type SignInFormTypes = {
|
|
1213
|
-
handleLanguage?: () => void;
|
|
1214
|
-
currentLanguage?: any;
|
|
1215
|
-
handleColorMode?: () => void;
|
|
1216
|
-
currentColorMode?: any;
|
|
1217
|
-
logosOnly?: boolean;
|
|
1218
|
-
direction?: "rtl" | "ltr";
|
|
1219
|
-
showError?: any;
|
|
1220
|
-
errorTitle?: string;
|
|
1221
|
-
errorText?: string;
|
|
1222
|
-
signInType?: "email" | "username" | "phone";
|
|
1223
1223
|
texts?: {
|
|
1224
1224
|
emailLabel?: string;
|
|
1225
1225
|
emailPlaceholder?: string;
|
|
@@ -1240,12 +1240,25 @@ type SignInFormTypes = {
|
|
|
1240
1240
|
signInViaGithubLabel?: string;
|
|
1241
1241
|
signInViaTwitterLabel?: string;
|
|
1242
1242
|
};
|
|
1243
|
+
handleLanguage?: () => void;
|
|
1244
|
+
currentLanguage?: any;
|
|
1245
|
+
handleColorMode?: () => void;
|
|
1246
|
+
currentColorMode?: any;
|
|
1247
|
+
logosOnly?: boolean;
|
|
1248
|
+
direction?: "rtl" | "ltr";
|
|
1249
|
+
showError?: any;
|
|
1250
|
+
errorTitle?: string;
|
|
1251
|
+
errorText?: string;
|
|
1252
|
+
signInType?: "email" | "username" | "phone";
|
|
1243
1253
|
withoutResetPassword?: boolean;
|
|
1244
1254
|
withoutSignUp?: boolean;
|
|
1245
1255
|
/**
|
|
1246
1256
|
*show spinner if true
|
|
1247
1257
|
*/
|
|
1248
1258
|
isLoading?: any;
|
|
1259
|
+
isGoogleLoading?: boolean;
|
|
1260
|
+
isTwitterLoading?: boolean;
|
|
1261
|
+
isGithubLoading?: boolean;
|
|
1249
1262
|
viaGoogle?: boolean;
|
|
1250
1263
|
viaGithub?: boolean;
|
|
1251
1264
|
viaTwitter?: boolean;
|
|
@@ -1262,6 +1275,7 @@ type SignInFormTypes = {
|
|
|
1262
1275
|
handleGithubSignIn?: () => void;
|
|
1263
1276
|
handleTwitterSignIn?: () => void;
|
|
1264
1277
|
};
|
|
1278
|
+
declare const SignInForm: FC<SignInFormTypes>;
|
|
1265
1279
|
|
|
1266
1280
|
declare function SignInBlock(): React$1.JSX.Element;
|
|
1267
1281
|
|