@kdcloudjs/kdesign 1.2.3 → 1.3.0
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 +19 -0
- package/dist/kdesign-complete.less +7 -64
- package/dist/kdesign.css +15 -89
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +123 -104
- 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/badge/style/index.css +3 -4
- package/es/badge/style/index.less +3 -4
- package/es/badge/style/token.less +1 -0
- package/es/carousel/style/index.css +11 -84
- package/es/carousel/style/index.less +3 -60
- package/es/checkbox/checkbox.js +4 -2
- package/es/form/Field.d.ts +2 -1
- package/es/form/Field.js +30 -18
- package/es/select/index.d.ts +2 -2
- package/es/select/interface.d.ts +7 -7
- package/lib/badge/style/index.css +3 -4
- package/lib/badge/style/index.less +3 -4
- package/lib/badge/style/token.less +1 -0
- package/lib/carousel/style/index.css +11 -84
- package/lib/carousel/style/index.less +3 -60
- package/lib/checkbox/checkbox.js +4 -2
- package/lib/form/Field.d.ts +2 -1
- package/lib/form/Field.js +32 -20
- package/lib/select/index.d.ts +2 -2
- package/lib/select/interface.d.ts +7 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
## [1.2.3](https://github.com/kdcloudone/kdesign/compare/v1.2.2...v1.2.3) (2022-05-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* [button] 更新主要按钮禁用色 ([edc68e9](https://github.com/kdcloudone/kdesign/commit/edc68e91ad1760812690c2a44d98d151ac7dac5f))
|
|
7
|
+
* [button] 修复幽灵按钮的文字颜色 ([ea1da1d](https://github.com/kdcloudone/kdesign/commit/ea1da1d65351e13575a46501d64479e82eeb5812))
|
|
8
|
+
* [carousel] 解决走马灯自适应问题 ([06969d1](https://github.com/kdcloudone/kdesign/commit/06969d1816c369a41162eeb768d4c14907d5d28b))
|
|
9
|
+
* [form]fix error message ([04d1b6d](https://github.com/kdcloudone/kdesign/commit/04d1b6d120a4bbb62c88694de7c2275550b69cc5))
|
|
10
|
+
* [form]reset errormessage ([6232844](https://github.com/kdcloudone/kdesign/commit/6232844630b131a54eb4238a07dbee2e6d9af191))
|
|
11
|
+
* [menu]del title ([a172601](https://github.com/kdcloudone/kdesign/commit/a172601a96283e871ad604389e6b4e5410a531c5))
|
|
12
|
+
* [menu]fix hover ([d498cca](https://github.com/kdcloudone/kdesign/commit/d498ccaab616fe20cf005c89413fd0ff055c8b62))
|
|
13
|
+
* [others] 更新gio的请求id ([46ef68d](https://github.com/kdcloudone/kdesign/commit/46ef68ddd0bd9f6d1ac2b6260ccfe5428646a83e))
|
|
14
|
+
* [select] 修复禁用状态下的样式 ([a6b837d](https://github.com/kdcloudone/kdesign/commit/a6b837d3cab29cf4ee511377e481354c9f29818f))
|
|
15
|
+
* [stepper] 修复stepper的demo点击递增显示错误 ([85dd79a](https://github.com/kdcloudone/kdesign/commit/85dd79a582a644bf63b621d5e7536969fde5e7ce))
|
|
16
|
+
* [tooltip] 修复视觉走查问题点 ([4db4648](https://github.com/kdcloudone/kdesign/commit/4db464805141060a60603e7b8fe045701ab79753))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
1
20
|
## [1.2.2](https://github.com/kdcloudone/kdesign/compare/v1.2.1...v1.2.2) (2022-04-28)
|
|
2
21
|
|
|
3
22
|
|
|
@@ -579,7 +579,6 @@
|
|
|
579
579
|
background-color: @badge-color-success;
|
|
580
580
|
}
|
|
581
581
|
&-processing {
|
|
582
|
-
position: relative;
|
|
583
582
|
background-color: @badge-color-ongoing;
|
|
584
583
|
&::after {
|
|
585
584
|
position: absolute;
|
|
@@ -594,13 +593,13 @@
|
|
|
594
593
|
}
|
|
595
594
|
}
|
|
596
595
|
&-error {
|
|
597
|
-
background-color: @badge-color-
|
|
596
|
+
background-color: @badge-color-error;
|
|
598
597
|
}
|
|
599
598
|
&-default {
|
|
600
|
-
background-color: @badge-color-
|
|
599
|
+
background-color: @badge-color-default;
|
|
601
600
|
}
|
|
602
601
|
&-warning {
|
|
603
|
-
background-color: @badge-color-
|
|
602
|
+
background-color: @badge-color-warning;
|
|
604
603
|
}
|
|
605
604
|
}
|
|
606
605
|
|
|
@@ -655,6 +654,7 @@
|
|
|
655
654
|
@badge-color-ongoing: var(~'@{badge-prefix}-color-ongoing', @color-ongoing);
|
|
656
655
|
@badge-color-warning: var(~'@{badge-prefix}-color-warning', @color-warning);
|
|
657
656
|
@badge-color-error: var(~'@{badge-prefix}-color-error', @color-error);
|
|
657
|
+
@badge-color-default: var(~'@{badge-prefix}-color-default', #d9d9d9);
|
|
658
658
|
|
|
659
659
|
|
|
660
660
|
|
|
@@ -1530,71 +1530,11 @@
|
|
|
1530
1530
|
overflow: hidden;
|
|
1531
1531
|
flex: 1;
|
|
1532
1532
|
}
|
|
1533
|
-
&-slidelist {
|
|
1534
|
-
list-style: none;
|
|
1535
|
-
display: flex;
|
|
1536
|
-
flex-direction: row;
|
|
1537
|
-
width: 100%;
|
|
1538
|
-
&-item {
|
|
1539
|
-
flex-shrink: 0;
|
|
1540
|
-
height: 100%;
|
|
1541
|
-
width: 100%;
|
|
1542
|
-
overflow: hidden;
|
|
1543
|
-
border-radius: @carousel-boder-radius;
|
|
1544
|
-
}
|
|
1545
|
-
}
|
|
1546
|
-
&-fadelist {
|
|
1547
|
-
list-style: none;
|
|
1548
|
-
display: flex;
|
|
1549
|
-
flex-direction: row;
|
|
1550
|
-
flex: 1;
|
|
1551
|
-
position: relative;
|
|
1552
|
-
&-item {
|
|
1553
|
-
opacity: 1;
|
|
1554
|
-
position: relative;
|
|
1555
|
-
flex-shrink: 0;
|
|
1556
|
-
height: 100%;
|
|
1557
|
-
width: 100%;
|
|
1558
|
-
&-animation {
|
|
1559
|
-
transition: opacity 0.3s ease;
|
|
1560
|
-
}
|
|
1561
|
-
&-none-animation {
|
|
1562
|
-
transition: none;
|
|
1563
|
-
}
|
|
1564
|
-
&-not-hidden {
|
|
1565
|
-
opacity: 1;
|
|
1566
|
-
}
|
|
1567
|
-
&-hidden {
|
|
1568
|
-
opacity: 0;
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
|
-
}
|
|
1572
|
-
&-displaylist {
|
|
1573
|
-
list-style: none;
|
|
1574
|
-
display: flex;
|
|
1575
|
-
flex-direction: row;
|
|
1576
|
-
width: 100%;
|
|
1577
|
-
position: relative;
|
|
1578
|
-
&-item {
|
|
1579
|
-
display: block;
|
|
1580
|
-
position: relative;
|
|
1581
|
-
flex-shrink: 0;
|
|
1582
|
-
height: 100%;
|
|
1583
|
-
width: 100%;
|
|
1584
|
-
&-not-hidden {
|
|
1585
|
-
display: block;
|
|
1586
|
-
}
|
|
1587
|
-
&-hidden {
|
|
1588
|
-
display: none;
|
|
1589
|
-
}
|
|
1590
|
-
}
|
|
1591
|
-
}
|
|
1592
1533
|
|
|
1593
1534
|
&-list {
|
|
1594
1535
|
list-style: none;
|
|
1595
1536
|
display: flex;
|
|
1596
1537
|
flex-direction: row;
|
|
1597
|
-
flex: 1;
|
|
1598
1538
|
position: relative;
|
|
1599
1539
|
|
|
1600
1540
|
&-item {
|
|
@@ -1605,6 +1545,7 @@
|
|
|
1605
1545
|
}
|
|
1606
1546
|
|
|
1607
1547
|
&-slide {
|
|
1548
|
+
width: 100%;
|
|
1608
1549
|
.@{carousel-prefix-cls}-list-item {
|
|
1609
1550
|
opacity: 1;
|
|
1610
1551
|
border-radius: @carousel-boder-radius;
|
|
@@ -1624,6 +1565,7 @@
|
|
|
1624
1565
|
}
|
|
1625
1566
|
|
|
1626
1567
|
&-fade {
|
|
1568
|
+
flex: 1;
|
|
1627
1569
|
.@{carousel-prefix-cls}-list-item {
|
|
1628
1570
|
opacity: 1;
|
|
1629
1571
|
&-animation {
|
|
@@ -1642,6 +1584,7 @@
|
|
|
1642
1584
|
}
|
|
1643
1585
|
|
|
1644
1586
|
&-display {
|
|
1587
|
+
width: 100%;
|
|
1645
1588
|
.@{carousel-prefix-cls}-list-item {
|
|
1646
1589
|
display: block;
|
|
1647
1590
|
&-not-hidden {
|
package/dist/kdesign.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @kdcloudjs/kdesign v1.2.
|
|
3
|
+
* @kdcloudjs/kdesign v1.2.3
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2020-present, Kingdee, Inc.
|
|
6
6
|
* All rights reserved.
|
|
@@ -2954,7 +2954,6 @@ template {
|
|
|
2954
2954
|
background-color: var(--kd-c-badge-color-success, var(--kd-g-color-success, #1ba854));
|
|
2955
2955
|
}
|
|
2956
2956
|
.kd-badge-status-processing {
|
|
2957
|
-
position: relative;
|
|
2958
2957
|
background-color: var(--kd-c-badge-color-ongoing, var(--kd-g-color-ongoing, #276ff5));
|
|
2959
2958
|
}
|
|
2960
2959
|
.kd-badge-status-processing::after {
|
|
@@ -2970,13 +2969,13 @@ template {
|
|
|
2970
2969
|
content: '';
|
|
2971
2970
|
}
|
|
2972
2971
|
.kd-badge-status-error {
|
|
2973
|
-
background-color: var(--kd-c-badge-color-
|
|
2972
|
+
background-color: var(--kd-c-badge-color-error, var(--kd-g-color-error, #fb2323));
|
|
2974
2973
|
}
|
|
2975
2974
|
.kd-badge-status-default {
|
|
2976
|
-
background-color: var(--kd-c-badge-color-
|
|
2975
|
+
background-color: var(--kd-c-badge-color-default, #d9d9d9);
|
|
2977
2976
|
}
|
|
2978
2977
|
.kd-badge-status-warning {
|
|
2979
|
-
background-color: var(--kd-c-badge-color-
|
|
2978
|
+
background-color: var(--kd-c-badge-color-warning, var(--kd-g-color-warning, #ff991c));
|
|
2980
2979
|
}
|
|
2981
2980
|
.kd-badge-not-a-wrapper:not(.kd-badge-status) {
|
|
2982
2981
|
vertical-align: middle;
|
|
@@ -4045,87 +4044,6 @@ template {
|
|
|
4045
4044
|
-ms-flex: 1;
|
|
4046
4045
|
flex: 1;
|
|
4047
4046
|
}
|
|
4048
|
-
.kd-carousel-slidelist {
|
|
4049
|
-
list-style: none;
|
|
4050
|
-
display: -webkit-box;
|
|
4051
|
-
display: -ms-flexbox;
|
|
4052
|
-
display: flex;
|
|
4053
|
-
-webkit-box-orient: horizontal;
|
|
4054
|
-
-webkit-box-direction: normal;
|
|
4055
|
-
-ms-flex-direction: row;
|
|
4056
|
-
flex-direction: row;
|
|
4057
|
-
width: 100%;
|
|
4058
|
-
}
|
|
4059
|
-
.kd-carousel-slidelist-item {
|
|
4060
|
-
-ms-flex-negative: 0;
|
|
4061
|
-
flex-shrink: 0;
|
|
4062
|
-
height: 100%;
|
|
4063
|
-
width: 100%;
|
|
4064
|
-
overflow: hidden;
|
|
4065
|
-
border-radius: var(--kd-c-carousel-border-radius, 0px);
|
|
4066
|
-
}
|
|
4067
|
-
.kd-carousel-fadelist {
|
|
4068
|
-
list-style: none;
|
|
4069
|
-
display: -webkit-box;
|
|
4070
|
-
display: -ms-flexbox;
|
|
4071
|
-
display: flex;
|
|
4072
|
-
-webkit-box-orient: horizontal;
|
|
4073
|
-
-webkit-box-direction: normal;
|
|
4074
|
-
-ms-flex-direction: row;
|
|
4075
|
-
flex-direction: row;
|
|
4076
|
-
-webkit-box-flex: 1;
|
|
4077
|
-
-ms-flex: 1;
|
|
4078
|
-
flex: 1;
|
|
4079
|
-
position: relative;
|
|
4080
|
-
}
|
|
4081
|
-
.kd-carousel-fadelist-item {
|
|
4082
|
-
opacity: 1;
|
|
4083
|
-
position: relative;
|
|
4084
|
-
-ms-flex-negative: 0;
|
|
4085
|
-
flex-shrink: 0;
|
|
4086
|
-
height: 100%;
|
|
4087
|
-
width: 100%;
|
|
4088
|
-
}
|
|
4089
|
-
.kd-carousel-fadelist-item-animation {
|
|
4090
|
-
-webkit-transition: opacity 0.3s ease;
|
|
4091
|
-
transition: opacity 0.3s ease;
|
|
4092
|
-
}
|
|
4093
|
-
.kd-carousel-fadelist-item-none-animation {
|
|
4094
|
-
-webkit-transition: none;
|
|
4095
|
-
transition: none;
|
|
4096
|
-
}
|
|
4097
|
-
.kd-carousel-fadelist-item-not-hidden {
|
|
4098
|
-
opacity: 1;
|
|
4099
|
-
}
|
|
4100
|
-
.kd-carousel-fadelist-item-hidden {
|
|
4101
|
-
opacity: 0;
|
|
4102
|
-
}
|
|
4103
|
-
.kd-carousel-displaylist {
|
|
4104
|
-
list-style: none;
|
|
4105
|
-
display: -webkit-box;
|
|
4106
|
-
display: -ms-flexbox;
|
|
4107
|
-
display: flex;
|
|
4108
|
-
-webkit-box-orient: horizontal;
|
|
4109
|
-
-webkit-box-direction: normal;
|
|
4110
|
-
-ms-flex-direction: row;
|
|
4111
|
-
flex-direction: row;
|
|
4112
|
-
width: 100%;
|
|
4113
|
-
position: relative;
|
|
4114
|
-
}
|
|
4115
|
-
.kd-carousel-displaylist-item {
|
|
4116
|
-
display: block;
|
|
4117
|
-
position: relative;
|
|
4118
|
-
-ms-flex-negative: 0;
|
|
4119
|
-
flex-shrink: 0;
|
|
4120
|
-
height: 100%;
|
|
4121
|
-
width: 100%;
|
|
4122
|
-
}
|
|
4123
|
-
.kd-carousel-displaylist-item-not-hidden {
|
|
4124
|
-
display: block;
|
|
4125
|
-
}
|
|
4126
|
-
.kd-carousel-displaylist-item-hidden {
|
|
4127
|
-
display: none;
|
|
4128
|
-
}
|
|
4129
4047
|
.kd-carousel-list {
|
|
4130
4048
|
list-style: none;
|
|
4131
4049
|
display: -webkit-box;
|
|
@@ -4135,9 +4053,6 @@ template {
|
|
|
4135
4053
|
-webkit-box-direction: normal;
|
|
4136
4054
|
-ms-flex-direction: row;
|
|
4137
4055
|
flex-direction: row;
|
|
4138
|
-
-webkit-box-flex: 1;
|
|
4139
|
-
-ms-flex: 1;
|
|
4140
|
-
flex: 1;
|
|
4141
4056
|
position: relative;
|
|
4142
4057
|
}
|
|
4143
4058
|
.kd-carousel-list-item {
|
|
@@ -4147,6 +4062,9 @@ template {
|
|
|
4147
4062
|
height: 100%;
|
|
4148
4063
|
width: 100%;
|
|
4149
4064
|
}
|
|
4065
|
+
.kd-carousel-list-slide {
|
|
4066
|
+
width: 100%;
|
|
4067
|
+
}
|
|
4150
4068
|
.kd-carousel-list-slide .kd-carousel-list-item {
|
|
4151
4069
|
opacity: 1;
|
|
4152
4070
|
border-radius: var(--kd-c-carousel-border-radius, 0px);
|
|
@@ -4165,6 +4083,11 @@ template {
|
|
|
4165
4083
|
.kd-carousel-list-slide .kd-carousel-list-item-hidden {
|
|
4166
4084
|
opacity: 0;
|
|
4167
4085
|
}
|
|
4086
|
+
.kd-carousel-list-fade {
|
|
4087
|
+
-webkit-box-flex: 1;
|
|
4088
|
+
-ms-flex: 1;
|
|
4089
|
+
flex: 1;
|
|
4090
|
+
}
|
|
4168
4091
|
.kd-carousel-list-fade .kd-carousel-list-item {
|
|
4169
4092
|
opacity: 1;
|
|
4170
4093
|
}
|
|
@@ -4182,6 +4105,9 @@ template {
|
|
|
4182
4105
|
.kd-carousel-list-fade .kd-carousel-list-item-hidden {
|
|
4183
4106
|
opacity: 0;
|
|
4184
4107
|
}
|
|
4108
|
+
.kd-carousel-list-display {
|
|
4109
|
+
width: 100%;
|
|
4110
|
+
}
|
|
4185
4111
|
.kd-carousel-list-display .kd-carousel-list-item {
|
|
4186
4112
|
display: block;
|
|
4187
4113
|
}
|