@sikka/hawa 0.0.205 → 0.0.207

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 (52) hide show
  1. package/dist/styles.css +128 -17
  2. package/es/elements/HawaButton.d.ts +4 -2
  3. package/es/elements/HawaChip.d.ts +3 -0
  4. package/es/elements/HawaCopyrights.d.ts +1 -0
  5. package/es/elements/HawaPricingCard.d.ts +1 -0
  6. package/es/elements/{HawaTimeline.d.ts → HawaStepper.d.ts} +1 -1
  7. package/es/elements/HawaTable.d.ts +7 -2
  8. package/es/elements/HawaTabs.d.ts +1 -1
  9. package/es/elements/HawaTooltip.d.ts +0 -1
  10. package/es/elements/index.d.ts +1 -1
  11. package/es/index.es.js +1 -1
  12. package/lib/elements/HawaButton.d.ts +4 -2
  13. package/lib/elements/HawaChip.d.ts +3 -0
  14. package/lib/elements/HawaCopyrights.d.ts +1 -0
  15. package/lib/elements/HawaPricingCard.d.ts +1 -0
  16. package/lib/elements/{HawaTimeline.d.ts → HawaStepper.d.ts} +1 -1
  17. package/lib/elements/HawaTable.d.ts +7 -2
  18. package/lib/elements/HawaTabs.d.ts +1 -1
  19. package/lib/elements/HawaTooltip.d.ts +0 -1
  20. package/lib/elements/index.d.ts +1 -1
  21. package/lib/index.js +1 -1
  22. package/package.json +1 -2
  23. package/src/blocks/AuthForms/NewPasswordForm.tsx +0 -1
  24. package/src/blocks/AuthForms/SignInPhone.tsx +2 -14
  25. package/src/blocks/AuthForms/SignUpForm.tsx +1 -5
  26. package/src/blocks/Pricing/PricingPlans.tsx +16 -10
  27. package/src/blocks/Referral/ReferralAccount.tsx +0 -2
  28. package/src/elements/Breadcrumb.tsx +5 -2
  29. package/src/elements/HawaAccordion.tsx +0 -1
  30. package/src/elements/HawaButton.tsx +70 -51
  31. package/src/elements/HawaCheckbox.tsx +0 -1
  32. package/src/elements/HawaChip.tsx +29 -4
  33. package/src/elements/HawaCopyrights.tsx +5 -10
  34. package/src/elements/HawaDrawer.tsx +2 -5
  35. package/src/elements/HawaItemCard.tsx +0 -13
  36. package/src/elements/HawaMenu.tsx +1 -2
  37. package/src/elements/HawaModal.tsx +0 -2
  38. package/src/elements/HawaPhoneInput.tsx +1 -5
  39. package/src/elements/HawaPricingCard.tsx +52 -96
  40. package/src/elements/HawaSelect.tsx +3 -7
  41. package/src/elements/HawaStepper.tsx +97 -0
  42. package/src/elements/HawaTable.tsx +224 -209
  43. package/src/elements/HawaTabs.tsx +10 -18
  44. package/src/elements/HawaTextField.tsx +7 -8
  45. package/src/elements/HawaTooltip.tsx +0 -1
  46. package/src/elements/InvoiceAccordion.tsx +2 -7
  47. package/src/elements/TabPanel.tsx +0 -13
  48. package/src/elements/index.ts +1 -1
  49. package/src/hooks/useBreakpoint.ts +2 -3
  50. package/src/hooks/useTable.ts +6 -4
  51. package/src/styles.css +128 -17
  52. package/src/elements/HawaTimeline.tsx +0 -84
@@ -1,7 +1,6 @@
1
1
  import React from "react";
2
2
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
3
3
  variant?: "contained" | "outlined";
4
- buttonID?: any;
5
4
  tooltipDirection?: "rtl" | "ltr";
6
5
  color?: "default" | "primary" | "secondary";
7
6
  width?: "full" | "normal" | "half";
@@ -10,7 +9,10 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
10
9
  tooltip?: string;
11
10
  tooltipSize?: "normal" | "small" | "large";
12
11
  tooltipPosition?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
12
+ startIcon?: any;
13
+ endIcon?: any;
13
14
  isLoading?: boolean;
15
+ badge?: any;
14
16
  }
15
- export declare function HawaButton({ className, variant, color, size, width, disabled, isLoading, tooltip, tooltipSize, tooltipPosition, tooltipDirection, margins, children, buttonID, ...props }: ButtonProps): JSX.Element;
17
+ export declare const HawaButton: React.FunctionComponent<ButtonProps>;
16
18
  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 {};
@@ -5,6 +5,7 @@ type CopyRightsTypes = {
5
5
  version?: string;
6
6
  credits?: string;
7
7
  logoURL?: string;
8
+ onLogoClicked?: any;
8
9
  };
9
10
  export declare const HawaCopyrights: React.FunctionComponent<CopyRightsTypes>;
10
11
  export {};
@@ -8,6 +8,7 @@ type PricingCardTypes = {
8
8
  title: string;
9
9
  price: number;
10
10
  texts: {
11
+ subtitle: string;
11
12
  buttonText: string;
12
13
  cycleText: string;
13
14
  currencyText: string;
@@ -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 = {
@@ -3,11 +3,11 @@ type TabsTypes = {
3
3
  options?: any;
4
4
  onChangeTab?: any;
5
5
  defaultValue?: any;
6
- contents?: any;
7
6
  orientation?: "horizontal" | "vertical";
8
7
  direction?: "rtl" | "ltr";
9
8
  marginBetween?: any;
10
9
  width?: "full" | "normal";
10
+ pill?: boolean;
11
11
  };
12
12
  export declare const HawaTabs: React.FunctionComponent<TabsTypes>;
13
13
  export {};
@@ -4,7 +4,6 @@ type THawaToolTip = {
4
4
  content?: string;
5
5
  btnHovered?: any;
6
6
  buttonRef?: any;
7
- buttonID?: any;
8
7
  direction?: "rtl" | "ltr";
9
8
  size?: "normal" | "small" | "large";
10
9
  position?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
@@ -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";