idmission-web-sdk 2.3.142 → 2.3.144
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/sdk2.cjs.development.js +4 -3
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +4 -3
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +4 -3
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/themes/index.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -235,7 +235,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
235
235
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
236
236
|
};
|
|
237
237
|
|
|
238
|
-
var webSdkVersion = '2.3.
|
|
238
|
+
var webSdkVersion = '2.3.144';
|
|
239
239
|
|
|
240
240
|
function getPlatform() {
|
|
241
241
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -17899,9 +17899,10 @@ var resolveTheme = function resolveTheme(input) {
|
|
|
17899
17899
|
var ThemeProvider = function ThemeProvider(_a) {
|
|
17900
17900
|
var children = _a.children,
|
|
17901
17901
|
themeInput = _a.theme;
|
|
17902
|
+
var themeRef = React.useState(themeInput)[0];
|
|
17902
17903
|
var theme = React.useMemo(function () {
|
|
17903
|
-
return resolveTheme(
|
|
17904
|
-
}, [
|
|
17904
|
+
return resolveTheme(themeRef);
|
|
17905
|
+
}, [themeRef]);
|
|
17905
17906
|
var colors = theme.colors;
|
|
17906
17907
|
React.useEffect(function () {
|
|
17907
17908
|
for (var name_1 in colors) {
|