@stigg/react-sdk 5.16.0 → 5.16.1
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 +5 -3
- 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 +5 -3
- package/dist/react-sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/common/mapExternalTheme.ts +2 -1
|
@@ -3098,7 +3098,7 @@ var LoggerService = /*#__PURE__*/function () {
|
|
|
3098
3098
|
|
|
3099
3099
|
var logger = /*#__PURE__*/new LoggerService();
|
|
3100
3100
|
|
|
3101
|
-
var version = "5.16.
|
|
3101
|
+
var version = "5.16.1";
|
|
3102
3102
|
var name = "@stigg/react-sdk";
|
|
3103
3103
|
|
|
3104
3104
|
var StiggContext = /*#__PURE__*/React__default.createContext(null);
|
|
@@ -3473,7 +3473,8 @@ function mapPaywallConfiguration(paywallConfiguration) {
|
|
|
3473
3473
|
}
|
|
3474
3474
|
function mapCheckoutConfiguration(configuration) {
|
|
3475
3475
|
var palette = configuration.palette,
|
|
3476
|
-
typography = configuration.typography
|
|
3476
|
+
typography = configuration.typography,
|
|
3477
|
+
customCss = configuration.customCss;
|
|
3477
3478
|
return {
|
|
3478
3479
|
palette: {
|
|
3479
3480
|
primary: (palette == null ? void 0 : palette.primary) || undefined,
|
|
@@ -3484,7 +3485,8 @@ function mapCheckoutConfiguration(configuration) {
|
|
|
3484
3485
|
},
|
|
3485
3486
|
backgroundHighlight: (palette == null ? void 0 : palette.summaryBackgroundColor) || undefined
|
|
3486
3487
|
},
|
|
3487
|
-
typography: mapTypography(typography, defaultCheckoutTypography)
|
|
3488
|
+
typography: mapTypography(typography, defaultCheckoutTypography),
|
|
3489
|
+
customCss: customCss || undefined
|
|
3488
3490
|
};
|
|
3489
3491
|
}
|
|
3490
3492
|
|