dtable-statistic 5.3.4 → 5.3.6

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.
@@ -77,7 +77,7 @@ class StatisticDropdownMenu extends _react.default.Component {
77
77
  className: "toggle-icon dtable-font dtable-icon-more-level"
78
78
  })), /*#__PURE__*/_react.default.createElement(_reactstrap.DropdownMenu, {
79
79
  className: "stat-item-dropdown-menu",
80
- right: true
80
+ end: true
81
81
  }, !isTableReadOnly && /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactstrap.DropdownItem, {
82
82
  onMouseDown: this.editStatItem
83
83
  }, /*#__PURE__*/_react.default.createElement("i", {
@@ -141,11 +141,12 @@ class StatisticDropdownMenu extends _react.default.Component {
141
141
  className: "statistic-views-dropdown-menu",
142
142
  flip: false,
143
143
  positionFixed: true,
144
- modifiers: {
145
- preventOverflow: {
146
- boundariesElement: document.body
144
+ modifiers: [{
145
+ name: 'preventOverflow',
146
+ options: {
147
+ boundary: document.body
147
148
  }
148
- }
149
+ }]
149
150
  }, otherViews.map(view => {
150
151
  const {
151
152
  _id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.3.4",
3
+ "version": "5.3.6",
4
4
  "description": "statistics",
5
5
  "main": "dist/dtable-statistic.js",
6
6
  "author": "seafile",
@@ -12,16 +12,16 @@
12
12
  "dayjs": "1.10.7",
13
13
  "html2canvas": "^1.4.1",
14
14
  "rc-slider": "^9.7.4",
15
- "react": "17.0.2",
15
+ "react": "^18.3.1",
16
16
  "react-color": "2.19.3",
17
- "react-dom": "17.0.2",
17
+ "react-dom": "^18.3.1",
18
18
  "react-grid-layout": "^1.2.5",
19
19
  "react-intl-universal": "^2.4.8",
20
- "reactstrap": "8.9.0",
21
- "sea-chart": "^1.1.68"
20
+ "reactstrap": "9.2.3",
21
+ "sea-chart": "1.1.72"
22
22
  },
23
23
  "peerDependencies": {
24
- "dtable-ui-component": "~5.3.*",
24
+ "dtable-ui-component": "~6.0.*",
25
25
  "dtable-utils": "~5.0.*"
26
26
  },
27
27
  "devDependencies": {
@@ -53,8 +53,8 @@
53
53
  "dotenv": "^10.0.0",
54
54
  "dotenv-expand": "^5.1.0",
55
55
  "dtable-store": "5.2.12",
56
- "dtable-ui-component": "^5.3.0",
57
- "dtable-utils": "5.0.15",
56
+ "dtable-ui-component": "^6.0.9",
57
+ "dtable-utils": "^5.0.17",
58
58
  "eslint": "^8.3.0",
59
59
  "eslint-config-react-app": "^7.0.1",
60
60
  "eslint-webpack-plugin": "^3.1.1",