@lemon-fe/components 1.4.3 → 1.4.5
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/es/data-grid/index.js +0 -1
- package/es/data-grid/index.less +12 -3
- package/package.json +2 -2
package/es/data-grid/index.js
CHANGED
|
@@ -1754,7 +1754,6 @@ var InternalDataGrid = /*#__PURE__*/function (_Component) {
|
|
|
1754
1754
|
maintainColumnOrder: true,
|
|
1755
1755
|
suppressCsvExport: true,
|
|
1756
1756
|
suppressExcelExport: true,
|
|
1757
|
-
enableCellTextSelection: true,
|
|
1758
1757
|
noRowsOverlayComponent: this.NoRowsOverlay,
|
|
1759
1758
|
getMainMenuItems: this.getMainMenuItems,
|
|
1760
1759
|
rowBuffer: 20,
|
package/es/data-grid/index.less
CHANGED
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
z-index: 2;
|
|
418
418
|
box-sizing: border-box;
|
|
419
419
|
width: 100%;
|
|
420
|
-
|
|
420
|
+
height: ~'min(var(--ag-internal-calculated-line-height), var(--ag-internal-padded-row-height))';
|
|
421
421
|
overflow: hidden;
|
|
422
422
|
background-color: transparent;
|
|
423
423
|
border-radius: 4px;
|
|
@@ -441,8 +441,12 @@
|
|
|
441
441
|
content: '';
|
|
442
442
|
}
|
|
443
443
|
|
|
444
|
-
.ag-cell-
|
|
445
|
-
|
|
444
|
+
.ag-cell-focus&-cell::after {
|
|
445
|
+
border-color: ~'var(--@{ant-prefix}-primary-5)';
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.ag-cell-focus & {
|
|
449
|
+
padding: 0 2px;
|
|
446
450
|
}
|
|
447
451
|
|
|
448
452
|
&-text {
|
|
@@ -587,6 +591,11 @@
|
|
|
587
591
|
background-color: transparent;
|
|
588
592
|
}
|
|
589
593
|
|
|
594
|
+
.ag-cell-wrapper {
|
|
595
|
+
// fix:enableCellTextSelect 启用后文本省略不起作用的问题
|
|
596
|
+
min-width: 0;
|
|
597
|
+
}
|
|
598
|
+
|
|
590
599
|
.ag-ltr
|
|
591
600
|
.ag-context-menu-open
|
|
592
601
|
.ag-cell-focus:not(.ag-cell-range-selected):not(.ag-cell-inline-editing),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.5",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"registry": "https://registry.npmjs.org"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "cf78266942bbaffd2c608e32e7e591067abd71df"
|
|
62
62
|
}
|