@lemon-fe/components 1.4.2-alpha.0 → 1.4.4

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.
@@ -363,6 +363,15 @@
363
363
  padding-left: 0;
364
364
  outline: none;
365
365
 
366
+ .ag-selectable & {
367
+ display: block;
368
+
369
+ .ag-cell-value {
370
+ display: flex;
371
+ align-items: center;
372
+ }
373
+ }
374
+
366
375
  &::after {
367
376
  display: none !important;
368
377
  }
@@ -405,26 +414,35 @@
405
414
 
406
415
  &-editor {
407
416
  position: relative;
417
+ z-index: 2;
418
+ box-sizing: border-box;
408
419
  width: 100%;
409
- height: calc(var(--ag-row-height) - 7px);
410
- padding: 0 7px;
420
+ height: ~'min(var(--ag-internal-calculated-line-height), var(--ag-internal-padded-row-height))';
421
+ padding: 0 2px;
411
422
  overflow: hidden;
412
- line-height: calc(var(--ag-row-height) - 7px);
413
423
  background-color: transparent;
414
424
  border-radius: 4px;
415
425
 
416
- &-cell {
417
- padding: 2px 0;
426
+ & > * {
427
+ flex: 1 1 auto;
418
428
  }
419
429
 
420
- .ag-row-focus &,
421
- .ag-row-hover & {
430
+ .ag-row-focus &-cell::after,
431
+ .ag-row-hover &-cell::after {
432
+ position: absolute;
433
+ top: 0;
434
+ right: 0;
435
+ bottom: 0;
436
+ left: 0;
437
+ z-index: 1;
438
+ display: block;
422
439
  background-color: #fff;
423
- box-shadow: 0 0 0 2px var(--ag-border-color) inset;
440
+ border: 2px solid var(--ag-border-color);
441
+ border-radius: 4px;
442
+ content: '';
424
443
  }
425
444
 
426
445
  .ag-cell-inline-editing & {
427
- padding: 0;
428
446
  box-shadow: 0 0 0 2px ~'var(--@{ant-prefix}-primary-5)' inset;
429
447
  }
430
448
 
@@ -7,7 +7,6 @@
7
7
  .@{prefixCls}-state {
8
8
  display: inline-flex;
9
9
  align-items: center;
10
- height: 22px;
11
10
  font-size: 14px;
12
11
 
13
12
  &-shape {
@@ -38,12 +37,13 @@
38
37
 
39
38
  &::before {
40
39
  position: absolute;
41
- top: 5px;
40
+ top: 50%;
42
41
  right: 0;
43
42
  left: 0;
44
43
  z-index: 1;
45
44
  display: block;
46
- height: 13px;
45
+ height: 12px;
46
+ margin-top: -6px;
47
47
  content: '';
48
48
  }
49
49
  }
@@ -5,8 +5,7 @@ a[title='站长统计'] {
5
5
  @blue-base: #2357df;
6
6
 
7
7
  ::selection {
8
- color: inherit;
9
- background: #d3ddf9;
8
+ background: #6b9cf7;
10
9
  }
11
10
 
12
11
  /** basic */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/components",
3
- "version": "1.4.2-alpha.0",
3
+ "version": "1.4.4",
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": "77aeb1eba6e3a13f34a6f2390d9991b9ff996652"
61
+ "gitHead": "7682801e725b1204d58cdb2ffde7b70657982496"
62
62
  }