@sikka/hawa 0.0.205 → 0.0.206

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 +124 -10
  2. package/es/elements/HawaButton.d.ts +4 -1
  3. package/es/elements/HawaChip.d.ts +3 -0
  4. package/es/elements/{HawaTimeline.d.ts → HawaStepper.d.ts} +1 -1
  5. package/es/elements/HawaTable.d.ts +7 -2
  6. package/es/elements/index.d.ts +1 -1
  7. package/es/index.es.js +1 -1
  8. package/lib/elements/HawaButton.d.ts +4 -1
  9. package/lib/elements/HawaChip.d.ts +3 -0
  10. package/lib/elements/{HawaTimeline.d.ts → HawaStepper.d.ts} +1 -1
  11. package/lib/elements/HawaTable.d.ts +7 -2
  12. package/lib/elements/index.d.ts +1 -1
  13. package/lib/index.js +1 -1
  14. package/package.json +1 -1
  15. package/src/blocks/AuthForms/NewPasswordForm.tsx +0 -1
  16. package/src/blocks/AuthForms/SignInPhone.tsx +2 -14
  17. package/src/blocks/AuthForms/SignUpForm.tsx +1 -5
  18. package/src/elements/Breadcrumb.tsx +5 -1
  19. package/src/elements/HawaButton.tsx +69 -44
  20. package/src/elements/HawaChip.tsx +31 -4
  21. package/src/elements/HawaDrawer.tsx +1 -4
  22. package/src/elements/HawaItemCard.tsx +0 -1
  23. package/src/elements/HawaMenu.tsx +1 -2
  24. package/src/elements/HawaModal.tsx +0 -2
  25. package/src/elements/HawaPhoneInput.tsx +1 -4
  26. package/src/elements/HawaSelect.tsx +3 -7
  27. package/src/elements/HawaStepper.tsx +97 -0
  28. package/src/elements/HawaTable.tsx +224 -209
  29. package/src/elements/HawaTabs.tsx +0 -2
  30. package/src/elements/HawaTextField.tsx +7 -6
  31. package/src/elements/index.ts +1 -1
  32. package/src/hooks/useBreakpoint.ts +2 -3
  33. package/src/hooks/useTable.ts +6 -4
  34. package/src/styles.css +124 -10
  35. package/src/elements/HawaTimeline.tsx +0 -84
@@ -10,7 +10,10 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
10
10
  tooltip?: string;
11
11
  tooltipSize?: "normal" | "small" | "large";
12
12
  tooltipPosition?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
13
+ startIcon?: any;
14
+ endIcon?: any;
13
15
  isLoading?: boolean;
16
+ badge?: any;
14
17
  }
15
- export declare function HawaButton({ className, variant, color, size, width, disabled, isLoading, tooltip, tooltipSize, tooltipPosition, tooltipDirection, margins, children, buttonID, ...props }: ButtonProps): JSX.Element;
18
+ export declare const HawaButton: React.FunctionComponent<ButtonProps>;
16
19
  export {};
@@ -3,6 +3,9 @@ type TChipTypes = {
3
3
  label: string;
4
4
  size?: "small" | "normal" | "large";
5
5
  icon?: JSX.Element;
6
+ color?: string;
7
+ dot?: boolean;
8
+ dotType?: "available" | "unavailable";
6
9
  };
7
10
  export declare const HawaChip: React.FunctionComponent<TChipTypes>;
8
11
  export {};
@@ -4,5 +4,5 @@ type THawaTimeline = {
4
4
  currentStep: any;
5
5
  orientation: "vertical" | "horizontal";
6
6
  };
7
- export declare const HawaTimeline: React.FunctionComponent<THawaTimeline>;
7
+ export declare const HawaStepper: React.FunctionComponent<THawaTimeline>;
8
8
  export {};
@@ -4,16 +4,21 @@ type TableTypes = {
4
4
  actions?: ActionItems[][];
5
5
  direction?: "rtl" | "ltr";
6
6
  rows?: any[any];
7
- noDataText?: any;
8
7
  handleActionClick?: any;
9
8
  end?: any;
10
9
  size?: "normal" | "small";
11
10
  highlightFirst?: boolean;
12
11
  customColor?: string;
13
12
  clickable?: boolean;
14
- actionsText?: string;
13
+ texts?: {
14
+ actions?: string;
15
+ noData?: any;
16
+ items?: string;
17
+ page?: string;
18
+ };
15
19
  bordersWidth?: string;
16
20
  onActionClicked?: any;
21
+ headerTools?: boolean;
17
22
  borders?: "all" | "cols" | "rows" | "outer" | "inner";
18
23
  };
19
24
  type ActionItems = {
@@ -20,7 +20,7 @@ export * from "./HawaTabs";
20
20
  export * from "./HawaModal";
21
21
  export * from "./HawaMenu";
22
22
  export * from "./HawaCopyrights";
23
- export * from "./HawaTimeline";
23
+ export * from "./HawaStepper";
24
24
  export * from "./Breadcrumb";
25
25
  export * from "./HawaStats";
26
26
  export * from "./HawaSpinner";