dtable-ui-component 0.3.22 → 0.3.24-alpha1

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.
@@ -88,6 +88,7 @@ var EditorFormatter = /*#__PURE__*/function (_React$Component) {
88
88
  }
89
89
  case CellType.LONG_TEXT:
90
90
  {
91
+ if (!cellValue) return null;
91
92
  return /*#__PURE__*/React.createElement("div", {
92
93
  className: "longtext-formatter-container"
93
94
  }, /*#__PURE__*/React.createElement(LongTextFormatter, {
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "0.3.22",
3
+ "version": "0.3.24-alpha1",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
- "@seafile/react-image-lightbox": "2.0.4",
6
+ "@seafile/react-image-lightbox": "2.0.5",
7
7
  "@seafile/seafile-calendar": "0.0.24",
8
8
  "@seafile/seafile-editor": "0.3.137",
9
9
  "antd-mobile": "2.3.1",
@@ -16,9 +16,9 @@
16
16
  "hast-util-sanitize": "^1.1.2",
17
17
  "hast-util-to-html": "3.1.0",
18
18
  "is-hotkey": "0.2.0",
19
- "react": "16.14.0",
19
+ "react": "17.0.2",
20
20
  "react-app-polyfill": "^1.0.6",
21
- "react-dom": "16.14.0",
21
+ "react-dom": "17.0.2",
22
22
  "react-responsive": "^8.0.3",
23
23
  "react-select": "4.3.0",
24
24
  "react-transition-group": "^4.4.1",
@@ -95,6 +95,7 @@
95
95
  "@testing-library/user-event": "^7.2.1",
96
96
  "@typescript-eslint/eslint-plugin": "^2.10.0",
97
97
  "@typescript-eslint/parser": "^2.10.0",
98
+ "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
98
99
  "babel-eslint": "10.0.3",
99
100
  "babel-jest": "^24.9.0",
100
101
  "babel-loader": "8.0.6",
@@ -107,7 +108,6 @@
107
108
  "dotenv": "8.2.0",
108
109
  "dotenv-expand": "5.1.0",
109
110
  "enzyme": "^3.11.0",
110
- "enzyme-adapter-react-16": "^1.15.2",
111
111
  "eslint": "^6.6.0",
112
112
  "eslint-config-react-app": "^5.2.0",
113
113
  "eslint-loader": "3.0.3",
@@ -143,7 +143,7 @@
143
143
  "ts-pnp": "1.1.5",
144
144
  "url-loader": "2.3.0",
145
145
  "webpack": "4.41.5",
146
- "webpack-dev-server": "3.10.2",
146
+ "webpack-dev-server": "3.11.3",
147
147
  "webpack-manifest-plugin": "2.2.0",
148
148
  "workbox-webpack-plugin": "4.3.1"
149
149
  }