@douyinfe/semi-ui 2.41.1 → 2.41.3

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.
@@ -207,6 +207,9 @@ class Table extends _baseComponent.default {
207
207
  if (Array.isArray(flattenColumns)) {
208
208
  isFixed = flattenColumns.some(column => Boolean(column.ellipsis) || Boolean(column.fixed));
209
209
  }
210
+ if (this.adapter.useFixedHeader()) {
211
+ isFixed = true;
212
+ }
210
213
  return isFixed ? 'fixed' : 'auto';
211
214
  },
212
215
  setHeadWidths: function (headWidths) {
@@ -197,6 +197,9 @@ class Table extends BaseComponent {
197
197
  if (Array.isArray(flattenColumns)) {
198
198
  isFixed = flattenColumns.some(column => Boolean(column.ellipsis) || Boolean(column.fixed));
199
199
  }
200
+ if (this.adapter.useFixedHeader()) {
201
+ isFixed = true;
202
+ }
200
203
  return isFixed ? 'fixed' : 'auto';
201
204
  },
202
205
  setHeadWidths: function (headWidths) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-ui",
3
- "version": "2.41.1",
3
+ "version": "2.41.3",
4
4
  "description": "",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es/index.js",
@@ -33,7 +33,7 @@
33
33
  "date-fns-tz": "^1.3.8",
34
34
  "lodash": "^4.17.21",
35
35
  "prop-types": "^15.7.2",
36
- "react-resizable": "^1.8.0",
36
+ "react-resizable": "^3.0.5",
37
37
  "react-window": "^1.8.2",
38
38
  "resize-observer-polyfill": "^1.5.1",
39
39
  "scroll-into-view-if-needed": "^2.2.24",
@@ -50,11 +50,15 @@
50
50
  "./index.ts"
51
51
  ],
52
52
  "keywords": [
53
- "semi",
54
- "react component library",
55
- "ies",
56
- "pc component",
57
- "dark mode"
53
+ "semi design to any design",
54
+ "a11y react component library",
55
+ "design to code",
56
+ "2700+ design token",
57
+ "dark mode",
58
+ "semi design",
59
+ "design ops",
60
+ "modern design system",
61
+ "figma ui kit"
58
62
  ],
59
63
  "homepage": "https://semi.design",
60
64
  "bugs": {
@@ -71,7 +75,7 @@
71
75
  ],
72
76
  "author": "",
73
77
  "license": "MIT",
74
- "gitHead": "145acfe4a9dcca5eab26f40595f00eca521d0fc8",
78
+ "gitHead": "6f625c7c2e4f68a9c4e5c60270f7618bedcdeaa1",
75
79
  "devDependencies": {
76
80
  "@babel/plugin-proposal-decorators": "^7.15.8",
77
81
  "@babel/plugin-transform-runtime": "^7.15.8",