@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.
Files changed (229) hide show
  1. package/dist/styles.css +8 -3
  2. package/es/blocks/Account/HawaApiBox.d.ts +2 -2
  3. package/es/blocks/Account/UserProfileForm.d.ts +2 -2
  4. package/es/blocks/Account/UserSettingsForm.d.ts +2 -2
  5. package/es/blocks/AuthForms/AppLanding.d.ts +2 -2
  6. package/es/blocks/AuthForms/CodeConfirmation.d.ts +3 -3
  7. package/es/blocks/AuthForms/NewPasswordForm.d.ts +2 -2
  8. package/es/blocks/AuthForms/ResetPasswordForm.d.ts +2 -2
  9. package/es/blocks/AuthForms/SignInForm.d.ts +2 -2
  10. package/es/blocks/AuthForms/SignInPhone.d.ts +2 -2
  11. package/es/blocks/AuthForms/SignUpForm.d.ts +2 -2
  12. package/es/blocks/Misc/EmptyState.d.ts +7 -2
  13. package/es/blocks/Misc/LeadGenerator.d.ts +2 -2
  14. package/es/blocks/Misc/Newsletter.d.ts +2 -2
  15. package/es/blocks/Misc/NoPermission.d.ts +6 -2
  16. package/es/blocks/Misc/NotFound.d.ts +2 -2
  17. package/es/blocks/Misc/Testimonial.d.ts +2 -2
  18. package/es/blocks/Payment/ChargeWalletForm.d.ts +2 -2
  19. package/es/blocks/Payment/CheckoutForm.d.ts +2 -2
  20. package/es/blocks/Payment/Confirmation.d.ts +2 -2
  21. package/es/blocks/Payment/CreditCardForm.d.ts +2 -2
  22. package/es/blocks/Payment/PayWithWallet.d.ts +2 -2
  23. package/es/blocks/Payment/SelectPayment.d.ts +2 -2
  24. package/es/blocks/Pricing/ComparingPlans.d.ts +2 -2
  25. package/es/blocks/Pricing/PricingPlans.d.ts +2 -2
  26. package/es/blocks/Referral/ReferralAccount.d.ts +2 -2
  27. package/es/blocks/Referral/ReferralSettlement.d.ts +2 -2
  28. package/es/blocks/Referral/ReferralStats.d.ts +2 -2
  29. package/es/elements/ArrowCarousel.d.ts +2 -2
  30. package/es/elements/AutoCompleteField.d.ts +2 -2
  31. package/es/elements/BackToTop.d.ts +3 -3
  32. package/es/elements/Breadcrumb.d.ts +2 -4
  33. package/es/elements/DragDropImages.d.ts +2 -6
  34. package/es/elements/DraggableCard.d.ts +2 -2
  35. package/es/elements/HawaAccordion.d.ts +5 -11
  36. package/es/elements/HawaAdCard.d.ts +2 -2
  37. package/es/elements/HawaCardInput.d.ts +2 -2
  38. package/es/elements/HawaCheckbox.d.ts +2 -2
  39. package/es/elements/HawaChip.d.ts +9 -3
  40. package/es/elements/HawaColorPicker.d.ts +5 -3
  41. package/es/elements/HawaCopyrights.d.ts +8 -4
  42. package/es/elements/HawaDrawer.d.ts +2 -2
  43. package/es/elements/HawaIconCount.d.ts +5 -3
  44. package/es/elements/HawaItemCard.d.ts +10 -6
  45. package/es/elements/HawaLandingCard.d.ts +2 -2
  46. package/es/elements/HawaLogoButton.d.ts +2 -2
  47. package/es/elements/HawaMenu.d.ts +2 -2
  48. package/es/elements/HawaModal.d.ts +2 -2
  49. package/es/elements/HawaPanelTabs.d.ts +2 -2
  50. package/es/elements/HawaPhoneInput.d.ts +2 -2
  51. package/es/elements/HawaPinInput.d.ts +2 -2
  52. package/es/elements/HawaPricingCard.d.ts +2 -2
  53. package/es/elements/HawaRadio.d.ts +2 -2
  54. package/es/elements/HawaRange.d.ts +2 -2
  55. package/es/elements/HawaSearchBar.d.ts +2 -2
  56. package/es/elements/HawaSelect.d.ts +2 -2
  57. package/es/elements/HawaSettingsRow.d.ts +2 -2
  58. package/es/elements/HawaSpinner.d.ts +2 -2
  59. package/es/elements/HawaStats.d.ts +2 -2
  60. package/es/elements/HawaStepper.d.ts +2 -2
  61. package/es/elements/HawaStoreButtons.d.ts +2 -2
  62. package/es/elements/HawaSwitch.d.ts +2 -2
  63. package/es/elements/HawaTable.d.ts +2 -2
  64. package/es/elements/HawaTabs.d.ts +2 -2
  65. package/es/elements/HawaTextField.d.ts +3 -3
  66. package/es/elements/HawaTooltip.d.ts +3 -3
  67. package/es/elements/HawaTypography.d.ts +2 -2
  68. package/es/elements/InvoiceAccordion.d.ts +2 -2
  69. package/es/elements/SubsectionList.d.ts +2 -2
  70. package/es/elements/TabPanel.d.ts +2 -2
  71. package/es/elements/UsageCard.d.ts +2 -2
  72. package/es/elements/UserFeedback.d.ts +2 -2
  73. package/es/index.es.js +2 -2
  74. package/es/layout/HawaAppLayout.d.ts +1 -0
  75. package/es/layout/index.d.ts +0 -1
  76. package/lib/blocks/Account/HawaApiBox.d.ts +2 -2
  77. package/lib/blocks/Account/UserProfileForm.d.ts +2 -2
  78. package/lib/blocks/Account/UserSettingsForm.d.ts +2 -2
  79. package/lib/blocks/AuthForms/AppLanding.d.ts +2 -2
  80. package/lib/blocks/AuthForms/CodeConfirmation.d.ts +3 -3
  81. package/lib/blocks/AuthForms/NewPasswordForm.d.ts +2 -2
  82. package/lib/blocks/AuthForms/ResetPasswordForm.d.ts +2 -2
  83. package/lib/blocks/AuthForms/SignInForm.d.ts +2 -2
  84. package/lib/blocks/AuthForms/SignInPhone.d.ts +2 -2
  85. package/lib/blocks/AuthForms/SignUpForm.d.ts +2 -2
  86. package/lib/blocks/Misc/EmptyState.d.ts +7 -2
  87. package/lib/blocks/Misc/LeadGenerator.d.ts +2 -2
  88. package/lib/blocks/Misc/Newsletter.d.ts +2 -2
  89. package/lib/blocks/Misc/NoPermission.d.ts +6 -2
  90. package/lib/blocks/Misc/NotFound.d.ts +2 -2
  91. package/lib/blocks/Misc/Testimonial.d.ts +2 -2
  92. package/lib/blocks/Payment/ChargeWalletForm.d.ts +2 -2
  93. package/lib/blocks/Payment/CheckoutForm.d.ts +2 -2
  94. package/lib/blocks/Payment/Confirmation.d.ts +2 -2
  95. package/lib/blocks/Payment/CreditCardForm.d.ts +2 -2
  96. package/lib/blocks/Payment/PayWithWallet.d.ts +2 -2
  97. package/lib/blocks/Payment/SelectPayment.d.ts +2 -2
  98. package/lib/blocks/Pricing/ComparingPlans.d.ts +2 -2
  99. package/lib/blocks/Pricing/PricingPlans.d.ts +2 -2
  100. package/lib/blocks/Referral/ReferralAccount.d.ts +2 -2
  101. package/lib/blocks/Referral/ReferralSettlement.d.ts +2 -2
  102. package/lib/blocks/Referral/ReferralStats.d.ts +2 -2
  103. package/lib/elements/ArrowCarousel.d.ts +2 -2
  104. package/lib/elements/AutoCompleteField.d.ts +2 -2
  105. package/lib/elements/BackToTop.d.ts +3 -3
  106. package/lib/elements/Breadcrumb.d.ts +2 -4
  107. package/lib/elements/DragDropImages.d.ts +2 -6
  108. package/lib/elements/DraggableCard.d.ts +2 -2
  109. package/lib/elements/HawaAccordion.d.ts +5 -11
  110. package/lib/elements/HawaAdCard.d.ts +2 -2
  111. package/lib/elements/HawaCardInput.d.ts +2 -2
  112. package/lib/elements/HawaCheckbox.d.ts +2 -2
  113. package/lib/elements/HawaChip.d.ts +9 -3
  114. package/lib/elements/HawaColorPicker.d.ts +5 -3
  115. package/lib/elements/HawaCopyrights.d.ts +8 -4
  116. package/lib/elements/HawaDrawer.d.ts +2 -2
  117. package/lib/elements/HawaIconCount.d.ts +5 -3
  118. package/lib/elements/HawaItemCard.d.ts +10 -6
  119. package/lib/elements/HawaLandingCard.d.ts +2 -2
  120. package/lib/elements/HawaLogoButton.d.ts +2 -2
  121. package/lib/elements/HawaMenu.d.ts +2 -2
  122. package/lib/elements/HawaModal.d.ts +2 -2
  123. package/lib/elements/HawaPanelTabs.d.ts +2 -2
  124. package/lib/elements/HawaPhoneInput.d.ts +2 -2
  125. package/lib/elements/HawaPinInput.d.ts +2 -2
  126. package/lib/elements/HawaPricingCard.d.ts +2 -2
  127. package/lib/elements/HawaRadio.d.ts +2 -2
  128. package/lib/elements/HawaRange.d.ts +2 -2
  129. package/lib/elements/HawaSearchBar.d.ts +2 -2
  130. package/lib/elements/HawaSelect.d.ts +2 -2
  131. package/lib/elements/HawaSettingsRow.d.ts +2 -2
  132. package/lib/elements/HawaSpinner.d.ts +2 -2
  133. package/lib/elements/HawaStats.d.ts +2 -2
  134. package/lib/elements/HawaStepper.d.ts +2 -2
  135. package/lib/elements/HawaStoreButtons.d.ts +2 -2
  136. package/lib/elements/HawaSwitch.d.ts +2 -2
  137. package/lib/elements/HawaTable.d.ts +2 -2
  138. package/lib/elements/HawaTabs.d.ts +2 -2
  139. package/lib/elements/HawaTextField.d.ts +3 -3
  140. package/lib/elements/HawaTooltip.d.ts +3 -3
  141. package/lib/elements/HawaTypography.d.ts +2 -2
  142. package/lib/elements/InvoiceAccordion.d.ts +2 -2
  143. package/lib/elements/SubsectionList.d.ts +2 -2
  144. package/lib/elements/TabPanel.d.ts +2 -2
  145. package/lib/elements/UsageCard.d.ts +2 -2
  146. package/lib/elements/UserFeedback.d.ts +2 -2
  147. package/lib/index.js +2 -2
  148. package/lib/layout/HawaAppLayout.d.ts +1 -0
  149. package/lib/layout/index.d.ts +0 -1
  150. package/package.json +1 -1
  151. package/src/blocks/Account/HawaApiBox.tsx +2 -4
  152. package/src/blocks/Account/UserProfileForm.tsx +2 -4
  153. package/src/blocks/Account/UserSettingsForm.tsx +2 -6
  154. package/src/blocks/AuthForms/AppLanding.tsx +2 -2
  155. package/src/blocks/AuthForms/CodeConfirmation.tsx +3 -5
  156. package/src/blocks/AuthForms/NewPasswordForm.tsx +2 -4
  157. package/src/blocks/AuthForms/ResetPasswordForm.tsx +2 -4
  158. package/src/blocks/AuthForms/SignInForm.tsx +2 -2
  159. package/src/blocks/AuthForms/SignInPhone.tsx +2 -4
  160. package/src/blocks/AuthForms/SignUpForm.tsx +2 -2
  161. package/src/blocks/Misc/EmptyState.tsx +15 -7
  162. package/src/blocks/Misc/LeadGenerator.tsx +4 -6
  163. package/src/blocks/Misc/Newsletter.tsx +3 -3
  164. package/src/blocks/Misc/NoPermission.tsx +13 -10
  165. package/src/blocks/Misc/NotFound.tsx +4 -4
  166. package/src/blocks/Misc/Testimonial.tsx +25 -33
  167. package/src/blocks/Payment/ChargeWalletForm.tsx +9 -10
  168. package/src/blocks/Payment/CheckoutForm.tsx +20 -22
  169. package/src/blocks/Payment/Confirmation.tsx +7 -9
  170. package/src/blocks/Payment/CreditCardForm.tsx +2 -4
  171. package/src/blocks/Payment/PayWithWallet.tsx +2 -4
  172. package/src/blocks/Payment/SelectPayment.tsx +2 -4
  173. package/src/blocks/Pricing/ComparingPlans.tsx +4 -6
  174. package/src/blocks/Pricing/PricingPlans.tsx +2 -4
  175. package/src/blocks/Referral/ReferralAccount.tsx +2 -2
  176. package/src/blocks/Referral/ReferralSettlement.tsx +14 -7
  177. package/src/blocks/Referral/ReferralStats.tsx +2 -2
  178. package/src/elements/ArrowCarousel.tsx +2 -2
  179. package/src/elements/AutoCompleteField.tsx +5 -7
  180. package/src/elements/BackToTop.tsx +3 -3
  181. package/src/elements/Breadcrumb.tsx +3 -6
  182. package/src/elements/DragDropImages.tsx +3 -7
  183. package/src/elements/DraggableCard.tsx +2 -4
  184. package/src/elements/HawaAccordion.tsx +6 -14
  185. package/src/elements/HawaAdCard.tsx +2 -5
  186. package/src/elements/HawaCardInput.tsx +1 -1
  187. package/src/elements/HawaCheckbox.tsx +2 -4
  188. package/src/elements/HawaChip.tsx +10 -4
  189. package/src/elements/HawaColorPicker.tsx +7 -7
  190. package/src/elements/HawaCopyrights.tsx +8 -6
  191. package/src/elements/HawaDatepicker.tsx +1 -1
  192. package/src/elements/HawaDrawer.tsx +3 -3
  193. package/src/elements/HawaIconCount.tsx +5 -5
  194. package/src/elements/HawaItemCard.tsx +10 -10
  195. package/src/elements/HawaLandingCard.tsx +3 -3
  196. package/src/elements/HawaLogoButton.tsx +2 -4
  197. package/src/elements/HawaMenu.tsx +4 -4
  198. package/src/elements/HawaModal.tsx +2 -2
  199. package/src/elements/HawaPanelTabs.tsx +2 -4
  200. package/src/elements/HawaPhoneInput.tsx +3 -5
  201. package/src/elements/HawaPinInput.tsx +2 -2
  202. package/src/elements/HawaPricingCard.tsx +2 -2
  203. package/src/elements/HawaRadio.tsx +2 -2
  204. package/src/elements/HawaRange.tsx +3 -3
  205. package/src/elements/HawaSearchBar.tsx +2 -4
  206. package/src/elements/HawaSelect.tsx +5 -5
  207. package/src/elements/HawaSettingsRow.tsx +2 -2
  208. package/src/elements/HawaSnackbar.tsx +2 -2
  209. package/src/elements/HawaSpinner.tsx +2 -5
  210. package/src/elements/HawaStats.tsx +2 -2
  211. package/src/elements/HawaStepper.tsx +2 -2
  212. package/src/elements/HawaStoreButtons.tsx +3 -5
  213. package/src/elements/HawaSwitch.tsx +2 -5
  214. package/src/elements/HawaTable.tsx +5 -3
  215. package/src/elements/HawaTabs.tsx +4 -4
  216. package/src/elements/HawaTextField.tsx +4 -4
  217. package/src/elements/HawaTooltip.tsx +3 -3
  218. package/src/elements/HawaTypography.tsx +2 -4
  219. package/src/elements/InvoiceAccordion.tsx +2 -4
  220. package/src/elements/SubsectionList.tsx +3 -5
  221. package/src/elements/TabPanel.tsx +2 -2
  222. package/src/elements/UsageCard.tsx +2 -2
  223. package/src/elements/UserFeedback.tsx +2 -4
  224. package/src/layout/HawaAppLayout.tsx +86 -58
  225. package/src/layout/index.ts +0 -1
  226. package/src/styles.css +8 -3
  227. package/es/layout/SimpleGrid.d.ts +0 -10
  228. package/lib/layout/SimpleGrid.d.ts +0 -10
  229. package/src/layout/SimpleGrid.tsx +0 -41
@@ -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 {};
@@ -1,4 +1,4 @@
1
- import React, { ReactNode } from "react";
1
+ import { ReactNode, FC } from "react";
2
2
  interface TMenuTypes {
3
3
  menuItems: MenuItems[][];
4
4
  withHeader?: boolean;
@@ -20,5 +20,5 @@ type MenuItems = {
20
20
  isButton?: boolean;
21
21
  element?: any;
22
22
  };
23
- export declare const HawaMenu: React.FunctionComponent<TMenuTypes>;
23
+ export declare const HawaMenu: FC<TMenuTypes>;
24
24
  export {};
@@ -1,4 +1,4 @@
1
- import React, { ReactElement } from "react";
1
+ import { ReactElement, FC } from "react";
2
2
  type ModalTypes = {
3
3
  /**
4
4
  * The boolean to open and close the modal
@@ -27,5 +27,5 @@ type ModalTypes = {
27
27
  */
28
28
  actions: any;
29
29
  };
30
- export declare const HawaModal: React.FunctionComponent<ModalTypes>;
30
+ export declare const HawaModal: FC<ModalTypes>;
31
31
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type PanelTabsTypes = {
3
3
  defaultValue: any;
4
4
  options: [{
@@ -9,5 +9,5 @@ type PanelTabsTypes = {
9
9
  handleChange: any;
10
10
  location: any;
11
11
  };
12
- export declare const HawaPanelTabs: React.FunctionComponent<PanelTabsTypes>;
12
+ export declare const HawaPanelTabs: FC<PanelTabsTypes>;
13
13
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type HawaPhoneInputTypes = {
3
3
  preferredCountry?: any;
4
4
  helperText?: any;
@@ -7,5 +7,5 @@ type HawaPhoneInputTypes = {
7
7
  country?: any;
8
8
  handleChange?: any;
9
9
  };
10
- export declare const HawaPhoneInput: React.FunctionComponent<HawaPhoneInputTypes>;
10
+ export declare const HawaPhoneInput: FC<HawaPhoneInputTypes>;
11
11
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type PinInputTypes = {
3
3
  label?: string;
4
4
  icon?: JSX.Element;
@@ -6,5 +6,5 @@ type PinInputTypes = {
6
6
  width?: "normal" | "full";
7
7
  getPins?: any;
8
8
  };
9
- export declare const HawaPinInput: React.FunctionComponent<PinInputTypes>;
9
+ export declare const HawaPinInput: FC<PinInputTypes>;
10
10
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type PricingCardTypes = {
3
3
  direction?: "rtl" | "ltr";
4
4
  features: [{
@@ -17,5 +17,5 @@ type PricingCardTypes = {
17
17
  currentPlan?: boolean;
18
18
  size: "small" | "medium" | "large";
19
19
  };
20
- export declare const HawaPricingCard: React.FunctionComponent<PricingCardTypes>;
20
+ export declare const HawaPricingCard: FC<PricingCardTypes>;
21
21
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type RadioTypes = {
3
3
  options?: [
4
4
  {
@@ -9,5 +9,5 @@ type RadioTypes = {
9
9
  onChangeTab?: any;
10
10
  defaultValue?: any;
11
11
  };
12
- export declare const HawaRadio: React.FunctionComponent<RadioTypes>;
12
+ export declare const HawaRadio: FC<RadioTypes>;
13
13
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type RangeTypes = {
3
3
  value?: any;
4
4
  handleChange?: any;
@@ -8,5 +8,5 @@ type RangeTypes = {
8
8
  min?: any;
9
9
  max?: any;
10
10
  };
11
- export declare const HawaRange: React.FunctionComponent<RangeTypes>;
11
+ export declare const HawaRange: FC<RangeTypes>;
12
12
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type SearchBarTypes = {};
3
- export declare const HawaSearchBar: React.FunctionComponent<SearchBarTypes>;
3
+ export declare const HawaSearchBar: FC<SearchBarTypes>;
4
4
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type SelectTypes = {
3
3
  label?: string;
4
4
  options?: {
@@ -19,5 +19,5 @@ type SelectTypes = {
19
19
  getOptionLabel?: any;
20
20
  disabled?: boolean;
21
21
  };
22
- export declare const HawaSelect: React.FunctionComponent<SelectTypes>;
22
+ export declare const HawaSelect: FC<SelectTypes>;
23
23
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type SettingsRowTypes = {
3
3
  settingsLabel: string;
4
4
  settingsType: "text" | "radio" | "boolean" | "color" | "range" | "select";
@@ -40,5 +40,5 @@ type SettingsRowTypes = {
40
40
  disabled?: boolean;
41
41
  };
42
42
  };
43
- export declare const HawaSettingsRow: React.FunctionComponent<SettingsRowTypes>;
43
+ export declare const HawaSettingsRow: FC<SettingsRowTypes>;
44
44
  export {};
@@ -1,6 +1,6 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type SpinnerTypes = {
3
3
  size?: "button" | "sm" | "normal" | "lg" | "xl";
4
4
  };
5
- export declare const HawaSpinner: React.FunctionComponent<SpinnerTypes>;
5
+ export declare const HawaSpinner: FC<SpinnerTypes>;
6
6
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type StatTypes = {
3
3
  label?: string;
4
4
  color?: string;
@@ -9,5 +9,5 @@ type StatTypes = {
9
9
  isLoading?: boolean;
10
10
  handleClick?: () => void;
11
11
  };
12
- export declare const HawaStats: React.FunctionComponent<StatTypes>;
12
+ export declare const HawaStats: FC<StatTypes>;
13
13
  export {};
@@ -1,8 +1,8 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type THawaTimeline = {
3
3
  steps: any[any];
4
4
  currentStep: any;
5
5
  orientation: "vertical" | "horizontal";
6
6
  };
7
- export declare const HawaStepper: React.FunctionComponent<THawaTimeline>;
7
+ export declare const HawaStepper: FC<THawaTimeline>;
8
8
  export {};
@@ -1,7 +1,7 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type StoreButtonsTypes = {
3
3
  store: "apple" | "google";
4
4
  mode: "dark" | "light";
5
5
  };
6
- export declare const HawaStoreButtons: React.FunctionComponent<StoreButtonsTypes>;
6
+ export declare const HawaStoreButtons: FC<StoreButtonsTypes>;
7
7
  export {};
@@ -1,7 +1,7 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type SwitchTypes = {
3
3
  text?: any;
4
4
  size?: "small" | "normal" | "large";
5
5
  };
6
- export declare const HawaSwitch: React.FunctionComponent<SwitchTypes>;
6
+ export declare const HawaSwitch: FC<SwitchTypes>;
7
7
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type TableTypes = {
3
3
  pagination?: boolean;
4
4
  columns: any[string];
@@ -31,5 +31,5 @@ type ActionItems = {
31
31
  isButton?: boolean;
32
32
  element?: any;
33
33
  };
34
- export declare const HawaTable: React.FunctionComponent<TableTypes>;
34
+ export declare const HawaTable: FC<TableTypes>;
35
35
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type TabsTypes = {
3
3
  options?: any;
4
4
  onChangeTab?: (option: any) => void;
@@ -9,5 +9,5 @@ type TabsTypes = {
9
9
  width?: "full" | "normal";
10
10
  pill?: boolean;
11
11
  };
12
- export declare const HawaTabs: React.FunctionComponent<TabsTypes>;
12
+ export declare const HawaTabs: FC<TabsTypes>;
13
13
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC, PropsWithRef } from "react";
2
2
  type TextFieldTypes = {
3
3
  margin?: "none" | "normal" | "large";
4
4
  width?: "small" | "normal" | "full";
@@ -10,7 +10,7 @@ type TextFieldTypes = {
10
10
  helperText?: any;
11
11
  /** The value of the input field */
12
12
  value?: any;
13
- props?: React.PropsWithRef<"input">;
13
+ props?: PropsWithRef<"input">;
14
14
  /** The type of input field. Same as the types of <input/> component */
15
15
  type?: any;
16
16
  /** The placeholder of the input field */
@@ -25,5 +25,5 @@ type TextFieldTypes = {
25
25
  /** Boolean to enable/disable editing the input field and using it as a text field */
26
26
  preview?: boolean;
27
27
  };
28
- export declare const HawaTextField: React.FunctionComponent<TextFieldTypes>;
28
+ export declare const HawaTextField: FC<TextFieldTypes>;
29
29
  export {};
@@ -1,6 +1,6 @@
1
- import React from "react";
1
+ import { ReactElement, FC } from "react";
2
2
  type THawaToolTip = {
3
- children?: React.ReactElement;
3
+ children?: ReactElement;
4
4
  content?: string;
5
5
  btnHovered?: any;
6
6
  buttonRef?: any;
@@ -8,5 +8,5 @@ type THawaToolTip = {
8
8
  size?: "normal" | "small" | "large";
9
9
  position?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
10
10
  };
11
- export declare const HawaTooltip: React.FunctionComponent<THawaToolTip>;
11
+ export declare const HawaTooltip: FC<THawaToolTip>;
12
12
  export {};
@@ -1,7 +1,7 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type TypographyTypes = {
3
3
  children: any;
4
4
  align?: any;
5
5
  };
6
- export declare const HawaTypography: React.FunctionComponent<TypographyTypes>;
6
+ export declare const HawaTypography: FC<TypographyTypes>;
7
7
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type InvoiceAccordionTypes = {
3
3
  products: {
4
4
  usage?: string;
@@ -27,5 +27,5 @@ type InvoiceAccordionTypes = {
27
27
  direction?: "rtl" | "ltr";
28
28
  status?: "paid" | "pending" | "overdue";
29
29
  };
30
- export declare const InvoiceAccordion: React.FunctionComponent<InvoiceAccordionTypes>;
30
+ export declare const InvoiceAccordion: FC<InvoiceAccordionTypes>;
31
31
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type SubsectionListTypes = {
3
3
  align?: any;
4
4
  subsections: [
@@ -15,5 +15,5 @@ type SubsectionListTypes = {
15
15
  }
16
16
  ];
17
17
  };
18
- export declare const SubsectionList: React.FunctionComponent<SubsectionListTypes>;
18
+ export declare const SubsectionList: FC<SubsectionListTypes>;
19
19
  export {};
@@ -1,8 +1,8 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type TabPanelTypes = {
3
3
  children: any;
4
4
  value: any;
5
5
  index: any;
6
6
  };
7
- export declare const TabPanel: React.FunctionComponent<TabPanelTypes>;
7
+ export declare const TabPanel: FC<TabPanelTypes>;
8
8
  export {};
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type UsageCardTypes = {
3
3
  tooltip?: any;
4
4
  title: any;
5
5
  percent: any;
6
6
  currentUsage: any;
7
7
  };
8
- export declare const UsageCard: React.FunctionComponent<UsageCardTypes>;
8
+ export declare const UsageCard: FC<UsageCardTypes>;
9
9
  export {};
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { FC } from "react";
2
2
  type ComponentTypes = {
3
3
  title?: string;
4
4
  question: string;
@@ -9,5 +9,5 @@ type ComponentTypes = {
9
9
  };
10
10
  onOptionClicked?: (option: any) => void;
11
11
  };
12
- export declare const UserFeedback: React.FunctionComponent<ComponentTypes>;
12
+ export declare const UserFeedback: FC<ComponentTypes>;
13
13
  export {};