@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.
Files changed (140) hide show
  1. package/es/blocks/Account/UserProfileForm.d.ts +8 -0
  2. package/es/blocks/Account/UserSettingsForm.d.ts +8 -0
  3. package/es/blocks/Account/index.d.ts +2 -0
  4. package/es/blocks/AuthForms/AppLanding.d.ts +13 -0
  5. package/es/blocks/AuthForms/CodeConfirmation.d.ts +10 -0
  6. package/es/blocks/AuthForms/NewPasswordForm.d.ts +24 -0
  7. package/es/blocks/AuthForms/ResetPasswordForm.d.ts +18 -0
  8. package/es/blocks/AuthForms/SignInForm.d.ts +42 -0
  9. package/es/blocks/AuthForms/SignInPhone.d.ts +12 -0
  10. package/es/blocks/AuthForms/SignUpForm.d.ts +51 -0
  11. package/es/blocks/AuthForms/index.d.ts +7 -0
  12. package/es/blocks/Misc/NotFound.d.ts +4 -0
  13. package/es/blocks/Misc/index.d.ts +1 -0
  14. package/es/blocks/Payment/ChargeWalletForm.d.ts +12 -0
  15. package/es/blocks/Payment/CheckoutForm.d.ts +27 -0
  16. package/es/blocks/Payment/Confirmation.d.ts +40 -0
  17. package/es/blocks/Payment/CreditCardForm.d.ts +7 -0
  18. package/es/blocks/Payment/PayWithWallet.d.ts +8 -0
  19. package/es/blocks/Payment/SelectPayment.d.ts +26 -0
  20. package/es/blocks/Payment/index.d.ts +6 -0
  21. package/es/blocks/Pricing/ComparingPlans.d.ts +7 -0
  22. package/es/blocks/Pricing/PricingPlans.d.ts +7 -0
  23. package/es/blocks/Pricing/index.d.ts +2 -0
  24. package/es/blocks/index.d.ts +4 -0
  25. package/es/countries.d.ts +2 -0
  26. package/es/elements/AutoCompleteField.d.ts +8 -0
  27. package/es/elements/DragDropImages.d.ts +17 -0
  28. package/es/elements/DraggableCard.d.ts +6 -0
  29. package/es/elements/HawaAccordian.d.ts +6 -0
  30. package/es/elements/HawaAdCard.d.ts +10 -0
  31. package/es/elements/HawaAlert.d.ts +15 -0
  32. package/es/elements/HawaButton.d.ts +11 -0
  33. package/es/elements/HawaCheckbox.d.ts +9 -0
  34. package/es/elements/HawaChip.d.ts +6 -0
  35. package/es/elements/HawaColorPicker.d.ts +7 -0
  36. package/es/elements/HawaCopyrights.d.ts +8 -0
  37. package/es/elements/HawaDrawer.d.ts +13 -0
  38. package/es/elements/HawaDrawerItem.d.ts +8 -0
  39. package/es/elements/HawaItemCard.d.ts +11 -0
  40. package/es/elements/HawaLogoButton.d.ts +9 -0
  41. package/es/elements/HawaMenu.d.ts +14 -0
  42. package/es/elements/HawaModal.d.ts +12 -0
  43. package/es/elements/HawaPanelTabs.d.ts +10 -0
  44. package/es/elements/HawaPhoneInput.d.ts +11 -0
  45. package/es/elements/HawaPricingCard.d.ts +15 -0
  46. package/es/elements/HawaRadio.d.ts +6 -0
  47. package/es/elements/HawaRange.d.ts +10 -0
  48. package/es/elements/HawaSearchBar.d.ts +4 -0
  49. package/es/elements/HawaSelect.d.ts +18 -0
  50. package/es/elements/HawaSettingsRow.d.ts +7 -0
  51. package/es/elements/HawaSnackbar.d.ts +9 -0
  52. package/es/elements/HawaSwitch.d.ts +6 -0
  53. package/es/elements/HawaTable.d.ts +12 -0
  54. package/es/elements/HawaTabs.d.ts +8 -0
  55. package/es/elements/HawaTextField.d.ts +18 -0
  56. package/es/elements/HawaTooltip.d.ts +7 -0
  57. package/es/elements/HawaTypography.d.ts +7 -0
  58. package/es/elements/TabPanel.d.ts +8 -0
  59. package/es/elements/index.d.ts +30 -0
  60. package/es/index.d.ts +3 -0
  61. package/es/layout/Box.d.ts +2 -0
  62. package/es/layout/HawaBottomAppBar.d.ts +8 -0
  63. package/es/layout/HawaContainer.d.ts +7 -0
  64. package/es/layout/HawaLayout.d.ts +9 -0
  65. package/es/layout/index.d.ts +4 -0
  66. package/es/stories/ElementsStories/Buttons.stories.d.ts +23 -0
  67. package/es/stories/ElementsStories/Snackbar.stories.d.ts +8 -0
  68. package/es/stories/ElementsStories/Tooltip.stories.d.ts +4 -0
  69. package/es/util.d.ts +4 -0
  70. package/lib/blocks/Account/UserProfileForm.d.ts +8 -0
  71. package/lib/blocks/Account/UserSettingsForm.d.ts +8 -0
  72. package/lib/blocks/Account/index.d.ts +2 -0
  73. package/lib/blocks/AuthForms/AppLanding.d.ts +13 -0
  74. package/lib/blocks/AuthForms/CodeConfirmation.d.ts +10 -0
  75. package/lib/blocks/AuthForms/NewPasswordForm.d.ts +24 -0
  76. package/lib/blocks/AuthForms/ResetPasswordForm.d.ts +18 -0
  77. package/lib/blocks/AuthForms/SignInForm.d.ts +42 -0
  78. package/lib/blocks/AuthForms/SignInPhone.d.ts +12 -0
  79. package/lib/blocks/AuthForms/SignUpForm.d.ts +51 -0
  80. package/lib/blocks/AuthForms/index.d.ts +7 -0
  81. package/lib/blocks/Misc/NotFound.d.ts +4 -0
  82. package/lib/blocks/Misc/index.d.ts +1 -0
  83. package/lib/blocks/Payment/ChargeWalletForm.d.ts +12 -0
  84. package/lib/blocks/Payment/CheckoutForm.d.ts +27 -0
  85. package/lib/blocks/Payment/Confirmation.d.ts +40 -0
  86. package/lib/blocks/Payment/CreditCardForm.d.ts +7 -0
  87. package/lib/blocks/Payment/PayWithWallet.d.ts +8 -0
  88. package/lib/blocks/Payment/SelectPayment.d.ts +26 -0
  89. package/lib/blocks/Payment/index.d.ts +6 -0
  90. package/lib/blocks/Pricing/ComparingPlans.d.ts +7 -0
  91. package/lib/blocks/Pricing/PricingPlans.d.ts +7 -0
  92. package/lib/blocks/Pricing/index.d.ts +2 -0
  93. package/lib/blocks/index.d.ts +4 -0
  94. package/lib/countries.d.ts +2 -0
  95. package/lib/elements/AutoCompleteField.d.ts +8 -0
  96. package/lib/elements/DragDropImages.d.ts +17 -0
  97. package/lib/elements/DraggableCard.d.ts +6 -0
  98. package/lib/elements/HawaAccordian.d.ts +6 -0
  99. package/lib/elements/HawaAdCard.d.ts +10 -0
  100. package/lib/elements/HawaAlert.d.ts +15 -0
  101. package/lib/elements/HawaButton.d.ts +11 -0
  102. package/lib/elements/HawaCheckbox.d.ts +9 -0
  103. package/lib/elements/HawaChip.d.ts +6 -0
  104. package/lib/elements/HawaColorPicker.d.ts +7 -0
  105. package/lib/elements/HawaCopyrights.d.ts +8 -0
  106. package/lib/elements/HawaDrawer.d.ts +13 -0
  107. package/lib/elements/HawaDrawerItem.d.ts +8 -0
  108. package/lib/elements/HawaItemCard.d.ts +11 -0
  109. package/lib/elements/HawaLogoButton.d.ts +9 -0
  110. package/lib/elements/HawaMenu.d.ts +14 -0
  111. package/lib/elements/HawaModal.d.ts +12 -0
  112. package/lib/elements/HawaPanelTabs.d.ts +10 -0
  113. package/lib/elements/HawaPhoneInput.d.ts +11 -0
  114. package/lib/elements/HawaPricingCard.d.ts +15 -0
  115. package/lib/elements/HawaRadio.d.ts +6 -0
  116. package/lib/elements/HawaRange.d.ts +10 -0
  117. package/lib/elements/HawaSearchBar.d.ts +4 -0
  118. package/lib/elements/HawaSelect.d.ts +18 -0
  119. package/lib/elements/HawaSettingsRow.d.ts +7 -0
  120. package/lib/elements/HawaSnackbar.d.ts +9 -0
  121. package/lib/elements/HawaSwitch.d.ts +6 -0
  122. package/lib/elements/HawaTable.d.ts +12 -0
  123. package/lib/elements/HawaTabs.d.ts +8 -0
  124. package/lib/elements/HawaTextField.d.ts +18 -0
  125. package/lib/elements/HawaTooltip.d.ts +7 -0
  126. package/lib/elements/HawaTypography.d.ts +7 -0
  127. package/lib/elements/TabPanel.d.ts +8 -0
  128. package/lib/elements/index.d.ts +30 -0
  129. package/lib/index.d.ts +3 -0
  130. package/lib/layout/Box.d.ts +2 -0
  131. package/lib/layout/HawaBottomAppBar.d.ts +8 -0
  132. package/lib/layout/HawaContainer.d.ts +7 -0
  133. package/lib/layout/HawaLayout.d.ts +9 -0
  134. package/lib/layout/index.d.ts +4 -0
  135. package/lib/stories/ElementsStories/Buttons.stories.d.ts +23 -0
  136. package/lib/stories/ElementsStories/Snackbar.stories.d.ts +8 -0
  137. package/lib/stories/ElementsStories/Tooltip.stories.d.ts +4 -0
  138. package/lib/util.d.ts +4 -0
  139. package/package.json +1 -1
  140. package/tsconfig.json +1 -0
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ type DraggableCardTypes = {
3
+ children: any;
4
+ };
5
+ export declare const DraggableCard: React.FunctionComponent<DraggableCardTypes>;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ type AccordionTypes = {
3
+ content: any;
4
+ };
5
+ export declare const HawaAccordian: React.FunctionComponent<AccordionTypes>;
6
+ export {};
@@ -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,9 @@
1
+ import React from "react";
2
+ type CheckoutTypes = {
3
+ centered?: any;
4
+ label?: any;
5
+ helperText?: any;
6
+ onChange?: any;
7
+ };
8
+ export declare const HawaCheckbox: React.FunctionComponent<CheckoutTypes>;
9
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ type ChipTypes = {
3
+ label: any;
4
+ };
5
+ export declare const HawaChip: React.FunctionComponent<ChipTypes>;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ type ColorPickerTypes = {
3
+ color?: any;
4
+ handleChange?: any;
5
+ };
6
+ export declare const HawaColorPicker: React.FunctionComponent<ColorPickerTypes>;
7
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ type CopyRightsTypes = {
3
+ withLogo: any;
4
+ lang: any;
5
+ version: any;
6
+ };
7
+ export declare const HawaCopyrights: React.FunctionComponent<CopyRightsTypes>;
8
+ 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,8 @@
1
+ import React from "react";
2
+ type DrawerItemTypes = {
3
+ action: any;
4
+ icon?: any;
5
+ text: any;
6
+ };
7
+ declare const HawaDrawerItem: React.FunctionComponent<DrawerItemTypes>;
8
+ export default HawaDrawerItem;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ type ItemCardTypes = {
3
+ actions: any;
4
+ content: any;
5
+ headerActions: any;
6
+ header: any;
7
+ lang: string;
8
+ onCardClick?: any;
9
+ };
10
+ export declare const HawaItemCard: React.FunctionComponent<ItemCardTypes>;
11
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ type LogoButtonTypes = {
3
+ lang?: any;
4
+ logo?: any;
5
+ onClick?: any;
6
+ buttonText?: any;
7
+ };
8
+ export declare const HawaLogoButton: React.FunctionComponent<LogoButtonTypes>;
9
+ 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,10 @@
1
+ import React from "react";
2
+ type PanelTabsTypes = {
3
+ defaultValue: any;
4
+ options: any;
5
+ lang: any;
6
+ handleChange: any;
7
+ location: any;
8
+ };
9
+ export declare const HawaPanelTabs: React.FunctionComponent<PanelTabsTypes>;
10
+ 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,6 @@
1
+ import React from "react";
2
+ type RadioTypes = {
3
+ options: any;
4
+ };
5
+ export declare const HawaRadio: React.FunctionComponent<RadioTypes>;
6
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ type RangeTypes = {
3
+ value?: any;
4
+ handleChange?: any;
5
+ startElement?: any;
6
+ endElement?: any;
7
+ label?: any;
8
+ };
9
+ export declare const HawaRange: React.FunctionComponent<RangeTypes>;
10
+ export {};
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ type SearchBarTypes = {};
3
+ export declare const HawaSearchBar: React.FunctionComponent<SearchBarTypes>;
4
+ 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,7 @@
1
+ import React from "react";
2
+ type SettingsRowTypes = {
3
+ settingsLabel: any;
4
+ settingsType: any;
5
+ };
6
+ export declare const HawaSettingsRow: React.FunctionComponent<SettingsRowTypes>;
7
+ 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,6 @@
1
+ import React from "react";
2
+ type SwitchTypes = {
3
+ text?: any;
4
+ };
5
+ export declare const HawaSwitch: React.FunctionComponent<SwitchTypes>;
6
+ 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,8 @@
1
+ import React from "react";
2
+ type TabsTypes = {
3
+ options?: any;
4
+ onChangeTab?: any;
5
+ defaultValue?: any;
6
+ };
7
+ export declare const HawaTabs: React.FunctionComponent<TabsTypes>;
8
+ 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,7 @@
1
+ import React from "react";
2
+ type THawaToolTip = {
3
+ children: React.ReactElement;
4
+ content: string;
5
+ };
6
+ export declare const HawaTooltip: React.FunctionComponent<THawaToolTip>;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ type TypographyTypes = {
3
+ children: any;
4
+ align?: any;
5
+ };
6
+ export declare const HawaTypography: React.FunctionComponent<TypographyTypes>;
7
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ type TabPanelTypes = {
3
+ children: any;
4
+ value: any;
5
+ index: any;
6
+ };
7
+ export declare const TabPanel: React.FunctionComponent<TabPanelTypes>;
8
+ 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,3 @@
1
+ export * from "./elements";
2
+ export * from "./layout";
3
+ export * from "./blocks";
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const Box: (props: any) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ type BottomAppBarTypes = {
3
+ sx: any;
4
+ color: any;
5
+ appBarContent: any;
6
+ };
7
+ export declare const HawaBottomAppBar: React.FunctionComponent<BottomAppBarTypes>;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ type ContainerTypes = {
3
+ maxWidth?: "full" | "small" | "normal";
4
+ children: React.ReactNode;
5
+ };
6
+ export declare const HawaContainer: React.FunctionComponent<ContainerTypes>;
7
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ type LayoutTypes = {
3
+ logoLink: string;
4
+ username: string;
5
+ userEmail: string;
6
+ drawerItems: any;
7
+ };
8
+ export declare const HawaLayout: React.FunctionComponent<LayoutTypes>;
9
+ export {};
@@ -0,0 +1,4 @@
1
+ export * from "./Box";
2
+ export * from "./HawaBottomAppBar";
3
+ export * from "./HawaLayout";
4
+ export * from "./HawaContainer";
@@ -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;
@@ -0,0 +1,4 @@
1
+ import { Meta, Story } from "@storybook/react";
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const Tooltip: Story;
package/lib/util.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ declare const hexToRgb: (hex: any) => number[];
2
+ declare const getTextColor: (backColor: any) => "#000000" | "#ffffff";
3
+ declare const replaceAt: (string: any, index: any, replacement: any) => any;
4
+ export { hexToRgb, getTextColor, replaceAt };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.0.99",
3
+ "version": "0.0.100",
4
4
  "description": "UI Kit",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.es.js",
package/tsconfig.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
+ "declaration": true,
3
4
  "target": "es5",
4
5
  "lib": ["dom", "dom.iterable", "esnext"],
5
6
  "allowJs": true,