@vitrosoftware/common-ui-ts 1.1.205 → 1.1.206

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.
@@ -64,7 +64,7 @@ p {
64
64
  }
65
65
 
66
66
  body em {
67
- color: initial;
67
+ color: unset;
68
68
  }
69
69
 
70
70
  :global(#root) {
@@ -41,25 +41,6 @@
41
41
  min-width: 0;
42
42
  }
43
43
 
44
- .vitro-content p {
45
- margin-block-start: 0px;
46
- margin-block-end: 0px;
47
- margin-bottom: 0px;
48
- color: #bdbdbd;
49
- font-size: 9pt;
50
- line-height: 14px;
51
- }
52
-
53
- .vitro-content p span {
54
- font-size: 9pt !important;
55
- }
56
-
57
- .vitro-content :global(.vitro-status-changed) {
58
- font-style: normal;
59
- color: #27AE60;
60
- font-size: 9pt;
61
- }
62
-
63
44
  .vitro-message {
64
45
  overflow-wrap: anywhere;
65
46
  }
package/dist/index.css CHANGED
@@ -64,7 +64,7 @@ p {
64
64
  }
65
65
 
66
66
  body em {
67
- color: initial;
67
+ color: unset;
68
68
  }
69
69
 
70
70
  #root {
@@ -5649,27 +5649,6 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
5649
5649
  min-width: 0;
5650
5650
  }
5651
5651
 
5652
- ._activity-item_vitro-content_3Lt7XRy p {
5653
- -webkit-margin-before: 0px;
5654
- margin-block-start: 0px;
5655
- -webkit-margin-after: 0px;
5656
- margin-block-end: 0px;
5657
- margin-bottom: 0px;
5658
- color: #bdbdbd;
5659
- font-size: 9pt;
5660
- line-height: 14px;
5661
- }
5662
-
5663
- ._activity-item_vitro-content_3Lt7XRy p span {
5664
- font-size: 9pt !important;
5665
- }
5666
-
5667
- ._activity-item_vitro-content_3Lt7XRy .vitro-status-changed {
5668
- font-style: normal;
5669
- color: #27AE60;
5670
- font-size: 9pt;
5671
- }
5672
-
5673
5652
  ._activity-item_vitro-message_1ndqhgR {
5674
5653
  overflow-wrap: anywhere;
5675
5654
  }
package/dist/index.js CHANGED
@@ -60977,7 +60977,11 @@ var Tooltip$1 = function Tooltip(props) {
60977
60977
  overlay: React__default.createElement(TooltipComponent, {
60978
60978
  className: styles$c['vitro-tooltip'] + (props.className ? CTRL.SPACE + props.className : CTRL.EMPTY),
60979
60979
  style: props.style
60980
- }, props.text)
60980
+ }, props.isRichText ? React__default.createElement("p", {
60981
+ dangerouslySetInnerHTML: {
60982
+ __html: props.text
60983
+ }
60984
+ }) : props.text)
60981
60985
  }, props.children);
60982
60986
  };
60983
60987
 
@@ -63164,7 +63168,7 @@ var Viewer = function Viewer(props) {
63164
63168
  };
63165
63169
 
63166
63170
  var name = "@vitrosoftware/common-ui-ts";
63167
- var version$1 = "1.1.205";
63171
+ var version$1 = "1.1.206";
63168
63172
  var description = "vitro software common ui ts";
63169
63173
  var author = "";
63170
63174
  var license = "MIT";
@@ -67266,19 +67270,27 @@ var ActivityMessage = function ActivityMessage(props) {
67266
67270
  className: styles$1f['vitro-field-name']
67267
67271
  }, "" + item.fieldName + CTRL.COLON), item.oldValue && React__default.createElement(React__default.Fragment, null, React__default.createElement(Tooltip$1, {
67268
67272
  text: item.oldValue,
67269
- isShow: isShowOldValueTooltip ? undefined : false
67273
+ isShow: isShowOldValueTooltip ? undefined : false,
67274
+ isRichText: item.isRichText
67270
67275
  }, React__default.createElement("div", {
67271
67276
  className: styles$1f['vitro-value'],
67272
- ref: oldValueRef
67273
- }, item.oldValue)), React__default.createElement("span", {
67277
+ ref: oldValueRef,
67278
+ dangerouslySetInnerHTML: item.isRichText ? {
67279
+ __html: item.oldValue
67280
+ } : undefined
67281
+ }, item.isRichText ? undefined : item.oldValue)), React__default.createElement("span", {
67274
67282
  className: styles$1f['vitro-separator']
67275
67283
  })), item.newValue && React__default.createElement(Tooltip$1, {
67276
67284
  text: item.newValue,
67277
- isShow: isShowNewValueTooltip ? undefined : false
67285
+ isShow: isShowNewValueTooltip ? undefined : false,
67286
+ isRichText: item.isRichText
67278
67287
  }, React__default.createElement("div", {
67279
67288
  className: item.isMessage ? styles$1f['vitro-message'] : styles$1f['vitro-value'],
67280
- ref: newValueRef
67281
- }, item.newValue)));
67289
+ ref: newValueRef,
67290
+ dangerouslySetInnerHTML: item.isRichText ? {
67291
+ __html: item.newValue
67292
+ } : undefined
67293
+ }, item.isRichText ? undefined : item.newValue)));
67282
67294
  })) : null, props.fileList && props.fileList.length ? React__default.createElement(AttachedFileList, Object.assign({
67283
67295
  fileList: props.fileList
67284
67296
  }, props)) : null);