@sanity/ui 3.5.0 → 3.5.2
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/_chunks/getScopedTheme.cjs +1 -1
- package/dist/_chunks/getScopedTheme.cjs.map +1 -1
- package/dist/_chunks/getScopedTheme.js +1 -1
- package/dist/_chunks/getScopedTheme.js.map +1 -1
- package/dist/_chunks/portalProvider.cjs +83 -80
- package/dist/_chunks/portalProvider.cjs.map +1 -1
- package/dist/_chunks/portalProvider.d.cts.map +1 -1
- package/dist/_chunks/portalProvider.d.ts.map +1 -1
- package/dist/_chunks/portalProvider.js +82 -79
- package/dist/_chunks/portalProvider.js.map +1 -1
- package/dist/_chunks/refractor.cjs.map +1 -1
- package/dist/index.cjs +19 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -15
- package/dist/index.js.map +1 -1
- package/dist/theme.cjs.map +1 -1
- package/dist/theme.js.map +1 -1
- package/package.json +9 -9
|
@@ -1285,7 +1285,7 @@ function merge(...records) {
|
|
|
1285
1285
|
function _merge(acc, source) {
|
|
1286
1286
|
for (let key of Object.keys(source)) {
|
|
1287
1287
|
let prevValue = acc[key], nextValue = source[key];
|
|
1288
|
-
isRecord(prevValue) && isRecord(nextValue) ?
|
|
1288
|
+
acc[key] = isRecord(prevValue) && isRecord(nextValue) ? merge(prevValue, nextValue) : nextValue;
|
|
1289
1289
|
}
|
|
1290
1290
|
return acc;
|
|
1291
1291
|
}
|