@lemon-fe/components 1.4.4 → 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 +11 -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
|
@@ -418,7 +418,6 @@
|
|
|
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
|
-
padding: 0 2px;
|
|
422
421
|
overflow: hidden;
|
|
423
422
|
background-color: transparent;
|
|
424
423
|
border-radius: 4px;
|
|
@@ -442,8 +441,12 @@
|
|
|
442
441
|
content: '';
|
|
443
442
|
}
|
|
444
443
|
|
|
445
|
-
.ag-cell-
|
|
446
|
-
|
|
444
|
+
.ag-cell-focus&-cell::after {
|
|
445
|
+
border-color: ~'var(--@{ant-prefix}-primary-5)';
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.ag-cell-focus & {
|
|
449
|
+
padding: 0 2px;
|
|
447
450
|
}
|
|
448
451
|
|
|
449
452
|
&-text {
|
|
@@ -588,6 +591,11 @@
|
|
|
588
591
|
background-color: transparent;
|
|
589
592
|
}
|
|
590
593
|
|
|
594
|
+
.ag-cell-wrapper {
|
|
595
|
+
// fix:enableCellTextSelect 启用后文本省略不起作用的问题
|
|
596
|
+
min-width: 0;
|
|
597
|
+
}
|
|
598
|
+
|
|
591
599
|
.ag-ltr
|
|
592
600
|
.ag-context-menu-open
|
|
593
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
|
}
|