@sikka/hawa 0.0.99 → 0.0.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/blocks/Account/UserProfileForm.d.ts +8 -0
- package/es/blocks/Account/UserSettingsForm.d.ts +8 -0
- package/es/blocks/Account/index.d.ts +2 -0
- package/es/blocks/AuthForms/AppLanding.d.ts +13 -0
- package/es/blocks/AuthForms/CodeConfirmation.d.ts +10 -0
- package/es/blocks/AuthForms/NewPasswordForm.d.ts +24 -0
- package/es/blocks/AuthForms/ResetPasswordForm.d.ts +18 -0
- package/es/blocks/AuthForms/SignInForm.d.ts +42 -0
- package/es/blocks/AuthForms/SignInPhone.d.ts +12 -0
- package/es/blocks/AuthForms/SignUpForm.d.ts +51 -0
- package/es/blocks/AuthForms/index.d.ts +7 -0
- package/es/blocks/Misc/NotFound.d.ts +4 -0
- package/es/blocks/Misc/index.d.ts +1 -0
- package/es/blocks/Payment/ChargeWalletForm.d.ts +12 -0
- package/es/blocks/Payment/CheckoutForm.d.ts +27 -0
- package/es/blocks/Payment/Confirmation.d.ts +40 -0
- package/es/blocks/Payment/CreditCardForm.d.ts +7 -0
- package/es/blocks/Payment/PayWithWallet.d.ts +8 -0
- package/es/blocks/Payment/SelectPayment.d.ts +26 -0
- package/es/blocks/Payment/index.d.ts +6 -0
- package/es/blocks/Pricing/ComparingPlans.d.ts +7 -0
- package/es/blocks/Pricing/PricingPlans.d.ts +7 -0
- package/es/blocks/Pricing/index.d.ts +2 -0
- package/es/blocks/index.d.ts +4 -0
- package/es/countries.d.ts +2 -0
- package/es/elements/AutoCompleteField.d.ts +8 -0
- package/es/elements/DragDropImages.d.ts +17 -0
- package/es/elements/DraggableCard.d.ts +6 -0
- package/es/elements/HawaAccordian.d.ts +6 -0
- package/es/elements/HawaAdCard.d.ts +10 -0
- package/es/elements/HawaAlert.d.ts +15 -0
- package/es/elements/HawaButton.d.ts +11 -0
- package/es/elements/HawaCheckbox.d.ts +9 -0
- package/es/elements/HawaChip.d.ts +6 -0
- package/es/elements/HawaColorPicker.d.ts +7 -0
- package/es/elements/HawaCopyrights.d.ts +8 -0
- package/es/elements/HawaDrawer.d.ts +13 -0
- package/es/elements/HawaDrawerItem.d.ts +8 -0
- package/es/elements/HawaItemCard.d.ts +11 -0
- package/es/elements/HawaLogoButton.d.ts +9 -0
- package/es/elements/HawaMenu.d.ts +14 -0
- package/es/elements/HawaModal.d.ts +12 -0
- package/es/elements/HawaPanelTabs.d.ts +10 -0
- package/es/elements/HawaPhoneInput.d.ts +11 -0
- package/es/elements/HawaPricingCard.d.ts +15 -0
- package/es/elements/HawaRadio.d.ts +6 -0
- package/es/elements/HawaRange.d.ts +10 -0
- package/es/elements/HawaSearchBar.d.ts +4 -0
- package/es/elements/HawaSelect.d.ts +18 -0
- package/es/elements/HawaSettingsRow.d.ts +7 -0
- package/es/elements/HawaSnackbar.d.ts +9 -0
- package/es/elements/HawaSwitch.d.ts +6 -0
- package/es/elements/HawaTable.d.ts +12 -0
- package/es/elements/HawaTabs.d.ts +8 -0
- package/es/elements/HawaTextField.d.ts +18 -0
- package/es/elements/HawaTooltip.d.ts +7 -0
- package/es/elements/HawaTypography.d.ts +7 -0
- package/es/elements/TabPanel.d.ts +8 -0
- package/es/elements/index.d.ts +30 -0
- package/es/index.d.ts +3 -0
- package/es/layout/Box.d.ts +2 -0
- package/es/layout/HawaBottomAppBar.d.ts +8 -0
- package/es/layout/HawaContainer.d.ts +7 -0
- package/es/layout/HawaLayout.d.ts +9 -0
- package/es/layout/index.d.ts +4 -0
- package/es/stories/ElementsStories/Buttons.stories.d.ts +23 -0
- package/es/stories/ElementsStories/Snackbar.stories.d.ts +8 -0
- package/es/stories/ElementsStories/Tooltip.stories.d.ts +4 -0
- package/es/util.d.ts +4 -0
- package/lib/blocks/Account/UserProfileForm.d.ts +8 -0
- package/lib/blocks/Account/UserSettingsForm.d.ts +8 -0
- package/lib/blocks/Account/index.d.ts +2 -0
- package/lib/blocks/AuthForms/AppLanding.d.ts +13 -0
- package/lib/blocks/AuthForms/CodeConfirmation.d.ts +10 -0
- package/lib/blocks/AuthForms/NewPasswordForm.d.ts +24 -0
- package/lib/blocks/AuthForms/ResetPasswordForm.d.ts +18 -0
- package/lib/blocks/AuthForms/SignInForm.d.ts +42 -0
- package/lib/blocks/AuthForms/SignInPhone.d.ts +12 -0
- package/lib/blocks/AuthForms/SignUpForm.d.ts +51 -0
- package/lib/blocks/AuthForms/index.d.ts +7 -0
- package/lib/blocks/Misc/NotFound.d.ts +4 -0
- package/lib/blocks/Misc/index.d.ts +1 -0
- package/lib/blocks/Payment/ChargeWalletForm.d.ts +12 -0
- package/lib/blocks/Payment/CheckoutForm.d.ts +27 -0
- package/lib/blocks/Payment/Confirmation.d.ts +40 -0
- package/lib/blocks/Payment/CreditCardForm.d.ts +7 -0
- package/lib/blocks/Payment/PayWithWallet.d.ts +8 -0
- package/lib/blocks/Payment/SelectPayment.d.ts +26 -0
- package/lib/blocks/Payment/index.d.ts +6 -0
- package/lib/blocks/Pricing/ComparingPlans.d.ts +7 -0
- package/lib/blocks/Pricing/PricingPlans.d.ts +7 -0
- package/lib/blocks/Pricing/index.d.ts +2 -0
- package/lib/blocks/index.d.ts +4 -0
- package/lib/countries.d.ts +2 -0
- package/lib/elements/AutoCompleteField.d.ts +8 -0
- package/lib/elements/DragDropImages.d.ts +17 -0
- package/lib/elements/DraggableCard.d.ts +6 -0
- package/lib/elements/HawaAccordian.d.ts +6 -0
- package/lib/elements/HawaAdCard.d.ts +10 -0
- package/lib/elements/HawaAlert.d.ts +15 -0
- package/lib/elements/HawaButton.d.ts +11 -0
- package/lib/elements/HawaCheckbox.d.ts +9 -0
- package/lib/elements/HawaChip.d.ts +6 -0
- package/lib/elements/HawaColorPicker.d.ts +7 -0
- package/lib/elements/HawaCopyrights.d.ts +8 -0
- package/lib/elements/HawaDrawer.d.ts +13 -0
- package/lib/elements/HawaDrawerItem.d.ts +8 -0
- package/lib/elements/HawaItemCard.d.ts +11 -0
- package/lib/elements/HawaLogoButton.d.ts +9 -0
- package/lib/elements/HawaMenu.d.ts +14 -0
- package/lib/elements/HawaModal.d.ts +12 -0
- package/lib/elements/HawaPanelTabs.d.ts +10 -0
- package/lib/elements/HawaPhoneInput.d.ts +11 -0
- package/lib/elements/HawaPricingCard.d.ts +15 -0
- package/lib/elements/HawaRadio.d.ts +6 -0
- package/lib/elements/HawaRange.d.ts +10 -0
- package/lib/elements/HawaSearchBar.d.ts +4 -0
- package/lib/elements/HawaSelect.d.ts +18 -0
- package/lib/elements/HawaSettingsRow.d.ts +7 -0
- package/lib/elements/HawaSnackbar.d.ts +9 -0
- package/lib/elements/HawaSwitch.d.ts +6 -0
- package/lib/elements/HawaTable.d.ts +12 -0
- package/lib/elements/HawaTabs.d.ts +8 -0
- package/lib/elements/HawaTextField.d.ts +18 -0
- package/lib/elements/HawaTooltip.d.ts +7 -0
- package/lib/elements/HawaTypography.d.ts +7 -0
- package/lib/elements/TabPanel.d.ts +8 -0
- package/lib/elements/index.d.ts +30 -0
- package/lib/index.d.ts +3 -0
- package/lib/layout/Box.d.ts +2 -0
- package/lib/layout/HawaBottomAppBar.d.ts +8 -0
- package/lib/layout/HawaContainer.d.ts +7 -0
- package/lib/layout/HawaLayout.d.ts +9 -0
- package/lib/layout/index.d.ts +4 -0
- package/lib/stories/ElementsStories/Buttons.stories.d.ts +23 -0
- package/lib/stories/ElementsStories/Snackbar.stories.d.ts +8 -0
- package/lib/stories/ElementsStories/Tooltip.stories.d.ts +4 -0
- package/lib/util.d.ts +4 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type AdCardTypes = {
|
|
3
|
+
orientation: "vertical" | "horizontal";
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
imageURL: string;
|
|
7
|
+
handleHide: any;
|
|
8
|
+
};
|
|
9
|
+
export declare const HawaAdCard: React.FunctionComponent<AdCardTypes>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare let severities: {
|
|
3
|
+
info: string;
|
|
4
|
+
warning: string;
|
|
5
|
+
error: string;
|
|
6
|
+
success: string;
|
|
7
|
+
};
|
|
8
|
+
type AlertTypes = {
|
|
9
|
+
severity: keyof typeof severities;
|
|
10
|
+
title?: any;
|
|
11
|
+
text: any;
|
|
12
|
+
hideIcon?: any;
|
|
13
|
+
};
|
|
14
|
+
export declare const HawaAlert: React.FunctionComponent<AlertTypes>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
variant?: "contained" | "outlined";
|
|
4
|
+
color?: "default" | "primary" | "secondary";
|
|
5
|
+
width?: "full" | "normal" | "half";
|
|
6
|
+
size?: "small" | "medium" | "large";
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function HawaButton({ className, variant, color, size, width, disabled, isLoading, tooltip, children, ...props }: ButtonProps): JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type DrawerTypes = {
|
|
3
|
+
open: any;
|
|
4
|
+
setOpen: any;
|
|
5
|
+
position: any;
|
|
6
|
+
heading: any;
|
|
7
|
+
children: any;
|
|
8
|
+
};
|
|
9
|
+
export declare const HawaDrawer: React.FunctionComponent<DrawerTypes>;
|
|
10
|
+
export declare const DrawerHeader: (props: any) => JSX.Element;
|
|
11
|
+
export declare const DrawerBody: (props: any) => JSX.Element;
|
|
12
|
+
export declare const DrawerFooter: (props: any) => JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type MenuTypes = {
|
|
3
|
+
popMenuID: any;
|
|
4
|
+
menuItems: any;
|
|
5
|
+
withHeader: any;
|
|
6
|
+
withIcons: any;
|
|
7
|
+
headerTitle: any;
|
|
8
|
+
headerSubtitle: any;
|
|
9
|
+
open: any;
|
|
10
|
+
handleClose: any;
|
|
11
|
+
anchor: any;
|
|
12
|
+
};
|
|
13
|
+
export declare const HawaMenu: React.FunctionComponent<MenuTypes>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type ModalTypes = {
|
|
3
|
+
open: any;
|
|
4
|
+
title: any;
|
|
5
|
+
onClose: any;
|
|
6
|
+
closeOnClickOutside: any;
|
|
7
|
+
modalID: any;
|
|
8
|
+
children: any;
|
|
9
|
+
actions: any;
|
|
10
|
+
};
|
|
11
|
+
export declare const HawaModal: React.FunctionComponent<ModalTypes>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type HawaPhoneInputTypes = {
|
|
3
|
+
preferredCountry?: any;
|
|
4
|
+
helperText?: any;
|
|
5
|
+
label?: string;
|
|
6
|
+
value?: any;
|
|
7
|
+
country?: any;
|
|
8
|
+
handleChange?: any;
|
|
9
|
+
};
|
|
10
|
+
export declare const HawaPhoneInput: React.FunctionComponent<HawaPhoneInputTypes>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type PricingCardTypes = {
|
|
3
|
+
lang: "ar" | "en";
|
|
4
|
+
features: [any];
|
|
5
|
+
features_ar: [any];
|
|
6
|
+
title: string;
|
|
7
|
+
title_ar: string;
|
|
8
|
+
price: number;
|
|
9
|
+
currency: string;
|
|
10
|
+
buttonText: string;
|
|
11
|
+
cycleText: string;
|
|
12
|
+
size: "small" | "medium" | "large";
|
|
13
|
+
};
|
|
14
|
+
export declare const HawaPricingCard: React.FunctionComponent<PricingCardTypes>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type SelectTypes = {
|
|
3
|
+
label?: any;
|
|
4
|
+
isCreatable?: any;
|
|
5
|
+
options?: any;
|
|
6
|
+
isClearable?: any;
|
|
7
|
+
isMulti?: any;
|
|
8
|
+
isSearchable?: any;
|
|
9
|
+
onChange?: any;
|
|
10
|
+
helperText?: any;
|
|
11
|
+
onInputChange?: any;
|
|
12
|
+
native?: any;
|
|
13
|
+
fullWidth?: any;
|
|
14
|
+
value?: any;
|
|
15
|
+
children?: any;
|
|
16
|
+
};
|
|
17
|
+
export declare const HawaSelect: React.FunctionComponent<SelectTypes>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
type THawaSnackBar = {
|
|
3
|
+
severity: "info" | "warning" | "error" | "success" | "none";
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
position?: "top-left" | "top-center" | "top-right" | "bottom-right" | "bottom-center" | "bottom-left";
|
|
7
|
+
};
|
|
8
|
+
export declare const HawaSnackbar: FC<THawaSnackBar>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type TableTypes = {
|
|
3
|
+
lang?: any;
|
|
4
|
+
columns?: any;
|
|
5
|
+
actions?: any;
|
|
6
|
+
rows?: any;
|
|
7
|
+
noDataText?: any;
|
|
8
|
+
handleActionClick?: any;
|
|
9
|
+
end?: any;
|
|
10
|
+
};
|
|
11
|
+
export declare const HawaTable: React.FunctionComponent<TableTypes>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type TextFieldTypes = {
|
|
3
|
+
margin?: "none" | "normal" | "large";
|
|
4
|
+
width?: "small" | "normal" | "full";
|
|
5
|
+
label?: any;
|
|
6
|
+
multiline?: any;
|
|
7
|
+
helperText?: any;
|
|
8
|
+
value?: any;
|
|
9
|
+
props?: React.PropsWithRef<"input">;
|
|
10
|
+
type?: any;
|
|
11
|
+
placeholder?: any;
|
|
12
|
+
defaultValue?: any;
|
|
13
|
+
name?: any;
|
|
14
|
+
inputProps?: any;
|
|
15
|
+
onChange?: any;
|
|
16
|
+
};
|
|
17
|
+
export declare const HawaTextField: React.FunctionComponent<TextFieldTypes>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export * from "./HawaSnackbar";
|
|
2
|
+
export * from "./HawaSwitch";
|
|
3
|
+
export * from "./HawaCheckbox";
|
|
4
|
+
export * from "./HawaPanelTabs";
|
|
5
|
+
export * from "./HawaChip";
|
|
6
|
+
export * from "./HawaSettingsRow";
|
|
7
|
+
export * from "./HawaSelect";
|
|
8
|
+
export * from "./HawaRange";
|
|
9
|
+
export * from "./HawaTextField";
|
|
10
|
+
export * from "./HawaTypography";
|
|
11
|
+
export * from "./HawaAlert";
|
|
12
|
+
export * from "./HawaTable";
|
|
13
|
+
export * from "./HawaColorPicker";
|
|
14
|
+
export * from "./HawaSearchBar";
|
|
15
|
+
export * from "./HawaAccordian";
|
|
16
|
+
export * from "./DragDropImages";
|
|
17
|
+
export * from "./DraggableCard";
|
|
18
|
+
export * from "./HawaPhoneInput";
|
|
19
|
+
export * from "./HawaDrawerItem";
|
|
20
|
+
export * from "./HawaTooltip";
|
|
21
|
+
export * from "./HawaTabs";
|
|
22
|
+
export * from "./HawaModal";
|
|
23
|
+
export * from "./HawaMenu";
|
|
24
|
+
export * from "./HawaDrawer";
|
|
25
|
+
export * from "./HawaCopyrights";
|
|
26
|
+
export * from "./HawaItemCard";
|
|
27
|
+
export * from "./HawaPricingCard";
|
|
28
|
+
export * from "./HawaAdCard";
|
|
29
|
+
export * from "./HawaButton";
|
|
30
|
+
export * from "./HawaLogoButton";
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Meta } from "@storybook/react";
|
|
2
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const ButtonVariationsStory: {
|
|
5
|
+
(): JSX.Element;
|
|
6
|
+
storyName: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const ButtonLoadingStory: {
|
|
9
|
+
(): JSX.Element;
|
|
10
|
+
storyName: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const ButtonWidthStory: {
|
|
13
|
+
(): JSX.Element;
|
|
14
|
+
storyName: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const ButtonSizesStory: {
|
|
17
|
+
(): JSX.Element;
|
|
18
|
+
storyName: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const ButtonIconsStory: {
|
|
21
|
+
(): JSX.Element;
|
|
22
|
+
storyName: string;
|
|
23
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta } from "@storybook/react";
|
|
2
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Plain: any;
|
|
5
|
+
export declare const Success: any;
|
|
6
|
+
export declare const Warning: any;
|
|
7
|
+
export declare const Info: any;
|
|
8
|
+
export declare const Error: any;
|
package/lib/util.d.ts
ADDED
package/package.json
CHANGED