@sikka/hawa 0.0.103 → 0.0.105
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 +148 -85
- package/es/blocks/AuthForms/AppLanding.d.ts +1 -0
- package/es/blocks/AuthForms/CodeConfirmation.d.ts +6 -1
- package/es/blocks/AuthForms/NewPasswordForm.d.ts +0 -5
- package/es/blocks/AuthForms/ResetPasswordForm.d.ts +0 -3
- package/es/blocks/Referral/ReferralAccount.d.ts +7 -0
- package/es/blocks/Referral/ReferralSettlement.d.ts +8 -0
- package/es/blocks/Referral/ReferralStats.d.ts +8 -0
- package/es/blocks/Referral/index.d.ts +3 -0
- package/es/blocks/index.d.ts +1 -0
- package/es/elements/HawaButton.d.ts +1 -1
- package/es/elements/HawaChip.d.ts +1 -0
- package/es/elements/HawaCopyrights.d.ts +5 -5
- package/es/elements/HawaItemCard.d.ts +14 -6
- package/es/elements/HawaMenu.d.ts +2 -3
- package/es/elements/HawaModal.d.ts +1 -0
- package/es/elements/HawaSelect.d.ts +2 -1
- package/es/elements/HawaTable.d.ts +3 -2
- package/es/index.es.js +1 -1
- package/lib/blocks/AuthForms/AppLanding.d.ts +1 -0
- package/lib/blocks/AuthForms/CodeConfirmation.d.ts +6 -1
- package/lib/blocks/AuthForms/NewPasswordForm.d.ts +0 -5
- package/lib/blocks/AuthForms/ResetPasswordForm.d.ts +0 -3
- package/lib/blocks/Referral/ReferralAccount.d.ts +7 -0
- package/lib/blocks/Referral/ReferralSettlement.d.ts +8 -0
- package/lib/blocks/Referral/ReferralStats.d.ts +8 -0
- package/lib/blocks/Referral/index.d.ts +3 -0
- package/lib/blocks/index.d.ts +1 -0
- package/lib/elements/HawaButton.d.ts +1 -1
- package/lib/elements/HawaChip.d.ts +1 -0
- package/lib/elements/HawaCopyrights.d.ts +5 -5
- package/lib/elements/HawaItemCard.d.ts +14 -6
- package/lib/elements/HawaMenu.d.ts +2 -3
- package/lib/elements/HawaModal.d.ts +1 -0
- package/lib/elements/HawaSelect.d.ts +2 -1
- package/lib/elements/HawaTable.d.ts +3 -2
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/blocks/AuthForms/AppLanding.tsx +2 -1
- package/src/blocks/AuthForms/CodeConfirmation.tsx +7 -2
- package/src/blocks/AuthForms/NewPasswordForm.tsx +1 -6
- package/src/blocks/AuthForms/ResetPasswordForm.tsx +1 -4
- package/src/blocks/AuthForms/SignInForm.tsx +1 -1
- package/src/blocks/AuthForms/SignInPhone.tsx +1 -1
- package/src/blocks/AuthForms/SignUpForm.tsx +1 -1
- package/src/blocks/Payment/CheckoutForm.tsx +9 -0
- package/src/blocks/Referral/ReferralAccount.tsx +49 -0
- package/src/blocks/Referral/ReferralSettlement.tsx +110 -0
- package/src/blocks/Referral/ReferralStats.tsx +94 -0
- package/src/blocks/Referral/index.ts +3 -0
- package/src/blocks/index.ts +5 -4
- package/src/elements/HawaButton.tsx +23 -22
- package/src/elements/HawaChip.tsx +17 -6
- package/src/elements/HawaCopyrights.tsx +5 -5
- package/src/elements/HawaItemCard.tsx +86 -58
- package/src/elements/HawaMenu.tsx +51 -56
- package/src/elements/HawaModal.tsx +58 -52
- package/src/elements/HawaRadio.tsx +12 -4
- package/src/elements/HawaSelect.tsx +4 -2
- package/src/elements/HawaSwitch.tsx +5 -3
- package/src/elements/HawaTable.tsx +54 -19
- package/src/elements/HawaTooltip.tsx +23 -16
- package/src/layout/HawaContainer.tsx +2 -2
- package/src/styles.css +148 -85
- package/storybook-static/209.d29fd715.iframe.bundle.js +2 -0
- package/storybook-static/{209.70afd616.iframe.bundle.js.LICENSE.txt → 209.d29fd715.iframe.bundle.js.LICENSE.txt} +11 -15
- package/storybook-static/{767.888009dba401078f3f72.manager.bundle.js → 767.2f9c96fa3338c8d16078.manager.bundle.js} +2 -2
- package/storybook-static/{767.888009dba401078f3f72.manager.bundle.js.LICENSE.txt → 767.2f9c96fa3338c8d16078.manager.bundle.js.LICENSE.txt} +19 -22
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/index.html +1 -1
- package/storybook-static/main.a1546405.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/storybook-static/runtime~main.4d0bf318.iframe.bundle.js +1 -0
- package/tailwind.config.js +10 -8
- package/storybook-static/209.70afd616.iframe.bundle.js +0 -2
- package/storybook-static/745.4b81597c.iframe.bundle.js +0 -1
- package/storybook-static/main.ff0dd517.iframe.bundle.js +0 -1
- package/storybook-static/runtime~main.968bd8b6.iframe.bundle.js +0 -1
|
@@ -3,7 +3,12 @@ type CodeConfirmationTypes = {
|
|
|
3
3
|
showError: any;
|
|
4
4
|
errorTitle: any;
|
|
5
5
|
errorText: any;
|
|
6
|
-
texts:
|
|
6
|
+
texts: {
|
|
7
|
+
codeLabel: string;
|
|
8
|
+
codePlaceholder: string;
|
|
9
|
+
codeRequiredText: string;
|
|
10
|
+
confirmText: string;
|
|
11
|
+
};
|
|
7
12
|
handleSignIn: any;
|
|
8
13
|
};
|
|
9
14
|
export declare const CodeConfirmation: React.FunctionComponent<CodeConfirmationTypes>;
|
|
@@ -2,11 +2,7 @@ import React from "react";
|
|
|
2
2
|
type NewPasswordTypes = {
|
|
3
3
|
handleNewPassword: any;
|
|
4
4
|
passwordChanged: any;
|
|
5
|
-
errorText: any;
|
|
6
5
|
texts: {
|
|
7
|
-
emailLabel: string;
|
|
8
|
-
emailPlaceholder: string;
|
|
9
|
-
emailRequiredText: string;
|
|
10
6
|
passwordPlaceholder: string;
|
|
11
7
|
updatePassword: string;
|
|
12
8
|
passwordRequiredText: string;
|
|
@@ -15,7 +11,6 @@ type NewPasswordTypes = {
|
|
|
15
11
|
confirmPasswordLabel: string;
|
|
16
12
|
confirmPasswordRequiredText: string;
|
|
17
13
|
passwordMatchError: string;
|
|
18
|
-
forgotPasswordText: string;
|
|
19
14
|
passwordChanged: string;
|
|
20
15
|
};
|
|
21
16
|
handleSignIn: any;
|
package/lib/blocks/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
3
3
|
variant?: "contained" | "outlined";
|
|
4
4
|
color?: "default" | "primary" | "secondary";
|
|
5
5
|
width?: "full" | "normal" | "half";
|
|
6
|
-
size?: "small" | "medium" | "large";
|
|
6
|
+
size?: "small" | "medium" | "large" | "noPadding";
|
|
7
7
|
tooltip?: string;
|
|
8
8
|
isLoading?: boolean;
|
|
9
9
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
type CopyRightsTypes = {
|
|
3
|
-
withLogo
|
|
4
|
-
lang
|
|
5
|
-
version
|
|
6
|
-
credits
|
|
7
|
-
logoURL
|
|
3
|
+
withLogo?: boolean;
|
|
4
|
+
lang?: any;
|
|
5
|
+
version?: string;
|
|
6
|
+
credits?: string;
|
|
7
|
+
logoURL?: string;
|
|
8
8
|
};
|
|
9
9
|
export declare const HawaCopyrights: React.FunctionComponent<CopyRightsTypes>;
|
|
10
10
|
export {};
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
actions
|
|
4
|
-
content
|
|
5
|
-
headerActions
|
|
6
|
-
header
|
|
7
|
-
lang
|
|
2
|
+
interface ItemCardTypes {
|
|
3
|
+
actions?: any;
|
|
4
|
+
content?: any;
|
|
5
|
+
headerActions?: THeaderActions[][];
|
|
6
|
+
header?: any;
|
|
7
|
+
lang?: string;
|
|
8
|
+
cardImage?: string;
|
|
8
9
|
onCardClick?: any;
|
|
10
|
+
orientation?: "horizontal" | "vertical";
|
|
11
|
+
}
|
|
12
|
+
type THeaderActions = {
|
|
13
|
+
icon?: JSX.Element;
|
|
14
|
+
label: string;
|
|
15
|
+
action?: (e: React.MouseEvent<HTMLLIElement, MouseEvent>, item: string) => void;
|
|
16
|
+
isButton?: boolean;
|
|
9
17
|
};
|
|
10
18
|
export declare const HawaItemCard: React.FunctionComponent<ItemCardTypes>;
|
|
11
19
|
export {};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import React, { ReactNode } from "react";
|
|
2
2
|
interface TMenuTypes {
|
|
3
|
-
popMenuID: any;
|
|
4
3
|
menuItems: MenuItems[][];
|
|
5
4
|
withHeader?: boolean;
|
|
6
5
|
withIcons?: boolean;
|
|
7
6
|
headerTitle?: string;
|
|
8
7
|
headerSubtitle?: string;
|
|
9
|
-
open
|
|
10
|
-
handleClose
|
|
8
|
+
open?: boolean;
|
|
9
|
+
handleClose?: (e: boolean) => void;
|
|
11
10
|
anchor?: any;
|
|
12
11
|
children?: ReactNode;
|
|
13
12
|
buttonPosition?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
type SelectTypes = {
|
|
3
3
|
label?: any;
|
|
4
4
|
isCreatable?: any;
|
|
5
|
-
options?: any;
|
|
5
|
+
options?: any[any];
|
|
6
6
|
isClearable?: any;
|
|
7
7
|
isMulti?: any;
|
|
8
8
|
isSearchable?: any;
|
|
@@ -13,6 +13,7 @@ type SelectTypes = {
|
|
|
13
13
|
fullWidth?: any;
|
|
14
14
|
value?: any;
|
|
15
15
|
children?: any;
|
|
16
|
+
getOptionLabel?: any;
|
|
16
17
|
};
|
|
17
18
|
export declare const HawaSelect: React.FunctionComponent<SelectTypes>;
|
|
18
19
|
export {};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
type TableTypes = {
|
|
3
3
|
lang?: any;
|
|
4
|
-
columns
|
|
4
|
+
columns: any[string];
|
|
5
5
|
actions?: any;
|
|
6
|
-
rows?: any;
|
|
6
|
+
rows?: any[any];
|
|
7
7
|
noDataText?: any;
|
|
8
8
|
handleActionClick?: any;
|
|
9
9
|
end?: any;
|
|
10
|
+
size?: "normal" | "small";
|
|
10
11
|
};
|
|
11
12
|
export declare const HawaTable: React.FunctionComponent<TableTypes>;
|
|
12
13
|
export {};
|