@sikka/hawa 0.0.99 → 0.0.100
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/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 +14 -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/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 +14 -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/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/tsconfig.json +1 -0
|
@@ -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 {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type MenuTypes = {
|
|
3
|
+
popMenuID: any;
|
|
4
|
+
menuItems: any;
|
|
5
|
+
withHeader: any;
|
|
6
|
+
withIcons: any;
|
|
7
|
+
headerTitle: any;
|
|
8
|
+
headerSubtitle: any;
|
|
9
|
+
open: any;
|
|
10
|
+
handleClose: any;
|
|
11
|
+
anchor: any;
|
|
12
|
+
};
|
|
13
|
+
export declare const HawaMenu: React.FunctionComponent<MenuTypes>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type ModalTypes = {
|
|
3
|
+
open: any;
|
|
4
|
+
title: any;
|
|
5
|
+
onClose: any;
|
|
6
|
+
closeOnClickOutside: any;
|
|
7
|
+
modalID: any;
|
|
8
|
+
children: any;
|
|
9
|
+
actions: any;
|
|
10
|
+
};
|
|
11
|
+
export declare const HawaModal: React.FunctionComponent<ModalTypes>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type HawaPhoneInputTypes = {
|
|
3
|
+
preferredCountry?: any;
|
|
4
|
+
helperText?: any;
|
|
5
|
+
label?: string;
|
|
6
|
+
value?: any;
|
|
7
|
+
country?: any;
|
|
8
|
+
handleChange?: any;
|
|
9
|
+
};
|
|
10
|
+
export declare const HawaPhoneInput: React.FunctionComponent<HawaPhoneInputTypes>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type PricingCardTypes = {
|
|
3
|
+
lang: "ar" | "en";
|
|
4
|
+
features: [any];
|
|
5
|
+
features_ar: [any];
|
|
6
|
+
title: string;
|
|
7
|
+
title_ar: string;
|
|
8
|
+
price: number;
|
|
9
|
+
currency: string;
|
|
10
|
+
buttonText: string;
|
|
11
|
+
cycleText: string;
|
|
12
|
+
size: "small" | "medium" | "large";
|
|
13
|
+
};
|
|
14
|
+
export declare const HawaPricingCard: React.FunctionComponent<PricingCardTypes>;
|
|
15
|
+
export {};
|