@sikka/hawa 0.7.11 → 0.7.12-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 +25 -30
- package/dist/index.d.ts +25 -30
- package/dist/index.js +6 -1
- package/dist/index.mjs +6 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1200,36 +1200,31 @@ type TNoPermission = {
|
|
|
1200
1200
|
declare const NoPermission: FC<TNoPermission>;
|
|
1201
1201
|
|
|
1202
1202
|
type PricingPlansTypes = {
|
|
1203
|
-
plans:
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
{
|
|
1229
|
-
label: string;
|
|
1230
|
-
value: string;
|
|
1231
|
-
}
|
|
1232
|
-
];
|
|
1203
|
+
plans: {
|
|
1204
|
+
id: any;
|
|
1205
|
+
direction: "rtl" | "ltr";
|
|
1206
|
+
features: [{
|
|
1207
|
+
included: boolean;
|
|
1208
|
+
text: string;
|
|
1209
|
+
}];
|
|
1210
|
+
price: number;
|
|
1211
|
+
size: "small" | "medium" | "large";
|
|
1212
|
+
texts: {
|
|
1213
|
+
title: string;
|
|
1214
|
+
subtitle: string;
|
|
1215
|
+
buttonText: string;
|
|
1216
|
+
cycleText: string;
|
|
1217
|
+
currencyText: string;
|
|
1218
|
+
};
|
|
1219
|
+
}[];
|
|
1220
|
+
currencies: {
|
|
1221
|
+
label: string;
|
|
1222
|
+
value: string;
|
|
1223
|
+
}[];
|
|
1224
|
+
billingCycles: {
|
|
1225
|
+
label: string;
|
|
1226
|
+
value: string;
|
|
1227
|
+
}[];
|
|
1233
1228
|
onPlanClicked?: (e: any) => void;
|
|
1234
1229
|
currentCycle: {
|
|
1235
1230
|
label: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1200,36 +1200,31 @@ type TNoPermission = {
|
|
|
1200
1200
|
declare const NoPermission: FC<TNoPermission>;
|
|
1201
1201
|
|
|
1202
1202
|
type PricingPlansTypes = {
|
|
1203
|
-
plans:
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
{
|
|
1229
|
-
label: string;
|
|
1230
|
-
value: string;
|
|
1231
|
-
}
|
|
1232
|
-
];
|
|
1203
|
+
plans: {
|
|
1204
|
+
id: any;
|
|
1205
|
+
direction: "rtl" | "ltr";
|
|
1206
|
+
features: [{
|
|
1207
|
+
included: boolean;
|
|
1208
|
+
text: string;
|
|
1209
|
+
}];
|
|
1210
|
+
price: number;
|
|
1211
|
+
size: "small" | "medium" | "large";
|
|
1212
|
+
texts: {
|
|
1213
|
+
title: string;
|
|
1214
|
+
subtitle: string;
|
|
1215
|
+
buttonText: string;
|
|
1216
|
+
cycleText: string;
|
|
1217
|
+
currencyText: string;
|
|
1218
|
+
};
|
|
1219
|
+
}[];
|
|
1220
|
+
currencies: {
|
|
1221
|
+
label: string;
|
|
1222
|
+
value: string;
|
|
1223
|
+
}[];
|
|
1224
|
+
billingCycles: {
|
|
1225
|
+
label: string;
|
|
1226
|
+
value: string;
|
|
1227
|
+
}[];
|
|
1233
1228
|
onPlanClicked?: (e: any) => void;
|
|
1234
1229
|
currentCycle: {
|
|
1235
1230
|
label: string;
|
package/dist/index.js
CHANGED
|
@@ -8101,7 +8101,12 @@ var PricingPlans = function(props) {
|
|
|
8101
8101
|
key: index,
|
|
8102
8102
|
onPlanClicked: function() {
|
|
8103
8103
|
if (props.onPlanClicked) {
|
|
8104
|
-
|
|
8104
|
+
var clickedData = {
|
|
8105
|
+
plan: plan.id,
|
|
8106
|
+
currency: props.currentCurrency,
|
|
8107
|
+
cycle: props.currentCycle
|
|
8108
|
+
};
|
|
8109
|
+
props.onPlanClicked(clickedData);
|
|
8105
8110
|
}
|
|
8106
8111
|
}
|
|
8107
8112
|
}, plan), {
|
package/dist/index.mjs
CHANGED
|
@@ -7924,7 +7924,12 @@ var PricingPlans = (props) => {
|
|
|
7924
7924
|
key: index,
|
|
7925
7925
|
onPlanClicked: () => {
|
|
7926
7926
|
if (props.onPlanClicked) {
|
|
7927
|
-
|
|
7927
|
+
let clickedData = {
|
|
7928
|
+
plan: plan.id,
|
|
7929
|
+
currency: props.currentCurrency,
|
|
7930
|
+
cycle: props.currentCycle
|
|
7931
|
+
};
|
|
7932
|
+
props.onPlanClicked(clickedData);
|
|
7928
7933
|
}
|
|
7929
7934
|
},
|
|
7930
7935
|
...plan,
|
package/package.json
CHANGED