@bit-sun/business-component 4.0.9 → 4.0.11

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/dist/index.esm.js CHANGED
@@ -12583,7 +12583,7 @@ var ExportIcon = function ExportIcon(_ref) {
12583
12583
  }, /*#__PURE__*/React$1.createElement(Tooltip, {
12584
12584
  title: "\u5BFC\u51FA\u6570\u636E"
12585
12585
  }, /*#__PURE__*/React$1.createElement("img", {
12586
- width: 32,
12586
+ width: 24,
12587
12587
  src: exportlogo,
12588
12588
  onClick: function onClick() {
12589
12589
  var _tableRef$current;
package/dist/index.js CHANGED
@@ -12606,7 +12606,7 @@ var ExportIcon = function ExportIcon(_ref) {
12606
12606
  }, /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
12607
12607
  title: "\u5BFC\u51FA\u6570\u636E"
12608
12608
  }, /*#__PURE__*/React__default['default'].createElement("img", {
12609
- width: 32,
12609
+ width: 24,
12610
12610
  src: exportlogo,
12611
12611
  onClick: function onClick() {
12612
12612
  var _tableRef$current;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "4.0.9",
3
+ "version": "4.0.11",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -22,7 +22,7 @@ const ExportIcon = ({request:exportRequest, tableRef, allowSelect, columnsRowKey
22
22
  return (
23
23
  <div style={{ cursor: 'pointer' }}>
24
24
  <Tooltip title="导出数据">
25
- <img width={32} src={exportlogo} onClick={() =>{
25
+ <img width={24} src={exportlogo} onClick={() =>{
26
26
  const convertedParams = tableRef?.current?.getExportParams()
27
27
  let requestData: any
28
28
 
@@ -100,6 +100,16 @@
100
100
  opacity: 0.5;
101
101
  }
102
102
 
103
+ body {
104
+ :global {
105
+ .tabWrap {
106
+ .ant-tabs > .ant-tabs-nav, .ant-tabs > div > .ant-tabs-nav {
107
+ margin: 0;
108
+ }
109
+ }
110
+ }
111
+ }
112
+
103
113
 
104
114
  html,
105
115
  body {
@@ -168,7 +178,7 @@ body {
168
178
  .ant-table.ant-table-middle .ant-table-container tfoot > tr > td {
169
179
  padding: 0 10px;
170
180
  font-size: @font-size-base;
171
- line-height: 31px;
181
+ line-height: 29px;
172
182
  white-space: nowrap;
173
183
  }
174
184
 
@@ -189,7 +199,7 @@ body {
189
199
  .ant-table-thead
190
200
  > tr
191
201
  > th {
192
- height: 31px;
202
+ height: 29px;
193
203
  background: #f7f8fb;
194
204
  }
195
205
 
@@ -387,13 +397,6 @@ body {
387
397
  margin: 0;
388
398
  }
389
399
 
390
- .ant-tabs-content-holder {
391
- .ant-tabs-nav {
392
- margin: 0 8px;
393
- padding-bottom: 8px;
394
- }
395
- }
396
-
397
400
  .ant-tabs-nav-list {
398
401
  .ant-tabs-tab-btn {
399
402
  color: rgba(44, 47, 46, 0.8);
@@ -536,10 +539,10 @@ body {
536
539
  .ant-table .ant-table-container tfoot > tr > th,
537
540
  .ant-table .ant-table-container tfoot > tr > td,
538
541
  .ant-table .ant-table-container .ant-table-thead .ant-table-column-sorters {
539
- height: 31px;
542
+ height: 29px;
540
543
  // padding: 0 10px;
541
544
  font-size: @font-size-base;
542
- line-height: 31px;
545
+ line-height: 29px;
543
546
  white-space: nowrap;
544
547
  }
545
548
 
@@ -1438,7 +1441,7 @@ body .ant-table .ant-table-container .ant-table-thead > tr > th {
1438
1441
  font-size: 18px;
1439
1442
  color: #000000;
1440
1443
  letter-spacing: 0;
1441
- line-height: 31px;
1444
+ line-height: 29px;
1442
1445
  }
1443
1446
  }
1444
1447
  }