@sikka/hawa 0.0.136 → 0.0.138

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 (32) hide show
  1. package/dist/styles.css +13 -29
  2. package/es/blocks/AuthForms/SignInForm.d.ts +0 -1
  3. package/es/blocks/AuthForms/SignUpForm.d.ts +1 -0
  4. package/es/elements/HawaCheckbox.d.ts +1 -0
  5. package/es/elements/HawaDrawer.d.ts +4 -14
  6. package/es/elements/HawaLogoButton.d.ts +1 -1
  7. package/es/elements/HawaTextField.d.ts +1 -0
  8. package/es/index.es.js +1 -1
  9. package/lib/blocks/AuthForms/SignInForm.d.ts +0 -1
  10. package/lib/blocks/AuthForms/SignUpForm.d.ts +1 -0
  11. package/lib/elements/HawaCheckbox.d.ts +1 -0
  12. package/lib/elements/HawaDrawer.d.ts +4 -14
  13. package/lib/elements/HawaLogoButton.d.ts +1 -1
  14. package/lib/elements/HawaTextField.d.ts +1 -0
  15. package/lib/index.js +1 -1
  16. package/package.json +1 -1
  17. package/src/blocks/AuthForms/SignInForm.tsx +16 -16
  18. package/src/blocks/AuthForms/SignUpForm.tsx +20 -17
  19. package/src/blocks/Payment/CheckoutForm.tsx +2 -11
  20. package/src/elements/HawaCheckbox.tsx +9 -3
  21. package/src/elements/HawaDrawer.tsx +53 -77
  22. package/src/elements/HawaLogoButton.tsx +12 -15
  23. package/src/elements/HawaSelect.tsx +2 -1
  24. package/src/elements/HawaTable.tsx +9 -4
  25. package/src/elements/HawaTextField.tsx +8 -1
  26. package/src/styles.css +13 -29
  27. package/storybook-static/{103.d48f1210.iframe.bundle.js → 103.af0e0958.iframe.bundle.js} +2 -2
  28. package/storybook-static/{103.d48f1210.iframe.bundle.js.LICENSE.txt → 103.af0e0958.iframe.bundle.js.LICENSE.txt} +0 -0
  29. package/storybook-static/iframe.html +1 -1
  30. package/storybook-static/main.18ef859c.iframe.bundle.js +1 -0
  31. package/storybook-static/project.json +1 -1
  32. package/storybook-static/main.237a650d.iframe.bundle.js +0 -1
@@ -12,7 +12,6 @@ type SignInFormTypes = {
12
12
  usernameLabel?: string;
13
13
  usernamePlaceholder?: string;
14
14
  usernameRequired?: string;
15
- usernameRequiredText?: string;
16
15
  phoneRequiredText?: string;
17
16
  passwordLabel?: string;
18
17
  passwordPlaceholder?: string;
@@ -43,6 +43,7 @@ type SignUpFormTypes = {
43
43
  handleGoogleSignUp: () => void;
44
44
  handleGithubSignUp: () => void;
45
45
  handleTwitterSignUp: () => void;
46
+ handleRouteToTOS: () => void;
46
47
  showError: any;
47
48
  errorTitle: any;
48
49
  errorText: any;
@@ -3,6 +3,7 @@ type TCheckBoxTypes = {
3
3
  centered?: boolean;
4
4
  label?: any;
5
5
  helperText?: any;
6
+ id: string;
6
7
  onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
7
8
  };
8
9
  export declare const HawaCheckbox: React.FunctionComponent<TCheckBoxTypes>;
@@ -1,23 +1,13 @@
1
- import React, { FC, ReactElement, ReactNode } from "react";
1
+ import React, { ReactNode } from "react";
2
2
  type TDrawerTypes = {
3
3
  open: boolean;
4
4
  setOpen: any;
5
5
  position: any;
6
6
  heading: any;
7
7
  children?: ReactNode;
8
+ drawerHeader?: any;
9
+ drawerBody?: any;
10
+ drawerFooter?: any;
8
11
  };
9
12
  export declare const HawaDrawer: React.FunctionComponent<TDrawerTypes>;
10
- type TDrawerHeader = {
11
- setOpen: any;
12
- children: ReactElement;
13
- };
14
- export declare const DrawerHeader: FC<TDrawerHeader>;
15
- type TDrawerBody = {
16
- children: ReactElement;
17
- };
18
- export declare const DrawerBody: (props: TDrawerBody) => JSX.Element;
19
- type TDrawerFooter = {
20
- children: ReactElement;
21
- };
22
- export declare const DrawerFooter: (props: TDrawerFooter) => JSX.Element;
23
13
  export {};
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  type LogoButtonTypes = {
3
3
  lang?: any;
4
- logo?: any;
4
+ logo?: "google" | "github" | "twitter" | "wallet" | "googlepay" | "applepay" | "stcpay" | "visa/master" | "paypal" | "mada";
5
5
  onClick?: any;
6
6
  buttonText?: any;
7
7
  };
@@ -13,6 +13,7 @@ type TextFieldTypes = {
13
13
  name?: any;
14
14
  inputProps?: any;
15
15
  onChange?: any;
16
+ ref?: any;
16
17
  };
17
18
  export declare const HawaTextField: React.FunctionComponent<TextFieldTypes>;
18
19
  export {};