@stigg/react-sdk 5.28.2 → 5.28.3
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/react-sdk.cjs.development.js +10 -5
- package/dist/react-sdk.cjs.development.js.map +1 -1
- package/dist/react-sdk.cjs.production.min.js +1 -1
- package/dist/react-sdk.cjs.production.min.js.map +1 -1
- package/dist/react-sdk.esm.js +11 -6
- package/dist/react-sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/checkout/summary/components/CheckoutCaptions.tsx +6 -5
package/dist/react-sdk.esm.js
CHANGED
|
@@ -31,7 +31,7 @@ import Box from '@mui/material/Box';
|
|
|
31
31
|
import Tab from '@mui/material/Tab';
|
|
32
32
|
import isEmpty from 'lodash-es/isEmpty';
|
|
33
33
|
import Tabs from '@mui/material/Tabs';
|
|
34
|
-
import { useMediaQuery, IconButton } from '@mui/material';
|
|
34
|
+
import { useMediaQuery, Box as Box$1, IconButton } from '@mui/material';
|
|
35
35
|
import { ArrowDown, ExternalLink, Minus, Plus, ChevronRight } from 'react-feather';
|
|
36
36
|
import Link from '@mui/material/Link';
|
|
37
37
|
import Tooltip, { tooltipClasses } from '@mui/material/Tooltip';
|
|
@@ -3562,7 +3562,7 @@ function mapPaywallData(paywall, showOnlyEligiblePlans) {
|
|
|
3562
3562
|
};
|
|
3563
3563
|
}
|
|
3564
3564
|
|
|
3565
|
-
var version = "5.28.
|
|
3565
|
+
var version = "5.28.3";
|
|
3566
3566
|
var name = "@stigg/react-sdk";
|
|
3567
3567
|
|
|
3568
3568
|
var StiggContext = /*#__PURE__*/React__default.createContext(null);
|
|
@@ -12587,7 +12587,8 @@ var RemainingCreditsCaption = function RemainingCreditsCaption(_ref) {
|
|
|
12587
12587
|
variant: "body1",
|
|
12588
12588
|
style: {
|
|
12589
12589
|
marginTop: 14
|
|
12590
|
-
}
|
|
12590
|
+
},
|
|
12591
|
+
className: "stigg-checkout-summary-captions-remaining-credits"
|
|
12591
12592
|
}, React__default.createElement(WithSkeleton, {
|
|
12592
12593
|
isLoading: isFetchingSubscriptionPreview,
|
|
12593
12594
|
width: "100%"
|
|
@@ -12614,7 +12615,8 @@ var ScheduledUpdatesCaption = function ScheduledUpdatesCaption(_ref3) {
|
|
|
12614
12615
|
variant: "body1",
|
|
12615
12616
|
style: {
|
|
12616
12617
|
marginTop: 14
|
|
12617
|
-
}
|
|
12618
|
+
},
|
|
12619
|
+
className: "stigg-checkout-summary-captions-scheduled-updates"
|
|
12618
12620
|
}, React__default.createElement(WithSkeleton, {
|
|
12619
12621
|
isLoading: isFetchingSubscriptionPreview,
|
|
12620
12622
|
width: "100%"
|
|
@@ -12678,7 +12680,8 @@ var NextBillingCaption = function NextBillingCaption(_ref4) {
|
|
|
12678
12680
|
variant: "body1",
|
|
12679
12681
|
style: {
|
|
12680
12682
|
marginTop: 14
|
|
12681
|
-
}
|
|
12683
|
+
},
|
|
12684
|
+
className: "stigg-checkout-summary-captions-next-billing"
|
|
12682
12685
|
}, React__default.createElement(WithSkeleton, {
|
|
12683
12686
|
isLoading: isFetchingSubscriptionPreview,
|
|
12684
12687
|
width: "100%"
|
|
@@ -12686,7 +12689,9 @@ var NextBillingCaption = function NextBillingCaption(_ref4) {
|
|
|
12686
12689
|
};
|
|
12687
12690
|
|
|
12688
12691
|
function CheckoutCaptions(props) {
|
|
12689
|
-
return React__default.createElement(
|
|
12692
|
+
return React__default.createElement(Box$1, {
|
|
12693
|
+
className: "stigg-checkout-summary-captions"
|
|
12694
|
+
}, React__default.createElement(RemainingCreditsCaption, Object.assign({}, props)), React__default.createElement(ScheduledUpdatesCaption, Object.assign({}, props)), React__default.createElement(NextBillingCaption, Object.assign({}, props)));
|
|
12690
12695
|
}
|
|
12691
12696
|
|
|
12692
12697
|
function formatPricePerUnit(_ref) {
|