@makeswift/runtime 0.11.12 → 0.11.14
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/index.cjs.js +6 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +6 -4
- package/dist/index.es.js.map +1 -1
- package/dist/react-page.cjs.js +1 -1
- package/dist/react-page.cjs.js.map +1 -1
- package/dist/react-page.es.js +1 -1
- package/dist/react-page.es.js.map +1 -1
- package/dist/types/src/controls/__tests__/fixtures/shape.d.ts +15 -0
- package/dist/types/src/controls/__tests__/fixtures/shape.d.ts.map +1 -0
- package/dist/types/src/controls/__tests__/translation.test.d.ts +2 -0
- package/dist/types/src/controls/__tests__/translation.test.d.ts.map +1 -0
- package/dist/types/src/next/client.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/react-page.es.js
CHANGED
|
@@ -1152,7 +1152,7 @@ function getShapeTranslatableData(definition2, data) {
|
|
|
1152
1152
|
function mergeShapeTranslatedData(definition2, data, translatedData, context) {
|
|
1153
1153
|
return Object.fromEntries(Object.entries(definition2.config.type).map(([key, definition22]) => [
|
|
1154
1154
|
key,
|
|
1155
|
-
mergeTranslatedData(definition22, data
|
|
1155
|
+
mergeTranslatedData(definition22, data[key], translatedData[key], context)
|
|
1156
1156
|
]));
|
|
1157
1157
|
}
|
|
1158
1158
|
const TextAreaControlType = "makeswift::controls::text-area";
|