@sikka/hawa 0.0.145 → 0.0.146

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 (35) hide show
  1. package/dist/styles.css +86 -58
  2. package/es/blocks/Misc/EmptyState.d.ts +3 -1
  3. package/es/blocks/Misc/NotFound.d.ts +3 -1
  4. package/es/index.es.js +1 -1
  5. package/es/layout/HawaContainer.d.ts +1 -1
  6. package/es/util.d.ts +8 -4
  7. package/lib/blocks/Misc/EmptyState.d.ts +3 -1
  8. package/lib/blocks/Misc/NotFound.d.ts +3 -1
  9. package/lib/index.js +1 -1
  10. package/lib/layout/HawaContainer.d.ts +1 -1
  11. package/lib/util.d.ts +8 -4
  12. package/package.json +3 -2
  13. package/src/blocks/Misc/EmptyState.tsx +13 -11
  14. package/src/blocks/Misc/NotFound.tsx +11 -16
  15. package/src/blocks/Payment/SelectPayment.tsx +0 -1
  16. package/src/elements/DraggableCard.tsx +1 -1
  17. package/src/elements/HawaButton.tsx +6 -5
  18. package/src/elements/HawaLogoButton.tsx +1 -1
  19. package/src/elements/HawaMenu.tsx +1 -1
  20. package/src/layout/HawaAppLayout.tsx +137 -95
  21. package/src/layout/HawaContainer.tsx +6 -4
  22. package/src/styles.css +86 -58
  23. package/src/tailwind.css +4 -0
  24. package/src/util.ts +142 -29
  25. package/storybook-static/{767.232e4e4c88bb0a2ed02d.manager.bundle.js → 767.8e4ffb17eae12c283b3b.manager.bundle.js} +2 -2
  26. package/storybook-static/{767.232e4e4c88bb0a2ed02d.manager.bundle.js.LICENSE.txt → 767.8e4ffb17eae12c283b3b.manager.bundle.js.LICENSE.txt} +0 -0
  27. package/storybook-static/870.c002064e.iframe.bundle.js +2 -0
  28. package/storybook-static/{870.32eb3abe.iframe.bundle.js.LICENSE.txt → 870.c002064e.iframe.bundle.js.LICENSE.txt} +0 -0
  29. package/storybook-static/iframe.html +1 -1
  30. package/storybook-static/index.html +1 -1
  31. package/storybook-static/main.8977634c.iframe.bundle.js +1 -0
  32. package/storybook-static/project.json +1 -1
  33. package/tailwind.config.js +63 -0
  34. package/storybook-static/870.32eb3abe.iframe.bundle.js +0 -2
  35. package/storybook-static/main.caad440f.iframe.bundle.js +0 -1
@@ -2,7 +2,7 @@ import React from "react";
2
2
  type ContainerTypes = {
3
3
  maxWidth?: "full" | "small" | "normal";
4
4
  children: React.ReactNode;
5
- variant?: "contained" | "outlined";
5
+ variant?: "contained" | "outlined" | "neobrutalism";
6
6
  centered?: boolean;
7
7
  };
8
8
  export declare const HawaContainer: React.FunctionComponent<ContainerTypes>;
package/es/util.d.ts CHANGED
@@ -1,4 +1,8 @@
1
- declare const hexToRgb: (hex: any) => number[];
2
- declare const getTextColor: (backColor: any) => "#000000" | "#ffffff";
3
- declare const replaceAt: (string: any, index: any, replacement: any) => any;
4
- export { hexToRgb, getTextColor, replaceAt };
1
+ type Palette = {
2
+ name: string;
3
+ colors: {
4
+ [key: number]: string;
5
+ };
6
+ };
7
+ declare function getPallette(baseColor: string): Palette;
8
+ export { getPallette };
@@ -1,4 +1,6 @@
1
1
  import React from "react";
2
- type TEmptyState = {};
2
+ type TEmptyState = {
3
+ variant?: "outlined" | "contained" | "neobrutalism";
4
+ };
3
5
  export declare const EmptyState: React.FunctionComponent<TEmptyState>;
4
6
  export {};
@@ -1,4 +1,6 @@
1
1
  import React from "react";
2
- type NotFoundTypes = {};
2
+ type NotFoundTypes = {
3
+ variant?: "outlined" | "contained" | "neobrutalism";
4
+ };
3
5
  export declare const NotFound: React.FunctionComponent<NotFoundTypes>;
4
6
  export {};