@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
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
interface ItemCardTypes {
|
|
3
|
-
actions?: any;
|
|
4
|
-
content?: any;
|
|
5
3
|
headerActions?: THeaderActions[][];
|
|
6
4
|
header?: any;
|
|
7
|
-
|
|
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
|
-
|
|
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:
|
|
31
|
+
export declare const HawaItemCard: FC<ItemCardTypes>;
|
|
28
32
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
16
|
+
export declare const HawaLandingCard: FC<LandingCardTypes>;
|
|
17
17
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
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:
|
|
8
|
+
export declare const HawaLogoButton: FC<LogoButtonTypes>;
|
|
9
9
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
23
|
+
export declare const HawaMenu: FC<TMenuTypes>;
|
|
24
24
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
30
|
+
export declare const HawaModal: FC<ModalTypes>;
|
|
31
31
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
12
|
+
export declare const HawaPanelTabs: FC<PanelTabsTypes>;
|
|
13
13
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
10
|
+
export declare const HawaPhoneInput: FC<HawaPhoneInputTypes>;
|
|
11
11
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
9
|
+
export declare const HawaPinInput: FC<PinInputTypes>;
|
|
10
10
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
20
|
+
export declare const HawaPricingCard: FC<PricingCardTypes>;
|
|
21
21
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
12
|
+
export declare const HawaRadio: FC<RadioTypes>;
|
|
13
13
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
11
|
+
export declare const HawaRange: FC<RangeTypes>;
|
|
12
12
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
22
|
+
export declare const HawaSelect: FC<SelectTypes>;
|
|
23
23
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
43
|
+
export declare const HawaSettingsRow: FC<SettingsRowTypes>;
|
|
44
44
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type SpinnerTypes = {
|
|
3
3
|
size?: "button" | "sm" | "normal" | "lg" | "xl";
|
|
4
4
|
};
|
|
5
|
-
export declare const HawaSpinner:
|
|
5
|
+
export declare const HawaSpinner: FC<SpinnerTypes>;
|
|
6
6
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
12
|
+
export declare const HawaStats: FC<StatTypes>;
|
|
13
13
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
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:
|
|
7
|
+
export declare const HawaStepper: FC<THawaTimeline>;
|
|
8
8
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
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:
|
|
6
|
+
export declare const HawaStoreButtons: FC<StoreButtonsTypes>;
|
|
7
7
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
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:
|
|
6
|
+
export declare const HawaSwitch: FC<SwitchTypes>;
|
|
7
7
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
34
|
+
export declare const HawaTable: FC<TableTypes>;
|
|
35
35
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
12
|
+
export declare const HawaTabs: FC<TabsTypes>;
|
|
13
13
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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?:
|
|
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:
|
|
28
|
+
export declare const HawaTextField: FC<TextFieldTypes>;
|
|
29
29
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactElement, FC } from "react";
|
|
2
2
|
type THawaToolTip = {
|
|
3
|
-
children?:
|
|
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:
|
|
11
|
+
export declare const HawaTooltip: FC<THawaToolTip>;
|
|
12
12
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { FC } from "react";
|
|
2
2
|
type TypographyTypes = {
|
|
3
3
|
children: any;
|
|
4
4
|
align?: any;
|
|
5
5
|
};
|
|
6
|
-
export declare const HawaTypography:
|
|
6
|
+
export declare const HawaTypography: FC<TypographyTypes>;
|
|
7
7
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
30
|
+
export declare const InvoiceAccordion: FC<InvoiceAccordionTypes>;
|
|
31
31
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
18
|
+
export declare const SubsectionList: FC<SubsectionListTypes>;
|
|
19
19
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
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:
|
|
7
|
+
export declare const TabPanel: FC<TabPanelTypes>;
|
|
8
8
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
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:
|
|
8
|
+
export declare const UsageCard: FC<UsageCardTypes>;
|
|
9
9
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
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:
|
|
12
|
+
export declare const UserFeedback: FC<ComponentTypes>;
|
|
13
13
|
export {};
|