@vitrosoftware/common-ui-ts 1.1.198 → 1.1.199

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.
@@ -7,7 +7,6 @@
7
7
 
8
8
  .TWMain, .TWMain * {
9
9
  font-size: 14px;
10
- line-height: 16px;
11
10
  font-family: "InterRegular";
12
11
  color: #222D44;
13
12
  border: none;
@@ -61,15 +60,10 @@
61
60
  .TWPanelSelect {
62
61
  width: 16px;
63
62
  height: 16px;
64
- margin-top: 3px;
65
63
  background-size: 24px;
66
64
  background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/table-view/img/checkbox-empty.svg');
67
65
  }
68
66
 
69
- .TWPanelSelectOn {
70
- margin-top: 3px;
71
- }
72
-
73
67
  .TWNE, .TWNER,
74
68
  .TWND4, .TWND4R {
75
69
  background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/table-view/img/collapse-right-grey.svg');
package/dist/index.js CHANGED
@@ -22387,9 +22387,12 @@ var MicroFrontend = React.forwardRef(function (props, ref) {
22387
22387
  var renderMicroFrontend = function renderMicroFrontend() {
22388
22388
  if (rootRef != null && rootRef.current != null) {
22389
22389
  var rendererName = "render" + props.name;
22390
- var containerId = getId(rootRef.current);
22391
- setId(containerId);
22392
- props.data.containerId = containerId;
22390
+ props.data.containerId = id;
22391
+ if (!id) {
22392
+ var containerId = getId(rootRef.current);
22393
+ setId(containerId);
22394
+ props.data.containerId = containerId;
22395
+ }
22393
22396
  microFrontendState.render(rendererName, rootRef.current, props.data, props.isReloadOnChange, 0);
22394
22397
  }
22395
22398
  microFrontendState.renderInProgress = false;
@@ -63128,7 +63131,7 @@ var Viewer = function Viewer(props) {
63128
63131
  };
63129
63132
 
63130
63133
  var name = "@vitrosoftware/common-ui-ts";
63131
- var version$1 = "1.1.198";
63134
+ var version$1 = "1.1.199";
63132
63135
  var description = "vitro software common ui ts";
63133
63136
  var author = "";
63134
63137
  var license = "MIT";
@@ -63442,8 +63445,10 @@ var Checkbox = React.forwardRef(function (props, ref) {
63442
63445
  };
63443
63446
  });
63444
63447
  var onChange = function onChange() {
63445
- props.onChange && props.onChange(!value, props.name);
63446
- _setValue(!value);
63448
+ if (!props.isReadOnly) {
63449
+ props.onChange && props.onChange(!value, props.name);
63450
+ _setValue(!value);
63451
+ }
63447
63452
  };
63448
63453
  var className = styles$L['vitro-control'] + (props.labelPosition === POSITION.LEFT ? CTRL.SPACE + styles$L['vitro-left-label'] : CTRL.EMPTY) + (props.className ? CTRL.SPACE + props.className : CTRL.EMPTY);
63449
63454
  return React__default.createElement("div", {