@sikka/hawa 0.0.104 → 0.0.106

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 (37) hide show
  1. package/dist/styles.css +167 -81
  2. package/es/blocks/Misc/EmptyState.d.ts +4 -0
  3. package/es/blocks/Misc/index.d.ts +1 -0
  4. package/es/elements/HawaButton.d.ts +1 -1
  5. package/es/elements/HawaCardInput.d.ts +25 -0
  6. package/es/elements/HawaTable.d.ts +1 -0
  7. package/es/elements/HawaTimeline.d.ts +8 -0
  8. package/es/elements/index.d.ts +3 -1
  9. package/es/index.es.js +1 -1
  10. package/es/layout/HawaContainer.d.ts +2 -0
  11. package/lib/blocks/Misc/EmptyState.d.ts +4 -0
  12. package/lib/blocks/Misc/index.d.ts +1 -0
  13. package/lib/elements/HawaButton.d.ts +1 -1
  14. package/lib/elements/HawaCardInput.d.ts +25 -0
  15. package/lib/elements/HawaTable.d.ts +1 -0
  16. package/lib/elements/HawaTimeline.d.ts +8 -0
  17. package/lib/elements/index.d.ts +3 -1
  18. package/lib/index.js +1 -1
  19. package/lib/layout/HawaContainer.d.ts +2 -0
  20. package/package.json +1 -1
  21. package/src/blocks/Misc/EmptyState.tsx +24 -0
  22. package/src/blocks/Misc/NotFound.tsx +15 -12
  23. package/src/blocks/Misc/index.ts +2 -1
  24. package/src/elements/HawaAccordian.tsx +21 -10
  25. package/src/elements/HawaButton.tsx +2 -1
  26. package/src/elements/HawaCardInput.tsx +317 -0
  27. package/src/elements/HawaItemCard.tsx +5 -2
  28. package/src/elements/HawaMenu.tsx +3 -3
  29. package/src/elements/HawaRadio.tsx +12 -4
  30. package/src/elements/HawaSwitch.tsx +5 -3
  31. package/src/elements/HawaTable.tsx +52 -17
  32. package/src/elements/HawaTimeline.tsx +82 -0
  33. package/src/elements/index.ts +33 -30
  34. package/src/layout/HawaContainer.tsx +18 -2
  35. package/src/styles.css +167 -81
  36. package/tailwind.config.js +10 -8
  37. package/tsconfig.json +30 -25
@@ -2,6 +2,8 @@ import React from "react";
2
2
  type ContainerTypes = {
3
3
  maxWidth?: "full" | "small" | "normal";
4
4
  children: React.ReactNode;
5
+ variant?: "contained" | "outlined";
6
+ centered?: boolean;
5
7
  };
6
8
  export declare const HawaContainer: React.FunctionComponent<ContainerTypes>;
7
9
  export {};
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ type TEmptyState = {};
3
+ export declare const EmptyState: React.FunctionComponent<TEmptyState>;
4
+ export {};
@@ -1 +1,2 @@
1
1
  export * from "./NotFound";
2
+ export * from "./EmptyState";
@@ -3,7 +3,7 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
3
3
  variant?: "contained" | "outlined";
4
4
  color?: "default" | "primary" | "secondary";
5
5
  width?: "full" | "normal" | "half";
6
- size?: "small" | "medium" | "large";
6
+ size?: "small" | "medium" | "large" | "noPadding";
7
7
  tooltip?: string;
8
8
  isLoading?: boolean;
9
9
  }
@@ -0,0 +1,25 @@
1
+ /// <reference types="react" />
2
+ export declare const HawaCardInput: ({ cardHolder, cardMonth, cardYear, cardCvv, rememberMe, onUpdateState, cardNumberRef, cardHolderRef, cardDateRef, cardCvvRef, rememberMeRef, onCardInputFocus, onCardInputBlur, children, handlePaymentPayfort, selectedPaymentMethod, isRegister, accessCode, shaRequestPassphrase, transaction, signature, isCheckout, }: {
3
+ cardHolder: any;
4
+ cardMonth: any;
5
+ cardYear: any;
6
+ cardCvv: any;
7
+ rememberMe: any;
8
+ onUpdateState: any;
9
+ cardNumberRef: any;
10
+ cardHolderRef: any;
11
+ cardDateRef: any;
12
+ cardCvvRef: any;
13
+ rememberMeRef: any;
14
+ onCardInputFocus: any;
15
+ onCardInputBlur: any;
16
+ children: any;
17
+ handlePaymentPayfort: any;
18
+ selectedPaymentMethod: any;
19
+ isRegister: any;
20
+ accessCode: any;
21
+ shaRequestPassphrase: any;
22
+ transaction: any;
23
+ signature: any;
24
+ isCheckout: any;
25
+ }) => JSX.Element;
@@ -7,6 +7,7 @@ type TableTypes = {
7
7
  noDataText?: any;
8
8
  handleActionClick?: any;
9
9
  end?: any;
10
+ size?: "normal" | "small";
10
11
  };
11
12
  export declare const HawaTable: React.FunctionComponent<TableTypes>;
12
13
  export {};
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ type THawaTimeline = {
3
+ steps: any[any];
4
+ currentStep: any;
5
+ orientation: "vertical" | "horizontal";
6
+ };
7
+ export declare const HawaTimeline: React.FunctionComponent<THawaTimeline>;
8
+ export {};
@@ -6,7 +6,6 @@ export * from "./HawaChip";
6
6
  export * from "./HawaSettingsRow";
7
7
  export * from "./HawaSelect";
8
8
  export * from "./HawaRange";
9
- export * from "./HawaTextField";
10
9
  export * from "./HawaTypography";
11
10
  export * from "./HawaAlert";
12
11
  export * from "./HawaTable";
@@ -23,6 +22,9 @@ export * from "./HawaModal";
23
22
  export * from "./HawaMenu";
24
23
  export * from "./HawaDrawer";
25
24
  export * from "./HawaCopyrights";
25
+ export * from "./HawaTimeline";
26
+ export * from "./HawaTextField";
27
+ export * from "./HawaCardInput";
26
28
  export * from "./HawaItemCard";
27
29
  export * from "./HawaPricingCard";
28
30
  export * from "./HawaAdCard";