@sikka/hawa 0.1.90 → 0.1.92
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 +30 -6
- package/dist/index.d.ts +30 -6
- package/dist/index.js +407 -263
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +82 -27
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +31 -0
- package/package.json +1 -1
- package/src/blocks/AuthForms/AppLanding.tsx +99 -51
- package/src/blocks/AuthForms/ResetPasswordForm.tsx +13 -9
- package/src/elements/Button.tsx +10 -1
- package/src/elements/DropdownMenu.tsx +9 -3
- package/src/elements/Icons.tsx +24 -0
- package/src/elements/Toaster.tsx +1 -3
- package/src/styles.css +31 -0
- package/src/tailwind.css +10 -0
- package/src/translations/ar.json +9 -0
- package/src/translations/en.json +9 -0
package/dist/index.d.mts
CHANGED
|
@@ -760,7 +760,7 @@ type ImageCardTypes = {
|
|
|
760
760
|
declare const ActionCard: FC<ImageCardTypes>;
|
|
761
761
|
|
|
762
762
|
declare const buttonVariants: (props?: {
|
|
763
|
-
variant?: "link" | "default" | "outline" | "light" | "secondary" | "destructive" | "ghost";
|
|
763
|
+
variant?: "link" | "default" | "outline" | "light" | "secondary" | "destructive" | "ghost" | "neoBrutalism";
|
|
764
764
|
size?: "icon" | "default" | "sm" | "lg" | "xl" | "xs" | "heightless" | "smallIcon";
|
|
765
765
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
766
766
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -1117,20 +1117,42 @@ type UserSettingsFormTypes = {
|
|
|
1117
1117
|
declare const UserSettingsForm: FC<UserSettingsFormTypes>;
|
|
1118
1118
|
|
|
1119
1119
|
type AppLandingTypes = {
|
|
1120
|
-
handleSignIn: () => void;
|
|
1121
|
-
handleSignUp: () => void;
|
|
1122
|
-
handleLanguage: () => void;
|
|
1123
|
-
handleColorMode: () => void;
|
|
1124
1120
|
texts?: {
|
|
1125
1121
|
signIn: string;
|
|
1126
1122
|
signUp: string;
|
|
1127
1123
|
lang: string;
|
|
1128
1124
|
newUserText?: string;
|
|
1129
1125
|
createAccount?: string;
|
|
1126
|
+
continueWithGoogle?: string;
|
|
1127
|
+
continueWithTwitter?: string;
|
|
1128
|
+
continueWithApple?: string;
|
|
1129
|
+
continueWithMicrosoft?: string;
|
|
1130
|
+
continueWithGithub?: string;
|
|
1131
|
+
continueWithEmail?: string;
|
|
1132
|
+
continueWithPhone?: string;
|
|
1130
1133
|
};
|
|
1134
|
+
viaGoogle?: boolean;
|
|
1135
|
+
viaTwitter?: boolean;
|
|
1136
|
+
viaGithub?: boolean;
|
|
1137
|
+
viaMicrosoft?: boolean;
|
|
1138
|
+
viaEmail?: boolean;
|
|
1139
|
+
viaPhone?: boolean;
|
|
1140
|
+
viaApple?: boolean;
|
|
1131
1141
|
withoutSignUp?: boolean;
|
|
1132
|
-
handleRouteToSignUp?: () => void;
|
|
1133
1142
|
size: "small" | "normal" | "full";
|
|
1143
|
+
direction: "rtl" | "ltr";
|
|
1144
|
+
handleSignIn: () => void;
|
|
1145
|
+
handleSignUp: () => void;
|
|
1146
|
+
handleLanguage: () => void;
|
|
1147
|
+
handleColorMode: () => void;
|
|
1148
|
+
handleRouteToSignUp?: () => void;
|
|
1149
|
+
handleGoogle?: () => void;
|
|
1150
|
+
handleTwitter?: () => void;
|
|
1151
|
+
handleApple?: () => void;
|
|
1152
|
+
handleMicrosoft?: () => void;
|
|
1153
|
+
handleGithub?: () => void;
|
|
1154
|
+
handleEmail?: () => void;
|
|
1155
|
+
handlePhone?: () => void;
|
|
1134
1156
|
};
|
|
1135
1157
|
declare const AppLanding: FC<AppLandingTypes>;
|
|
1136
1158
|
|
|
@@ -1293,6 +1315,8 @@ type ResetPasswordType = {
|
|
|
1293
1315
|
signUpText: string;
|
|
1294
1316
|
dontHaveAccount: string;
|
|
1295
1317
|
};
|
|
1318
|
+
headless?: boolean;
|
|
1319
|
+
direction?: "rtl" | "ltr";
|
|
1296
1320
|
};
|
|
1297
1321
|
declare const ResetPasswordForm: FC<ResetPasswordType>;
|
|
1298
1322
|
|
package/dist/index.d.ts
CHANGED
|
@@ -760,7 +760,7 @@ type ImageCardTypes = {
|
|
|
760
760
|
declare const ActionCard: FC<ImageCardTypes>;
|
|
761
761
|
|
|
762
762
|
declare const buttonVariants: (props?: {
|
|
763
|
-
variant?: "link" | "default" | "outline" | "light" | "secondary" | "destructive" | "ghost";
|
|
763
|
+
variant?: "link" | "default" | "outline" | "light" | "secondary" | "destructive" | "ghost" | "neoBrutalism";
|
|
764
764
|
size?: "icon" | "default" | "sm" | "lg" | "xl" | "xs" | "heightless" | "smallIcon";
|
|
765
765
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
766
766
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -1117,20 +1117,42 @@ type UserSettingsFormTypes = {
|
|
|
1117
1117
|
declare const UserSettingsForm: FC<UserSettingsFormTypes>;
|
|
1118
1118
|
|
|
1119
1119
|
type AppLandingTypes = {
|
|
1120
|
-
handleSignIn: () => void;
|
|
1121
|
-
handleSignUp: () => void;
|
|
1122
|
-
handleLanguage: () => void;
|
|
1123
|
-
handleColorMode: () => void;
|
|
1124
1120
|
texts?: {
|
|
1125
1121
|
signIn: string;
|
|
1126
1122
|
signUp: string;
|
|
1127
1123
|
lang: string;
|
|
1128
1124
|
newUserText?: string;
|
|
1129
1125
|
createAccount?: string;
|
|
1126
|
+
continueWithGoogle?: string;
|
|
1127
|
+
continueWithTwitter?: string;
|
|
1128
|
+
continueWithApple?: string;
|
|
1129
|
+
continueWithMicrosoft?: string;
|
|
1130
|
+
continueWithGithub?: string;
|
|
1131
|
+
continueWithEmail?: string;
|
|
1132
|
+
continueWithPhone?: string;
|
|
1130
1133
|
};
|
|
1134
|
+
viaGoogle?: boolean;
|
|
1135
|
+
viaTwitter?: boolean;
|
|
1136
|
+
viaGithub?: boolean;
|
|
1137
|
+
viaMicrosoft?: boolean;
|
|
1138
|
+
viaEmail?: boolean;
|
|
1139
|
+
viaPhone?: boolean;
|
|
1140
|
+
viaApple?: boolean;
|
|
1131
1141
|
withoutSignUp?: boolean;
|
|
1132
|
-
handleRouteToSignUp?: () => void;
|
|
1133
1142
|
size: "small" | "normal" | "full";
|
|
1143
|
+
direction: "rtl" | "ltr";
|
|
1144
|
+
handleSignIn: () => void;
|
|
1145
|
+
handleSignUp: () => void;
|
|
1146
|
+
handleLanguage: () => void;
|
|
1147
|
+
handleColorMode: () => void;
|
|
1148
|
+
handleRouteToSignUp?: () => void;
|
|
1149
|
+
handleGoogle?: () => void;
|
|
1150
|
+
handleTwitter?: () => void;
|
|
1151
|
+
handleApple?: () => void;
|
|
1152
|
+
handleMicrosoft?: () => void;
|
|
1153
|
+
handleGithub?: () => void;
|
|
1154
|
+
handleEmail?: () => void;
|
|
1155
|
+
handlePhone?: () => void;
|
|
1134
1156
|
};
|
|
1135
1157
|
declare const AppLanding: FC<AppLandingTypes>;
|
|
1136
1158
|
|
|
@@ -1293,6 +1315,8 @@ type ResetPasswordType = {
|
|
|
1293
1315
|
signUpText: string;
|
|
1294
1316
|
dontHaveAccount: string;
|
|
1295
1317
|
};
|
|
1318
|
+
headless?: boolean;
|
|
1319
|
+
direction?: "rtl" | "ltr";
|
|
1296
1320
|
};
|
|
1297
1321
|
declare const ResetPasswordForm: FC<ResetPasswordType>;
|
|
1298
1322
|
|