@stigg/react-sdk 5.15.1 → 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 +2 -2
- package/src/components/common/mapExternalTheme.ts +2 -1
package/dist/react-sdk.esm.js
CHANGED
|
@@ -3235,7 +3235,7 @@ var LoggerService = /*#__PURE__*/function () {
|
|
|
3235
3235
|
|
|
3236
3236
|
var logger = /*#__PURE__*/new LoggerService();
|
|
3237
3237
|
|
|
3238
|
-
var version = "5.
|
|
3238
|
+
var version = "5.16.1";
|
|
3239
3239
|
var name = "@stigg/react-sdk";
|
|
3240
3240
|
|
|
3241
3241
|
var StiggContext = /*#__PURE__*/React__default.createContext(null);
|
|
@@ -3610,7 +3610,8 @@ function mapPaywallConfiguration(paywallConfiguration) {
|
|
|
3610
3610
|
}
|
|
3611
3611
|
function mapCheckoutConfiguration(configuration) {
|
|
3612
3612
|
var palette = configuration.palette,
|
|
3613
|
-
typography = configuration.typography
|
|
3613
|
+
typography = configuration.typography,
|
|
3614
|
+
customCss = configuration.customCss;
|
|
3614
3615
|
return {
|
|
3615
3616
|
palette: {
|
|
3616
3617
|
primary: (palette == null ? void 0 : palette.primary) || undefined,
|
|
@@ -3621,7 +3622,8 @@ function mapCheckoutConfiguration(configuration) {
|
|
|
3621
3622
|
},
|
|
3622
3623
|
backgroundHighlight: (palette == null ? void 0 : palette.summaryBackgroundColor) || undefined
|
|
3623
3624
|
},
|
|
3624
|
-
typography: mapTypography(typography, defaultCheckoutTypography)
|
|
3625
|
+
typography: mapTypography(typography, defaultCheckoutTypography),
|
|
3626
|
+
customCss: customCss || undefined
|
|
3625
3627
|
};
|
|
3626
3628
|
}
|
|
3627
3629
|
|