@sikka/hawa 0.0.99 → 0.0.101
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/styles.css +57 -8
- package/es/blocks/Account/UserProfileForm.d.ts +8 -0
- package/es/blocks/Account/UserSettingsForm.d.ts +8 -0
- package/es/blocks/Account/index.d.ts +2 -0
- package/es/blocks/AuthForms/AppLanding.d.ts +13 -0
- package/es/blocks/AuthForms/CodeConfirmation.d.ts +10 -0
- package/es/blocks/AuthForms/NewPasswordForm.d.ts +24 -0
- package/es/blocks/AuthForms/ResetPasswordForm.d.ts +18 -0
- package/es/blocks/AuthForms/SignInForm.d.ts +42 -0
- package/es/blocks/AuthForms/SignInPhone.d.ts +12 -0
- package/es/blocks/AuthForms/SignUpForm.d.ts +51 -0
- package/es/blocks/AuthForms/index.d.ts +7 -0
- package/es/blocks/Misc/NotFound.d.ts +4 -0
- package/es/blocks/Misc/index.d.ts +1 -0
- package/es/blocks/Payment/ChargeWalletForm.d.ts +12 -0
- package/es/blocks/Payment/CheckoutForm.d.ts +27 -0
- package/es/blocks/Payment/Confirmation.d.ts +40 -0
- package/es/blocks/Payment/CreditCardForm.d.ts +7 -0
- package/es/blocks/Payment/PayWithWallet.d.ts +8 -0
- package/es/blocks/Payment/SelectPayment.d.ts +26 -0
- package/es/blocks/Payment/index.d.ts +6 -0
- package/es/blocks/Pricing/ComparingPlans.d.ts +7 -0
- package/es/blocks/Pricing/PricingPlans.d.ts +7 -0
- package/es/blocks/Pricing/index.d.ts +2 -0
- package/es/blocks/index.d.ts +4 -0
- package/es/countries.d.ts +2 -0
- package/es/elements/AutoCompleteField.d.ts +8 -0
- package/es/elements/DragDropImages.d.ts +17 -0
- package/es/elements/DraggableCard.d.ts +6 -0
- package/es/elements/HawaAccordian.d.ts +6 -0
- package/es/elements/HawaAdCard.d.ts +10 -0
- package/es/elements/HawaAlert.d.ts +15 -0
- package/es/elements/HawaButton.d.ts +11 -0
- package/es/elements/HawaCheckbox.d.ts +9 -0
- package/es/elements/HawaChip.d.ts +6 -0
- package/es/elements/HawaColorPicker.d.ts +7 -0
- package/es/elements/HawaCopyrights.d.ts +8 -0
- package/es/elements/HawaDrawer.d.ts +13 -0
- package/es/elements/HawaDrawerItem.d.ts +8 -0
- package/es/elements/HawaItemCard.d.ts +11 -0
- package/es/elements/HawaLogoButton.d.ts +9 -0
- package/es/elements/HawaMenu.d.ts +16 -0
- package/es/elements/HawaModal.d.ts +12 -0
- package/es/elements/HawaPanelTabs.d.ts +10 -0
- package/es/elements/HawaPhoneInput.d.ts +11 -0
- package/es/elements/HawaPricingCard.d.ts +15 -0
- package/es/elements/HawaRadio.d.ts +6 -0
- package/es/elements/HawaRange.d.ts +10 -0
- package/es/elements/HawaSearchBar.d.ts +4 -0
- package/es/elements/HawaSelect.d.ts +18 -0
- package/es/elements/HawaSettingsRow.d.ts +7 -0
- package/es/elements/HawaSnackbar.d.ts +9 -0
- package/es/elements/HawaSwitch.d.ts +6 -0
- package/es/elements/HawaTable.d.ts +12 -0
- package/es/elements/HawaTabs.d.ts +8 -0
- package/es/elements/HawaTextField.d.ts +18 -0
- package/es/elements/HawaTooltip.d.ts +7 -0
- package/es/elements/HawaTypography.d.ts +7 -0
- package/es/elements/TabPanel.d.ts +8 -0
- package/es/elements/index.d.ts +30 -0
- package/es/index.d.ts +3 -0
- package/es/index.es.js +1 -1
- package/es/layout/Box.d.ts +2 -0
- package/es/layout/HawaBottomAppBar.d.ts +8 -0
- package/es/layout/HawaContainer.d.ts +7 -0
- package/es/layout/HawaLayout.d.ts +9 -0
- package/es/layout/index.d.ts +4 -0
- package/es/stories/ElementsStories/Buttons.stories.d.ts +23 -0
- package/es/stories/ElementsStories/Snackbar.stories.d.ts +8 -0
- package/es/stories/ElementsStories/Tooltip.stories.d.ts +4 -0
- package/es/util.d.ts +4 -0
- package/lib/blocks/Account/UserProfileForm.d.ts +8 -0
- package/lib/blocks/Account/UserSettingsForm.d.ts +8 -0
- package/lib/blocks/Account/index.d.ts +2 -0
- package/lib/blocks/AuthForms/AppLanding.d.ts +13 -0
- package/lib/blocks/AuthForms/CodeConfirmation.d.ts +10 -0
- package/lib/blocks/AuthForms/NewPasswordForm.d.ts +24 -0
- package/lib/blocks/AuthForms/ResetPasswordForm.d.ts +18 -0
- package/lib/blocks/AuthForms/SignInForm.d.ts +42 -0
- package/lib/blocks/AuthForms/SignInPhone.d.ts +12 -0
- package/lib/blocks/AuthForms/SignUpForm.d.ts +51 -0
- package/lib/blocks/AuthForms/index.d.ts +7 -0
- package/lib/blocks/Misc/NotFound.d.ts +4 -0
- package/lib/blocks/Misc/index.d.ts +1 -0
- package/lib/blocks/Payment/ChargeWalletForm.d.ts +12 -0
- package/lib/blocks/Payment/CheckoutForm.d.ts +27 -0
- package/lib/blocks/Payment/Confirmation.d.ts +40 -0
- package/lib/blocks/Payment/CreditCardForm.d.ts +7 -0
- package/lib/blocks/Payment/PayWithWallet.d.ts +8 -0
- package/lib/blocks/Payment/SelectPayment.d.ts +26 -0
- package/lib/blocks/Payment/index.d.ts +6 -0
- package/lib/blocks/Pricing/ComparingPlans.d.ts +7 -0
- package/lib/blocks/Pricing/PricingPlans.d.ts +7 -0
- package/lib/blocks/Pricing/index.d.ts +2 -0
- package/lib/blocks/index.d.ts +4 -0
- package/lib/countries.d.ts +2 -0
- package/lib/elements/AutoCompleteField.d.ts +8 -0
- package/lib/elements/DragDropImages.d.ts +17 -0
- package/lib/elements/DraggableCard.d.ts +6 -0
- package/lib/elements/HawaAccordian.d.ts +6 -0
- package/lib/elements/HawaAdCard.d.ts +10 -0
- package/lib/elements/HawaAlert.d.ts +15 -0
- package/lib/elements/HawaButton.d.ts +11 -0
- package/lib/elements/HawaCheckbox.d.ts +9 -0
- package/lib/elements/HawaChip.d.ts +6 -0
- package/lib/elements/HawaColorPicker.d.ts +7 -0
- package/lib/elements/HawaCopyrights.d.ts +8 -0
- package/lib/elements/HawaDrawer.d.ts +13 -0
- package/lib/elements/HawaDrawerItem.d.ts +8 -0
- package/lib/elements/HawaItemCard.d.ts +11 -0
- package/lib/elements/HawaLogoButton.d.ts +9 -0
- package/lib/elements/HawaMenu.d.ts +16 -0
- package/lib/elements/HawaModal.d.ts +12 -0
- package/lib/elements/HawaPanelTabs.d.ts +10 -0
- package/lib/elements/HawaPhoneInput.d.ts +11 -0
- package/lib/elements/HawaPricingCard.d.ts +15 -0
- package/lib/elements/HawaRadio.d.ts +6 -0
- package/lib/elements/HawaRange.d.ts +10 -0
- package/lib/elements/HawaSearchBar.d.ts +4 -0
- package/lib/elements/HawaSelect.d.ts +18 -0
- package/lib/elements/HawaSettingsRow.d.ts +7 -0
- package/lib/elements/HawaSnackbar.d.ts +9 -0
- package/lib/elements/HawaSwitch.d.ts +6 -0
- package/lib/elements/HawaTable.d.ts +12 -0
- package/lib/elements/HawaTabs.d.ts +8 -0
- package/lib/elements/HawaTextField.d.ts +18 -0
- package/lib/elements/HawaTooltip.d.ts +7 -0
- package/lib/elements/HawaTypography.d.ts +7 -0
- package/lib/elements/TabPanel.d.ts +8 -0
- package/lib/elements/index.d.ts +30 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +1 -1
- package/lib/layout/Box.d.ts +2 -0
- package/lib/layout/HawaBottomAppBar.d.ts +8 -0
- package/lib/layout/HawaContainer.d.ts +7 -0
- package/lib/layout/HawaLayout.d.ts +9 -0
- package/lib/layout/index.d.ts +4 -0
- package/lib/stories/ElementsStories/Buttons.stories.d.ts +23 -0
- package/lib/stories/ElementsStories/Snackbar.stories.d.ts +8 -0
- package/lib/stories/ElementsStories/Tooltip.stories.d.ts +4 -0
- package/lib/util.d.ts +4 -0
- package/package.json +1 -1
- package/src/elements/DragDropImages.tsx +32 -26
- package/src/elements/HawaMenu.tsx +59 -43
- package/src/styles.css +57 -8
- package/tailwind.config.js +26 -1
- package/tsconfig.json +1 -0
package/dist/styles.css
CHANGED
|
@@ -559,6 +559,9 @@ video {
|
|
|
559
559
|
.z-40 {
|
|
560
560
|
z-index: 40;
|
|
561
561
|
}
|
|
562
|
+
.m-3 {
|
|
563
|
+
margin: 0.75rem;
|
|
564
|
+
}
|
|
562
565
|
.m-2 {
|
|
563
566
|
margin: 0.5rem;
|
|
564
567
|
}
|
|
@@ -702,6 +705,15 @@ video {
|
|
|
702
705
|
.h-12 {
|
|
703
706
|
height: 3rem;
|
|
704
707
|
}
|
|
708
|
+
.h-96 {
|
|
709
|
+
height: 24rem;
|
|
710
|
+
}
|
|
711
|
+
.max-h-72 {
|
|
712
|
+
max-height: 18rem;
|
|
713
|
+
}
|
|
714
|
+
.max-h-0 {
|
|
715
|
+
max-height: 0px;
|
|
716
|
+
}
|
|
705
717
|
.max-h-fit {
|
|
706
718
|
max-height: -moz-fit-content;
|
|
707
719
|
max-height: fit-content;
|
|
@@ -813,6 +825,34 @@ video {
|
|
|
813
825
|
.animate-spin {
|
|
814
826
|
animation: spin 1s linear infinite;
|
|
815
827
|
}
|
|
828
|
+
@keyframes expandDown {
|
|
829
|
+
|
|
830
|
+
0% {
|
|
831
|
+
max-height: 0;
|
|
832
|
+
height: 0;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
100% {
|
|
836
|
+
max-height: 100px;
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
.animate-expandDown {
|
|
840
|
+
animation: expandDown 100ms linear;
|
|
841
|
+
}
|
|
842
|
+
@keyframes expandUp {
|
|
843
|
+
|
|
844
|
+
0% {
|
|
845
|
+
max-height: 100px;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
100% {
|
|
849
|
+
max-height: 0;
|
|
850
|
+
height: 0;
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
.animate-expandUp {
|
|
854
|
+
animation: expandUp 100ms linear;
|
|
855
|
+
}
|
|
816
856
|
.cursor-default {
|
|
817
857
|
cursor: default;
|
|
818
858
|
}
|
|
@@ -924,6 +964,9 @@ video {
|
|
|
924
964
|
.overflow-x-hidden {
|
|
925
965
|
overflow-x: hidden;
|
|
926
966
|
}
|
|
967
|
+
.overflow-y-clip {
|
|
968
|
+
overflow-y: clip;
|
|
969
|
+
}
|
|
927
970
|
.truncate {
|
|
928
971
|
overflow: hidden;
|
|
929
972
|
text-overflow: ellipsis;
|
|
@@ -972,6 +1015,12 @@ video {
|
|
|
972
1015
|
border-top-left-radius: 0px;
|
|
973
1016
|
border-bottom-left-radius: 0px;
|
|
974
1017
|
}
|
|
1018
|
+
.rounded-tr-none {
|
|
1019
|
+
border-top-right-radius: 0px;
|
|
1020
|
+
}
|
|
1021
|
+
.rounded-bl-none {
|
|
1022
|
+
border-bottom-left-radius: 0px;
|
|
1023
|
+
}
|
|
975
1024
|
.rounded-bl-lg {
|
|
976
1025
|
border-bottom-left-radius: 0.5rem;
|
|
977
1026
|
}
|
|
@@ -1021,6 +1070,10 @@ video {
|
|
|
1021
1070
|
--tw-border-opacity: 1;
|
|
1022
1071
|
border-color: rgb(0 0 0 / var(--tw-border-opacity));
|
|
1023
1072
|
}
|
|
1073
|
+
.border-red-500 {
|
|
1074
|
+
--tw-border-opacity: 1;
|
|
1075
|
+
border-color: rgb(239 68 68 / var(--tw-border-opacity));
|
|
1076
|
+
}
|
|
1024
1077
|
.border-gray-200 {
|
|
1025
1078
|
--tw-border-opacity: 1;
|
|
1026
1079
|
border-color: rgb(229 231 235 / var(--tw-border-opacity));
|
|
@@ -1099,10 +1152,6 @@ video {
|
|
|
1099
1152
|
--tw-bg-opacity: 1;
|
|
1100
1153
|
background-color: rgb(163 208 57 / var(--tw-bg-opacity));
|
|
1101
1154
|
}
|
|
1102
|
-
.bg-blue-700 {
|
|
1103
|
-
--tw-bg-opacity: 1;
|
|
1104
|
-
background-color: rgb(29 78 216 / var(--tw-bg-opacity));
|
|
1105
|
-
}
|
|
1106
1155
|
.bg-primary-500 {
|
|
1107
1156
|
--tw-bg-opacity: 1;
|
|
1108
1157
|
background-color: rgb(61 147 249 / var(--tw-bg-opacity));
|
|
@@ -1149,6 +1198,10 @@ video {
|
|
|
1149
1198
|
.p-10 {
|
|
1150
1199
|
padding: 2.5rem;
|
|
1151
1200
|
}
|
|
1201
|
+
.px-2 {
|
|
1202
|
+
padding-left: 0.5rem;
|
|
1203
|
+
padding-right: 0.5rem;
|
|
1204
|
+
}
|
|
1152
1205
|
.px-2\.5 {
|
|
1153
1206
|
padding-left: 0.625rem;
|
|
1154
1207
|
padding-right: 0.625rem;
|
|
@@ -1157,10 +1210,6 @@ video {
|
|
|
1157
1210
|
padding-top: 0.125rem;
|
|
1158
1211
|
padding-bottom: 0.125rem;
|
|
1159
1212
|
}
|
|
1160
|
-
.px-2 {
|
|
1161
|
-
padding-left: 0.5rem;
|
|
1162
|
-
padding-right: 0.5rem;
|
|
1163
|
-
}
|
|
1164
1213
|
.py-0 {
|
|
1165
1214
|
padding-top: 0px;
|
|
1166
1215
|
padding-bottom: 0px;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type AppLandingTypes = {
|
|
3
|
+
handleSignIn: any;
|
|
4
|
+
handleSignUp: any;
|
|
5
|
+
handleLanguage: any;
|
|
6
|
+
texts: {
|
|
7
|
+
signIn: string;
|
|
8
|
+
signUp: string;
|
|
9
|
+
lang: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const AppLanding: React.FunctionComponent<AppLandingTypes>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type NewPasswordTypes = {
|
|
3
|
+
handleNewPassword: any;
|
|
4
|
+
passwordChanged: any;
|
|
5
|
+
errorText: any;
|
|
6
|
+
texts: {
|
|
7
|
+
emailLabel: string;
|
|
8
|
+
emailPlaceholder: string;
|
|
9
|
+
emailRequiredText: string;
|
|
10
|
+
passwordPlaceholder: string;
|
|
11
|
+
updatePassword: string;
|
|
12
|
+
passwordRequiredText: string;
|
|
13
|
+
passwordLabel: string;
|
|
14
|
+
confirmPasswordPlaceholder: string;
|
|
15
|
+
confirmPasswordLabel: string;
|
|
16
|
+
confirmPasswordRequiredText: string;
|
|
17
|
+
passwordMatchError: string;
|
|
18
|
+
forgotPasswordText: string;
|
|
19
|
+
passwordChanged: string;
|
|
20
|
+
};
|
|
21
|
+
handleSignIn: any;
|
|
22
|
+
};
|
|
23
|
+
export declare const NewPasswordForm: React.FunctionComponent<NewPasswordTypes>;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type ResetPasswordType = {
|
|
3
|
+
handleResetPassword: any;
|
|
4
|
+
passwordChanged: any;
|
|
5
|
+
errorText: any;
|
|
6
|
+
sent: any;
|
|
7
|
+
handleSignIn: any;
|
|
8
|
+
texts: {
|
|
9
|
+
emailLabel: string;
|
|
10
|
+
emailPlaceholder: string;
|
|
11
|
+
emailRequiredText: string;
|
|
12
|
+
emailInvalidText: string;
|
|
13
|
+
emailSentText: string;
|
|
14
|
+
resetPassword: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare const ResetPasswordForm: React.FunctionComponent<ResetPasswordType>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type SignInFormTypes = {
|
|
3
|
+
showError: any;
|
|
4
|
+
errorTitle: string;
|
|
5
|
+
errorText: string;
|
|
6
|
+
signInType: "email" | "username" | "phone";
|
|
7
|
+
texts: {
|
|
8
|
+
emailLabel: string;
|
|
9
|
+
emailPlaceholder: string;
|
|
10
|
+
emailRequiredText: string;
|
|
11
|
+
emailInvalidText: string;
|
|
12
|
+
usernameLabel: string;
|
|
13
|
+
usernamePlaceholder: string;
|
|
14
|
+
usernameRequired: string;
|
|
15
|
+
usernameRequiredText: string;
|
|
16
|
+
phoneRequiredText: string;
|
|
17
|
+
passwordLabel: string;
|
|
18
|
+
passwordPlaceholder: string;
|
|
19
|
+
passwordRequiredText: string;
|
|
20
|
+
forgotPasswordText: string;
|
|
21
|
+
newUserText: string;
|
|
22
|
+
signUpText: string;
|
|
23
|
+
signInText: string;
|
|
24
|
+
googleButtonLabel: string;
|
|
25
|
+
githubButtonLabel: string;
|
|
26
|
+
twitterButtonLabel: string;
|
|
27
|
+
};
|
|
28
|
+
withoutResetPassword: boolean;
|
|
29
|
+
withoutSignUp: boolean;
|
|
30
|
+
isLoading: any;
|
|
31
|
+
viaGoogle: boolean;
|
|
32
|
+
viaGithub: boolean;
|
|
33
|
+
viaTwitter: boolean;
|
|
34
|
+
handleSignIn: any;
|
|
35
|
+
handleRouteToSignUp: any;
|
|
36
|
+
handleForgotPassword: any;
|
|
37
|
+
handleGoogleSignIn: any;
|
|
38
|
+
handleGithubSignIn: any;
|
|
39
|
+
handleTwitterSignIn: any;
|
|
40
|
+
};
|
|
41
|
+
export declare const SignInForm: React.FunctionComponent<SignInFormTypes>;
|
|
42
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type SignInPhoneTypes = {
|
|
3
|
+
value: any;
|
|
4
|
+
onSubmit: any;
|
|
5
|
+
country: any;
|
|
6
|
+
label: any;
|
|
7
|
+
handlePhoneChange: any;
|
|
8
|
+
phoneRequiredText: any;
|
|
9
|
+
SignInButtonText: any;
|
|
10
|
+
};
|
|
11
|
+
export declare const SignInPhone: React.FunctionComponent<SignInPhoneTypes>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type SignUpFormTypes = {
|
|
3
|
+
texts: {
|
|
4
|
+
fullNameLabel: string;
|
|
5
|
+
fullNamePlaceholder: string;
|
|
6
|
+
fullNameRequiredText: string;
|
|
7
|
+
emailLabel: string;
|
|
8
|
+
emailPlaceholder: string;
|
|
9
|
+
emailRequiredText: string;
|
|
10
|
+
emailInvalidText: string;
|
|
11
|
+
usernameLabel: string;
|
|
12
|
+
usernamePlaceholder: string;
|
|
13
|
+
usernameRequired: string;
|
|
14
|
+
passwordLabel: string;
|
|
15
|
+
passwordPlaceholder: string;
|
|
16
|
+
passwordRequiredText: string;
|
|
17
|
+
passwordTooShortText: string;
|
|
18
|
+
confirmPasswordLabel: string;
|
|
19
|
+
confirmPasswordPlaceholder: string;
|
|
20
|
+
subscribeToNewsletter: string;
|
|
21
|
+
forgotPasswordText: string;
|
|
22
|
+
termsText: string;
|
|
23
|
+
iAcceptText: string;
|
|
24
|
+
termsRequiredText: string;
|
|
25
|
+
newUserText: string;
|
|
26
|
+
signUpText: string;
|
|
27
|
+
signInText: string;
|
|
28
|
+
existingUserText: string;
|
|
29
|
+
googleButtonLabel: string;
|
|
30
|
+
githubButtonLabel: string;
|
|
31
|
+
twitterButtonLabel: string;
|
|
32
|
+
};
|
|
33
|
+
showUserSource: any;
|
|
34
|
+
signUpType: any;
|
|
35
|
+
viaGoogle: boolean;
|
|
36
|
+
viaGithub: boolean;
|
|
37
|
+
viaTwitter: boolean;
|
|
38
|
+
showNewsletterOption: boolean;
|
|
39
|
+
showRefCode: boolean;
|
|
40
|
+
showTermsOption: boolean;
|
|
41
|
+
handleSignUp: any;
|
|
42
|
+
handleRouteToSignIn: any;
|
|
43
|
+
handleGoogleSignUp: any;
|
|
44
|
+
handleGithubSignUp: any;
|
|
45
|
+
handleTwitterSignUp: any;
|
|
46
|
+
showError: any;
|
|
47
|
+
errorTitle: any;
|
|
48
|
+
errorText: any;
|
|
49
|
+
};
|
|
50
|
+
export declare const SignUpForm: React.FunctionComponent<SignUpFormTypes>;
|
|
51
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./NotFound";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type ChargeWalletTypes = {
|
|
3
|
+
currency: any;
|
|
4
|
+
handleChargeWallet: any;
|
|
5
|
+
texts: {
|
|
6
|
+
amountLabel: string;
|
|
7
|
+
amountRequired: string;
|
|
8
|
+
chargeWallet: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const ChargeWalletForm: React.FunctionComponent<ChargeWalletTypes>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type CheckoutFormTypes = {
|
|
3
|
+
lang: string;
|
|
4
|
+
products: any;
|
|
5
|
+
total: any;
|
|
6
|
+
handlePayNow: any;
|
|
7
|
+
countriesList: any;
|
|
8
|
+
texts: {
|
|
9
|
+
orderDetails: string;
|
|
10
|
+
billingAddress: string;
|
|
11
|
+
payNow: string;
|
|
12
|
+
emailLabel: string;
|
|
13
|
+
emailRequiredText: string;
|
|
14
|
+
emailInvalidText: string;
|
|
15
|
+
firstNameLabel: string;
|
|
16
|
+
required: string;
|
|
17
|
+
lastNameLabel: string;
|
|
18
|
+
streetAddressLabel: string;
|
|
19
|
+
buildingNumberLabel: string;
|
|
20
|
+
cityLabel: string;
|
|
21
|
+
stateLabel: string;
|
|
22
|
+
countryLabel: string;
|
|
23
|
+
zipCodeLabel: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const CheckoutForm: React.FunctionComponent<CheckoutFormTypes>;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type ConfirmationPageTypes = {
|
|
3
|
+
texts: {
|
|
4
|
+
print: string;
|
|
5
|
+
history: string;
|
|
6
|
+
homePage: string;
|
|
7
|
+
successMessage: string;
|
|
8
|
+
orderDetails: string;
|
|
9
|
+
fasterPaymentNote: string;
|
|
10
|
+
billingAddress: string;
|
|
11
|
+
payNow: string;
|
|
12
|
+
yourOrderNumber: string;
|
|
13
|
+
emailLabel: string;
|
|
14
|
+
emailRequiredText: string;
|
|
15
|
+
emailInvalidText: string;
|
|
16
|
+
firstNameLabel: string;
|
|
17
|
+
required: string;
|
|
18
|
+
lastNameLabel: string;
|
|
19
|
+
streetAddressLabel: string;
|
|
20
|
+
buildingNumberLabel: string;
|
|
21
|
+
cityLabel: string;
|
|
22
|
+
stateLabel: string;
|
|
23
|
+
countryLabel: string;
|
|
24
|
+
zipCodeLabel: string;
|
|
25
|
+
refundPolicy: string;
|
|
26
|
+
};
|
|
27
|
+
products: any;
|
|
28
|
+
countriesList: any;
|
|
29
|
+
lang: string;
|
|
30
|
+
total: string;
|
|
31
|
+
userEmail: string;
|
|
32
|
+
orderNumber: string;
|
|
33
|
+
confirmationTitle: string;
|
|
34
|
+
handleHome: any;
|
|
35
|
+
handlePrint: any;
|
|
36
|
+
handleHistory: any;
|
|
37
|
+
handleRefundPolicyLink: any;
|
|
38
|
+
};
|
|
39
|
+
export declare const ConfirmationPage: React.FunctionComponent<ConfirmationPageTypes>;
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type SelectPaymentTypes = {
|
|
3
|
+
viaMada: boolean;
|
|
4
|
+
viaWallet: boolean;
|
|
5
|
+
viaSTCPay: boolean;
|
|
6
|
+
viaPayPal: boolean;
|
|
7
|
+
viaApplePay: boolean;
|
|
8
|
+
viaCreditCard: boolean;
|
|
9
|
+
viaGooglePay: boolean;
|
|
10
|
+
madaLabel: string;
|
|
11
|
+
stcPayLabel: string;
|
|
12
|
+
paypalLabel: string;
|
|
13
|
+
walletLabel: string;
|
|
14
|
+
applePayLabel: string;
|
|
15
|
+
visaMasterLabel: string;
|
|
16
|
+
googlePayLabel: string;
|
|
17
|
+
handleMada: any;
|
|
18
|
+
handleWallet: any;
|
|
19
|
+
handleSTCPay: any;
|
|
20
|
+
handlePayPal: any;
|
|
21
|
+
handleApplePay: any;
|
|
22
|
+
handleCreditCard: any;
|
|
23
|
+
handleGooglePay: any;
|
|
24
|
+
};
|
|
25
|
+
export declare const SelectPayment: React.FunctionComponent<SelectPaymentTypes>;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type DragDropImagesTypes = {
|
|
3
|
+
texts: any;
|
|
4
|
+
files: [File];
|
|
5
|
+
setFiles: any;
|
|
6
|
+
setDeletedFiles: any;
|
|
7
|
+
maxFiles: number;
|
|
8
|
+
accept: any;
|
|
9
|
+
onAcceptedFiles: any;
|
|
10
|
+
showPreview: any;
|
|
11
|
+
onDeleteFile: any;
|
|
12
|
+
onClearFiles: any;
|
|
13
|
+
maxSize: number;
|
|
14
|
+
errorMessages: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const DragDropImages: React.FunctionComponent<DragDropImagesTypes>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type AdCardTypes = {
|
|
3
|
+
orientation: "vertical" | "horizontal";
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
imageURL: string;
|
|
7
|
+
handleHide: any;
|
|
8
|
+
};
|
|
9
|
+
export declare const HawaAdCard: React.FunctionComponent<AdCardTypes>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare let severities: {
|
|
3
|
+
info: string;
|
|
4
|
+
warning: string;
|
|
5
|
+
error: string;
|
|
6
|
+
success: string;
|
|
7
|
+
};
|
|
8
|
+
type AlertTypes = {
|
|
9
|
+
severity: keyof typeof severities;
|
|
10
|
+
title?: any;
|
|
11
|
+
text: any;
|
|
12
|
+
hideIcon?: any;
|
|
13
|
+
};
|
|
14
|
+
export declare const HawaAlert: React.FunctionComponent<AlertTypes>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
variant?: "contained" | "outlined";
|
|
4
|
+
color?: "default" | "primary" | "secondary";
|
|
5
|
+
width?: "full" | "normal" | "half";
|
|
6
|
+
size?: "small" | "medium" | "large";
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function HawaButton({ className, variant, color, size, width, disabled, isLoading, tooltip, children, ...props }: ButtonProps): JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type DrawerTypes = {
|
|
3
|
+
open: any;
|
|
4
|
+
setOpen: any;
|
|
5
|
+
position: any;
|
|
6
|
+
heading: any;
|
|
7
|
+
children: any;
|
|
8
|
+
};
|
|
9
|
+
export declare const HawaDrawer: React.FunctionComponent<DrawerTypes>;
|
|
10
|
+
export declare const DrawerHeader: (props: any) => JSX.Element;
|
|
11
|
+
export declare const DrawerBody: (props: any) => JSX.Element;
|
|
12
|
+
export declare const DrawerFooter: (props: any) => JSX.Element;
|
|
13
|
+
export {};
|