@kdcloudjs/kdesign 1.5.7 → 1.5.10
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/CHANGELOG.md +48 -0
- package/dist/default-theme.js +1 -1
- package/dist/kdesign-complete.less +152 -107
- package/dist/kdesign.css +118 -94
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +187 -137
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +2 -2
- package/dist/kdesign.min.js +8 -8
- package/dist/kdesign.min.js.map +1 -1
- package/es/_utils/usePopper.js +66 -38
- package/es/carousel/slidebar.d.ts +1 -0
- package/es/checkbox/checkbox.d.ts +1 -0
- package/es/checkbox/checkbox.js +21 -3
- package/es/city-picker/no-data.d.ts +1 -0
- package/es/date-picker/calendar.d.ts +1 -0
- package/es/date-picker/panel/month/month.d.ts +1 -0
- package/es/date-picker/panel/quarter/quarter.d.ts +1 -0
- package/es/date-picker/panel/time/time.d.ts +1 -0
- package/es/date-picker/panel/week/week.d.ts +1 -0
- package/es/date-picker/panel/year/year.d.ts +1 -0
- package/es/date-picker/utils/get-ranges.d.ts +1 -0
- package/es/dropdown/dropdown.js +1 -1
- package/es/empty/defaultEmptyImg.d.ts +1 -0
- package/es/empty/illustrationEmptyImg.d.ts +1 -0
- package/es/modal/style/index.css +1 -7
- package/es/modal/style/index.less +1 -7
- package/es/modal/style/token.less +7 -4
- package/es/progress/progress.js +1 -1
- package/es/progress/style/index.css +18 -5
- package/es/progress/style/index.less +19 -5
- package/es/progress/style/token.less +5 -1
- package/es/slider/track.d.ts +1 -0
- package/es/style/themes/default.less +1 -1
- package/es/table/table.d.ts +1 -0
- package/es/tabs/style/index.css +79 -74
- package/es/tabs/style/index.less +76 -73
- package/es/tabs/style/mixin.less +0 -6
- package/es/tabs/style/token.less +8 -3
- package/es/tree/style/index.css +2 -1
- package/es/tree/style/index.less +5 -4
- package/es/tree/style/token.less +2 -1
- package/es/tree/treeNode.js +4 -1
- package/es/upload/style/index.css +17 -6
- package/es/upload/style/index.less +18 -5
- package/es/upload/style/token.less +11 -0
- package/es/upload/upload.js +6 -4
- package/lib/_utils/usePopper.js +66 -38
- package/lib/carousel/slidebar.d.ts +1 -0
- package/lib/checkbox/checkbox.d.ts +1 -0
- package/lib/checkbox/checkbox.js +23 -4
- package/lib/city-picker/no-data.d.ts +1 -0
- package/lib/date-picker/calendar.d.ts +1 -0
- package/lib/date-picker/panel/month/month.d.ts +1 -0
- package/lib/date-picker/panel/quarter/quarter.d.ts +1 -0
- package/lib/date-picker/panel/time/time.d.ts +1 -0
- package/lib/date-picker/panel/week/week.d.ts +1 -0
- package/lib/date-picker/panel/year/year.d.ts +1 -0
- package/lib/date-picker/utils/get-ranges.d.ts +1 -0
- package/lib/dropdown/dropdown.js +1 -1
- package/lib/empty/defaultEmptyImg.d.ts +1 -0
- package/lib/empty/illustrationEmptyImg.d.ts +1 -0
- package/lib/modal/style/index.css +1 -7
- package/lib/modal/style/index.less +1 -7
- package/lib/modal/style/token.less +7 -4
- package/lib/progress/progress.js +1 -1
- package/lib/progress/style/index.css +18 -5
- package/lib/progress/style/index.less +19 -5
- package/lib/progress/style/token.less +5 -1
- package/lib/slider/track.d.ts +1 -0
- package/lib/style/themes/default.less +1 -1
- package/lib/table/table.d.ts +1 -0
- package/lib/tabs/style/index.css +79 -74
- package/lib/tabs/style/index.less +76 -73
- package/lib/tabs/style/mixin.less +0 -6
- package/lib/tabs/style/token.less +8 -3
- package/lib/tree/style/index.css +2 -1
- package/lib/tree/style/index.less +5 -4
- package/lib/tree/style/token.less +2 -1
- package/lib/tree/treeNode.js +4 -1
- package/lib/upload/style/index.css +17 -6
- package/lib/upload/style/index.less +18 -5
- package/lib/upload/style/token.less +11 -0
- package/lib/upload/upload.js +6 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,51 @@
|
|
|
1
|
+
## [1.5.9](https://github.com/kdcloudone/kdesign/compare/v1.5.8...v1.5.9) (2022-08-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* [dropdown]选项传入自定义类名点击事件失效的问题 ([16b1744](https://github.com/kdcloudone/kdesign/commit/16b1744a79eed85476824da74e86d252af487b07))
|
|
7
|
+
* [progress] 修复视觉走查问题点 ([fff4898](https://github.com/kdcloudone/kdesign/commit/fff4898f3255dfba9e0b86da0a098ce1ea263708))
|
|
8
|
+
* [tabs] 修复页签组件视觉走查问题 ([82fffbf](https://github.com/kdcloudone/kdesign/commit/82fffbfbbd703cde69603832309479db0dec3d8c))
|
|
9
|
+
* [token] 修复组件token变量 ([3d00fb4](https://github.com/kdcloudone/kdesign/commit/3d00fb485fc5f87a5a2524b8b53e9ef1004d721f))
|
|
10
|
+
* [tree] 修复树控件视觉走查问题 ([6d4792b](https://github.com/kdcloudone/kdesign/commit/6d4792bc9e5e745b07eba79e7d7b52aae3144135))
|
|
11
|
+
* [tree] 修复异步加载时loading按钮显示不全问题 ([92bc2d7](https://github.com/kdcloudone/kdesign/commit/92bc2d791c81712859b4fd92a62845c1a0ca2e30))
|
|
12
|
+
* [usePopper]修复浮层贴右侧边缘时导致的问题 ([07c72ca](https://github.com/kdcloudone/kdesign/commit/07c72ca86844d6fdc6c27e114997950d30fc33aa))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* [modal] 修复视觉走查问题点 ([3d88d74](https://github.com/kdcloudone/kdesign/commit/3d88d746d73149620ae0d103f84153fa25ea368c))
|
|
18
|
+
* [upload] 修复视觉走查问题点 ([8838d3a](https://github.com/kdcloudone/kdesign/commit/8838d3aa897f6a0a0fb5313a4cbc1391ae8a9cfd))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [1.5.8](https://github.com/kdcloudone/kdesign/compare/v1.5.7...v1.5.8) (2022-08-12)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* [usePopper] 修复贴左侧边缘时导致的报错问题 ([ca4686d](https://github.com/kdcloudone/kdesign/commit/ca4686d670b448ba9c22774e016e38d33e6e0bbd))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## [1.5.7](https://github.com/kdcloudone/kdesign/compare/v1.5.6...v1.5.7) (2022-08-12)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Reverts
|
|
35
|
+
|
|
36
|
+
* Revert "fix: [Tooltip] 修复当触发元素在右上角,trigger=top时,浮层超出显示边界的问题" ([16dde4e](https://github.com/kdcloudone/kdesign/commit/16dde4e71654bd8a6b4c44d6472ac28aa44ee007))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
## [1.5.6](https://github.com/kdcloudone/kdesign/compare/v1.5.5...v1.5.6) (2022-08-11)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Bug Fixes
|
|
44
|
+
|
|
45
|
+
* [Tooltip] 修复当触发元素在右上角,trigger=top时,浮层超出显示边界的问题 ([f487389](https://github.com/kdcloudone/kdesign/commit/f487389d95ca759658b5bf7ff988de30aa485f9c))
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
1
49
|
## [1.5.5](https://github.com/kdcloudone/kdesign/compare/v1.5.4...v1.5.5) (2022-08-11)
|
|
2
50
|
|
|
3
51
|
|
package/dist/default-theme.js
CHANGED
|
@@ -26,7 +26,7 @@ module.exports = {
|
|
|
26
26
|
"warning-border-color": "#ffcb78",
|
|
27
27
|
"error-color": "#fb2323",
|
|
28
28
|
"error-bg-color": "#fff2f4",
|
|
29
|
-
"error-border-color": "#
|
|
29
|
+
"error-border-color": "#fc808B",
|
|
30
30
|
"ongoing-color": "#276ff5",
|
|
31
31
|
"ongoing-bg-color": "#f2f9ff",
|
|
32
32
|
"ongoing-border-color": "#85b8ff",
|
|
@@ -6460,14 +6460,8 @@ textarea {
|
|
|
6460
6460
|
// });
|
|
6461
6461
|
}
|
|
6462
6462
|
|
|
6463
|
-
&-ok-btn,
|
|
6464
|
-
&-cancel-btn {
|
|
6465
|
-
min-width: 88px;
|
|
6466
|
-
min-height: 32px;
|
|
6467
|
-
font-size: @modal-footer-font-size;
|
|
6468
|
-
}
|
|
6469
6463
|
&-margin-btn {
|
|
6470
|
-
margin-right:
|
|
6464
|
+
margin-right: @modal-footer-button-spacing;
|
|
6471
6465
|
}
|
|
6472
6466
|
}
|
|
6473
6467
|
|
|
@@ -6533,12 +6527,15 @@ textarea {
|
|
|
6533
6527
|
@icon-circle-radiu: var(~'@{modal-prefix}-icon-circle-sizing', 6px);
|
|
6534
6528
|
@modal-border-width: var(~'@{modal-prefix}-sizing-border', 1px);
|
|
6535
6529
|
@modal-close-icon-size: var(~'@{modal-prefix}-close-icon-font-size', 16px);
|
|
6536
|
-
@modal-header-sizing-padding-horizontal: var(~'@{modal-prefix}-header-sizing-padding-horizontal', 20px);
|
|
6537
|
-
@modal-header-sizing-padding-vertical: var(~'@{modal-prefix}-header-sizing-padding-vertical', 0px);
|
|
6538
6530
|
@modal-header-sizing-height: var(~'@{modal-prefix}-header-sizing-height', 50px);
|
|
6539
|
-
@modal-body-sizing-padding: var(~'@{modal-prefix}-body-sizing-padding', 20px);
|
|
6540
6531
|
@modal-footer-sizing-height: var(~'@{modal-prefix}-footer-sizing-height', 50px);
|
|
6532
|
+
|
|
6533
|
+
// spacing
|
|
6534
|
+
@modal-footer-button-spacing: var(~'@{modal-prefix}-footer-button-spacing', 12px);
|
|
6541
6535
|
@modal-title-icon-sizing-margin-right: var(~'@{modal-prefix}-title-icon-sizing-margin-right', 8px);
|
|
6536
|
+
@modal-header-sizing-padding-horizontal: var(~'@{modal-prefix}-header-sizing-padding-horizontal', 20px);
|
|
6537
|
+
@modal-header-sizing-padding-vertical: var(~'@{modal-prefix}-header-sizing-padding-vertical', 0px);
|
|
6538
|
+
@modal-body-sizing-padding: var(~'@{modal-prefix}-body-sizing-padding', 20px);
|
|
6542
6539
|
|
|
6543
6540
|
|
|
6544
6541
|
|
|
@@ -7463,11 +7460,21 @@ textarea {
|
|
|
7463
7460
|
|
|
7464
7461
|
&-type-line {
|
|
7465
7462
|
width: 100%;
|
|
7463
|
+
color: @progress-line-font-color;
|
|
7464
|
+
|
|
7465
|
+
.@{progress-prefix-cls}-special-text {
|
|
7466
|
+
margin-top: @progress-line-text-margin-top;
|
|
7467
|
+
line-height: 24px;
|
|
7468
|
+
}
|
|
7466
7469
|
}
|
|
7467
7470
|
|
|
7468
7471
|
&-type-circle {
|
|
7472
|
+
color: @progress-circle-font-color;
|
|
7473
|
+
|
|
7469
7474
|
.@{progress-prefix-cls}-special-text {
|
|
7475
|
+
margin-top: @progress-circle-text-margin-top;
|
|
7470
7476
|
padding: 0;
|
|
7477
|
+
line-height: 24px;
|
|
7471
7478
|
}
|
|
7472
7479
|
}
|
|
7473
7480
|
|
|
@@ -7480,9 +7487,9 @@ textarea {
|
|
|
7480
7487
|
padding-right: 0;
|
|
7481
7488
|
font-size: 0;
|
|
7482
7489
|
|
|
7483
|
-
.@{progress-prefix-cls}-show-info & {
|
|
7484
|
-
margin-right: calc(-1 * @progress-line-text-font-size *
|
|
7485
|
-
padding-right: calc(@progress-line-text-font-size *
|
|
7490
|
+
.@{progress-prefix-cls}-show-info:not(.@{progress-prefix-cls}-position-bottom) & {
|
|
7491
|
+
margin-right: calc(-1 * @progress-line-text-font-size * 2 - 8px);
|
|
7492
|
+
padding-right: calc(@progress-line-text-font-size * 2 + 8px);
|
|
7486
7493
|
}
|
|
7487
7494
|
}
|
|
7488
7495
|
|
|
@@ -7520,7 +7527,7 @@ textarea {
|
|
|
7520
7527
|
&-text {
|
|
7521
7528
|
display: inline-block;
|
|
7522
7529
|
box-sizing: border-box;
|
|
7523
|
-
width: calc(@progress-line-text-font-size*
|
|
7530
|
+
width: calc(@progress-line-text-font-size*2);
|
|
7524
7531
|
margin-left: @progress-line-text-margin-left;
|
|
7525
7532
|
// font-size: @progress-line-text-font-size;
|
|
7526
7533
|
// line-height: 1;
|
|
@@ -7534,7 +7541,11 @@ textarea {
|
|
|
7534
7541
|
font-size: @progress-line-special-text-font-size;
|
|
7535
7542
|
text-align: center;
|
|
7536
7543
|
overflow: hidden;
|
|
7537
|
-
padding-right: calc(@progress-line-text-font-size*
|
|
7544
|
+
padding-right: calc(@progress-line-text-font-size*2 + 8px);
|
|
7545
|
+
|
|
7546
|
+
.@{progress-prefix-cls}-position-bottom & {
|
|
7547
|
+
padding-right: 0;
|
|
7548
|
+
}
|
|
7538
7549
|
}
|
|
7539
7550
|
|
|
7540
7551
|
&-status-success {
|
|
@@ -7653,6 +7664,8 @@ textarea {
|
|
|
7653
7664
|
|
|
7654
7665
|
// color
|
|
7655
7666
|
@progress-remaining-color: var(~'@{progress-prefix}-color-remaining', #e5e5e5);//背景色
|
|
7667
|
+
@progress-line-font-color: var(~'@{progress-prefix}-line-color-font', #212121);
|
|
7668
|
+
@progress-circle-font-color: var(~'@{progress-prefix}-circle-color-font', #666);
|
|
7656
7669
|
@progress-default-color: var(~'@{progress-prefix}-color-default', #5582f3);//进度条 默认色
|
|
7657
7670
|
@progress-success-color: var(~'@{progress-prefix}-color-success', @color-success);//进度条 成功
|
|
7658
7671
|
@progress-failure-color: var(~'@{progress-prefix}-color-failure', @color-error);//进度条 失败
|
|
@@ -7676,8 +7689,10 @@ textarea {
|
|
|
7676
7689
|
|
|
7677
7690
|
|
|
7678
7691
|
// spacing
|
|
7679
|
-
@progress-circle-unit-margin-top: var(~'@{progress-prefix}-circle-unit-spacing-margin-top', 18px);
|
|
7692
|
+
@progress-circle-unit-margin-top: var(~'@{progress-prefix}-circle-unit-spacing-margin-top', 18px); // 百分比符号距离顶部的距离
|
|
7680
7693
|
@progress-line-text-margin-left: var(~'@{progress-prefix}-line-text-spacing-margin-left', 8px); //进度与文字或者图标的间距
|
|
7694
|
+
@progress-line-text-margin-top: var(~'@{progress-prefix}-line-text-spacing-margin-top', 12px);
|
|
7695
|
+
@progress-circle-text-margin-top: var(~'@{progress-prefix}-circle-text-spacing-margin-top', 8px);
|
|
7681
7696
|
|
|
7682
7697
|
|
|
7683
7698
|
|
|
@@ -11328,7 +11343,7 @@ template {
|
|
|
11328
11343
|
@warning-border-color: #ffcb78; // 警示反馈浮层的容器边框色
|
|
11329
11344
|
@error-color: #fb2323; // 失败色(深)
|
|
11330
11345
|
@error-bg-color: #fff2f4; // 失败反馈浮层的底色
|
|
11331
|
-
@error-border-color: #
|
|
11346
|
+
@error-border-color: #fc808B; // 失败反馈浮层的容器边框色
|
|
11332
11347
|
@ongoing-color: #276ff5; // 进行中(深)
|
|
11333
11348
|
@ongoing-bg-color: #f2f9ff; // 进行中反馈浮层的底色
|
|
11334
11349
|
@ongoing-border-color: #85b8ff; // 进行中反馈浮层的容器边框色
|
|
@@ -12340,6 +12355,9 @@ template {
|
|
|
12340
12355
|
|
|
12341
12356
|
&-left-arrows {
|
|
12342
12357
|
box-shadow: 2px 0 2px rgba(0, 0, 0, 0.08);
|
|
12358
|
+
height: 100%;
|
|
12359
|
+
display: flex;
|
|
12360
|
+
align-items: center;
|
|
12343
12361
|
&-line {
|
|
12344
12362
|
background-color: #fff;
|
|
12345
12363
|
}
|
|
@@ -12349,6 +12367,9 @@ template {
|
|
|
12349
12367
|
}
|
|
12350
12368
|
&-right-arrows {
|
|
12351
12369
|
box-shadow: -2px 0 2px rgba(0, 0, 0, 0.08);
|
|
12370
|
+
height: 100%;
|
|
12371
|
+
display: flex;
|
|
12372
|
+
align-items: center;
|
|
12352
12373
|
&-line {
|
|
12353
12374
|
background-color: #fff;
|
|
12354
12375
|
.@{tabs-prefix-cls}-more-btn {
|
|
@@ -12372,18 +12393,7 @@ template {
|
|
|
12372
12393
|
}
|
|
12373
12394
|
&-left-operations {
|
|
12374
12395
|
position: relative;
|
|
12375
|
-
|
|
12376
|
-
margin-right: 8px;
|
|
12377
|
-
&::after {
|
|
12378
|
-
position: absolute;
|
|
12379
|
-
content: '';
|
|
12380
|
-
width: 1px;
|
|
12381
|
-
height: 28px;
|
|
12382
|
-
right: 0;
|
|
12383
|
-
top: 50%;
|
|
12384
|
-
transform: translateY(-50%);
|
|
12385
|
-
background-color: @tabs-border-color;
|
|
12386
|
-
}
|
|
12396
|
+
margin-right: 2px;
|
|
12387
12397
|
&-item {
|
|
12388
12398
|
padding: 0 12px;
|
|
12389
12399
|
cursor: pointer;
|
|
@@ -12391,19 +12401,9 @@ template {
|
|
|
12391
12401
|
}
|
|
12392
12402
|
&-right-operations {
|
|
12393
12403
|
position: relative;
|
|
12394
|
-
|
|
12395
|
-
&::before {
|
|
12396
|
-
position: absolute;
|
|
12397
|
-
content: '';
|
|
12398
|
-
width: 1px;
|
|
12399
|
-
height: 100%;
|
|
12400
|
-
left: 0;
|
|
12401
|
-
top: 50%;
|
|
12402
|
-
transform: translateY(-50%);
|
|
12403
|
-
background-color: @tabs-border-color;
|
|
12404
|
-
}
|
|
12404
|
+
padding-right: 18px;
|
|
12405
12405
|
&-item {
|
|
12406
|
-
padding:
|
|
12406
|
+
padding-left: 12px;
|
|
12407
12407
|
cursor: pointer;
|
|
12408
12408
|
}
|
|
12409
12409
|
}
|
|
@@ -12412,8 +12412,6 @@ template {
|
|
|
12412
12412
|
display: inline-block;
|
|
12413
12413
|
box-sizing: border-box;
|
|
12414
12414
|
width: 48px;
|
|
12415
|
-
height: 100%;
|
|
12416
|
-
line-height: 46px;
|
|
12417
12415
|
text-align: center;
|
|
12418
12416
|
cursor: pointer;
|
|
12419
12417
|
&:hover {
|
|
@@ -12432,6 +12430,20 @@ template {
|
|
|
12432
12430
|
.@{tabs-prefix-cls}-navs {
|
|
12433
12431
|
.tabNavs;
|
|
12434
12432
|
&-line {
|
|
12433
|
+
&.@{tabs-prefix-cls}-navs-middle {
|
|
12434
|
+
height: @tab-pane-type-line-height-middle;
|
|
12435
|
+
}
|
|
12436
|
+
&.@{tabs-prefix-cls}-navs-small {
|
|
12437
|
+
height: @tab-pane-type-line-height-small !important;
|
|
12438
|
+
}
|
|
12439
|
+
.@{tabPane-prefix-cls}-middle {
|
|
12440
|
+
line-height: @tab-pane-type-line-height-middle;
|
|
12441
|
+
height: @tab-pane-type-line-height-middle;
|
|
12442
|
+
}
|
|
12443
|
+
.@{tabPane-prefix-cls}-small {
|
|
12444
|
+
line-height: @tab-pane-type-line-height-small;
|
|
12445
|
+
height: @tab-pane-type-line-height-small;
|
|
12446
|
+
}
|
|
12435
12447
|
&.@{tabs-prefix-cls}-navs-bottom {
|
|
12436
12448
|
border-top: 1px solid @tabs-border-color;
|
|
12437
12449
|
border-bottom: unset;
|
|
@@ -12454,12 +12466,14 @@ template {
|
|
|
12454
12466
|
top: -1px;
|
|
12455
12467
|
height: ~'calc(100% + 2px)';
|
|
12456
12468
|
}
|
|
12457
|
-
&.@{tabs-prefix-cls}-navs-left,
|
|
12469
|
+
&.@{tabs-prefix-cls}-navs-left,
|
|
12470
|
+
&.@{tabs-prefix-cls}-navs-right {
|
|
12458
12471
|
min-width: 120px;
|
|
12459
12472
|
height: 100%;
|
|
12460
12473
|
font-size: 0;
|
|
12461
12474
|
border-top: 1px solid transparent;
|
|
12462
|
-
&::before,
|
|
12475
|
+
&::before,
|
|
12476
|
+
&::after {
|
|
12463
12477
|
position: absolute;
|
|
12464
12478
|
content: '';
|
|
12465
12479
|
display: inline-block;
|
|
@@ -12498,12 +12512,12 @@ template {
|
|
|
12498
12512
|
&-dynamic {
|
|
12499
12513
|
background-color: @tabs-card-bg;
|
|
12500
12514
|
border-bottom: unset;
|
|
12501
|
-
height:
|
|
12515
|
+
height: @tab-pane-type-dynamic-height;
|
|
12502
12516
|
.@{tabs-prefix-cls}-tab-wrap {
|
|
12503
|
-
height:
|
|
12517
|
+
height: @tab-pane-type-dynamic-height;
|
|
12504
12518
|
}
|
|
12505
12519
|
.@{tabs-prefix-cls}-more-btn {
|
|
12506
|
-
line-height:
|
|
12520
|
+
line-height: @tab-pane-type-dynamic-height;
|
|
12507
12521
|
}
|
|
12508
12522
|
}
|
|
12509
12523
|
&-small:not(.@{tabs-prefix-cls}-navs-left):not(.@{tabs-prefix-cls}-navs-right) {
|
|
@@ -12519,7 +12533,8 @@ template {
|
|
|
12519
12533
|
&-text {
|
|
12520
12534
|
display: inline-block;
|
|
12521
12535
|
transition: color @tab-g-motion-duration;
|
|
12522
|
-
&-active,
|
|
12536
|
+
&-active,
|
|
12537
|
+
&:hover {
|
|
12523
12538
|
color: @tabPane-font-color-active;
|
|
12524
12539
|
}
|
|
12525
12540
|
&-disabled {
|
|
@@ -12535,35 +12550,28 @@ template {
|
|
|
12535
12550
|
color: @tabPane-font-color-disabled;
|
|
12536
12551
|
}
|
|
12537
12552
|
}
|
|
12553
|
+
&-type-line {
|
|
12554
|
+
padding: 0 @tab-pane-line-paddinng-horizontal;
|
|
12555
|
+
}
|
|
12538
12556
|
&-type-card {
|
|
12539
12557
|
margin-right: 0;
|
|
12540
|
-
|
|
12541
|
-
|
|
12542
|
-
}
|
|
12558
|
+
padding: 0 @tab-pane-card-paddinng-horizontal;
|
|
12559
|
+
border: 1px solid transparent;
|
|
12543
12560
|
&.@{tabPane-prefix-cls}-box-active {
|
|
12544
12561
|
background-color: #fff;
|
|
12545
12562
|
border: 1px solid @tabs-border-color;
|
|
12546
12563
|
border-top: 2px solid;
|
|
12547
12564
|
border-color: @tab-line-color-active @tabs-border-color transparent @tabs-border-color;
|
|
12548
|
-
transition: background-color .2s @tab-transition-fn;
|
|
12565
|
+
transition: background-color 0.2s @tab-transition-fn;
|
|
12549
12566
|
&:first-of-type {
|
|
12550
|
-
border-left:
|
|
12551
|
-
}
|
|
12552
|
-
}
|
|
12553
|
-
&.@{tabPane-prefix-cls}-left, &.@{tabPane-prefix-cls}-right {
|
|
12554
|
-
width: 100%;
|
|
12555
|
-
padding: 0;
|
|
12556
|
-
text-align: center;
|
|
12557
|
-
border-top: 1px solid @tabs-border-color;
|
|
12558
|
-
&:last-of-type {
|
|
12559
|
-
border-bottom: 1px solid @tabs-border-color;
|
|
12567
|
+
border-left-color: transparent;
|
|
12560
12568
|
}
|
|
12561
12569
|
}
|
|
12562
12570
|
&.@{tabPane-prefix-cls}-left {
|
|
12563
|
-
border-left:
|
|
12571
|
+
border-left: 2px solid transparent;
|
|
12564
12572
|
&.@{tabPane-prefix-cls}-box-active {
|
|
12565
|
-
border-left: 2px solid
|
|
12566
|
-
border-
|
|
12573
|
+
border-left: 2px solid;
|
|
12574
|
+
border-color: @tabs-border-color transparent transparent @tab-line-color-active;
|
|
12567
12575
|
}
|
|
12568
12576
|
}
|
|
12569
12577
|
&.@{tabPane-prefix-cls}-right {
|
|
@@ -12573,20 +12581,43 @@ template {
|
|
|
12573
12581
|
border-left: 1px solid transparent;
|
|
12574
12582
|
}
|
|
12575
12583
|
}
|
|
12584
|
+
&.@{tabPane-prefix-cls}-left,
|
|
12585
|
+
&.@{tabPane-prefix-cls}-right {
|
|
12586
|
+
width: 100%;
|
|
12587
|
+
border-top: 1px solid @tabs-border-color;
|
|
12588
|
+
&:last-of-type {
|
|
12589
|
+
border-bottom: 1px solid @tabs-border-color;
|
|
12590
|
+
}
|
|
12591
|
+
}
|
|
12576
12592
|
&.@{tabPane-prefix-cls}-bottom {
|
|
12593
|
+
border-top: 1px solid transparent;
|
|
12594
|
+
border-bottom: 2px solid transparent;
|
|
12577
12595
|
&.@{tabPane-prefix-cls}-box-active {
|
|
12578
12596
|
border-bottom: 2px solid;
|
|
12579
|
-
border-color:
|
|
12597
|
+
border-color: transparent @tabs-border-color @tab-line-color-active @tabs-border-color;
|
|
12598
|
+
&:first-of-type {
|
|
12599
|
+
border-left-color: transparent;
|
|
12600
|
+
}
|
|
12601
|
+
}
|
|
12602
|
+
}
|
|
12603
|
+
&.@{tabPane-prefix-cls}-top {
|
|
12604
|
+
border-top: 2px solid transparent;
|
|
12605
|
+
&.@{tabPane-prefix-cls}-box-active {
|
|
12606
|
+
border-top: 2px solid;
|
|
12607
|
+
border-color: @tab-line-color-active @tabs-border-color transparent @tabs-border-color;
|
|
12608
|
+
&:first-of-type {
|
|
12609
|
+
border-left-color: transparent;
|
|
12610
|
+
}
|
|
12580
12611
|
}
|
|
12581
12612
|
}
|
|
12582
12613
|
}
|
|
12583
12614
|
&-type-dynamic {
|
|
12584
|
-
height:
|
|
12585
|
-
line-height:
|
|
12586
|
-
margin: 0 0 0
|
|
12615
|
+
height: @tab-pane-type-dynamic-height;
|
|
12616
|
+
line-height: @tab-pane-type-dynamic-height;
|
|
12617
|
+
margin: 0 0 0 4px;
|
|
12587
12618
|
display: inline-flex;
|
|
12588
12619
|
align-items: center;
|
|
12589
|
-
&:hover {
|
|
12620
|
+
&:not(.@{tabPane-prefix-cls}-disabled):hover {
|
|
12590
12621
|
.@{tabPane-prefix-cls}-operations {
|
|
12591
12622
|
span:first-child {
|
|
12592
12623
|
opacity: 1;
|
|
@@ -12595,13 +12626,13 @@ template {
|
|
|
12595
12626
|
}
|
|
12596
12627
|
}
|
|
12597
12628
|
.@{tabPane-prefix-cls}-operations .@{icon-prefix-cls} {
|
|
12598
|
-
font-size:
|
|
12629
|
+
font-size: 16px;
|
|
12599
12630
|
}
|
|
12600
12631
|
}
|
|
12601
12632
|
&-type-grid {
|
|
12602
12633
|
height: 24px;
|
|
12603
12634
|
line-height: 22px;
|
|
12604
|
-
padding: 0
|
|
12635
|
+
padding: 0 @tab-pane-grid-paddinng-horizontal;
|
|
12605
12636
|
border: 1px solid @tabs-border-color;
|
|
12606
12637
|
margin-right: -1px;
|
|
12607
12638
|
&:first-of-type {
|
|
@@ -12615,7 +12646,7 @@ template {
|
|
|
12615
12646
|
z-index: 2;
|
|
12616
12647
|
background-color: @tab-line-color-active;
|
|
12617
12648
|
border: 1px solid @tab-line-color-active;
|
|
12618
|
-
transition: background-color .2s @tab-transition-fn;
|
|
12649
|
+
transition: background-color 0.2s @tab-transition-fn;
|
|
12619
12650
|
.@{tabPane-prefix-cls}-text-active {
|
|
12620
12651
|
color: #fff;
|
|
12621
12652
|
}
|
|
@@ -12631,24 +12662,13 @@ template {
|
|
|
12631
12662
|
position: relative;
|
|
12632
12663
|
display: inline-block;
|
|
12633
12664
|
line-height: 1;
|
|
12634
|
-
padding: 0
|
|
12665
|
+
padding: 0 4px;
|
|
12635
12666
|
span:first-child {
|
|
12636
12667
|
display: inline-block;
|
|
12637
12668
|
vertical-align: top;
|
|
12638
12669
|
font-size: 0;
|
|
12639
12670
|
opacity: 0;
|
|
12640
12671
|
}
|
|
12641
|
-
&::after {
|
|
12642
|
-
position: absolute;
|
|
12643
|
-
content: '';
|
|
12644
|
-
width: 1px;
|
|
12645
|
-
height: 14px;
|
|
12646
|
-
background-color: @tabs-border-color;
|
|
12647
|
-
right: 0;
|
|
12648
|
-
top: 50%;
|
|
12649
|
-
opacity: 1;
|
|
12650
|
-
transform: translateY(-50%);
|
|
12651
|
-
}
|
|
12652
12672
|
}
|
|
12653
12673
|
&-small {
|
|
12654
12674
|
height: 36px;
|
|
@@ -12672,8 +12692,6 @@ template {
|
|
|
12672
12692
|
display: inline-block;
|
|
12673
12693
|
box-sizing: border-box;
|
|
12674
12694
|
width: 48px;
|
|
12675
|
-
height: 100%;
|
|
12676
|
-
line-height: 46px;
|
|
12677
12695
|
text-align: center;
|
|
12678
12696
|
cursor: pointer;
|
|
12679
12697
|
&:hover {
|
|
@@ -12684,7 +12702,7 @@ template {
|
|
|
12684
12702
|
}
|
|
12685
12703
|
&-dynamic {
|
|
12686
12704
|
width: 24px;
|
|
12687
|
-
line-height:
|
|
12705
|
+
line-height: @tab-pane-type-dynamic-height;
|
|
12688
12706
|
}
|
|
12689
12707
|
&-disabled {
|
|
12690
12708
|
color: @tabPane-font-color-disabled;
|
|
@@ -12699,16 +12717,12 @@ template {
|
|
|
12699
12717
|
}
|
|
12700
12718
|
|
|
12701
12719
|
|
|
12720
|
+
|
|
12702
12721
|
.tabs() {
|
|
12703
12722
|
display: flex;
|
|
12704
12723
|
flex-direction: column;
|
|
12705
12724
|
flex-wrap: nowrap;
|
|
12706
12725
|
height: 100%;
|
|
12707
|
-
// box-sizing: border-box;
|
|
12708
|
-
// width: 100%;
|
|
12709
|
-
// height: @tabs-height;
|
|
12710
|
-
// color: @tabs-font-color;
|
|
12711
|
-
// border-bottom: @tabs-border-width solid @tabs-border-color;
|
|
12712
12726
|
}
|
|
12713
12727
|
.tabNavs() {
|
|
12714
12728
|
position: relative;
|
|
@@ -12728,7 +12742,6 @@ template {
|
|
|
12728
12742
|
color: @tabs-font-color;
|
|
12729
12743
|
height: @tab-pane-height;
|
|
12730
12744
|
line-height: @tab-pane-line-height;
|
|
12731
|
-
margin-right: @tab-pane-margin-right;
|
|
12732
12745
|
cursor: pointer;
|
|
12733
12746
|
}
|
|
12734
12747
|
|
|
@@ -12739,7 +12752,7 @@ template {
|
|
|
12739
12752
|
@tabs-border-color: var(~'@{tabs-custom-prefix}-color-border', @color-border-strong);
|
|
12740
12753
|
@tab-line-color-active: var(~'@{tabs-custom-prefix}-line-color-active', @color-theme);
|
|
12741
12754
|
@tabs-card-bg: var(~'@{tabs-custom-prefix}-card-color-background', @color-background-contain-disabled);
|
|
12742
|
-
@tab-disabled-bg: var(~'@{tabs-custom-prefix}-color-background-disabled',
|
|
12755
|
+
@tab-disabled-bg: var(~'@{tabs-custom-prefix}-color-background-disabled', transparent);
|
|
12743
12756
|
@tabs-font-color: var(~'@{tabs-custom-prefix}-color-text', @color-text-secondary);
|
|
12744
12757
|
@tabPane-font-color-active: var(~'@{tabs-custom-prefix}-color-text-active', @color-theme);
|
|
12745
12758
|
@tabPane-font-color-hover: var(~'@{tabs-custom-prefix}-color-text-hover', @color-theme);
|
|
@@ -12749,7 +12762,7 @@ template {
|
|
|
12749
12762
|
@tabPane-font-size: var(~'@{tabs-custom-prefix}-pane-font-size', @font-size-middle);
|
|
12750
12763
|
|
|
12751
12764
|
// line-height
|
|
12752
|
-
@tab-pane-line-height: var(~'@{tabs-custom-prefix}-pane-
|
|
12765
|
+
@tab-pane-line-height: var(~'@{tabs-custom-prefix}-pane-height', 48px);
|
|
12753
12766
|
|
|
12754
12767
|
// motion
|
|
12755
12768
|
@tab-transition-fn: var(~'@{tabs-custom-prefix}-motion-timing-function', cubic-bezier(0.42, 0, 1, 1));
|
|
@@ -12759,10 +12772,15 @@ template {
|
|
|
12759
12772
|
@tabs-height: var(~'@{tabs-custom-prefix}-sizing-height', 48px);
|
|
12760
12773
|
@tabs-border-width: var(~'@{tabs-custom-prefix}-sizing-border', 1px);
|
|
12761
12774
|
@tab-pane-height: var(~'@{tabs-custom-prefix}-pane-sizing-height', 48px);
|
|
12775
|
+
@tab-pane-type-line-height-small: var(~'@{tabs-custom-prefix}-pane-type-line-sizing-height-small', 32px);
|
|
12776
|
+
@tab-pane-type-line-height-middle: var(~'@{tabs-custom-prefix}-pane-type-line-sizing-height-middle', 32px);
|
|
12777
|
+
@tab-pane-type-dynamic-height: var(~'@{tabs-custom-prefix}-pane-type-dynamic-sizing-height', 32px);
|
|
12762
12778
|
|
|
12763
12779
|
|
|
12764
12780
|
// spacing
|
|
12765
|
-
@tab-pane-
|
|
12781
|
+
@tab-pane-line-paddinng-horizontal: var(~'@{tabs-custom-prefix}-pane-line-paddinng-horizontal', 20px);
|
|
12782
|
+
@tab-pane-card-paddinng-horizontal: var(~'@{tabs-custom-prefix}-pane-card-paddinng-horizontal', 18px);
|
|
12783
|
+
@tab-pane-grid-paddinng-horizontal: var(~'@{tabs-custom-prefix}-pane-grid-paddinng-horizontal', 20px);
|
|
12766
12784
|
|
|
12767
12785
|
|
|
12768
12786
|
|
|
@@ -13551,6 +13569,7 @@ template {
|
|
|
13551
13569
|
flex-grow: 1;
|
|
13552
13570
|
font-size: @tree-font-size;
|
|
13553
13571
|
color: @tree-color-text;
|
|
13572
|
+
margin-left: @tree-margin-left;
|
|
13554
13573
|
&-root {
|
|
13555
13574
|
min-width: 100%;
|
|
13556
13575
|
flex-shrink: 0;
|
|
@@ -13570,7 +13589,7 @@ template {
|
|
|
13570
13589
|
align-items: center;
|
|
13571
13590
|
|
|
13572
13591
|
.@{kd-prefix}-spin-dot-spin {
|
|
13573
|
-
border:
|
|
13592
|
+
border: 2px solid transparent;
|
|
13574
13593
|
width: @tree-expand-icon-loading-width;
|
|
13575
13594
|
height: @tree-expand-icon-loading-height;
|
|
13576
13595
|
|
|
@@ -13587,7 +13606,7 @@ template {
|
|
|
13587
13606
|
display: flex;
|
|
13588
13607
|
align-items: center;
|
|
13589
13608
|
|
|
13590
|
-
.node-hover()
|
|
13609
|
+
.node-hover();
|
|
13591
13610
|
}
|
|
13592
13611
|
|
|
13593
13612
|
&-indent {
|
|
@@ -13655,14 +13674,14 @@ template {
|
|
|
13655
13674
|
.node-hover();
|
|
13656
13675
|
|
|
13657
13676
|
&-selected {
|
|
13658
|
-
.node-selected()
|
|
13677
|
+
.node-selected();
|
|
13659
13678
|
}
|
|
13660
13679
|
}
|
|
13661
13680
|
&-title {
|
|
13662
13681
|
white-space: nowrap;
|
|
13663
13682
|
}
|
|
13664
13683
|
&-selected {
|
|
13665
|
-
.node-selected()
|
|
13684
|
+
.node-selected();
|
|
13666
13685
|
}
|
|
13667
13686
|
|
|
13668
13687
|
&-draggabled {
|
|
@@ -13756,6 +13775,7 @@ template {
|
|
|
13756
13775
|
@tree-expand-icon-loading-width: var(~'@{tree-prefix}-expand-icon-loading-sizing-width', 16px);
|
|
13757
13776
|
@tree-node-icon-height: var(~'@{tree-prefix}-node-icon-sizing-height', 16px);
|
|
13758
13777
|
@tree-node-icon-width: var(~'@{tree-prefix}-node-icon-sizing-width', 16px);
|
|
13778
|
+
@tree-margin-left: var(~'@{tree-prefix}-spacing-margin-left', 16px);
|
|
13759
13779
|
|
|
13760
13780
|
// font
|
|
13761
13781
|
@tree-font-size: var(~'@{tree-prefix}-font-size', @font-size-small);
|
|
@@ -13766,6 +13786,7 @@ template {
|
|
|
13766
13786
|
|
|
13767
13787
|
|
|
13768
13788
|
|
|
13789
|
+
|
|
13769
13790
|
@typography-prefix-cls: ~'@{kd-prefix}-typography';
|
|
13770
13791
|
.@{typography-prefix-cls} {
|
|
13771
13792
|
color: @typography-color-text-primary;
|
|
@@ -14085,13 +14106,14 @@ template {
|
|
|
14085
14106
|
|
|
14086
14107
|
.@{upload-prefix-text-list-cls} {
|
|
14087
14108
|
.reset-component;
|
|
14088
|
-
margin-top:
|
|
14109
|
+
margin-top: @upload-text-list-margin-top;
|
|
14089
14110
|
font-size: @upload-font-size;
|
|
14090
14111
|
border-top: 1px dashed @upload-border-color-strong;
|
|
14091
14112
|
|
|
14092
14113
|
&-item {
|
|
14093
14114
|
position: relative;
|
|
14094
|
-
padding:
|
|
14115
|
+
padding: 0 @upload-text-list-item-padding-horizontal;
|
|
14116
|
+
height: @upload-list-item-height;
|
|
14095
14117
|
overflow: hidden;
|
|
14096
14118
|
white-space: nowrap;
|
|
14097
14119
|
display: flex;
|
|
@@ -14116,9 +14138,13 @@ template {
|
|
|
14116
14138
|
}
|
|
14117
14139
|
}
|
|
14118
14140
|
|
|
14141
|
+
&-icon > i {
|
|
14142
|
+
font-size: @upload-font-size;
|
|
14143
|
+
}
|
|
14144
|
+
|
|
14119
14145
|
&-name {
|
|
14120
14146
|
display: inline-block;
|
|
14121
|
-
margin: 0
|
|
14147
|
+
margin: 0 @upload-text-list-item-name-padding-right 0 @upload-text-list-item-name-padding-left;
|
|
14122
14148
|
.ellipsis;
|
|
14123
14149
|
color: @upload-panel-color;
|
|
14124
14150
|
}
|
|
@@ -14131,7 +14157,9 @@ template {
|
|
|
14131
14157
|
position: absolute;
|
|
14132
14158
|
top: 0;
|
|
14133
14159
|
right: 0;
|
|
14134
|
-
padding:
|
|
14160
|
+
padding: 0 @upload-text-list-item-padding-horizontal;
|
|
14161
|
+
height: @upload-list-item-height;
|
|
14162
|
+
line-height: @upload-list-item-height;
|
|
14135
14163
|
background-color: transparent;
|
|
14136
14164
|
opacity: 0;
|
|
14137
14165
|
visibility: hidden;
|
|
@@ -14211,6 +14239,7 @@ template {
|
|
|
14211
14239
|
|
|
14212
14240
|
&.error {
|
|
14213
14241
|
border-color: @upload-border-error-color;
|
|
14242
|
+
background-color: @upload-background-error-color;
|
|
14214
14243
|
}
|
|
14215
14244
|
|
|
14216
14245
|
&-loading {
|
|
@@ -14235,7 +14264,7 @@ template {
|
|
|
14235
14264
|
justify-content: center;
|
|
14236
14265
|
|
|
14237
14266
|
&-text {
|
|
14238
|
-
margin-bottom:
|
|
14267
|
+
margin-bottom: 4px;
|
|
14239
14268
|
color: @upload-text-error-color;
|
|
14240
14269
|
}
|
|
14241
14270
|
|
|
@@ -14246,6 +14275,11 @@ template {
|
|
|
14246
14275
|
}
|
|
14247
14276
|
}
|
|
14248
14277
|
}
|
|
14278
|
+
|
|
14279
|
+
&-action > a {
|
|
14280
|
+
color: @upload-panel-button-color;
|
|
14281
|
+
font-size: @upload-picture-action-font-size;
|
|
14282
|
+
}
|
|
14249
14283
|
}
|
|
14250
14284
|
}
|
|
14251
14285
|
}
|
|
@@ -14258,6 +14292,7 @@ template {
|
|
|
14258
14292
|
@upload-text-color: var(~'@{upload-prefix}-color', @color-text-third);
|
|
14259
14293
|
|
|
14260
14294
|
@upload-text-error-color: var(~'@{upload-prefix}-error-color', @color-error);
|
|
14295
|
+
@upload-background-error-color: var(~'@{upload-prefix}-color-background-error', @color-background-error);
|
|
14261
14296
|
@upload-border-error-color: var(~'@{upload-prefix}-color-border-error', @color-border-error);
|
|
14262
14297
|
@upload-border-color: var(~'@{upload-prefix}-color-border', @color-border-weak);
|
|
14263
14298
|
@upload-border-color-strong: var(~'@{upload-prefix}-division-color', @color-border-strong);
|
|
@@ -14274,8 +14309,18 @@ template {
|
|
|
14274
14309
|
|
|
14275
14310
|
// font
|
|
14276
14311
|
@upload-font-size: var(~'@{upload-prefix}-font-size', @font-size-middle);
|
|
14312
|
+
@upload-picture-action-font-size: var(~'@{upload-prefix}-picture-action-font-size', @font-size-small);
|
|
14277
14313
|
|
|
14278
14314
|
// radius
|
|
14279
14315
|
@upload-border-radius: var(~'@{upload-prefix}-radius-border', @radius-border);
|
|
14280
14316
|
|
|
14317
|
+
// sizing
|
|
14318
|
+
@upload-list-item-height: var(~'@{upload-prefix}-list-item-height', 44px);
|
|
14319
|
+
|
|
14320
|
+
//spacing
|
|
14321
|
+
@upload-text-list-margin-top: var(~'@{upload-prefix}-text-list-margin-top', 16px);
|
|
14322
|
+
@upload-text-list-item-padding-horizontal: var(~'@{upload-prefix}-text-list-item-padding-horizontal', 20px);
|
|
14323
|
+
@upload-text-list-item-name-padding-left: var(~'@{upload-prefix}-text-list-item-name-padding-left', 4px);
|
|
14324
|
+
@upload-text-list-item-name-padding-right: var(~'@{upload-prefix}-text-list-item-name-padding-right', 8px);
|
|
14325
|
+
|
|
14281
14326
|
|