@sikka/hawa 0.0.172 → 0.0.174

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 (41) hide show
  1. package/dist/styles.css +46 -69
  2. package/es/elements/HawaChip.d.ts +1 -1
  3. package/es/elements/SubsectionList.d.ts +19 -0
  4. package/es/elements/index.d.ts +1 -0
  5. package/es/index.es.js +1 -1
  6. package/es/layout/HawaSiteLayout.d.ts +20 -6
  7. package/lib/elements/HawaChip.d.ts +1 -1
  8. package/lib/elements/SubsectionList.d.ts +19 -0
  9. package/lib/elements/index.d.ts +1 -0
  10. package/lib/index.js +1 -1
  11. package/lib/layout/HawaSiteLayout.d.ts +20 -6
  12. package/package.json +1 -1
  13. package/src/blocks/AuthForms/SignInForm.tsx +1 -0
  14. package/src/blocks/Misc/Testimonial.tsx +1 -1
  15. package/src/elements/DraggableCard.tsx +1 -1
  16. package/src/elements/HawaButton.tsx +3 -3
  17. package/src/elements/HawaChip.tsx +1 -1
  18. package/src/elements/HawaLogoButton.tsx +3 -2
  19. package/src/elements/HawaMenu.tsx +1 -1
  20. package/src/elements/HawaPricingCard.tsx +7 -1
  21. package/src/elements/HawaRadio.tsx +1 -1
  22. package/src/elements/HawaStats.tsx +1 -1
  23. package/src/elements/HawaTable.tsx +1 -1
  24. package/src/elements/HawaTabs.tsx +7 -7
  25. package/src/elements/HawaTimeline.tsx +8 -6
  26. package/src/elements/SubsectionList.tsx +78 -0
  27. package/src/elements/index.ts +1 -0
  28. package/src/layout/HawaAppLayout.tsx +6 -6
  29. package/src/layout/HawaContainer.tsx +1 -1
  30. package/src/layout/HawaSiteLayout.tsx +125 -278
  31. package/src/styles.css +46 -69
  32. package/src/tailwind.css +5 -4
  33. package/storybook-static/{870.6284ce82.iframe.bundle.js → 239.5e8067ea.iframe.bundle.js} +2 -2
  34. package/storybook-static/{870.6284ce82.iframe.bundle.js.LICENSE.txt → 239.5e8067ea.iframe.bundle.js.LICENSE.txt} +0 -0
  35. package/storybook-static/iframe.html +1 -1
  36. package/storybook-static/main.ea6f9b48.iframe.bundle.js +1 -0
  37. package/storybook-static/project.json +1 -1
  38. package/tailwind.config.js +8 -42
  39. package/es/stories/LayoutStories/SimpleGrid.stories.d.ts +0 -4
  40. package/lib/stories/LayoutStories/SimpleGrid.stories.d.ts +0 -4
  41. package/storybook-static/main.653018b6.iframe.bundle.js +0 -1
@@ -1,9 +1,23 @@
1
1
  import React from "react";
2
- type LayoutTypes = {
3
- logoLink: string;
4
- username: string;
5
- userEmail: string;
6
- drawerItems: any;
2
+ type HawaSiteLayoutTypes = {
3
+ navItems: {
4
+ label: string;
5
+ icon: any;
6
+ slug: string;
7
+ action: () => void;
8
+ subItems?: any;
9
+ }[];
10
+ direction?: "rtl" | "ltr";
11
+ currentPage: string;
12
+ pageTitle?: string;
13
+ logoSymbol?: any;
14
+ logoLink?: string;
15
+ logoText?: any;
16
+ children?: any;
17
+ stickyNav?: boolean;
18
+ topBar?: boolean;
19
+ navigationSize?: "sm" | "md" | "lg";
20
+ floating?: boolean;
7
21
  };
8
- export declare const HawaSiteLayout: React.FunctionComponent<LayoutTypes>;
22
+ export declare const HawaSiteLayout: React.FunctionComponent<HawaSiteLayoutTypes>;
9
23
  export {};
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  type TChipTypes = {
3
3
  label: string;
4
- size: "small" | "normal" | "large";
4
+ size?: "small" | "normal" | "large";
5
5
  icon?: JSX.Element;
6
6
  };
7
7
  export declare const HawaChip: React.FunctionComponent<TChipTypes>;
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ type SubsectionListTypes = {
3
+ align?: any;
4
+ subsections: [
5
+ {
6
+ title: string;
7
+ sections: [
8
+ {
9
+ label: string;
10
+ action: () => void;
11
+ icon?: any;
12
+ value?: any;
13
+ }
14
+ ];
15
+ }
16
+ ];
17
+ };
18
+ export declare const SubsectionList: React.FunctionComponent<SubsectionListTypes>;
19
+ export {};
@@ -26,6 +26,7 @@ export * from "./HawaStats";
26
26
  export * from "./HawaSpinner";
27
27
  export * from "./HawaRadio";
28
28
  export * from "./HawaDrawer";
29
+ export * from "./SubsectionList";
29
30
  export * from "./HawaTextField";
30
31
  export * from "./HawaCardInput";
31
32
  export * from "./HawaPinInput";