@sikka/hawa 0.0.243 → 0.0.244

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.
Files changed (218) hide show
  1. package/es/blocks/Account/HawaApiBox.d.ts +2 -2
  2. package/es/blocks/Account/UserProfileForm.d.ts +2 -2
  3. package/es/blocks/Account/UserSettingsForm.d.ts +2 -2
  4. package/es/blocks/AuthForms/AppLanding.d.ts +2 -2
  5. package/es/blocks/AuthForms/CodeConfirmation.d.ts +2 -2
  6. package/es/blocks/AuthForms/NewPasswordForm.d.ts +2 -2
  7. package/es/blocks/AuthForms/ResetPasswordForm.d.ts +2 -2
  8. package/es/blocks/AuthForms/SignInForm.d.ts +2 -2
  9. package/es/blocks/AuthForms/SignInPhone.d.ts +2 -2
  10. package/es/blocks/AuthForms/SignUpForm.d.ts +2 -2
  11. package/es/blocks/Misc/EmptyState.d.ts +2 -2
  12. package/es/blocks/Misc/LeadGenerator.d.ts +2 -2
  13. package/es/blocks/Misc/Newsletter.d.ts +2 -2
  14. package/es/blocks/Misc/NoPermission.d.ts +2 -2
  15. package/es/blocks/Misc/NotFound.d.ts +2 -2
  16. package/es/blocks/Misc/Testimonial.d.ts +2 -2
  17. package/es/blocks/Payment/ChargeWalletForm.d.ts +2 -2
  18. package/es/blocks/Payment/CheckoutForm.d.ts +2 -2
  19. package/es/blocks/Payment/Confirmation.d.ts +2 -2
  20. package/es/blocks/Payment/CreditCardForm.d.ts +2 -2
  21. package/es/blocks/Payment/PayWithWallet.d.ts +2 -2
  22. package/es/blocks/Payment/SelectPayment.d.ts +2 -2
  23. package/es/blocks/Pricing/ComparingPlans.d.ts +2 -2
  24. package/es/blocks/Pricing/PricingPlans.d.ts +2 -2
  25. package/es/blocks/Referral/ReferralAccount.d.ts +2 -2
  26. package/es/blocks/Referral/ReferralSettlement.d.ts +2 -2
  27. package/es/blocks/Referral/ReferralStats.d.ts +2 -2
  28. package/es/elements/ArrowCarousel.d.ts +2 -2
  29. package/es/elements/AutoCompleteField.d.ts +2 -2
  30. package/es/elements/BackToTop.d.ts +3 -3
  31. package/es/elements/Breadcrumb.d.ts +2 -4
  32. package/es/elements/DragDropImages.d.ts +2 -6
  33. package/es/elements/DraggableCard.d.ts +2 -2
  34. package/es/elements/HawaAccordion.d.ts +5 -11
  35. package/es/elements/HawaAdCard.d.ts +2 -2
  36. package/es/elements/HawaCardInput.d.ts +2 -2
  37. package/es/elements/HawaCheckbox.d.ts +2 -2
  38. package/es/elements/HawaChip.d.ts +9 -3
  39. package/es/elements/HawaColorPicker.d.ts +5 -3
  40. package/es/elements/HawaCopyrights.d.ts +8 -4
  41. package/es/elements/HawaDrawer.d.ts +2 -2
  42. package/es/elements/HawaIconCount.d.ts +5 -3
  43. package/es/elements/HawaItemCard.d.ts +10 -6
  44. package/es/elements/HawaLandingCard.d.ts +2 -2
  45. package/es/elements/HawaLogoButton.d.ts +2 -2
  46. package/es/elements/HawaMenu.d.ts +2 -2
  47. package/es/elements/HawaModal.d.ts +2 -2
  48. package/es/elements/HawaPanelTabs.d.ts +2 -2
  49. package/es/elements/HawaPhoneInput.d.ts +2 -2
  50. package/es/elements/HawaPinInput.d.ts +2 -2
  51. package/es/elements/HawaPricingCard.d.ts +2 -2
  52. package/es/elements/HawaRadio.d.ts +2 -2
  53. package/es/elements/HawaRange.d.ts +2 -2
  54. package/es/elements/HawaSearchBar.d.ts +2 -2
  55. package/es/elements/HawaSelect.d.ts +2 -2
  56. package/es/elements/HawaSettingsRow.d.ts +2 -2
  57. package/es/elements/HawaSpinner.d.ts +2 -2
  58. package/es/elements/HawaStats.d.ts +2 -2
  59. package/es/elements/HawaStepper.d.ts +2 -2
  60. package/es/elements/HawaStoreButtons.d.ts +2 -2
  61. package/es/elements/HawaSwitch.d.ts +2 -2
  62. package/es/elements/HawaTable.d.ts +2 -2
  63. package/es/elements/HawaTabs.d.ts +2 -2
  64. package/es/elements/HawaTextField.d.ts +3 -3
  65. package/es/elements/HawaTooltip.d.ts +3 -3
  66. package/es/elements/HawaTypography.d.ts +2 -2
  67. package/es/elements/InvoiceAccordion.d.ts +2 -2
  68. package/es/elements/SubsectionList.d.ts +2 -2
  69. package/es/elements/TabPanel.d.ts +2 -2
  70. package/es/elements/UsageCard.d.ts +2 -2
  71. package/es/elements/UserFeedback.d.ts +2 -2
  72. package/es/index.es.js +2 -2
  73. package/lib/blocks/Account/HawaApiBox.d.ts +2 -2
  74. package/lib/blocks/Account/UserProfileForm.d.ts +2 -2
  75. package/lib/blocks/Account/UserSettingsForm.d.ts +2 -2
  76. package/lib/blocks/AuthForms/AppLanding.d.ts +2 -2
  77. package/lib/blocks/AuthForms/CodeConfirmation.d.ts +2 -2
  78. package/lib/blocks/AuthForms/NewPasswordForm.d.ts +2 -2
  79. package/lib/blocks/AuthForms/ResetPasswordForm.d.ts +2 -2
  80. package/lib/blocks/AuthForms/SignInForm.d.ts +2 -2
  81. package/lib/blocks/AuthForms/SignInPhone.d.ts +2 -2
  82. package/lib/blocks/AuthForms/SignUpForm.d.ts +2 -2
  83. package/lib/blocks/Misc/EmptyState.d.ts +2 -2
  84. package/lib/blocks/Misc/LeadGenerator.d.ts +2 -2
  85. package/lib/blocks/Misc/Newsletter.d.ts +2 -2
  86. package/lib/blocks/Misc/NoPermission.d.ts +2 -2
  87. package/lib/blocks/Misc/NotFound.d.ts +2 -2
  88. package/lib/blocks/Misc/Testimonial.d.ts +2 -2
  89. package/lib/blocks/Payment/ChargeWalletForm.d.ts +2 -2
  90. package/lib/blocks/Payment/CheckoutForm.d.ts +2 -2
  91. package/lib/blocks/Payment/Confirmation.d.ts +2 -2
  92. package/lib/blocks/Payment/CreditCardForm.d.ts +2 -2
  93. package/lib/blocks/Payment/PayWithWallet.d.ts +2 -2
  94. package/lib/blocks/Payment/SelectPayment.d.ts +2 -2
  95. package/lib/blocks/Pricing/ComparingPlans.d.ts +2 -2
  96. package/lib/blocks/Pricing/PricingPlans.d.ts +2 -2
  97. package/lib/blocks/Referral/ReferralAccount.d.ts +2 -2
  98. package/lib/blocks/Referral/ReferralSettlement.d.ts +2 -2
  99. package/lib/blocks/Referral/ReferralStats.d.ts +2 -2
  100. package/lib/elements/ArrowCarousel.d.ts +2 -2
  101. package/lib/elements/AutoCompleteField.d.ts +2 -2
  102. package/lib/elements/BackToTop.d.ts +3 -3
  103. package/lib/elements/Breadcrumb.d.ts +2 -4
  104. package/lib/elements/DragDropImages.d.ts +2 -6
  105. package/lib/elements/DraggableCard.d.ts +2 -2
  106. package/lib/elements/HawaAccordion.d.ts +5 -11
  107. package/lib/elements/HawaAdCard.d.ts +2 -2
  108. package/lib/elements/HawaCardInput.d.ts +2 -2
  109. package/lib/elements/HawaCheckbox.d.ts +2 -2
  110. package/lib/elements/HawaChip.d.ts +9 -3
  111. package/lib/elements/HawaColorPicker.d.ts +5 -3
  112. package/lib/elements/HawaCopyrights.d.ts +8 -4
  113. package/lib/elements/HawaDrawer.d.ts +2 -2
  114. package/lib/elements/HawaIconCount.d.ts +5 -3
  115. package/lib/elements/HawaItemCard.d.ts +10 -6
  116. package/lib/elements/HawaLandingCard.d.ts +2 -2
  117. package/lib/elements/HawaLogoButton.d.ts +2 -2
  118. package/lib/elements/HawaMenu.d.ts +2 -2
  119. package/lib/elements/HawaModal.d.ts +2 -2
  120. package/lib/elements/HawaPanelTabs.d.ts +2 -2
  121. package/lib/elements/HawaPhoneInput.d.ts +2 -2
  122. package/lib/elements/HawaPinInput.d.ts +2 -2
  123. package/lib/elements/HawaPricingCard.d.ts +2 -2
  124. package/lib/elements/HawaRadio.d.ts +2 -2
  125. package/lib/elements/HawaRange.d.ts +2 -2
  126. package/lib/elements/HawaSearchBar.d.ts +2 -2
  127. package/lib/elements/HawaSelect.d.ts +2 -2
  128. package/lib/elements/HawaSettingsRow.d.ts +2 -2
  129. package/lib/elements/HawaSpinner.d.ts +2 -2
  130. package/lib/elements/HawaStats.d.ts +2 -2
  131. package/lib/elements/HawaStepper.d.ts +2 -2
  132. package/lib/elements/HawaStoreButtons.d.ts +2 -2
  133. package/lib/elements/HawaSwitch.d.ts +2 -2
  134. package/lib/elements/HawaTable.d.ts +2 -2
  135. package/lib/elements/HawaTabs.d.ts +2 -2
  136. package/lib/elements/HawaTextField.d.ts +3 -3
  137. package/lib/elements/HawaTooltip.d.ts +3 -3
  138. package/lib/elements/HawaTypography.d.ts +2 -2
  139. package/lib/elements/InvoiceAccordion.d.ts +2 -2
  140. package/lib/elements/SubsectionList.d.ts +2 -2
  141. package/lib/elements/TabPanel.d.ts +2 -2
  142. package/lib/elements/UsageCard.d.ts +2 -2
  143. package/lib/elements/UserFeedback.d.ts +2 -2
  144. package/lib/index.js +2 -2
  145. package/package.json +1 -1
  146. package/src/blocks/Account/HawaApiBox.tsx +2 -4
  147. package/src/blocks/Account/UserProfileForm.tsx +2 -4
  148. package/src/blocks/Account/UserSettingsForm.tsx +2 -6
  149. package/src/blocks/AuthForms/AppLanding.tsx +2 -2
  150. package/src/blocks/AuthForms/CodeConfirmation.tsx +2 -4
  151. package/src/blocks/AuthForms/NewPasswordForm.tsx +2 -4
  152. package/src/blocks/AuthForms/ResetPasswordForm.tsx +2 -4
  153. package/src/blocks/AuthForms/SignInForm.tsx +2 -2
  154. package/src/blocks/AuthForms/SignInPhone.tsx +2 -4
  155. package/src/blocks/AuthForms/SignUpForm.tsx +2 -2
  156. package/src/blocks/Misc/EmptyState.tsx +2 -4
  157. package/src/blocks/Misc/LeadGenerator.tsx +3 -3
  158. package/src/blocks/Misc/Newsletter.tsx +2 -2
  159. package/src/blocks/Misc/NoPermission.tsx +3 -6
  160. package/src/blocks/Misc/NotFound.tsx +2 -2
  161. package/src/blocks/Misc/Testimonial.tsx +5 -7
  162. package/src/blocks/Payment/ChargeWalletForm.tsx +2 -4
  163. package/src/blocks/Payment/CheckoutForm.tsx +2 -4
  164. package/src/blocks/Payment/Confirmation.tsx +3 -5
  165. package/src/blocks/Payment/CreditCardForm.tsx +2 -4
  166. package/src/blocks/Payment/PayWithWallet.tsx +2 -4
  167. package/src/blocks/Payment/SelectPayment.tsx +2 -4
  168. package/src/blocks/Pricing/ComparingPlans.tsx +4 -6
  169. package/src/blocks/Pricing/PricingPlans.tsx +2 -4
  170. package/src/blocks/Referral/ReferralAccount.tsx +2 -2
  171. package/src/blocks/Referral/ReferralSettlement.tsx +6 -4
  172. package/src/blocks/Referral/ReferralStats.tsx +2 -2
  173. package/src/elements/ArrowCarousel.tsx +2 -2
  174. package/src/elements/AutoCompleteField.tsx +5 -7
  175. package/src/elements/BackToTop.tsx +3 -3
  176. package/src/elements/Breadcrumb.tsx +3 -6
  177. package/src/elements/DragDropImages.tsx +3 -7
  178. package/src/elements/DraggableCard.tsx +2 -4
  179. package/src/elements/HawaAccordion.tsx +6 -14
  180. package/src/elements/HawaAdCard.tsx +2 -5
  181. package/src/elements/HawaCardInput.tsx +1 -1
  182. package/src/elements/HawaCheckbox.tsx +2 -4
  183. package/src/elements/HawaChip.tsx +10 -4
  184. package/src/elements/HawaColorPicker.tsx +7 -7
  185. package/src/elements/HawaCopyrights.tsx +8 -6
  186. package/src/elements/HawaDatepicker.tsx +1 -1
  187. package/src/elements/HawaDrawer.tsx +3 -3
  188. package/src/elements/HawaIconCount.tsx +5 -5
  189. package/src/elements/HawaItemCard.tsx +10 -10
  190. package/src/elements/HawaLandingCard.tsx +3 -3
  191. package/src/elements/HawaLogoButton.tsx +2 -4
  192. package/src/elements/HawaMenu.tsx +4 -4
  193. package/src/elements/HawaModal.tsx +2 -2
  194. package/src/elements/HawaPanelTabs.tsx +2 -4
  195. package/src/elements/HawaPhoneInput.tsx +3 -5
  196. package/src/elements/HawaPinInput.tsx +2 -2
  197. package/src/elements/HawaPricingCard.tsx +2 -2
  198. package/src/elements/HawaRadio.tsx +2 -2
  199. package/src/elements/HawaRange.tsx +3 -3
  200. package/src/elements/HawaSearchBar.tsx +2 -4
  201. package/src/elements/HawaSelect.tsx +5 -5
  202. package/src/elements/HawaSettingsRow.tsx +2 -2
  203. package/src/elements/HawaSnackbar.tsx +2 -2
  204. package/src/elements/HawaSpinner.tsx +2 -5
  205. package/src/elements/HawaStats.tsx +2 -2
  206. package/src/elements/HawaStepper.tsx +2 -2
  207. package/src/elements/HawaStoreButtons.tsx +3 -5
  208. package/src/elements/HawaSwitch.tsx +2 -5
  209. package/src/elements/HawaTable.tsx +5 -3
  210. package/src/elements/HawaTabs.tsx +4 -4
  211. package/src/elements/HawaTextField.tsx +3 -3
  212. package/src/elements/HawaTooltip.tsx +3 -3
  213. package/src/elements/HawaTypography.tsx +2 -4
  214. package/src/elements/InvoiceAccordion.tsx +2 -4
  215. package/src/elements/SubsectionList.tsx +3 -5
  216. package/src/elements/TabPanel.tsx +2 -2
  217. package/src/elements/UsageCard.tsx +2 -2
  218. package/src/elements/UserFeedback.tsx +2 -4
@@ -1,8 +1,8 @@
1
- import React from "react";
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: React.FunctionComponent<HawaApiBoxTypes>;
7
+ export declare const HawaApiBox: FC<HawaApiBoxTypes>;
8
8
  export {};
@@ -1,8 +1,8 @@
1
- import React from "react";
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: React.FunctionComponent<UserProfileFormTypes>;
7
+ export declare const UserProfileForm: FC<UserProfileFormTypes>;
8
8
  export {};
@@ -1,9 +1,9 @@
1
- import React from "react";
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: React.FunctionComponent<UserSettingsFormTypes>;
8
+ export declare const UserSettingsForm: FC<UserSettingsFormTypes>;
9
9
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<AppLandingTypes>;
13
+ export declare const AppLanding: FC<AppLandingTypes>;
14
14
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type TConfirmation = {
3
3
  showError?: any;
4
4
  errorTitle?: any;
@@ -18,5 +18,5 @@ type TConfirmation = {
18
18
  submitConfirmation?: any;
19
19
  handleSignIn?: any;
20
20
  };
21
- export declare const CodeConfirmation: React.FunctionComponent<TConfirmation>;
21
+ export declare const CodeConfirmation: FC<TConfirmation>;
22
22
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<NewPasswordTypes>;
17
+ export declare const NewPasswordForm: FC<NewPasswordTypes>;
18
18
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<ResetPasswordType>;
17
+ export declare const ResetPasswordForm: FC<ResetPasswordType>;
18
18
  export {};
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- export declare const SignInForm: React.FunctionComponent<SignInFormTypes>;
1
+ import { FC } from "react";
2
+ export declare const SignInForm: FC<SignInFormTypes>;
3
3
  type SignInFormTypes = {
4
4
  direction?: "rtl" | "ltr";
5
5
  showError?: any;
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<SignInPhoneTypes>;
12
+ export declare const SignInPhone: FC<SignInPhoneTypes>;
13
13
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<SignUpFormTypes>;
54
+ export declare const SignUpForm: FC<SignUpFormTypes>;
55
55
  export {};
@@ -1,6 +1,6 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type TEmptyState = {
3
3
  variant?: "outlined" | "contained" | "neobrutalism";
4
4
  };
5
- export declare const EmptyState: React.FunctionComponent<TEmptyState>;
5
+ export declare const EmptyState: FC<TEmptyState>;
6
6
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<TLeadGenerator>;
11
+ export declare const LeadGenerator: FC<TLeadGenerator>;
12
12
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<TNewsletter>;
11
+ export declare const Newsletter: FC<TNewsletter>;
12
12
  export {};
@@ -1,6 +1,6 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type TNoPermission = {
3
3
  variant?: "outlined" | "contained" | "neobrutalism";
4
4
  };
5
- export declare const NoPermission: React.FunctionComponent<TNoPermission>;
5
+ export declare const NoPermission: FC<TNoPermission>;
6
6
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<NotFoundTypes>;
10
+ export declare const NotFound: FC<NotFoundTypes>;
11
11
  export {};
@@ -1,6 +1,6 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type TEmptyState = {
3
3
  variant?: "outlined" | "contained" | "neobrutalism";
4
4
  };
5
- export declare const Testimonial: React.FunctionComponent<TEmptyState>;
5
+ export declare const Testimonial: FC<TEmptyState>;
6
6
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<ChargeWalletTypes>;
11
+ export declare const ChargeWalletForm: FC<ChargeWalletTypes>;
12
12
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<CheckoutFormTypes>;
26
+ export declare const CheckoutForm: FC<CheckoutFormTypes>;
27
27
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<ConfirmationPageTypes>;
39
+ export declare const ConfirmationPage: FC<ConfirmationPageTypes>;
40
40
  export {};
@@ -1,7 +1,7 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type CreditCardFormTypes = {
3
3
  handle: any;
4
4
  handlePayWithCreditCard: any;
5
5
  };
6
- export declare const CreditCardForm: React.FunctionComponent<CreditCardFormTypes>;
6
+ export declare const CreditCardForm: FC<CreditCardFormTypes>;
7
7
  export {};
@@ -1,8 +1,8 @@
1
- import React from "react";
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: React.FunctionComponent<PayWithWalletTypes>;
7
+ export declare const PayWithWallet: FC<PayWithWalletTypes>;
8
8
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<SelectPaymentTypes>;
25
+ export declare const SelectPayment: FC<SelectPaymentTypes>;
26
26
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<ComparingPlansTypes>;
38
+ export declare const ComparingPlans: FC<ComparingPlansTypes>;
39
39
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<PricingPlansTypes>;
46
+ export declare const PricingPlans: FC<PricingPlansTypes>;
47
47
  export {};
@@ -1,7 +1,7 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type ReferralAccount = {
3
3
  referralLink: string;
4
4
  referralCode: string;
5
5
  };
6
- export declare const ReferralAccount: React.FunctionComponent<ReferralAccount>;
6
+ export declare const ReferralAccount: FC<ReferralAccount>;
7
7
  export {};
@@ -1,8 +1,8 @@
1
- import React from "react";
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: React.FunctionComponent<TReferralSettlement>;
7
+ export declare const ReferralSettlement: FC<TReferralSettlement>;
8
8
  export {};
@@ -1,8 +1,8 @@
1
- import React from "react";
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: React.FunctionComponent<TReferralStats>;
7
+ export declare const ReferralStats: FC<TReferralStats>;
8
8
  export {};
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from "react";
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: FunctionComponent<ComponentTypes>;
12
+ export declare const ArrowCarousel: FC<ComponentTypes>;
13
13
  export {};
@@ -1,8 +1,8 @@
1
- import React from "react";
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: React.FunctionComponent<TAutoCompleteFieldTypes>;
7
+ export declare const AutoCompleteField: FC<TAutoCompleteFieldTypes>;
8
8
  export {};
@@ -1,10 +1,10 @@
1
- import React, { FunctionComponent } from "react";
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: React.RefObject<HTMLInputElement>;
7
+ anchor: RefObject<HTMLInputElement>;
8
8
  };
9
- export declare const BackToTop: FunctionComponent<ComponentTypes>;
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 React, { ReactElement } from "react";
1
+ import { ReactElement, FC } from "react";
2
2
  type DraggableCardTypes = {
3
3
  children: ReactElement;
4
4
  };
5
- export declare const DraggableCard: React.FunctionComponent<DraggableCardTypes>;
5
+ export declare const DraggableCard: FC<DraggableCardTypes>;
6
6
  export {};
@@ -1,17 +1,11 @@
1
- import React from "react";
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: React.FunctionComponent<AccordionTypes>;
10
+ export declare const HawaAccordion: FC<AccordionTypes>;
17
11
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<AdCardTypes>;
9
+ export declare const HawaAdCard: FC<AdCardTypes>;
10
10
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
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
- }) => React.JSX.Element;
25
+ }) => import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from "react";
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: React.FunctionComponent<TCheckBoxTypes>;
10
+ export declare const HawaCheckbox: FC<TCheckBoxTypes>;
11
11
  export {};
@@ -1,11 +1,17 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type TChipTypes = {
3
+ /** The text inside the chip */
3
4
  label: string;
4
- size?: "small" | "normal" | "large";
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: React.FunctionComponent<TChipTypes>;
16
+ export declare const HawaChip: FC<TChipTypes>;
11
17
  export {};
@@ -1,7 +1,9 @@
1
- import React from "react";
1
+ import { FC, ChangeEvent } from "react";
2
2
  type ColorPickerTypes = {
3
+ /** The hex code for the color */
3
4
  color?: any;
4
- handleChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
5
+ /** Fires everytime the color changes */
6
+ handleChange?: (e: ChangeEvent<HTMLInputElement>) => void;
5
7
  };
6
- export declare const HawaColorPicker: React.FunctionComponent<ColorPickerTypes>;
8
+ export declare const HawaColorPicker: FC<ColorPickerTypes>;
7
9
  export {};
@@ -1,11 +1,15 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type CopyRightsTypes = {
3
- withLogo?: boolean;
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: React.FunctionComponent<CopyRightsTypes>;
14
+ export declare const HawaCopyrights: FC<CopyRightsTypes>;
11
15
  export {};
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from "react";
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: React.FunctionComponent<TDrawerTypes>;
12
+ export declare const HawaDrawer: FC<TDrawerTypes>;
13
13
  export {};
@@ -1,7 +1,9 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type IconCountTypes = {
3
- icon: any;
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: React.FunctionComponent<IconCountTypes>;
8
+ export declare const HawaIconCount: FC<IconCountTypes>;
7
9
  export {};
@@ -1,13 +1,17 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  interface ItemCardTypes {
3
- actions?: any;
4
- content?: any;
5
3
  headerActions?: THeaderActions[][];
6
4
  header?: any;
7
- lang?: string;
5
+ content?: any;
6
+ /** a URL for the image of the card */
8
7
  cardImage?: string;
8
+ /** a function that fires when the card is clicked anywhere */
9
9
  onCardClick?: any;
10
- counts?: any;
10
+ /** a React node with HawaIconCount children to have counters at the bottom of the card */
11
+ counts?: JSX.Element;
12
+ /** The action buttons on the bottom right of the card */
13
+ actions?: JSX.Element;
14
+ /** The orientation of the card */
11
15
  orientation?: "horizontal" | "vertical";
12
16
  /** Enabling this blurs the image on hover and shows an action button */
13
17
  clickableImage?: boolean;
@@ -24,5 +28,5 @@ type THeaderActions = {
24
28
  action?: (e: any) => void;
25
29
  isButton?: boolean;
26
30
  };
27
- export declare const HawaItemCard: React.FunctionComponent<ItemCardTypes>;
31
+ export declare const HawaItemCard: FC<ItemCardTypes>;
28
32
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type LandingCardTypes = {
3
3
  orientation: "vertical" | "horizontal";
4
4
  title: string;
@@ -13,5 +13,5 @@ type LandingCardTypes = {
13
13
  };
14
14
  buttonLink?: string;
15
15
  };
16
- export declare const HawaLandingCard: React.FunctionComponent<LandingCardTypes>;
16
+ export declare const HawaLandingCard: FC<LandingCardTypes>;
17
17
  export {};
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type LogoButtonTypes = {
3
3
  lang?: any;
4
4
  logo?: "google" | "github" | "twitter" | "wallet" | "googlepay" | "applepay" | "stcpay" | "visa/master" | "paypal" | "mada";
5
5
  onClick?: any;
6
6
  buttonText?: any;
7
7
  };
8
- export declare const HawaLogoButton: React.FunctionComponent<LogoButtonTypes>;
8
+ export declare const HawaLogoButton: FC<LogoButtonTypes>;
9
9
  export {};