@sikka/hawa 0.0.243 → 0.0.245
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 +8 -3
- package/es/blocks/Account/HawaApiBox.d.ts +2 -2
- package/es/blocks/Account/UserProfileForm.d.ts +2 -2
- package/es/blocks/Account/UserSettingsForm.d.ts +2 -2
- package/es/blocks/AuthForms/AppLanding.d.ts +2 -2
- package/es/blocks/AuthForms/CodeConfirmation.d.ts +3 -3
- package/es/blocks/AuthForms/NewPasswordForm.d.ts +2 -2
- package/es/blocks/AuthForms/ResetPasswordForm.d.ts +2 -2
- package/es/blocks/AuthForms/SignInForm.d.ts +2 -2
- package/es/blocks/AuthForms/SignInPhone.d.ts +2 -2
- package/es/blocks/AuthForms/SignUpForm.d.ts +2 -2
- package/es/blocks/Misc/EmptyState.d.ts +7 -2
- package/es/blocks/Misc/LeadGenerator.d.ts +2 -2
- package/es/blocks/Misc/Newsletter.d.ts +2 -2
- package/es/blocks/Misc/NoPermission.d.ts +6 -2
- package/es/blocks/Misc/NotFound.d.ts +2 -2
- package/es/blocks/Misc/Testimonial.d.ts +2 -2
- package/es/blocks/Payment/ChargeWalletForm.d.ts +2 -2
- package/es/blocks/Payment/CheckoutForm.d.ts +2 -2
- package/es/blocks/Payment/Confirmation.d.ts +2 -2
- package/es/blocks/Payment/CreditCardForm.d.ts +2 -2
- package/es/blocks/Payment/PayWithWallet.d.ts +2 -2
- package/es/blocks/Payment/SelectPayment.d.ts +2 -2
- package/es/blocks/Pricing/ComparingPlans.d.ts +2 -2
- package/es/blocks/Pricing/PricingPlans.d.ts +2 -2
- package/es/blocks/Referral/ReferralAccount.d.ts +2 -2
- package/es/blocks/Referral/ReferralSettlement.d.ts +2 -2
- package/es/blocks/Referral/ReferralStats.d.ts +2 -2
- package/es/elements/ArrowCarousel.d.ts +2 -2
- package/es/elements/AutoCompleteField.d.ts +2 -2
- package/es/elements/BackToTop.d.ts +3 -3
- package/es/elements/Breadcrumb.d.ts +2 -4
- package/es/elements/DragDropImages.d.ts +2 -6
- package/es/elements/DraggableCard.d.ts +2 -2
- package/es/elements/HawaAccordion.d.ts +5 -11
- package/es/elements/HawaAdCard.d.ts +2 -2
- package/es/elements/HawaCardInput.d.ts +2 -2
- package/es/elements/HawaCheckbox.d.ts +2 -2
- package/es/elements/HawaChip.d.ts +9 -3
- package/es/elements/HawaColorPicker.d.ts +5 -3
- package/es/elements/HawaCopyrights.d.ts +8 -4
- package/es/elements/HawaDrawer.d.ts +2 -2
- package/es/elements/HawaIconCount.d.ts +5 -3
- package/es/elements/HawaItemCard.d.ts +10 -6
- package/es/elements/HawaLandingCard.d.ts +2 -2
- package/es/elements/HawaLogoButton.d.ts +2 -2
- package/es/elements/HawaMenu.d.ts +2 -2
- package/es/elements/HawaModal.d.ts +2 -2
- package/es/elements/HawaPanelTabs.d.ts +2 -2
- package/es/elements/HawaPhoneInput.d.ts +2 -2
- package/es/elements/HawaPinInput.d.ts +2 -2
- package/es/elements/HawaPricingCard.d.ts +2 -2
- package/es/elements/HawaRadio.d.ts +2 -2
- package/es/elements/HawaRange.d.ts +2 -2
- package/es/elements/HawaSearchBar.d.ts +2 -2
- package/es/elements/HawaSelect.d.ts +2 -2
- package/es/elements/HawaSettingsRow.d.ts +2 -2
- package/es/elements/HawaSpinner.d.ts +2 -2
- package/es/elements/HawaStats.d.ts +2 -2
- package/es/elements/HawaStepper.d.ts +2 -2
- package/es/elements/HawaStoreButtons.d.ts +2 -2
- package/es/elements/HawaSwitch.d.ts +2 -2
- package/es/elements/HawaTable.d.ts +2 -2
- package/es/elements/HawaTabs.d.ts +2 -2
- package/es/elements/HawaTextField.d.ts +3 -3
- package/es/elements/HawaTooltip.d.ts +3 -3
- package/es/elements/HawaTypography.d.ts +2 -2
- package/es/elements/InvoiceAccordion.d.ts +2 -2
- package/es/elements/SubsectionList.d.ts +2 -2
- package/es/elements/TabPanel.d.ts +2 -2
- package/es/elements/UsageCard.d.ts +2 -2
- package/es/elements/UserFeedback.d.ts +2 -2
- package/es/index.es.js +2 -2
- package/es/layout/HawaAppLayout.d.ts +1 -0
- package/es/layout/index.d.ts +0 -1
- package/lib/blocks/Account/HawaApiBox.d.ts +2 -2
- package/lib/blocks/Account/UserProfileForm.d.ts +2 -2
- package/lib/blocks/Account/UserSettingsForm.d.ts +2 -2
- package/lib/blocks/AuthForms/AppLanding.d.ts +2 -2
- package/lib/blocks/AuthForms/CodeConfirmation.d.ts +3 -3
- package/lib/blocks/AuthForms/NewPasswordForm.d.ts +2 -2
- package/lib/blocks/AuthForms/ResetPasswordForm.d.ts +2 -2
- package/lib/blocks/AuthForms/SignInForm.d.ts +2 -2
- package/lib/blocks/AuthForms/SignInPhone.d.ts +2 -2
- package/lib/blocks/AuthForms/SignUpForm.d.ts +2 -2
- package/lib/blocks/Misc/EmptyState.d.ts +7 -2
- package/lib/blocks/Misc/LeadGenerator.d.ts +2 -2
- package/lib/blocks/Misc/Newsletter.d.ts +2 -2
- package/lib/blocks/Misc/NoPermission.d.ts +6 -2
- package/lib/blocks/Misc/NotFound.d.ts +2 -2
- package/lib/blocks/Misc/Testimonial.d.ts +2 -2
- package/lib/blocks/Payment/ChargeWalletForm.d.ts +2 -2
- package/lib/blocks/Payment/CheckoutForm.d.ts +2 -2
- package/lib/blocks/Payment/Confirmation.d.ts +2 -2
- package/lib/blocks/Payment/CreditCardForm.d.ts +2 -2
- package/lib/blocks/Payment/PayWithWallet.d.ts +2 -2
- package/lib/blocks/Payment/SelectPayment.d.ts +2 -2
- package/lib/blocks/Pricing/ComparingPlans.d.ts +2 -2
- package/lib/blocks/Pricing/PricingPlans.d.ts +2 -2
- package/lib/blocks/Referral/ReferralAccount.d.ts +2 -2
- package/lib/blocks/Referral/ReferralSettlement.d.ts +2 -2
- package/lib/blocks/Referral/ReferralStats.d.ts +2 -2
- package/lib/elements/ArrowCarousel.d.ts +2 -2
- package/lib/elements/AutoCompleteField.d.ts +2 -2
- package/lib/elements/BackToTop.d.ts +3 -3
- package/lib/elements/Breadcrumb.d.ts +2 -4
- package/lib/elements/DragDropImages.d.ts +2 -6
- package/lib/elements/DraggableCard.d.ts +2 -2
- package/lib/elements/HawaAccordion.d.ts +5 -11
- package/lib/elements/HawaAdCard.d.ts +2 -2
- package/lib/elements/HawaCardInput.d.ts +2 -2
- package/lib/elements/HawaCheckbox.d.ts +2 -2
- package/lib/elements/HawaChip.d.ts +9 -3
- package/lib/elements/HawaColorPicker.d.ts +5 -3
- package/lib/elements/HawaCopyrights.d.ts +8 -4
- package/lib/elements/HawaDrawer.d.ts +2 -2
- package/lib/elements/HawaIconCount.d.ts +5 -3
- package/lib/elements/HawaItemCard.d.ts +10 -6
- package/lib/elements/HawaLandingCard.d.ts +2 -2
- package/lib/elements/HawaLogoButton.d.ts +2 -2
- package/lib/elements/HawaMenu.d.ts +2 -2
- package/lib/elements/HawaModal.d.ts +2 -2
- package/lib/elements/HawaPanelTabs.d.ts +2 -2
- package/lib/elements/HawaPhoneInput.d.ts +2 -2
- package/lib/elements/HawaPinInput.d.ts +2 -2
- package/lib/elements/HawaPricingCard.d.ts +2 -2
- package/lib/elements/HawaRadio.d.ts +2 -2
- package/lib/elements/HawaRange.d.ts +2 -2
- package/lib/elements/HawaSearchBar.d.ts +2 -2
- package/lib/elements/HawaSelect.d.ts +2 -2
- package/lib/elements/HawaSettingsRow.d.ts +2 -2
- package/lib/elements/HawaSpinner.d.ts +2 -2
- package/lib/elements/HawaStats.d.ts +2 -2
- package/lib/elements/HawaStepper.d.ts +2 -2
- package/lib/elements/HawaStoreButtons.d.ts +2 -2
- package/lib/elements/HawaSwitch.d.ts +2 -2
- package/lib/elements/HawaTable.d.ts +2 -2
- package/lib/elements/HawaTabs.d.ts +2 -2
- package/lib/elements/HawaTextField.d.ts +3 -3
- package/lib/elements/HawaTooltip.d.ts +3 -3
- package/lib/elements/HawaTypography.d.ts +2 -2
- package/lib/elements/InvoiceAccordion.d.ts +2 -2
- package/lib/elements/SubsectionList.d.ts +2 -2
- package/lib/elements/TabPanel.d.ts +2 -2
- package/lib/elements/UsageCard.d.ts +2 -2
- package/lib/elements/UserFeedback.d.ts +2 -2
- package/lib/index.js +2 -2
- package/lib/layout/HawaAppLayout.d.ts +1 -0
- package/lib/layout/index.d.ts +0 -1
- package/package.json +1 -1
- package/src/blocks/Account/HawaApiBox.tsx +2 -4
- package/src/blocks/Account/UserProfileForm.tsx +2 -4
- package/src/blocks/Account/UserSettingsForm.tsx +2 -6
- package/src/blocks/AuthForms/AppLanding.tsx +2 -2
- package/src/blocks/AuthForms/CodeConfirmation.tsx +3 -5
- package/src/blocks/AuthForms/NewPasswordForm.tsx +2 -4
- package/src/blocks/AuthForms/ResetPasswordForm.tsx +2 -4
- package/src/blocks/AuthForms/SignInForm.tsx +2 -2
- package/src/blocks/AuthForms/SignInPhone.tsx +2 -4
- package/src/blocks/AuthForms/SignUpForm.tsx +2 -2
- package/src/blocks/Misc/EmptyState.tsx +15 -7
- package/src/blocks/Misc/LeadGenerator.tsx +4 -6
- package/src/blocks/Misc/Newsletter.tsx +3 -3
- package/src/blocks/Misc/NoPermission.tsx +13 -10
- package/src/blocks/Misc/NotFound.tsx +4 -4
- package/src/blocks/Misc/Testimonial.tsx +25 -33
- package/src/blocks/Payment/ChargeWalletForm.tsx +9 -10
- package/src/blocks/Payment/CheckoutForm.tsx +20 -22
- package/src/blocks/Payment/Confirmation.tsx +7 -9
- package/src/blocks/Payment/CreditCardForm.tsx +2 -4
- package/src/blocks/Payment/PayWithWallet.tsx +2 -4
- package/src/blocks/Payment/SelectPayment.tsx +2 -4
- package/src/blocks/Pricing/ComparingPlans.tsx +4 -6
- package/src/blocks/Pricing/PricingPlans.tsx +2 -4
- package/src/blocks/Referral/ReferralAccount.tsx +2 -2
- package/src/blocks/Referral/ReferralSettlement.tsx +14 -7
- package/src/blocks/Referral/ReferralStats.tsx +2 -2
- package/src/elements/ArrowCarousel.tsx +2 -2
- package/src/elements/AutoCompleteField.tsx +5 -7
- package/src/elements/BackToTop.tsx +3 -3
- package/src/elements/Breadcrumb.tsx +3 -6
- package/src/elements/DragDropImages.tsx +3 -7
- package/src/elements/DraggableCard.tsx +2 -4
- package/src/elements/HawaAccordion.tsx +6 -14
- package/src/elements/HawaAdCard.tsx +2 -5
- package/src/elements/HawaCardInput.tsx +1 -1
- package/src/elements/HawaCheckbox.tsx +2 -4
- package/src/elements/HawaChip.tsx +10 -4
- package/src/elements/HawaColorPicker.tsx +7 -7
- package/src/elements/HawaCopyrights.tsx +8 -6
- package/src/elements/HawaDatepicker.tsx +1 -1
- package/src/elements/HawaDrawer.tsx +3 -3
- package/src/elements/HawaIconCount.tsx +5 -5
- package/src/elements/HawaItemCard.tsx +10 -10
- package/src/elements/HawaLandingCard.tsx +3 -3
- package/src/elements/HawaLogoButton.tsx +2 -4
- package/src/elements/HawaMenu.tsx +4 -4
- package/src/elements/HawaModal.tsx +2 -2
- package/src/elements/HawaPanelTabs.tsx +2 -4
- package/src/elements/HawaPhoneInput.tsx +3 -5
- package/src/elements/HawaPinInput.tsx +2 -2
- package/src/elements/HawaPricingCard.tsx +2 -2
- package/src/elements/HawaRadio.tsx +2 -2
- package/src/elements/HawaRange.tsx +3 -3
- package/src/elements/HawaSearchBar.tsx +2 -4
- package/src/elements/HawaSelect.tsx +5 -5
- package/src/elements/HawaSettingsRow.tsx +2 -2
- package/src/elements/HawaSnackbar.tsx +2 -2
- package/src/elements/HawaSpinner.tsx +2 -5
- package/src/elements/HawaStats.tsx +2 -2
- package/src/elements/HawaStepper.tsx +2 -2
- package/src/elements/HawaStoreButtons.tsx +3 -5
- package/src/elements/HawaSwitch.tsx +2 -5
- package/src/elements/HawaTable.tsx +5 -3
- package/src/elements/HawaTabs.tsx +4 -4
- package/src/elements/HawaTextField.tsx +4 -4
- package/src/elements/HawaTooltip.tsx +3 -3
- package/src/elements/HawaTypography.tsx +2 -4
- package/src/elements/InvoiceAccordion.tsx +2 -4
- package/src/elements/SubsectionList.tsx +3 -5
- package/src/elements/TabPanel.tsx +2 -2
- package/src/elements/UsageCard.tsx +2 -2
- package/src/elements/UserFeedback.tsx +2 -4
- package/src/layout/HawaAppLayout.tsx +86 -58
- package/src/layout/index.ts +0 -1
- package/src/styles.css +8 -3
- package/es/layout/SimpleGrid.d.ts +0 -10
- package/lib/layout/SimpleGrid.d.ts +0 -10
- package/src/layout/SimpleGrid.tsx +0 -41
package/dist/styles.css
CHANGED
|
@@ -730,6 +730,9 @@ video {
|
|
|
730
730
|
.mb-1 {
|
|
731
731
|
margin-bottom: 0.25rem;
|
|
732
732
|
}
|
|
733
|
+
.mb-10 {
|
|
734
|
+
margin-bottom: 2.5rem;
|
|
735
|
+
}
|
|
733
736
|
.mb-2 {
|
|
734
737
|
margin-bottom: 0.5rem;
|
|
735
738
|
}
|
|
@@ -742,9 +745,6 @@ video {
|
|
|
742
745
|
.mb-5 {
|
|
743
746
|
margin-bottom: 1.25rem;
|
|
744
747
|
}
|
|
745
|
-
.mb-8 {
|
|
746
|
-
margin-bottom: 2rem;
|
|
747
|
-
}
|
|
748
748
|
.ml-0 {
|
|
749
749
|
margin-left: 0px;
|
|
750
750
|
}
|
|
@@ -2246,6 +2246,11 @@ body {
|
|
|
2246
2246
|
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
|
|
2247
2247
|
}
|
|
2248
2248
|
|
|
2249
|
+
.hover\:bg-gray-400:hover {
|
|
2250
|
+
--tw-bg-opacity: 1;
|
|
2251
|
+
background-color: rgb(156 163 175 / var(--tw-bg-opacity));
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2249
2254
|
.hover\:bg-gray-50:hover {
|
|
2250
2255
|
--tw-bg-opacity: 1;
|
|
2251
2256
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type HawaApiBoxTypes = {
|
|
3
3
|
lang?: any;
|
|
4
4
|
onClick?: any;
|
|
5
5
|
buttonText?: any;
|
|
6
6
|
};
|
|
7
|
-
export declare const HawaApiBox:
|
|
7
|
+
export declare const HawaApiBox: FC<HawaApiBoxTypes>;
|
|
8
8
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type UserProfileFormTypes = {
|
|
3
3
|
inputs: any;
|
|
4
4
|
texts: any;
|
|
5
5
|
handleUpdateProfile: any;
|
|
6
6
|
};
|
|
7
|
-
export declare const UserProfileForm:
|
|
7
|
+
export declare const UserProfileForm: FC<UserProfileFormTypes>;
|
|
8
8
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type UserSettingsFormTypes = {
|
|
3
3
|
children: any;
|
|
4
4
|
handleSaveSettings?: any;
|
|
5
5
|
saveSettingsText?: string;
|
|
6
6
|
blockTitle?: string;
|
|
7
7
|
};
|
|
8
|
-
export declare const UserSettingsForm:
|
|
8
|
+
export declare const UserSettingsForm: FC<UserSettingsFormTypes>;
|
|
9
9
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type AppLandingTypes = {
|
|
3
3
|
handleSignIn: () => void;
|
|
4
4
|
handleSignUp: () => void;
|
|
@@ -10,5 +10,5 @@ type AppLandingTypes = {
|
|
|
10
10
|
};
|
|
11
11
|
size: "small" | "normal" | "full";
|
|
12
12
|
};
|
|
13
|
-
export declare const AppLanding:
|
|
13
|
+
export declare const AppLanding: FC<AppLandingTypes>;
|
|
14
14
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type TConfirmation = {
|
|
3
3
|
showError?: any;
|
|
4
4
|
errorTitle?: any;
|
|
@@ -12,11 +12,11 @@ type TConfirmation = {
|
|
|
12
12
|
codePlaceholder: string;
|
|
13
13
|
codeRequiredText: string;
|
|
14
14
|
confirm: string;
|
|
15
|
-
cancel:
|
|
15
|
+
cancel: string;
|
|
16
16
|
};
|
|
17
17
|
phoneNumber?: string;
|
|
18
18
|
submitConfirmation?: any;
|
|
19
19
|
handleSignIn?: any;
|
|
20
20
|
};
|
|
21
|
-
export declare const CodeConfirmation:
|
|
21
|
+
export declare const CodeConfirmation: FC<TConfirmation>;
|
|
22
22
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type NewPasswordTypes = {
|
|
3
3
|
handleNewPassword: () => void;
|
|
4
4
|
passwordChanged: any;
|
|
@@ -14,5 +14,5 @@ type NewPasswordTypes = {
|
|
|
14
14
|
passwordChanged: string;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
export declare const NewPasswordForm:
|
|
17
|
+
export declare const NewPasswordForm: FC<NewPasswordTypes>;
|
|
18
18
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type ResetPasswordType = {
|
|
3
3
|
handleResetPassword: () => void;
|
|
4
4
|
handleRouteToSignUp: () => void;
|
|
@@ -14,5 +14,5 @@ type ResetPasswordType = {
|
|
|
14
14
|
dontHaveAccount: string;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
export declare const ResetPasswordForm:
|
|
17
|
+
export declare const ResetPasswordForm: FC<ResetPasswordType>;
|
|
18
18
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type SignInPhoneTypes = {
|
|
3
3
|
value: any;
|
|
4
4
|
onSubmit: any;
|
|
@@ -9,5 +9,5 @@ type SignInPhoneTypes = {
|
|
|
9
9
|
SignInButtonText: any;
|
|
10
10
|
handleSignIn: any;
|
|
11
11
|
};
|
|
12
|
-
export declare const SignInPhone:
|
|
12
|
+
export declare const SignInPhone: FC<SignInPhoneTypes>;
|
|
13
13
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type SignUpFormTypes = {
|
|
3
3
|
direction?: "rtl" | "ltr";
|
|
4
4
|
texts: {
|
|
@@ -51,5 +51,5 @@ type SignUpFormTypes = {
|
|
|
51
51
|
signUpFields: any[];
|
|
52
52
|
isLoading?: boolean;
|
|
53
53
|
};
|
|
54
|
-
export declare const SignUpForm:
|
|
54
|
+
export declare const SignUpForm: FC<SignUpFormTypes>;
|
|
55
55
|
export {};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type TEmptyState = {
|
|
3
3
|
variant?: "outlined" | "contained" | "neobrutalism";
|
|
4
|
+
onActionClick: () => void;
|
|
5
|
+
texts: {
|
|
6
|
+
youreCaughtUp?: string;
|
|
7
|
+
actionText?: string;
|
|
8
|
+
};
|
|
4
9
|
};
|
|
5
|
-
export declare const EmptyState:
|
|
10
|
+
export declare const EmptyState: FC<TEmptyState>;
|
|
6
11
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type TLeadGenerator = {
|
|
3
3
|
variant?: "outlined" | "contained" | "neobrutalism";
|
|
4
4
|
texts: {
|
|
@@ -8,5 +8,5 @@ type TLeadGenerator = {
|
|
|
8
8
|
};
|
|
9
9
|
handleNewsletterSub: (e: string) => void;
|
|
10
10
|
};
|
|
11
|
-
export declare const LeadGenerator:
|
|
11
|
+
export declare const LeadGenerator: FC<TLeadGenerator>;
|
|
12
12
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type TNewsletter = {
|
|
3
3
|
variant?: "outlined" | "contained" | "neobrutalism";
|
|
4
4
|
texts: {
|
|
@@ -8,5 +8,5 @@ type TNewsletter = {
|
|
|
8
8
|
};
|
|
9
9
|
handleNewsletterSub: (e: string) => void;
|
|
10
10
|
};
|
|
11
|
-
export declare const Newsletter:
|
|
11
|
+
export declare const Newsletter: FC<TNewsletter>;
|
|
12
12
|
export {};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type TNoPermission = {
|
|
3
3
|
variant?: "outlined" | "contained" | "neobrutalism";
|
|
4
|
+
texts?: {
|
|
5
|
+
title: string;
|
|
6
|
+
subtitle: string;
|
|
7
|
+
};
|
|
4
8
|
};
|
|
5
|
-
export declare const NoPermission:
|
|
9
|
+
export declare const NoPermission: FC<TNoPermission>;
|
|
6
10
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type NotFoundTypes = {
|
|
3
3
|
variant?: "outlined" | "contained" | "neobrutalism";
|
|
4
4
|
texts?: {
|
|
@@ -7,5 +7,5 @@ type NotFoundTypes = {
|
|
|
7
7
|
home?: string;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
-
export declare const NotFound:
|
|
10
|
+
export declare const NotFound: FC<NotFoundTypes>;
|
|
11
11
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type TEmptyState = {
|
|
3
3
|
variant?: "outlined" | "contained" | "neobrutalism";
|
|
4
4
|
};
|
|
5
|
-
export declare const Testimonial:
|
|
5
|
+
export declare const Testimonial: FC<TEmptyState>;
|
|
6
6
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type ChargeWalletTypes = {
|
|
3
3
|
currency: any;
|
|
4
4
|
handleChargeWallet: any;
|
|
@@ -8,5 +8,5 @@ type ChargeWalletTypes = {
|
|
|
8
8
|
chargeWallet: string;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
|
-
export declare const ChargeWalletForm:
|
|
11
|
+
export declare const ChargeWalletForm: FC<ChargeWalletTypes>;
|
|
12
12
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type CheckoutFormTypes = {
|
|
3
3
|
lang: string;
|
|
4
4
|
products: any;
|
|
@@ -23,5 +23,5 @@ type CheckoutFormTypes = {
|
|
|
23
23
|
zipCodeLabel: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
export declare const CheckoutForm:
|
|
26
|
+
export declare const CheckoutForm: FC<CheckoutFormTypes>;
|
|
27
27
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type ConfirmationPageTypes = {
|
|
3
3
|
texts: {
|
|
4
4
|
print: string;
|
|
@@ -36,5 +36,5 @@ type ConfirmationPageTypes = {
|
|
|
36
36
|
handleHistory: any;
|
|
37
37
|
handleRefundPolicyLink: any;
|
|
38
38
|
};
|
|
39
|
-
export declare const ConfirmationPage:
|
|
39
|
+
export declare const ConfirmationPage: FC<ConfirmationPageTypes>;
|
|
40
40
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type CreditCardFormTypes = {
|
|
3
3
|
handle: any;
|
|
4
4
|
handlePayWithCreditCard: any;
|
|
5
5
|
};
|
|
6
|
-
export declare const CreditCardForm:
|
|
6
|
+
export declare const CreditCardForm: FC<CreditCardFormTypes>;
|
|
7
7
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type PayWithWalletTypes = {
|
|
3
3
|
walletBalance: any;
|
|
4
4
|
currency: any;
|
|
5
5
|
handlePayWithWallet: any;
|
|
6
6
|
};
|
|
7
|
-
export declare const PayWithWallet:
|
|
7
|
+
export declare const PayWithWallet: FC<PayWithWalletTypes>;
|
|
8
8
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type SelectPaymentTypes = {
|
|
3
3
|
viaMada: boolean;
|
|
4
4
|
viaWallet: boolean;
|
|
@@ -22,5 +22,5 @@ type SelectPaymentTypes = {
|
|
|
22
22
|
handleCreditCard: any;
|
|
23
23
|
handleGooglePay: any;
|
|
24
24
|
};
|
|
25
|
-
export declare const SelectPayment:
|
|
25
|
+
export declare const SelectPayment: FC<SelectPaymentTypes>;
|
|
26
26
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type ComparingPlansTypes = {
|
|
3
3
|
plans: [
|
|
4
4
|
{
|
|
@@ -35,5 +35,5 @@ type ComparingPlansTypes = {
|
|
|
35
35
|
onCurrencyChange?: (e: any) => void;
|
|
36
36
|
direction?: "rtl" | "ltr";
|
|
37
37
|
};
|
|
38
|
-
export declare const ComparingPlans:
|
|
38
|
+
export declare const ComparingPlans: FC<ComparingPlansTypes>;
|
|
39
39
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type PricingPlansTypes = {
|
|
3
3
|
plans: [
|
|
4
4
|
{
|
|
@@ -43,5 +43,5 @@ type PricingPlansTypes = {
|
|
|
43
43
|
onCurrencyChange?: (e: any) => void;
|
|
44
44
|
direction?: "rtl" | "ltr";
|
|
45
45
|
};
|
|
46
|
-
export declare const PricingPlans:
|
|
46
|
+
export declare const PricingPlans: FC<PricingPlansTypes>;
|
|
47
47
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type ReferralAccount = {
|
|
3
3
|
referralLink: string;
|
|
4
4
|
referralCode: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const ReferralAccount:
|
|
6
|
+
export declare const ReferralAccount: FC<ReferralAccount>;
|
|
7
7
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type TReferralSettlement = {
|
|
3
3
|
referralLink: string;
|
|
4
4
|
referralCode: string;
|
|
5
5
|
withdrawError?: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const ReferralSettlement:
|
|
7
|
+
export declare const ReferralSettlement: FC<TReferralSettlement>;
|
|
8
8
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type TReferralStats = {
|
|
3
3
|
referralLink: string;
|
|
4
4
|
referralCode: string;
|
|
5
5
|
withdrawError?: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const ReferralStats:
|
|
7
|
+
export declare const ReferralStats: FC<TReferralStats>;
|
|
8
8
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type Item = {
|
|
3
3
|
label?: string;
|
|
4
4
|
icon?: JSX.Element;
|
|
@@ -9,5 +9,5 @@ type ComponentTypes = {
|
|
|
9
9
|
arrowSize?: number;
|
|
10
10
|
labelSize?: "small" | "medium" | "big";
|
|
11
11
|
};
|
|
12
|
-
export declare const ArrowCarousel:
|
|
12
|
+
export declare const ArrowCarousel: FC<ComponentTypes>;
|
|
13
13
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type TAutoCompleteFieldTypes = {
|
|
3
3
|
name: string;
|
|
4
4
|
rules: any;
|
|
5
5
|
shouldUnregister: boolean;
|
|
6
6
|
};
|
|
7
|
-
export declare const AutoCompleteField:
|
|
7
|
+
export declare const AutoCompleteField: FC<TAutoCompleteFieldTypes>;
|
|
8
8
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC, RefObject } from "react";
|
|
2
2
|
type ComponentTypes = {
|
|
3
3
|
paddingX?: number;
|
|
4
4
|
paddingY?: number;
|
|
5
5
|
paddingThreshold?: number;
|
|
6
6
|
corner?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
7
|
-
anchor:
|
|
7
|
+
anchor: RefObject<HTMLInputElement>;
|
|
8
8
|
};
|
|
9
|
-
export declare const BackToTop:
|
|
9
|
+
export declare const BackToTop: FC<ComponentTypes>;
|
|
10
10
|
export {};
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
2
|
type TBreadcrumb = {
|
|
3
|
-
/**
|
|
4
|
-
* The array of crumbs, each one with a label and a href link
|
|
5
|
-
*/
|
|
3
|
+
/** The array of crumbs, each one with a label and a href link */
|
|
6
4
|
breadcrumbLinks: [{
|
|
7
5
|
label: string;
|
|
8
6
|
href: string;
|
|
9
7
|
}];
|
|
10
|
-
/** The separator between each crumb, can be character or React Node */
|
|
8
|
+
/** The separator between each crumb, can be character or React Node. The default is ">" */
|
|
11
9
|
separator?: string | ReactNode;
|
|
12
10
|
};
|
|
13
11
|
declare const HawaBreadcrumb: FC<TBreadcrumb>;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
type DragDropImagesTypes = {
|
|
3
|
-
/**
|
|
4
|
-
* The text label above the component. Consistant with the other form input fields
|
|
5
|
-
*/
|
|
3
|
+
/** The text label above the component. Consistant with the other form input fields */
|
|
6
4
|
label?: string;
|
|
7
5
|
files: [File];
|
|
8
6
|
setFiles: any;
|
|
@@ -15,9 +13,7 @@ type DragDropImagesTypes = {
|
|
|
15
13
|
onClearFiles: any;
|
|
16
14
|
maxSize: number;
|
|
17
15
|
errorMessages: string;
|
|
18
|
-
/**
|
|
19
|
-
* The translation object, use this to replace the default text with any translated text you want.
|
|
20
|
-
*/
|
|
16
|
+
/** The translation object, use this to replace the default text with any translated text you want.*/
|
|
21
17
|
texts: {
|
|
22
18
|
clickHereToUpload: string;
|
|
23
19
|
maxFileSize: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactElement, FC } from "react";
|
|
2
2
|
type DraggableCardTypes = {
|
|
3
3
|
children: ReactElement;
|
|
4
4
|
};
|
|
5
|
-
export declare const DraggableCard:
|
|
5
|
+
export declare const DraggableCard: FC<DraggableCardTypes>;
|
|
6
6
|
export {};
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type AccordionTypes = {
|
|
3
|
-
/**
|
|
4
|
-
* The title of the clickable accordion bar
|
|
5
|
-
*/
|
|
3
|
+
/** The title of the clickable accordion bar */
|
|
6
4
|
title: string;
|
|
7
|
-
/**
|
|
8
|
-
* The content inside the accordion to be visible once the bar is clicked
|
|
9
|
-
*/
|
|
5
|
+
/** The content inside the accordion to be visible once the bar is clicked */
|
|
10
6
|
content: any;
|
|
11
|
-
/**
|
|
12
|
-
* The index of each accordion, must be unique for each usage of this component
|
|
13
|
-
*/
|
|
7
|
+
/** The index of each accordion, must be unique for each usage of this component */
|
|
14
8
|
index: any;
|
|
15
9
|
};
|
|
16
|
-
export declare const HawaAccordion:
|
|
10
|
+
export declare const HawaAccordion: FC<AccordionTypes>;
|
|
17
11
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type AdCardTypes = {
|
|
3
3
|
orientation: "vertical" | "horizontal";
|
|
4
4
|
title: string;
|
|
@@ -6,5 +6,5 @@ type AdCardTypes = {
|
|
|
6
6
|
imageURL: string;
|
|
7
7
|
handleHide: any;
|
|
8
8
|
};
|
|
9
|
-
export declare const HawaAdCard:
|
|
9
|
+
export declare const HawaAdCard: FC<AdCardTypes>;
|
|
10
10
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
export declare const HawaCardInput: ({ cardHolder, cardMonth, cardYear, cardCvv, rememberMe, onUpdateState, cardNumberRef, cardHolderRef, cardDateRef, cardCvvRef, rememberMeRef, onCardInputFocus, onCardInputBlur, children, handlePaymentPayfort, selectedPaymentMethod, isRegister, accessCode, shaRequestPassphrase, transaction, signature, isCheckout, }: {
|
|
3
3
|
cardHolder: any;
|
|
4
4
|
cardMonth: any;
|
|
@@ -22,4 +22,4 @@ export declare const HawaCardInput: ({ cardHolder, cardMonth, cardYear, cardCvv,
|
|
|
22
22
|
transaction: any;
|
|
23
23
|
signature: any;
|
|
24
24
|
isCheckout: any;
|
|
25
|
-
}) =>
|
|
25
|
+
}) => import("react").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type TCheckBoxTypes = {
|
|
3
3
|
centered?: boolean;
|
|
4
4
|
label?: any;
|
|
@@ -7,5 +7,5 @@ type TCheckBoxTypes = {
|
|
|
7
7
|
onChange?: (e: any) => void;
|
|
8
8
|
val?: boolean;
|
|
9
9
|
};
|
|
10
|
-
export declare const HawaCheckbox:
|
|
10
|
+
export declare const HawaCheckbox: FC<TCheckBoxTypes>;
|
|
11
11
|
export {};
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type TChipTypes = {
|
|
3
|
+
/** The text inside the chip */
|
|
3
4
|
label: string;
|
|
4
|
-
|
|
5
|
+
/** The small icon before the chip label */
|
|
5
6
|
icon?: JSX.Element;
|
|
7
|
+
/** The color of the chip, must be a tailwind color */
|
|
6
8
|
color?: string;
|
|
9
|
+
/** The size of the chip */
|
|
10
|
+
size?: "small" | "normal" | "large";
|
|
11
|
+
/** Enable/Disable the dot before the label of the chip */
|
|
7
12
|
dot?: boolean;
|
|
13
|
+
/** Red/Green dot next to the label of the chip indicating online/offline or available/unavailable */
|
|
8
14
|
dotType?: "available" | "unavailable";
|
|
9
15
|
};
|
|
10
|
-
export declare const HawaChip:
|
|
16
|
+
export declare const HawaChip: FC<TChipTypes>;
|
|
11
17
|
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC, ChangeEvent } from "react";
|
|
2
2
|
type ColorPickerTypes = {
|
|
3
|
+
/** The hex code for the color */
|
|
3
4
|
color?: any;
|
|
4
|
-
|
|
5
|
+
/** Fires everytime the color changes */
|
|
6
|
+
handleChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
5
7
|
};
|
|
6
|
-
export declare const HawaColorPicker:
|
|
8
|
+
export declare const HawaColorPicker: FC<ColorPickerTypes>;
|
|
7
9
|
export {};
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type CopyRightsTypes = {
|
|
3
|
-
|
|
4
|
-
lang?: any;
|
|
3
|
+
/** A text used as the version of the app, for example: v1.0.0 */
|
|
5
4
|
version?: string;
|
|
5
|
+
/** Credit to the creator of the app, for example: Sikka Software */
|
|
6
6
|
credits?: string;
|
|
7
|
+
/** The URL of the logo in the copyrights */
|
|
7
8
|
logoURL?: string;
|
|
9
|
+
/** Enable/Disable the existance of the logo */
|
|
10
|
+
withLogo?: boolean;
|
|
11
|
+
/** Fires when the logo is clicked, usually goes to the website of the creator of the app */
|
|
8
12
|
onLogoClicked?: any;
|
|
9
13
|
};
|
|
10
|
-
export declare const HawaCopyrights:
|
|
14
|
+
export declare const HawaCopyrights: FC<CopyRightsTypes>;
|
|
11
15
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC, ReactNode } from "react";
|
|
2
2
|
type TDrawerTypes = {
|
|
3
3
|
open: boolean;
|
|
4
4
|
setOpen: any;
|
|
@@ -9,5 +9,5 @@ type TDrawerTypes = {
|
|
|
9
9
|
drawerBody?: any;
|
|
10
10
|
drawerFooter?: any;
|
|
11
11
|
};
|
|
12
|
-
export declare const HawaDrawer:
|
|
12
|
+
export declare const HawaDrawer: FC<TDrawerTypes>;
|
|
13
13
|
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type IconCountTypes = {
|
|
3
|
-
icon
|
|
3
|
+
/** The icon of the counter */
|
|
4
|
+
icon: JSX.Element;
|
|
5
|
+
/** The text next to the icon */
|
|
4
6
|
count?: string;
|
|
5
7
|
};
|
|
6
|
-
export declare const HawaIconCount:
|
|
8
|
+
export declare const HawaIconCount: FC<IconCountTypes>;
|
|
7
9
|
export {};
|