@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 +0 -1
- package/lib/cjs/input/input.css +0 -1
- package/lib/cjs/input/input.scss +0 -1
- package/lib/cjs/table/foundation.js +2 -2
- package/lib/cjs/table/table.css +3 -0
- package/lib/cjs/table/table.scss +4 -0
- package/lib/es/input/input.css +0 -1
- package/lib/es/input/input.scss +0 -1
- package/lib/es/table/foundation.js +2 -2
- package/lib/es/table/table.css +3 -0
- package/lib/es/table/table.scss +4 -0
- package/package.json +3 -3
- package/table/foundation.ts +1 -2
- package/table/table.scss +4 -0
package/input/input.scss
CHANGED
package/lib/cjs/input/input.css
CHANGED
|
@@ -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;
|
package/lib/cjs/input/input.scss
CHANGED
|
@@ -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;
|
package/lib/cjs/table/table.css
CHANGED
|
@@ -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
|
}
|
package/lib/cjs/table/table.scss
CHANGED
package/lib/es/input/input.css
CHANGED
|
@@ -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;
|
package/lib/es/input/input.scss
CHANGED
|
@@ -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;
|
package/lib/es/table/table.css
CHANGED
|
@@ -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
|
}
|
package/lib/es/table/table.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-foundation",
|
|
3
|
-
"version": "2.47.
|
|
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.
|
|
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": "
|
|
26
|
+
"gitHead": "875fcccc849e3f6131d8d9352acd2c309f3a3a60",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
29
29
|
"@babel/preset-env": "^7.15.8",
|
package/table/foundation.ts
CHANGED
|
@@ -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
|
|
515
|
-
const { currentPage } = pagination;
|
|
514
|
+
const { currentPage, pageSize } = pagination;
|
|
516
515
|
|
|
517
516
|
const realTotalPage = Math.ceil(total / pageSize);
|
|
518
517
|
|