@sikka/hawa 0.19.20-next → 0.19.21-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 +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11078,7 +11078,7 @@ var PricingPlans = ({
|
|
|
11078
11078
|
...cardsContainerProps
|
|
11079
11079
|
},
|
|
11080
11080
|
props.plans.map((plan, index) => {
|
|
11081
|
-
var _a, _b
|
|
11081
|
+
var _a, _b;
|
|
11082
11082
|
return /* @__PURE__ */ import_react67.default.createElement(
|
|
11083
11083
|
PricingCard,
|
|
11084
11084
|
{
|
|
@@ -11096,11 +11096,11 @@ var PricingPlans = ({
|
|
|
11096
11096
|
}
|
|
11097
11097
|
},
|
|
11098
11098
|
...plan,
|
|
11099
|
-
price: plan.price
|
|
11099
|
+
price: plan.price,
|
|
11100
11100
|
texts: {
|
|
11101
11101
|
...plan.texts,
|
|
11102
|
-
currencyText: (
|
|
11103
|
-
cycleText: (
|
|
11102
|
+
currencyText: (_a = props.currentCurrency) == null ? void 0 : _a.label,
|
|
11103
|
+
cycleText: (_b = props.currentCycle) == null ? void 0 : _b.label
|
|
11104
11104
|
}
|
|
11105
11105
|
}
|
|
11106
11106
|
);
|
|
@@ -11113,7 +11113,7 @@ var import_react68 = __toESM(require("react"));
|
|
|
11113
11113
|
var ComparingPlans = (props) => {
|
|
11114
11114
|
var _a;
|
|
11115
11115
|
const [currentCurrency, setCurrentCurrency] = (0, import_react68.useState)("sar");
|
|
11116
|
-
const [currentCycle, setCurrentCycle] = (0, import_react68.useState)("
|
|
11116
|
+
const [currentCycle, setCurrentCycle] = (0, import_react68.useState)("monthly");
|
|
11117
11117
|
return /* @__PURE__ */ import_react68.default.createElement("div", { id: "detailed-pricing", className: "hawa-w-full hawa-overflow-x-auto" }, /* @__PURE__ */ import_react68.default.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-justify-between" }, /* @__PURE__ */ import_react68.default.createElement(
|
|
11118
11118
|
Radio,
|
|
11119
11119
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -10862,7 +10862,7 @@ var PricingPlans = ({
|
|
|
10862
10862
|
...cardsContainerProps
|
|
10863
10863
|
},
|
|
10864
10864
|
props.plans.map((plan, index) => {
|
|
10865
|
-
var _a, _b
|
|
10865
|
+
var _a, _b;
|
|
10866
10866
|
return /* @__PURE__ */ React94.createElement(
|
|
10867
10867
|
PricingCard,
|
|
10868
10868
|
{
|
|
@@ -10880,11 +10880,11 @@ var PricingPlans = ({
|
|
|
10880
10880
|
}
|
|
10881
10881
|
},
|
|
10882
10882
|
...plan,
|
|
10883
|
-
price: plan.price
|
|
10883
|
+
price: plan.price,
|
|
10884
10884
|
texts: {
|
|
10885
10885
|
...plan.texts,
|
|
10886
|
-
currencyText: (
|
|
10887
|
-
cycleText: (
|
|
10886
|
+
currencyText: (_a = props.currentCurrency) == null ? void 0 : _a.label,
|
|
10887
|
+
cycleText: (_b = props.currentCycle) == null ? void 0 : _b.label
|
|
10888
10888
|
}
|
|
10889
10889
|
}
|
|
10890
10890
|
);
|
|
@@ -10897,7 +10897,7 @@ import React95, { useState as useState36 } from "react";
|
|
|
10897
10897
|
var ComparingPlans = (props) => {
|
|
10898
10898
|
var _a;
|
|
10899
10899
|
const [currentCurrency, setCurrentCurrency] = useState36("sar");
|
|
10900
|
-
const [currentCycle, setCurrentCycle] = useState36("
|
|
10900
|
+
const [currentCycle, setCurrentCycle] = useState36("monthly");
|
|
10901
10901
|
return /* @__PURE__ */ React95.createElement("div", { id: "detailed-pricing", className: "hawa-w-full hawa-overflow-x-auto" }, /* @__PURE__ */ React95.createElement("div", { className: "hawa-mb-2 hawa-flex hawa-w-full hawa-justify-between" }, /* @__PURE__ */ React95.createElement(
|
|
10902
10902
|
Radio,
|
|
10903
10903
|
{
|