@sikka/hawa 0.0.206 → 0.0.208

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 +4 -21
  2. package/es/blocks/Pricing/PricingPlans.d.ts +18 -1
  3. package/es/elements/HawaButton.d.ts +0 -1
  4. package/es/elements/HawaCopyrights.d.ts +1 -0
  5. package/es/elements/HawaPricingCard.d.ts +3 -2
  6. package/es/elements/HawaTabs.d.ts +1 -1
  7. package/es/elements/HawaTooltip.d.ts +0 -1
  8. package/es/index.es.js +1 -1
  9. package/lib/blocks/Pricing/PricingPlans.d.ts +18 -1
  10. package/lib/elements/HawaButton.d.ts +0 -1
  11. package/lib/elements/HawaCopyrights.d.ts +1 -0
  12. package/lib/elements/HawaPricingCard.d.ts +3 -2
  13. package/lib/elements/HawaTabs.d.ts +1 -1
  14. package/lib/elements/HawaTooltip.d.ts +0 -1
  15. package/lib/index.js +1 -1
  16. package/package.json +1 -2
  17. package/src/blocks/Pricing/ComparingPlans.tsx +0 -1
  18. package/src/blocks/Pricing/PricingPlans.tsx +34 -28
  19. package/src/blocks/Referral/ReferralAccount.tsx +0 -2
  20. package/src/elements/Breadcrumb.tsx +0 -1
  21. package/src/elements/HawaAccordion.tsx +0 -1
  22. package/src/elements/HawaButton.tsx +1 -7
  23. package/src/elements/HawaCheckbox.tsx +0 -1
  24. package/src/elements/HawaChip.tsx +0 -2
  25. package/src/elements/HawaCopyrights.tsx +5 -10
  26. package/src/elements/HawaDrawer.tsx +1 -1
  27. package/src/elements/HawaItemCard.tsx +0 -12
  28. package/src/elements/HawaMenu.tsx +2 -15
  29. package/src/elements/HawaPhoneInput.tsx +0 -1
  30. package/src/elements/HawaPricingCard.tsx +57 -100
  31. package/src/elements/HawaTable.tsx +1 -1
  32. package/src/elements/HawaTabs.tsx +10 -16
  33. package/src/elements/HawaTextField.tsx +0 -2
  34. package/src/elements/HawaTooltip.tsx +0 -1
  35. package/src/elements/InvoiceAccordion.tsx +2 -7
  36. package/src/elements/TabPanel.tsx +0 -13
  37. package/src/styles.css +4 -21
package/dist/styles.css CHANGED
@@ -584,9 +584,6 @@ video {
584
584
  .bottom-4 {
585
585
  bottom: 1rem;
586
586
  }
587
- .bottom-8 {
588
- bottom: 2rem;
589
- }
590
587
  .left-0 {
591
588
  left: 0px;
592
589
  }
@@ -632,9 +629,6 @@ video {
632
629
  .top-4 {
633
630
  top: 1rem;
634
631
  }
635
- .top-8 {
636
- top: 2rem;
637
- }
638
632
  .top-auto {
639
633
  top: auto;
640
634
  }
@@ -693,10 +687,6 @@ video {
693
687
  margin-top: 1rem;
694
688
  margin-bottom: 1rem;
695
689
  }
696
- .my-7 {
697
- margin-top: 1.75rem;
698
- margin-bottom: 1.75rem;
699
- }
700
690
  .-mb-px {
701
691
  margin-bottom: -1px;
702
692
  }
@@ -808,9 +798,6 @@ video {
808
798
  .grid {
809
799
  display: grid;
810
800
  }
811
- .contents {
812
- display: contents;
813
- }
814
801
  .hidden {
815
802
  display: none;
816
803
  }
@@ -890,10 +877,6 @@ video {
890
877
  .h-full {
891
878
  height: 100%;
892
879
  }
893
- .h-max {
894
- height: -moz-max-content;
895
- height: max-content;
896
- }
897
880
  .h-screen {
898
881
  height: 100vh;
899
882
  }
@@ -983,6 +966,10 @@ video {
983
966
  .min-w-\[24px\] {
984
967
  min-width: 24px;
985
968
  }
969
+ .min-w-fit {
970
+ min-width: -moz-fit-content;
971
+ min-width: fit-content;
972
+ }
986
973
  .min-w-full {
987
974
  min-width: 100%;
988
975
  }
@@ -1427,10 +1414,6 @@ video {
1427
1414
  --tw-border-opacity: 1;
1428
1415
  border-top-color: rgb(255 255 255 / var(--tw-border-opacity));
1429
1416
  }
1430
- .bg-\[\#c92424\] {
1431
- --tw-bg-opacity: 1;
1432
- background-color: rgb(201 36 36 / var(--tw-bg-opacity));
1433
- }
1434
1417
  .bg-blue-100 {
1435
1418
  --tw-bg-opacity: 1;
1436
1419
  background-color: rgb(219 234 254 / var(--tw-bg-opacity));
@@ -1,6 +1,23 @@
1
1
  import React from "react";
2
2
  type PricingPlansTypes = {
3
- plans: any;
3
+ plans: [
4
+ {
5
+ direction: "rtl" | "ltr";
6
+ features: [{
7
+ included: boolean;
8
+ text: string;
9
+ }];
10
+ price: number;
11
+ texts: {
12
+ title: string;
13
+ subtitle: string;
14
+ buttonText: string;
15
+ cycleText: string;
16
+ currencyText: string;
17
+ };
18
+ size: "small" | "medium" | "large";
19
+ }
20
+ ];
4
21
  lang: any;
5
22
  };
6
23
  export declare const PricingPlans: React.FunctionComponent<PricingPlansTypes>;
@@ -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";
@@ -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 {};
@@ -1,13 +1,14 @@
1
1
  import React from "react";
2
2
  type PricingCardTypes = {
3
- lang: "ar" | "en";
3
+ direction?: "rtl" | "ltr";
4
4
  features: [{
5
5
  included: boolean;
6
6
  text: string;
7
7
  }];
8
- title: string;
9
8
  price: number;
10
9
  texts: {
10
+ title: string;
11
+ subtitle: string;
11
12
  buttonText: string;
12
13
  cycleText: string;
13
14
  currencyText: string;
@@ -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";