@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.
- package/es/data-grid/index.less +27 -9
- package/es/state/index.less +3 -3
- package/es/styles/overrides.less +1 -2
- package/package.json +2 -2
package/es/data-grid/index.less
CHANGED
|
@@ -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:
|
|
410
|
-
padding: 0
|
|
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
|
-
|
|
417
|
-
|
|
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
|
-
|
|
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
|
|
package/es/state/index.less
CHANGED
|
@@ -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:
|
|
40
|
+
top: 50%;
|
|
42
41
|
right: 0;
|
|
43
42
|
left: 0;
|
|
44
43
|
z-index: 1;
|
|
45
44
|
display: block;
|
|
46
|
-
height:
|
|
45
|
+
height: 12px;
|
|
46
|
+
margin-top: -6px;
|
|
47
47
|
content: '';
|
|
48
48
|
}
|
|
49
49
|
}
|
package/es/styles/overrides.less
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/components",
|
|
3
|
-
"version": "1.4.
|
|
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": "
|
|
61
|
+
"gitHead": "7682801e725b1204d58cdb2ffde7b70657982496"
|
|
62
62
|
}
|