idmission-web-sdk 2.3.142 → 2.3.143
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
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
212
212
|
};
|
|
213
213
|
|
|
214
|
-
var webSdkVersion = '2.3.
|
|
214
|
+
var webSdkVersion = '2.3.143';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -27774,9 +27774,10 @@
|
|
|
27774
27774
|
var ThemeProvider = function ThemeProvider(_a) {
|
|
27775
27775
|
var children = _a.children,
|
|
27776
27776
|
themeInput = _a.theme;
|
|
27777
|
+
var themeRef = React.useState(themeInput)[0];
|
|
27777
27778
|
var theme = React.useMemo(function () {
|
|
27778
|
-
return resolveTheme(
|
|
27779
|
-
}, [
|
|
27779
|
+
return resolveTheme(themeRef);
|
|
27780
|
+
}, [themeRef]);
|
|
27780
27781
|
var colors = theme.colors;
|
|
27781
27782
|
React.useEffect(function () {
|
|
27782
27783
|
for (var name_1 in colors) {
|