@douyinfe/semi-foundation 2.47.0-beta.0 → 2.47.1

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.
package/input/input.scss CHANGED
@@ -225,7 +225,6 @@ $module: #{$prefix}-input;
225
225
 
226
226
  &:not(:last-child) {
227
227
  border-right-style: none;
228
- border-radius: 0;
229
228
  }
230
229
  }
231
230
  }
@@ -179,7 +179,6 @@
179
179
  }
180
180
  .semi-input-wrapper.semi-input-wrapper__with-prepend-only .semi-input:not(:last-child) {
181
181
  border-right-style: none;
182
- border-radius: 0;
183
182
  }
184
183
  .semi-input-wrapper.semi-input-wrapper__with-prepend, .semi-input-wrapper.semi-input-wrapper__with-append {
185
184
  display: inline-flex;
@@ -225,7 +225,6 @@ $module: #{$prefix}-input;
225
225
 
226
226
  &:not(:last-child) {
227
227
  border-right-style: none;
228
- border-radius: 0;
229
228
  }
230
229
  }
231
230
  }
@@ -392,9 +392,9 @@ class TableFoundation extends _foundation.default {
392
392
  }, pagination);
393
393
  if (!this._pagerIsControlled()) {
394
394
  const total = (0, _get2.default)(propPagination, 'total', dataSource.length);
395
- const pageSize = (0, _get2.default)(propPagination, 'pageSize', pagination.pageSize);
396
395
  const {
397
- currentPage
396
+ currentPage,
397
+ pageSize
398
398
  } = pagination;
399
399
  const realTotalPage = Math.ceil(total / pageSize);
400
400
  pagination.total = total;
@@ -94,6 +94,9 @@
94
94
  .semi-table-header-sticky .semi-table-thead > .semi-table-row > .semi-table-row-head {
95
95
  background-color: var(--semi-color-bg-1);
96
96
  }
97
+ .semi-table-header-hidden {
98
+ height: 0;
99
+ }
97
100
  .semi-table-align-center .semi-table-operate-wrapper {
98
101
  justify-content: center;
99
102
  }
@@ -81,6 +81,10 @@ $module: #{$prefix}-table;
81
81
  background-color: $color-table-bg-default;
82
82
  }
83
83
  }
84
+
85
+ &-hidden {
86
+ height: 0;
87
+ }
84
88
  }
85
89
 
86
90
  &-align-center {
@@ -179,7 +179,6 @@
179
179
  }
180
180
  .semi-input-wrapper.semi-input-wrapper__with-prepend-only .semi-input:not(:last-child) {
181
181
  border-right-style: none;
182
- border-radius: 0;
183
182
  }
184
183
  .semi-input-wrapper.semi-input-wrapper__with-prepend, .semi-input-wrapper.semi-input-wrapper__with-append {
185
184
  display: inline-flex;
@@ -225,7 +225,6 @@ $module: #{$prefix}-input;
225
225
 
226
226
  &:not(:last-child) {
227
227
  border-right-style: none;
228
- border-radius: 0;
229
228
  }
230
229
  }
231
230
  }
@@ -385,9 +385,9 @@ class TableFoundation extends BaseFoundation {
385
385
  }, pagination);
386
386
  if (!this._pagerIsControlled()) {
387
387
  const total = _get(propPagination, 'total', dataSource.length);
388
- const pageSize = _get(propPagination, 'pageSize', pagination.pageSize);
389
388
  const {
390
- currentPage
389
+ currentPage,
390
+ pageSize
391
391
  } = pagination;
392
392
  const realTotalPage = Math.ceil(total / pageSize);
393
393
  pagination.total = total;
@@ -94,6 +94,9 @@
94
94
  .semi-table-header-sticky .semi-table-thead > .semi-table-row > .semi-table-row-head {
95
95
  background-color: var(--semi-color-bg-1);
96
96
  }
97
+ .semi-table-header-hidden {
98
+ height: 0;
99
+ }
97
100
  .semi-table-align-center .semi-table-operate-wrapper {
98
101
  justify-content: center;
99
102
  }
@@ -81,6 +81,10 @@ $module: #{$prefix}-table;
81
81
  background-color: $color-table-bg-default;
82
82
  }
83
83
  }
84
+
85
+ &-hidden {
86
+ height: 0;
87
+ }
84
88
  }
85
89
 
86
90
  &-align-center {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-foundation",
3
- "version": "2.47.0-beta.0",
3
+ "version": "2.47.1",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build:lib": "node ./scripts/compileLib.js",
7
7
  "prepublishOnly": "npm run build:lib"
8
8
  },
9
9
  "dependencies": {
10
- "@douyinfe/semi-animation": "2.47.0-beta.0",
10
+ "@douyinfe/semi-animation": "2.47.1",
11
11
  "async-validator": "^3.5.0",
12
12
  "classnames": "^2.2.6",
13
13
  "date-fns": "^2.29.3",
@@ -23,7 +23,7 @@
23
23
  "*.scss",
24
24
  "*.css"
25
25
  ],
26
- "gitHead": "201c3696de1cfe4686903a3a50c68ca07272742a",
26
+ "gitHead": "875fcccc849e3f6131d8d9352acd2c309f3a3a60",
27
27
  "devDependencies": {
28
28
  "@babel/plugin-transform-runtime": "^7.15.8",
29
29
  "@babel/preset-env": "^7.15.8",
@@ -511,8 +511,7 @@ class TableFoundation<RecordType> extends BaseFoundation<TableAdapter<RecordType
511
511
 
512
512
  if (!this._pagerIsControlled()) {
513
513
  const total = get(propPagination, 'total', dataSource.length);
514
- const pageSize = get(propPagination, 'pageSize', pagination.pageSize);
515
- const { currentPage } = pagination;
514
+ const { currentPage, pageSize } = pagination;
516
515
 
517
516
  const realTotalPage = Math.ceil(total / pageSize);
518
517
 
package/table/table.scss CHANGED
@@ -81,6 +81,10 @@ $module: #{$prefix}-table;
81
81
  background-color: $color-table-bg-default;
82
82
  }
83
83
  }
84
+
85
+ &-hidden {
86
+ height: 0;
87
+ }
84
88
  }
85
89
 
86
90
  &-align-center {