@vitrosoftware/common-ui-ts 1.1.200 → 1.1.202

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.js CHANGED
@@ -22388,9 +22388,10 @@ var MicroFrontend = React.forwardRef(function (props, ref) {
22388
22388
  var renderMicroFrontend = function renderMicroFrontend() {
22389
22389
  if (rootRef != null && rootRef.current != null) {
22390
22390
  var rendererName = "render" + props.name;
22391
- props.data.containerId = id;
22392
- if (!id) {
22393
- var containerId = getId(rootRef.current);
22391
+ if (props.data.containerId) {
22392
+ setId(props.data.containerId);
22393
+ } else {
22394
+ var containerId = id ? id : getId(rootRef.current);
22394
22395
  setId(containerId);
22395
22396
  props.data.containerId = containerId;
22396
22397
  }
@@ -61218,15 +61219,13 @@ var DialogFooter = function DialogFooter(props) {
61218
61219
  onClick: props.onClose,
61219
61220
  className: styles$l['vitro-button']
61220
61221
  }), (_props$buttonList2 = props.buttonList) !== null && _props$buttonList2 !== void 0 && _props$buttonList2.length ? props.buttonList.map(function (button) {
61221
- return React__default.createElement(Button$2, {
61222
- text: button.text,
61222
+ return React__default.createElement(Button$2, Object.assign({}, button, {
61223
61223
  onClick: function onClick() {
61224
61224
  var _button$onClick;
61225
61225
  return (_button$onClick = button.onClick) === null || _button$onClick === void 0 ? void 0 : _button$onClick.call(button, props.dialog);
61226
61226
  },
61227
- isDisabled: button.isDisabled,
61228
61227
  className: styles$l['vitro-button'] + (button.className ? CTRL.SPACE + button.className : CTRL.EMPTY)
61229
- });
61228
+ }));
61230
61229
  }) : null));
61231
61230
  };
61232
61231
 
@@ -63132,7 +63131,7 @@ var Viewer = function Viewer(props) {
63132
63131
  };
63133
63132
 
63134
63133
  var name = "@vitrosoftware/common-ui-ts";
63135
- var version$1 = "1.1.200";
63134
+ var version$1 = "1.1.202";
63136
63135
  var description = "vitro software common ui ts";
63137
63136
  var author = "";
63138
63137
  var license = "MIT";