@sikka/hawa 0.19.13-next → 0.19.14-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.js CHANGED
@@ -10950,7 +10950,6 @@ var PricingPlans = ({
10950
10950
  defaultValue: props.currentCurrency,
10951
10951
  options: props.currencies,
10952
10952
  onChangeTab: (e) => {
10953
- console.log("on change tab", e);
10954
10953
  if (props.onCurrencyChange) {
10955
10954
  props.onCurrencyChange(e);
10956
10955
  }
@@ -10963,7 +10962,7 @@ var PricingPlans = ({
10963
10962
  ...cardsContainerProps
10964
10963
  },
10965
10964
  props.plans.map((plan, index) => {
10966
- var _a, _b;
10965
+ var _a, _b, _c, _d;
10967
10966
  return /* @__PURE__ */ import_react67.default.createElement(
10968
10967
  PricingCard,
10969
10968
  {
@@ -10981,10 +10980,11 @@ var PricingPlans = ({
10981
10980
  }
10982
10981
  },
10983
10982
  ...plan,
10983
+ price: plan.price[(_a = props.currentCurrency) == null ? void 0 : _a.value][(_b = props.currentCycle) == null ? void 0 : _b.value],
10984
10984
  texts: {
10985
10985
  ...plan.texts,
10986
- currencyText: (_a = props.currentCurrency) == null ? void 0 : _a.label,
10987
- cycleText: (_b = props.currentCycle) == null ? void 0 : _b.label
10986
+ currencyText: (_c = props.currentCurrency) == null ? void 0 : _c.label,
10987
+ cycleText: (_d = props.currentCycle) == null ? void 0 : _d.label
10988
10988
  }
10989
10989
  }
10990
10990
  );
package/dist/index.mjs CHANGED
@@ -10734,7 +10734,6 @@ var PricingPlans = ({
10734
10734
  defaultValue: props.currentCurrency,
10735
10735
  options: props.currencies,
10736
10736
  onChangeTab: (e) => {
10737
- console.log("on change tab", e);
10738
10737
  if (props.onCurrencyChange) {
10739
10738
  props.onCurrencyChange(e);
10740
10739
  }
@@ -10747,7 +10746,7 @@ var PricingPlans = ({
10747
10746
  ...cardsContainerProps
10748
10747
  },
10749
10748
  props.plans.map((plan, index) => {
10750
- var _a, _b;
10749
+ var _a, _b, _c, _d;
10751
10750
  return /* @__PURE__ */ React94.createElement(
10752
10751
  PricingCard,
10753
10752
  {
@@ -10765,10 +10764,11 @@ var PricingPlans = ({
10765
10764
  }
10766
10765
  },
10767
10766
  ...plan,
10767
+ price: plan.price[(_a = props.currentCurrency) == null ? void 0 : _a.value][(_b = props.currentCycle) == null ? void 0 : _b.value],
10768
10768
  texts: {
10769
10769
  ...plan.texts,
10770
- currencyText: (_a = props.currentCurrency) == null ? void 0 : _a.label,
10771
- cycleText: (_b = props.currentCycle) == null ? void 0 : _b.label
10770
+ currencyText: (_c = props.currentCurrency) == null ? void 0 : _c.label,
10771
+ cycleText: (_d = props.currentCycle) == null ? void 0 : _d.label
10772
10772
  }
10773
10773
  }
10774
10774
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.19.13-next",
3
+ "version": "0.19.14-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",