@epam/ai-dial-modulify-ui 0.40.0-rc.8 → 0.40.0

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.
Files changed (2) hide show
  1. package/index.esm.js +3 -2
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -10852,8 +10852,9 @@ class ComponentBuilder {
10852
10852
  return child;
10853
10853
  }
10854
10854
  const customizeId = child.props[DATA_CUSTOMIZE_ID];
10855
- if (customizeId && this.htmlReplacements[customizeId]) {
10856
- const replacedContent = this.htmlReplacements[customizeId](reactExports.cloneElement(child, {
10855
+ const htmlReplacements = this.htmlReplacements[customizeId];
10856
+ if (customizeId && htmlReplacements) {
10857
+ const replacedContent = htmlReplacements(reactExports.cloneElement(child, {
10857
10858
  [DATA_CUSTOMIZE_ID]: undefined,
10858
10859
  }), state, handlers);
10859
10860
  if (!reactExports.isValidElement(replacedContent)) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@epam/ai-dial-modulify-ui",
3
3
  "description": "Modulify Toolkit (UI) for turning a monolith-like project into a modular one",
4
4
  "homepage": "https://dialx.ai",
5
- "version": "0.40.0-rc.8",
5
+ "version": "0.40.0",
6
6
  "dependencies": {},
7
7
  "type": "module",
8
8
  "bugs": {