@sikka/hawa 0.19.8-next → 0.19.9-next

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/index.d.mts CHANGED
@@ -1673,10 +1673,10 @@ type PricingPlansTypes = {
1673
1673
  plans: {
1674
1674
  id: any;
1675
1675
  direction: DirectionType;
1676
- features: [{
1676
+ features: {
1677
1677
  included: boolean;
1678
1678
  text: string;
1679
- }];
1679
+ }[];
1680
1680
  price: number;
1681
1681
  size: "small" | "medium" | "large";
1682
1682
  texts: {
@@ -1695,7 +1695,6 @@ type PricingPlansTypes = {
1695
1695
  label: string;
1696
1696
  value: string;
1697
1697
  }[];
1698
- onPlanClicked?: (e: any) => void;
1699
1698
  currentCycle: {
1700
1699
  label: string;
1701
1700
  value: string;
@@ -1704,6 +1703,7 @@ type PricingPlansTypes = {
1704
1703
  label: string;
1705
1704
  value: string;
1706
1705
  };
1706
+ onPlanClicked?: (e: any) => void;
1707
1707
  onCycleChange?: (e: any) => void;
1708
1708
  onCurrencyChange?: (e: any) => void;
1709
1709
  direction?: DirectionType;
package/dist/index.d.ts CHANGED
@@ -1673,10 +1673,10 @@ type PricingPlansTypes = {
1673
1673
  plans: {
1674
1674
  id: any;
1675
1675
  direction: DirectionType;
1676
- features: [{
1676
+ features: {
1677
1677
  included: boolean;
1678
1678
  text: string;
1679
- }];
1679
+ }[];
1680
1680
  price: number;
1681
1681
  size: "small" | "medium" | "large";
1682
1682
  texts: {
@@ -1695,7 +1695,6 @@ type PricingPlansTypes = {
1695
1695
  label: string;
1696
1696
  value: string;
1697
1697
  }[];
1698
- onPlanClicked?: (e: any) => void;
1699
1698
  currentCycle: {
1700
1699
  label: string;
1701
1700
  value: string;
@@ -1704,6 +1703,7 @@ type PricingPlansTypes = {
1704
1703
  label: string;
1705
1704
  value: string;
1706
1705
  };
1706
+ onPlanClicked?: (e: any) => void;
1707
1707
  onCycleChange?: (e: any) => void;
1708
1708
  onCurrencyChange?: (e: any) => void;
1709
1709
  direction?: DirectionType;
package/dist/index.js CHANGED
@@ -10951,9 +10951,10 @@ var PricingPlans = (props) => {
10951
10951
  onPlanClicked: () => {
10952
10952
  if (props.onPlanClicked) {
10953
10953
  let clickedData = {
10954
- plan: plan.id,
10954
+ // plan: plan.id,
10955
10955
  currency: props.currentCurrency,
10956
- cycle: props.currentCycle
10956
+ cycle: props.currentCycle,
10957
+ ...plan
10957
10958
  };
10958
10959
  props.onPlanClicked(clickedData);
10959
10960
  }
package/dist/index.mjs CHANGED
@@ -10735,9 +10735,10 @@ var PricingPlans = (props) => {
10735
10735
  onPlanClicked: () => {
10736
10736
  if (props.onPlanClicked) {
10737
10737
  let clickedData = {
10738
- plan: plan.id,
10738
+ // plan: plan.id,
10739
10739
  currency: props.currentCurrency,
10740
- cycle: props.currentCycle
10740
+ cycle: props.currentCycle,
10741
+ ...plan
10741
10742
  };
10742
10743
  props.onPlanClicked(clickedData);
10743
10744
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.19.8-next",
3
+ "version": "0.19.9-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",