dtable-ui-component 6.0.96 → 6.0.97

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.
@@ -31,9 +31,11 @@ class TextFormatter extends _react.default.Component {
31
31
  value,
32
32
  column
33
33
  } = this.props;
34
- const classname = (0, _classnames.default)('dtable-ui cell-formatter-container row-expand-jump-link-container text-formatter', containerClassName);
35
- const formattedValue = this.getFormattedValue(value);
36
34
  const isDisplayAsAsPhoneNumber = column ? (0, _dtableUtils.checkIsDisplayAsPhoneNumberColumn)(column) : false;
35
+ const classname = (0, _classnames.default)('dtable-ui cell-formatter-container text-formatter', containerClassName, {
36
+ 'row-expand-jump-link-container': isDisplayAsAsPhoneNumber
37
+ });
38
+ const formattedValue = this.getFormattedValue(value);
37
39
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
38
40
  className: classname,
39
41
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.96",
3
+ "version": "6.0.97",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "4.0.2",