cx 26.3.1 → 26.3.3

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/widgets.js CHANGED
@@ -3340,13 +3340,13 @@ class OverlayBeacon extends VDOM.Component {
3340
3340
  display: "none",
3341
3341
  },
3342
3342
  }),
3343
- this.state?.children,
3343
+ this.el && this.props.childrenFactory(this.el),
3344
3344
  ],
3345
3345
  });
3346
3346
  }
3347
3347
  componentDidMount() {
3348
3348
  this.setState({
3349
- children: this.props.childrenFactory(this.el),
3349
+ beaconRendered: true,
3350
3350
  });
3351
3351
  }
3352
3352
  }
@@ -4255,11 +4255,11 @@ class Window extends OverlayBase {
4255
4255
  render(context, instance, key) {
4256
4256
  var header = this.renderHeader(context, instance, "header");
4257
4257
  var footer = this.renderFooter(context, instance, "footer");
4258
- return jsx(OverlayBeacon, {
4259
- childrenFactory: (beaconEl) =>
4260
- jsx(
4261
- WindowComponent,
4262
- {
4258
+ return jsx(
4259
+ OverlayBeacon,
4260
+ {
4261
+ childrenFactory: (beaconEl) =>
4262
+ jsx(WindowComponent, {
4263
4263
  beaconEl: beaconEl,
4264
4264
  instance: instance,
4265
4265
  header: header,
@@ -4267,10 +4267,10 @@ class Window extends OverlayBase {
4267
4267
  subscribeToBeforeDismiss: context.options.subscribeToBeforeDismiss,
4268
4268
  parentEl: context.options.parentEl,
4269
4269
  children: this.renderContents(context, instance),
4270
- },
4271
- key,
4272
- ),
4273
- });
4270
+ }),
4271
+ },
4272
+ key,
4273
+ );
4274
4274
  }
4275
4275
  }
4276
4276
  Window.prototype.baseClass = "window";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cx",
3
- "version": "26.3.1",
3
+ "version": "26.3.3",
4
4
  "description": "Advanced JavaScript UI framework for admin and dashboard applications with ready to use grid, form and chart components.",
5
5
  "exports": {
6
6
  "./data": {