@sikka/hawa 0.0.209 → 0.0.211

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.
package/dist/styles.css CHANGED
@@ -2471,10 +2471,6 @@ body {
2471
2471
 
2472
2472
  @media (min-width: 640px) {
2473
2473
 
2474
- .sm\:p-8 {
2475
- padding: 2rem;
2476
- }
2477
-
2478
2474
  .sm\:after\:inline-block::after {
2479
2475
  content: var(--tw-content);
2480
2476
  display: inline-block;
@@ -1,7 +1,38 @@
1
1
  import React from "react";
2
2
  type ComparingPlansTypes = {
3
- plans: any;
4
- lang: 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
+ ];
21
+ currencies: [
22
+ {
23
+ label: string;
24
+ value: string;
25
+ }
26
+ ];
27
+ billingCycles: [
28
+ {
29
+ label: string;
30
+ value: string;
31
+ }
32
+ ];
33
+ onCycleChange?: (e: any) => void;
34
+ onCurrencyChange?: (e: any) => void;
35
+ direction?: "rtl" | "ltr";
5
36
  };
6
37
  export declare const ComparingPlans: React.FunctionComponent<ComparingPlansTypes>;
7
38
  export {};
@@ -30,6 +30,7 @@ type PricingPlansTypes = {
30
30
  value: string;
31
31
  }
32
32
  ];
33
+ onPlanClicked?: (e: any) => void;
33
34
  onCycleChange?: (e: any) => void;
34
35
  onCurrencyChange?: (e: any) => void;
35
36
  direction?: "rtl" | "ltr";
@@ -13,6 +13,7 @@ type PricingCardTypes = {
13
13
  cycleText: string;
14
14
  currencyText: string;
15
15
  };
16
+ onPlanClicked?: () => void;
16
17
  currentPlan?: boolean;
17
18
  size: "small" | "medium" | "large";
18
19
  };