@amplifyup/sdk 0.1.36 → 0.1.38
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/AmplifyRenderer.js +32 -5
- package/dist/AmplifyRenderer.js.map +1 -1
- package/dist/AmplifyRenderer.mjs +32 -5
- package/dist/AmplifyRenderer.mjs.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/dist/react.js +32 -5
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +32 -5
- package/dist/react.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1982,6 +1982,12 @@ Available Console Commands:
|
|
|
1982
1982
|
);
|
|
1983
1983
|
return;
|
|
1984
1984
|
}
|
|
1985
|
+
if (event.data?.type === "AMPLIFYUP_PROPS_PATCH") {
|
|
1986
|
+
window.dispatchEvent(
|
|
1987
|
+
new CustomEvent("amplifyup:props-patch", { detail: event.data })
|
|
1988
|
+
);
|
|
1989
|
+
return;
|
|
1990
|
+
}
|
|
1985
1991
|
if (event.data?.type === "COMPONENT_DELETABLE_STATUS") {
|
|
1986
1992
|
const { componentId, deletable, nodeId } = event.data;
|
|
1987
1993
|
const element = document.querySelector(`[data-component-id="${componentId}"]`);
|