@sikka/hawa 0.19.19-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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -7
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -11051,7 +11051,7 @@ var PricingPlans = ({
|
|
|
11051
11051
|
Radio,
|
|
11052
11052
|
{
|
|
11053
11053
|
design: "tabs",
|
|
11054
|
-
defaultValue: props.currentCycle,
|
|
11054
|
+
defaultValue: props.currentCycle.value,
|
|
11055
11055
|
options: props.billingCycles,
|
|
11056
11056
|
onChangeTab: (e) => {
|
|
11057
11057
|
if (props.onCycleChange) {
|
|
@@ -11063,7 +11063,7 @@ var PricingPlans = ({
|
|
|
11063
11063
|
Radio,
|
|
11064
11064
|
{
|
|
11065
11065
|
design: "tabs",
|
|
11066
|
-
defaultValue: props.currentCurrency,
|
|
11066
|
+
defaultValue: props.currentCurrency.value,
|
|
11067
11067
|
options: props.currencies,
|
|
11068
11068
|
onChangeTab: (e) => {
|
|
11069
11069
|
if (props.onCurrencyChange) {
|
|
@@ -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
|
@@ -10835,7 +10835,7 @@ var PricingPlans = ({
|
|
|
10835
10835
|
Radio,
|
|
10836
10836
|
{
|
|
10837
10837
|
design: "tabs",
|
|
10838
|
-
defaultValue: props.currentCycle,
|
|
10838
|
+
defaultValue: props.currentCycle.value,
|
|
10839
10839
|
options: props.billingCycles,
|
|
10840
10840
|
onChangeTab: (e) => {
|
|
10841
10841
|
if (props.onCycleChange) {
|
|
@@ -10847,7 +10847,7 @@ var PricingPlans = ({
|
|
|
10847
10847
|
Radio,
|
|
10848
10848
|
{
|
|
10849
10849
|
design: "tabs",
|
|
10850
|
-
defaultValue: props.currentCurrency,
|
|
10850
|
+
defaultValue: props.currentCurrency.value,
|
|
10851
10851
|
options: props.currencies,
|
|
10852
10852
|
onChangeTab: (e) => {
|
|
10853
10853
|
if (props.onCurrencyChange) {
|
|
@@ -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
|
{
|