@sikka/hawa 0.0.99 → 0.0.101

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 (147) hide show
  1. package/dist/styles.css +57 -8
  2. package/es/blocks/Account/UserProfileForm.d.ts +8 -0
  3. package/es/blocks/Account/UserSettingsForm.d.ts +8 -0
  4. package/es/blocks/Account/index.d.ts +2 -0
  5. package/es/blocks/AuthForms/AppLanding.d.ts +13 -0
  6. package/es/blocks/AuthForms/CodeConfirmation.d.ts +10 -0
  7. package/es/blocks/AuthForms/NewPasswordForm.d.ts +24 -0
  8. package/es/blocks/AuthForms/ResetPasswordForm.d.ts +18 -0
  9. package/es/blocks/AuthForms/SignInForm.d.ts +42 -0
  10. package/es/blocks/AuthForms/SignInPhone.d.ts +12 -0
  11. package/es/blocks/AuthForms/SignUpForm.d.ts +51 -0
  12. package/es/blocks/AuthForms/index.d.ts +7 -0
  13. package/es/blocks/Misc/NotFound.d.ts +4 -0
  14. package/es/blocks/Misc/index.d.ts +1 -0
  15. package/es/blocks/Payment/ChargeWalletForm.d.ts +12 -0
  16. package/es/blocks/Payment/CheckoutForm.d.ts +27 -0
  17. package/es/blocks/Payment/Confirmation.d.ts +40 -0
  18. package/es/blocks/Payment/CreditCardForm.d.ts +7 -0
  19. package/es/blocks/Payment/PayWithWallet.d.ts +8 -0
  20. package/es/blocks/Payment/SelectPayment.d.ts +26 -0
  21. package/es/blocks/Payment/index.d.ts +6 -0
  22. package/es/blocks/Pricing/ComparingPlans.d.ts +7 -0
  23. package/es/blocks/Pricing/PricingPlans.d.ts +7 -0
  24. package/es/blocks/Pricing/index.d.ts +2 -0
  25. package/es/blocks/index.d.ts +4 -0
  26. package/es/countries.d.ts +2 -0
  27. package/es/elements/AutoCompleteField.d.ts +8 -0
  28. package/es/elements/DragDropImages.d.ts +17 -0
  29. package/es/elements/DraggableCard.d.ts +6 -0
  30. package/es/elements/HawaAccordian.d.ts +6 -0
  31. package/es/elements/HawaAdCard.d.ts +10 -0
  32. package/es/elements/HawaAlert.d.ts +15 -0
  33. package/es/elements/HawaButton.d.ts +11 -0
  34. package/es/elements/HawaCheckbox.d.ts +9 -0
  35. package/es/elements/HawaChip.d.ts +6 -0
  36. package/es/elements/HawaColorPicker.d.ts +7 -0
  37. package/es/elements/HawaCopyrights.d.ts +8 -0
  38. package/es/elements/HawaDrawer.d.ts +13 -0
  39. package/es/elements/HawaDrawerItem.d.ts +8 -0
  40. package/es/elements/HawaItemCard.d.ts +11 -0
  41. package/es/elements/HawaLogoButton.d.ts +9 -0
  42. package/es/elements/HawaMenu.d.ts +16 -0
  43. package/es/elements/HawaModal.d.ts +12 -0
  44. package/es/elements/HawaPanelTabs.d.ts +10 -0
  45. package/es/elements/HawaPhoneInput.d.ts +11 -0
  46. package/es/elements/HawaPricingCard.d.ts +15 -0
  47. package/es/elements/HawaRadio.d.ts +6 -0
  48. package/es/elements/HawaRange.d.ts +10 -0
  49. package/es/elements/HawaSearchBar.d.ts +4 -0
  50. package/es/elements/HawaSelect.d.ts +18 -0
  51. package/es/elements/HawaSettingsRow.d.ts +7 -0
  52. package/es/elements/HawaSnackbar.d.ts +9 -0
  53. package/es/elements/HawaSwitch.d.ts +6 -0
  54. package/es/elements/HawaTable.d.ts +12 -0
  55. package/es/elements/HawaTabs.d.ts +8 -0
  56. package/es/elements/HawaTextField.d.ts +18 -0
  57. package/es/elements/HawaTooltip.d.ts +7 -0
  58. package/es/elements/HawaTypography.d.ts +7 -0
  59. package/es/elements/TabPanel.d.ts +8 -0
  60. package/es/elements/index.d.ts +30 -0
  61. package/es/index.d.ts +3 -0
  62. package/es/index.es.js +1 -1
  63. package/es/layout/Box.d.ts +2 -0
  64. package/es/layout/HawaBottomAppBar.d.ts +8 -0
  65. package/es/layout/HawaContainer.d.ts +7 -0
  66. package/es/layout/HawaLayout.d.ts +9 -0
  67. package/es/layout/index.d.ts +4 -0
  68. package/es/stories/ElementsStories/Buttons.stories.d.ts +23 -0
  69. package/es/stories/ElementsStories/Snackbar.stories.d.ts +8 -0
  70. package/es/stories/ElementsStories/Tooltip.stories.d.ts +4 -0
  71. package/es/util.d.ts +4 -0
  72. package/lib/blocks/Account/UserProfileForm.d.ts +8 -0
  73. package/lib/blocks/Account/UserSettingsForm.d.ts +8 -0
  74. package/lib/blocks/Account/index.d.ts +2 -0
  75. package/lib/blocks/AuthForms/AppLanding.d.ts +13 -0
  76. package/lib/blocks/AuthForms/CodeConfirmation.d.ts +10 -0
  77. package/lib/blocks/AuthForms/NewPasswordForm.d.ts +24 -0
  78. package/lib/blocks/AuthForms/ResetPasswordForm.d.ts +18 -0
  79. package/lib/blocks/AuthForms/SignInForm.d.ts +42 -0
  80. package/lib/blocks/AuthForms/SignInPhone.d.ts +12 -0
  81. package/lib/blocks/AuthForms/SignUpForm.d.ts +51 -0
  82. package/lib/blocks/AuthForms/index.d.ts +7 -0
  83. package/lib/blocks/Misc/NotFound.d.ts +4 -0
  84. package/lib/blocks/Misc/index.d.ts +1 -0
  85. package/lib/blocks/Payment/ChargeWalletForm.d.ts +12 -0
  86. package/lib/blocks/Payment/CheckoutForm.d.ts +27 -0
  87. package/lib/blocks/Payment/Confirmation.d.ts +40 -0
  88. package/lib/blocks/Payment/CreditCardForm.d.ts +7 -0
  89. package/lib/blocks/Payment/PayWithWallet.d.ts +8 -0
  90. package/lib/blocks/Payment/SelectPayment.d.ts +26 -0
  91. package/lib/blocks/Payment/index.d.ts +6 -0
  92. package/lib/blocks/Pricing/ComparingPlans.d.ts +7 -0
  93. package/lib/blocks/Pricing/PricingPlans.d.ts +7 -0
  94. package/lib/blocks/Pricing/index.d.ts +2 -0
  95. package/lib/blocks/index.d.ts +4 -0
  96. package/lib/countries.d.ts +2 -0
  97. package/lib/elements/AutoCompleteField.d.ts +8 -0
  98. package/lib/elements/DragDropImages.d.ts +17 -0
  99. package/lib/elements/DraggableCard.d.ts +6 -0
  100. package/lib/elements/HawaAccordian.d.ts +6 -0
  101. package/lib/elements/HawaAdCard.d.ts +10 -0
  102. package/lib/elements/HawaAlert.d.ts +15 -0
  103. package/lib/elements/HawaButton.d.ts +11 -0
  104. package/lib/elements/HawaCheckbox.d.ts +9 -0
  105. package/lib/elements/HawaChip.d.ts +6 -0
  106. package/lib/elements/HawaColorPicker.d.ts +7 -0
  107. package/lib/elements/HawaCopyrights.d.ts +8 -0
  108. package/lib/elements/HawaDrawer.d.ts +13 -0
  109. package/lib/elements/HawaDrawerItem.d.ts +8 -0
  110. package/lib/elements/HawaItemCard.d.ts +11 -0
  111. package/lib/elements/HawaLogoButton.d.ts +9 -0
  112. package/lib/elements/HawaMenu.d.ts +16 -0
  113. package/lib/elements/HawaModal.d.ts +12 -0
  114. package/lib/elements/HawaPanelTabs.d.ts +10 -0
  115. package/lib/elements/HawaPhoneInput.d.ts +11 -0
  116. package/lib/elements/HawaPricingCard.d.ts +15 -0
  117. package/lib/elements/HawaRadio.d.ts +6 -0
  118. package/lib/elements/HawaRange.d.ts +10 -0
  119. package/lib/elements/HawaSearchBar.d.ts +4 -0
  120. package/lib/elements/HawaSelect.d.ts +18 -0
  121. package/lib/elements/HawaSettingsRow.d.ts +7 -0
  122. package/lib/elements/HawaSnackbar.d.ts +9 -0
  123. package/lib/elements/HawaSwitch.d.ts +6 -0
  124. package/lib/elements/HawaTable.d.ts +12 -0
  125. package/lib/elements/HawaTabs.d.ts +8 -0
  126. package/lib/elements/HawaTextField.d.ts +18 -0
  127. package/lib/elements/HawaTooltip.d.ts +7 -0
  128. package/lib/elements/HawaTypography.d.ts +7 -0
  129. package/lib/elements/TabPanel.d.ts +8 -0
  130. package/lib/elements/index.d.ts +30 -0
  131. package/lib/index.d.ts +3 -0
  132. package/lib/index.js +1 -1
  133. package/lib/layout/Box.d.ts +2 -0
  134. package/lib/layout/HawaBottomAppBar.d.ts +8 -0
  135. package/lib/layout/HawaContainer.d.ts +7 -0
  136. package/lib/layout/HawaLayout.d.ts +9 -0
  137. package/lib/layout/index.d.ts +4 -0
  138. package/lib/stories/ElementsStories/Buttons.stories.d.ts +23 -0
  139. package/lib/stories/ElementsStories/Snackbar.stories.d.ts +8 -0
  140. package/lib/stories/ElementsStories/Tooltip.stories.d.ts +4 -0
  141. package/lib/util.d.ts +4 -0
  142. package/package.json +1 -1
  143. package/src/elements/DragDropImages.tsx +32 -26
  144. package/src/elements/HawaMenu.tsx +59 -43
  145. package/src/styles.css +57 -8
  146. package/tailwind.config.js +26 -1
  147. package/tsconfig.json +1 -0
@@ -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,16 @@
1
+ import React from "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
+ children: any;
13
+ buttonPosition: "top-right" | "top-left" | "bottom-right" | "bottom-left";
14
+ };
15
+ export declare const HawaMenu: React.FunctionComponent<MenuTypes>;
16
+ 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/es/index.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ export * from "./elements";
2
+ export * from "./layout";
3
+ export * from "./blocks";