@sikka/hawa 0.0.114 → 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 (50) hide show
  1. package/dist/styles.css +52 -14
  2. package/es/elements/HawaAlert.d.ts +1 -0
  3. package/es/elements/HawaChip.d.ts +1 -1
  4. package/es/elements/HawaPinInput.d.ts +8 -0
  5. package/es/elements/HawaStats.d.ts +9 -0
  6. package/es/elements/index.d.ts +2 -0
  7. package/es/index.es.js +1 -1
  8. package/es/layout/HawaAppLayout.d.ts +9 -0
  9. package/es/layout/{HawaLayout.d.ts → HawaSiteLayout.d.ts} +1 -1
  10. package/es/layout/index.d.ts +2 -1
  11. package/lib/elements/HawaAlert.d.ts +1 -0
  12. package/lib/elements/HawaChip.d.ts +1 -1
  13. package/lib/elements/HawaPinInput.d.ts +8 -0
  14. package/lib/elements/HawaStats.d.ts +9 -0
  15. package/lib/elements/index.d.ts +2 -0
  16. package/lib/index.js +1 -1
  17. package/lib/layout/HawaAppLayout.d.ts +9 -0
  18. package/lib/layout/{HawaLayout.d.ts → HawaSiteLayout.d.ts} +1 -1
  19. package/lib/layout/index.d.ts +2 -1
  20. package/package.json +1 -2
  21. package/src/elements/HawaAlert.tsx +59 -2
  22. package/src/elements/HawaChip.tsx +1 -1
  23. package/src/elements/HawaPinInput.tsx +55 -0
  24. package/src/elements/HawaStats.tsx +25 -0
  25. package/src/elements/HawaTextField.tsx +4 -4
  26. package/src/elements/index.ts +2 -0
  27. package/src/layout/HawaAppLayout.tsx +60 -0
  28. package/src/layout/HawaSiteLayout.tsx +302 -0
  29. package/src/layout/index.ts +6 -6
  30. package/src/styles.css +52 -14
  31. package/storybook-static/51.786e9bbba427ee454dc0.manager.bundle.js +2 -0
  32. package/storybook-static/{51.8ca217c6882b6d3971a8.manager.bundle.js.LICENSE.txt → 51.786e9bbba427ee454dc0.manager.bundle.js.LICENSE.txt} +0 -0
  33. package/storybook-static/51.acbbdb95.iframe.bundle.js +2 -0
  34. package/storybook-static/{51.aeae4f67.iframe.bundle.js.LICENSE.txt → 51.acbbdb95.iframe.bundle.js.LICENSE.txt} +0 -0
  35. package/storybook-static/733.b57425fc.iframe.bundle.js +2 -0
  36. package/storybook-static/{669.31ae8ecc.iframe.bundle.js.LICENSE.txt → 733.b57425fc.iframe.bundle.js.LICENSE.txt} +0 -0
  37. package/storybook-static/767.2f9c96fa3338c8d16078.manager.bundle.js +2 -0
  38. package/storybook-static/{767.294896b3de4a98c7bd38.manager.bundle.js.LICENSE.txt → 767.2f9c96fa3338c8d16078.manager.bundle.js.LICENSE.txt} +0 -0
  39. package/storybook-static/iframe.html +1 -1
  40. package/storybook-static/index.html +2 -2
  41. package/storybook-static/main.4c317f06.iframe.bundle.js +1 -0
  42. package/storybook-static/project.json +1 -1
  43. package/storybook-static/{runtime~main.118c8621e276a271ad89.manager.bundle.js → runtime~main.25eae181fe0f96887a15.manager.bundle.js} +1 -1
  44. package/storybook-static/{runtime~main.4a2964ac.iframe.bundle.js → runtime~main.4d0bf318.iframe.bundle.js} +1 -1
  45. package/src/layout/HawaLayout.tsx +0 -212
  46. package/storybook-static/51.8ca217c6882b6d3971a8.manager.bundle.js +0 -2
  47. package/storybook-static/51.aeae4f67.iframe.bundle.js +0 -2
  48. package/storybook-static/669.31ae8ecc.iframe.bundle.js +0 -2
  49. package/storybook-static/767.294896b3de4a98c7bd38.manager.bundle.js +0 -2
  50. package/storybook-static/main.5ddcc678.iframe.bundle.js +0 -1
package/dist/styles.css CHANGED
@@ -547,6 +547,9 @@ video {
547
547
  .top-5 {
548
548
  top: 1.25rem;
549
549
  }
550
+ .-left-1 {
551
+ left: -0.25rem;
552
+ }
550
553
  .top-auto {
551
554
  top: auto;
552
555
  }
@@ -559,9 +562,6 @@ video {
559
562
  .top-2 {
560
563
  top: 0.5rem;
561
564
  }
562
- .-left-1 {
563
- left: -0.25rem;
564
- }
565
565
  .z-10 {
566
566
  z-index: 10;
567
567
  }
@@ -743,24 +743,24 @@ video {
743
743
  .h-screen {
744
744
  height: 100vh;
745
745
  }
746
- .h-2 {
747
- height: 0.5rem;
748
- }
749
746
  .h-10 {
750
747
  height: 2.5rem;
751
748
  }
749
+ .h-2 {
750
+ height: 0.5rem;
751
+ }
752
752
  .h-32 {
753
753
  height: 8rem;
754
754
  }
755
755
  .h-0\.5 {
756
756
  height: 0.125rem;
757
757
  }
758
- .h-9 {
759
- height: 2.25rem;
760
- }
761
758
  .h-12 {
762
759
  height: 3rem;
763
760
  }
761
+ .h-9 {
762
+ height: 2.25rem;
763
+ }
764
764
  .h-20 {
765
765
  height: 5rem;
766
766
  }
@@ -808,14 +808,17 @@ video {
808
808
  .w-44 {
809
809
  width: 11rem;
810
810
  }
811
+ .w-10 {
812
+ width: 2.5rem;
813
+ }
811
814
  .w-11 {
812
815
  width: 2.75rem;
813
816
  }
814
817
  .w-1 {
815
818
  width: 0.25rem;
816
819
  }
817
- .w-10 {
818
- width: 2.5rem;
820
+ .w-12 {
821
+ width: 3rem;
819
822
  }
820
823
  .w-1\/3 {
821
824
  width: 33.333333%;
@@ -823,9 +826,6 @@ video {
823
826
  .w-80 {
824
827
  width: 20rem;
825
828
  }
826
- .w-12 {
827
- width: 3rem;
828
- }
829
829
  .w-20 {
830
830
  width: 5rem;
831
831
  }
@@ -934,6 +934,9 @@ video {
934
934
  .items-stretch {
935
935
  align-items: stretch;
936
936
  }
937
+ .justify-start {
938
+ justify-content: flex-start;
939
+ }
937
940
  .justify-end {
938
941
  justify-content: flex-end;
939
942
  }
@@ -1103,6 +1106,18 @@ video {
1103
1106
  .border-t-0 {
1104
1107
  border-top-width: 0px;
1105
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
+ }
1106
1121
  .border-r {
1107
1122
  border-right-width: 1px;
1108
1123
  }
@@ -1139,6 +1154,22 @@ video {
1139
1154
  --tw-border-opacity: 1;
1140
1155
  border-color: rgb(229 231 235 / var(--tw-border-opacity));
1141
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
+ }
1142
1173
  .border-transparent {
1143
1174
  border-color: transparent;
1144
1175
  }
@@ -1269,6 +1300,10 @@ video {
1269
1300
  --tw-bg-opacity: 1;
1270
1301
  background-color: rgb(116 177 251 / var(--tw-bg-opacity));
1271
1302
  }
1303
+ .bg-yellow-300 {
1304
+ --tw-bg-opacity: 1;
1305
+ background-color: rgb(253 224 71 / var(--tw-bg-opacity));
1306
+ }
1272
1307
  .bg-primary-300 {
1273
1308
  --tw-bg-opacity: 1;
1274
1309
  background-color: rgb(156 199 252 / var(--tw-bg-opacity));
@@ -1706,6 +1741,9 @@ body {
1706
1741
  --tw-content: '';
1707
1742
  content: var(--tw-content);
1708
1743
  }
1744
+ .hover\:w-60:hover {
1745
+ width: 15rem;
1746
+ }
1709
1747
  .hover\:cursor-pointer:hover {
1710
1748
  cursor: pointer;
1711
1749
  }
@@ -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,7 +2,7 @@ import React from "react";
2
2
  type TChipTypes = {
3
3
  label: string;
4
4
  size: "small" | "normal" | "large";
5
- icon?: any;
5
+ icon?: JSX.Element;
6
6
  };
7
7
  export declare const HawaChip: React.FunctionComponent<TChipTypes>;
8
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";