@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.
@@ -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,
@@ -417,7 +417,7 @@
417
417
  z-index: 2;
418
418
  box-sizing: border-box;
419
419
  width: 100%;
420
- padding: 0 2px;
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-inline-editing & {
445
- box-shadow: 0 0 0 2px ~'var(--@{ant-prefix}-primary-5)' inset;
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",
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": "89c6d77c7ed63499aee98141b4934e1c3d810b7c"
61
+ "gitHead": "cf78266942bbaffd2c608e32e7e591067abd71df"
62
62
  }