@sikka/hawa 0.0.113 → 0.0.116

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 (69) hide show
  1. package/dist/styles.css +58 -14
  2. package/es/blocks/AuthForms/AppLanding.d.ts +3 -3
  3. package/es/blocks/AuthForms/NewPasswordForm.d.ts +1 -2
  4. package/es/blocks/AuthForms/ResetPasswordForm.d.ts +1 -1
  5. package/es/blocks/AuthForms/SignInForm.d.ts +6 -6
  6. package/es/blocks/AuthForms/SignInPhone.d.ts +1 -0
  7. package/es/blocks/AuthForms/SignUpForm.d.ts +5 -5
  8. package/es/elements/HawaAlert.d.ts +1 -0
  9. package/es/elements/HawaChip.d.ts +1 -0
  10. package/es/elements/HawaPinInput.d.ts +8 -0
  11. package/es/elements/HawaStats.d.ts +9 -0
  12. package/es/elements/index.d.ts +2 -0
  13. package/es/index.es.js +1 -1
  14. package/es/layout/HawaAppLayout.d.ts +9 -0
  15. package/es/layout/{HawaLayout.d.ts → HawaSiteLayout.d.ts} +1 -1
  16. package/es/layout/index.d.ts +2 -1
  17. package/lib/blocks/AuthForms/AppLanding.d.ts +3 -3
  18. package/lib/blocks/AuthForms/NewPasswordForm.d.ts +1 -2
  19. package/lib/blocks/AuthForms/ResetPasswordForm.d.ts +1 -1
  20. package/lib/blocks/AuthForms/SignInForm.d.ts +6 -6
  21. package/lib/blocks/AuthForms/SignInPhone.d.ts +1 -0
  22. package/lib/blocks/AuthForms/SignUpForm.d.ts +5 -5
  23. package/lib/elements/HawaAlert.d.ts +1 -0
  24. package/lib/elements/HawaChip.d.ts +1 -0
  25. package/lib/elements/HawaPinInput.d.ts +8 -0
  26. package/lib/elements/HawaStats.d.ts +9 -0
  27. package/lib/elements/index.d.ts +2 -0
  28. package/lib/index.js +1 -1
  29. package/lib/layout/HawaAppLayout.d.ts +9 -0
  30. package/lib/layout/{HawaLayout.d.ts → HawaSiteLayout.d.ts} +1 -1
  31. package/lib/layout/index.d.ts +2 -1
  32. package/package.json +1 -2
  33. package/src/blocks/AuthForms/AppLanding.tsx +3 -3
  34. package/src/blocks/AuthForms/NewPasswordForm.tsx +1 -2
  35. package/src/blocks/AuthForms/ResetPasswordForm.tsx +1 -1
  36. package/src/blocks/AuthForms/SignInForm.tsx +6 -6
  37. package/src/blocks/AuthForms/SignInPhone.tsx +8 -10
  38. package/src/blocks/AuthForms/SignUpForm.tsx +7 -7
  39. package/src/elements/HawaAlert.tsx +59 -2
  40. package/src/elements/HawaChip.tsx +9 -5
  41. package/src/elements/HawaPinInput.tsx +55 -0
  42. package/src/elements/HawaSearchBar.tsx +1 -1
  43. package/src/elements/HawaStats.tsx +25 -0
  44. package/src/elements/HawaTextField.tsx +17 -4
  45. package/src/elements/index.ts +2 -0
  46. package/src/layout/HawaAppLayout.tsx +60 -0
  47. package/src/layout/HawaSiteLayout.tsx +302 -0
  48. package/src/layout/index.ts +6 -6
  49. package/src/styles.css +58 -14
  50. package/storybook-static/51.786e9bbba427ee454dc0.manager.bundle.js +2 -0
  51. package/storybook-static/{51.8ca217c6882b6d3971a8.manager.bundle.js.LICENSE.txt → 51.786e9bbba427ee454dc0.manager.bundle.js.LICENSE.txt} +0 -0
  52. package/storybook-static/51.acbbdb95.iframe.bundle.js +2 -0
  53. package/storybook-static/{51.aeae4f67.iframe.bundle.js.LICENSE.txt → 51.acbbdb95.iframe.bundle.js.LICENSE.txt} +0 -0
  54. package/storybook-static/733.b57425fc.iframe.bundle.js +2 -0
  55. package/storybook-static/{669.31ae8ecc.iframe.bundle.js.LICENSE.txt → 733.b57425fc.iframe.bundle.js.LICENSE.txt} +0 -0
  56. package/storybook-static/767.2f9c96fa3338c8d16078.manager.bundle.js +2 -0
  57. package/storybook-static/{767.294896b3de4a98c7bd38.manager.bundle.js.LICENSE.txt → 767.2f9c96fa3338c8d16078.manager.bundle.js.LICENSE.txt} +0 -0
  58. package/storybook-static/iframe.html +1 -1
  59. package/storybook-static/index.html +2 -2
  60. package/storybook-static/main.4c317f06.iframe.bundle.js +1 -0
  61. package/storybook-static/project.json +1 -1
  62. package/storybook-static/{runtime~main.118c8621e276a271ad89.manager.bundle.js → runtime~main.25eae181fe0f96887a15.manager.bundle.js} +1 -1
  63. package/storybook-static/{runtime~main.4a2964ac.iframe.bundle.js → runtime~main.4d0bf318.iframe.bundle.js} +1 -1
  64. package/src/layout/HawaLayout.tsx +0 -212
  65. package/storybook-static/51.8ca217c6882b6d3971a8.manager.bundle.js +0 -2
  66. package/storybook-static/51.aeae4f67.iframe.bundle.js +0 -2
  67. package/storybook-static/669.31ae8ecc.iframe.bundle.js +0 -2
  68. package/storybook-static/767.294896b3de4a98c7bd38.manager.bundle.js +0 -2
  69. package/storybook-static/main.5ddcc678.iframe.bundle.js +0 -1
package/dist/styles.css CHANGED
@@ -541,9 +541,15 @@ video {
541
541
  .bottom-4 {
542
542
  bottom: 1rem;
543
543
  }
544
+ .left-3 {
545
+ left: 0.75rem;
546
+ }
544
547
  .top-5 {
545
548
  top: 1.25rem;
546
549
  }
550
+ .-left-1 {
551
+ left: -0.25rem;
552
+ }
547
553
  .top-auto {
548
554
  top: auto;
549
555
  }
@@ -556,9 +562,6 @@ video {
556
562
  .top-2 {
557
563
  top: 0.5rem;
558
564
  }
559
- .-left-1 {
560
- left: -0.25rem;
561
- }
562
565
  .z-10 {
563
566
  z-index: 10;
564
567
  }
@@ -740,24 +743,24 @@ video {
740
743
  .h-screen {
741
744
  height: 100vh;
742
745
  }
743
- .h-2 {
744
- height: 0.5rem;
745
- }
746
746
  .h-10 {
747
747
  height: 2.5rem;
748
748
  }
749
+ .h-2 {
750
+ height: 0.5rem;
751
+ }
749
752
  .h-32 {
750
753
  height: 8rem;
751
754
  }
752
755
  .h-0\.5 {
753
756
  height: 0.125rem;
754
757
  }
755
- .h-9 {
756
- height: 2.25rem;
757
- }
758
758
  .h-12 {
759
759
  height: 3rem;
760
760
  }
761
+ .h-9 {
762
+ height: 2.25rem;
763
+ }
761
764
  .h-20 {
762
765
  height: 5rem;
763
766
  }
@@ -805,14 +808,17 @@ video {
805
808
  .w-44 {
806
809
  width: 11rem;
807
810
  }
811
+ .w-10 {
812
+ width: 2.5rem;
813
+ }
808
814
  .w-11 {
809
815
  width: 2.75rem;
810
816
  }
811
817
  .w-1 {
812
818
  width: 0.25rem;
813
819
  }
814
- .w-10 {
815
- width: 2.5rem;
820
+ .w-12 {
821
+ width: 3rem;
816
822
  }
817
823
  .w-1\/3 {
818
824
  width: 33.333333%;
@@ -820,9 +826,6 @@ video {
820
826
  .w-80 {
821
827
  width: 20rem;
822
828
  }
823
- .w-12 {
824
- width: 3rem;
825
- }
826
829
  .w-20 {
827
830
  width: 5rem;
828
831
  }
@@ -931,6 +934,9 @@ video {
931
934
  .items-stretch {
932
935
  align-items: stretch;
933
936
  }
937
+ .justify-start {
938
+ justify-content: flex-start;
939
+ }
934
940
  .justify-end {
935
941
  justify-content: flex-end;
936
942
  }
@@ -1100,6 +1106,18 @@ video {
1100
1106
  .border-t-0 {
1101
1107
  border-top-width: 0px;
1102
1108
  }
1109
+ .border-t-4 {
1110
+ border-top-width: 4px;
1111
+ }
1112
+ .border-l-4 {
1113
+ border-left-width: 4px;
1114
+ }
1115
+ .border-r-4 {
1116
+ border-right-width: 4px;
1117
+ }
1118
+ .border-b-4 {
1119
+ border-bottom-width: 4px;
1120
+ }
1103
1121
  .border-r {
1104
1122
  border-right-width: 1px;
1105
1123
  }
@@ -1136,6 +1154,22 @@ video {
1136
1154
  --tw-border-opacity: 1;
1137
1155
  border-color: rgb(229 231 235 / var(--tw-border-opacity));
1138
1156
  }
1157
+ .border-blue-300 {
1158
+ --tw-border-opacity: 1;
1159
+ border-color: rgb(147 197 253 / var(--tw-border-opacity));
1160
+ }
1161
+ .border-yellow-300 {
1162
+ --tw-border-opacity: 1;
1163
+ border-color: rgb(253 224 71 / var(--tw-border-opacity));
1164
+ }
1165
+ .border-red-300 {
1166
+ --tw-border-opacity: 1;
1167
+ border-color: rgb(252 165 165 / var(--tw-border-opacity));
1168
+ }
1169
+ .border-green-300 {
1170
+ --tw-border-opacity: 1;
1171
+ border-color: rgb(134 239 172 / var(--tw-border-opacity));
1172
+ }
1139
1173
  .border-transparent {
1140
1174
  border-color: transparent;
1141
1175
  }
@@ -1266,6 +1300,10 @@ video {
1266
1300
  --tw-bg-opacity: 1;
1267
1301
  background-color: rgb(116 177 251 / var(--tw-bg-opacity));
1268
1302
  }
1303
+ .bg-yellow-300 {
1304
+ --tw-bg-opacity: 1;
1305
+ background-color: rgb(253 224 71 / var(--tw-bg-opacity));
1306
+ }
1269
1307
  .bg-primary-300 {
1270
1308
  --tw-bg-opacity: 1;
1271
1309
  background-color: rgb(156 199 252 / var(--tw-bg-opacity));
@@ -1389,6 +1427,9 @@ video {
1389
1427
  .pr-3 {
1390
1428
  padding-right: 0.75rem;
1391
1429
  }
1430
+ .pl-10 {
1431
+ padding-left: 2.5rem;
1432
+ }
1392
1433
  .pt-0 {
1393
1434
  padding-top: 0px;
1394
1435
  }
@@ -1700,6 +1741,9 @@ body {
1700
1741
  --tw-content: '';
1701
1742
  content: var(--tw-content);
1702
1743
  }
1744
+ .hover\:w-60:hover {
1745
+ width: 15rem;
1746
+ }
1703
1747
  .hover\:cursor-pointer:hover {
1704
1748
  cursor: pointer;
1705
1749
  }
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
2
  type AppLandingTypes = {
3
- handleSignIn: any;
4
- handleSignUp: any;
5
- handleLanguage: any;
3
+ handleSignIn: () => void;
4
+ handleSignUp: () => void;
5
+ handleLanguage: () => void;
6
6
  texts: {
7
7
  signIn: string;
8
8
  signUp: string;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  type NewPasswordTypes = {
3
- handleNewPassword: any;
3
+ handleNewPassword: () => void;
4
4
  passwordChanged: any;
5
5
  texts: {
6
6
  passwordPlaceholder: string;
@@ -13,7 +13,6 @@ type NewPasswordTypes = {
13
13
  passwordMatchError: string;
14
14
  passwordChanged: string;
15
15
  };
16
- handleSignIn: any;
17
16
  };
18
17
  export declare const NewPasswordForm: React.FunctionComponent<NewPasswordTypes>;
19
18
  export {};
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  type ResetPasswordType = {
3
- handleResetPassword: any;
3
+ handleResetPassword: () => void;
4
4
  sent: any;
5
5
  texts: {
6
6
  emailLabel: string;
@@ -31,12 +31,12 @@ type SignInFormTypes = {
31
31
  viaGoogle: boolean;
32
32
  viaGithub: boolean;
33
33
  viaTwitter: boolean;
34
- handleSignIn: any;
35
- handleRouteToSignUp: any;
36
- handleForgotPassword: any;
37
- handleGoogleSignIn: any;
38
- handleGithubSignIn: any;
39
- handleTwitterSignIn: any;
34
+ handleSignIn: (e: any) => void;
35
+ handleRouteToSignUp: () => void;
36
+ handleForgotPassword: () => void;
37
+ handleGoogleSignIn: () => void;
38
+ handleGithubSignIn: () => void;
39
+ handleTwitterSignIn: () => void;
40
40
  };
41
41
  export declare const SignInForm: React.FunctionComponent<SignInFormTypes>;
42
42
  export {};
@@ -7,6 +7,7 @@ type SignInPhoneTypes = {
7
7
  handlePhoneChange: any;
8
8
  phoneRequiredText: any;
9
9
  SignInButtonText: any;
10
+ handleSignIn: any;
10
11
  };
11
12
  export declare const SignInPhone: React.FunctionComponent<SignInPhoneTypes>;
12
13
  export {};
@@ -38,11 +38,11 @@ type SignUpFormTypes = {
38
38
  showNewsletterOption: boolean;
39
39
  showRefCode: boolean;
40
40
  showTermsOption: boolean;
41
- handleSignUp: any;
42
- handleRouteToSignIn: any;
43
- handleGoogleSignUp: any;
44
- handleGithubSignUp: any;
45
- handleTwitterSignUp: any;
41
+ handleSignUp: (e: any) => void;
42
+ handleRouteToSignIn: () => void;
43
+ handleGoogleSignUp: () => void;
44
+ handleGithubSignUp: () => void;
45
+ handleTwitterSignUp: () => void;
46
46
  showError: any;
47
47
  errorTitle: any;
48
48
  errorText: any;
@@ -8,6 +8,7 @@ declare let severities: {
8
8
  type AlertTypes = {
9
9
  severity: keyof typeof severities;
10
10
  title?: any;
11
+ variant?: "normal" | "solid" | "top-accent" | "left-accent" | "right-accent" | "bottom-accent";
11
12
  text: any;
12
13
  hideIcon?: any;
13
14
  actions?: [
@@ -2,6 +2,7 @@ import React from "react";
2
2
  type TChipTypes = {
3
3
  label: string;
4
4
  size: "small" | "normal" | "large";
5
+ icon?: JSX.Element;
5
6
  };
6
7
  export declare const HawaChip: React.FunctionComponent<TChipTypes>;
7
8
  export {};
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ type PinInputTypes = {
3
+ label: string;
4
+ icon?: JSX.Element;
5
+ digits?: number;
6
+ };
7
+ export declare const HawaPinInput: React.FunctionComponent<PinInputTypes>;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ type StatTypes = {
3
+ label?: string;
4
+ number?: string;
5
+ helperText?: string;
6
+ variant?: "plain" | "contained" | "outlined";
7
+ };
8
+ export declare const HawaStats: React.FunctionComponent<StatTypes>;
9
+ export {};
@@ -24,8 +24,10 @@ export * from "./HawaDrawer";
24
24
  export * from "./HawaCopyrights";
25
25
  export * from "./HawaTimeline";
26
26
  export * from "./Breadcrumb";
27
+ export * from "./HawaStats";
27
28
  export * from "./HawaTextField";
28
29
  export * from "./HawaCardInput";
30
+ export * from "./HawaPinInput";
29
31
  export * from "./HawaItemCard";
30
32
  export * from "./HawaPricingCard";
31
33
  export * from "./HawaAdCard";