@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
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ type HawaAppLayoutTypes = {
3
+ logoLink: string;
4
+ username: string;
5
+ userEmail: string;
6
+ drawerItems: any;
7
+ };
8
+ export declare const HawaAppLayout: React.FunctionComponent<HawaAppLayoutTypes>;
9
+ export {};
@@ -5,5 +5,5 @@ type LayoutTypes = {
5
5
  userEmail: string;
6
6
  drawerItems: any;
7
7
  };
8
- export declare const HawaLayout: React.FunctionComponent<LayoutTypes>;
8
+ export declare const HawaSiteLayout: React.FunctionComponent<LayoutTypes>;
9
9
  export {};
@@ -1,5 +1,6 @@
1
1
  export * from "./Box";
2
2
  export * from "./HawaBottomAppBar";
3
- export * from "./HawaLayout";
3
+ export * from "./HawaSiteLayout";
4
+ export * from "./HawaAppLayout";
4
5
  export * from "./HawaContainer";
5
6
  export * from "./SimpleGrid";
@@ -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";