@kdcloudjs/kdesign 1.7.0 → 1.7.1
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 +16 -0
- package/dist/default-theme.js +4 -5
- package/dist/kdesign-complete.less +328 -35
- package/dist/kdesign.css +543 -30
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +58633 -40500
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +3 -3
- package/dist/kdesign.min.js +9 -9
- package/dist/kdesign.min.js.map +1 -1
- package/es/alert/style/index.css +2 -0
- package/es/anchor/style/index.css +2 -0
- package/es/avatar/style/index.css +2 -0
- package/es/badge/style/index.css +2 -0
- package/es/base-data/style/index.css +2 -0
- package/es/button/style/index.css +2 -0
- package/es/card/style/index.css +2 -0
- package/es/carousel/style/index.css +2 -0
- package/es/cascader/style/index.css +2 -0
- package/es/checkbox/style/index.css +2 -0
- package/es/city-picker/style/index.css +2 -0
- package/es/collapse/style/index.css +2 -0
- package/es/color-picker/color-picker-panel.d.ts +4 -0
- package/es/color-picker/color-picker-panel.js +239 -0
- package/es/color-picker/color-picker.d.ts +4 -0
- package/es/color-picker/color-picker.js +201 -0
- package/es/color-picker/constant/colorTypes.d.ts +4 -0
- package/es/color-picker/constant/colorTypes.js +13 -0
- package/es/color-picker/constant/defaultColor.d.ts +1 -0
- package/es/color-picker/constant/defaultColor.js +1 -0
- package/es/color-picker/constant/systemPresetColor.d.ts +1 -0
- package/es/color-picker/constant/systemPresetColor.js +1 -0
- package/es/color-picker/index.d.ts +3 -0
- package/es/color-picker/index.js +3 -0
- package/es/color-picker/interface.d.ts +64 -0
- package/es/color-picker/interface.js +3 -0
- package/es/color-picker/style/css.js +2 -0
- package/es/color-picker/style/index.css +317 -0
- package/es/color-picker/style/index.d.ts +2 -0
- package/es/color-picker/style/index.js +2 -0
- package/es/color-picker/style/index.less +253 -0
- package/es/color-picker/style/mixin.less +5 -0
- package/es/color-picker/style/token.less +22 -0
- package/es/color-picker/utils/colorFormat.d.ts +18 -0
- package/es/color-picker/utils/colorFormat.js +153 -0
- package/es/color-picker/utils/convertLetters.d.ts +1 -0
- package/es/color-picker/utils/convertLetters.js +12 -0
- package/es/color-picker/utils/hooks/useOnClickOutside.d.ts +2 -0
- package/es/color-picker/utils/hooks/useOnClickOutside.js +16 -0
- package/es/color-picker/utils/validateColor.d.ts +1 -0
- package/es/color-picker/utils/validateColor.js +24 -0
- package/es/config-provider/compDefaultProps.d.ts +12 -0
- package/es/config-provider/compDefaultProps.js +12 -0
- package/es/date-picker/style/index.css +2 -0
- package/es/drawer/style/index.css +2 -0
- package/es/dropdown/style/index.css +2 -0
- package/es/empty/style/index.css +2 -0
- package/es/filter/style/index.css +2 -0
- package/es/form/style/index.css +2 -0
- package/es/grid/style/index.css +2 -0
- package/es/icon/style/index.css +2 -0
- package/es/image/style/index.css +2 -0
- package/es/image-cropper/style/index.css +2 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +2 -1
- package/es/input/style/index.css +2 -0
- package/es/input-number/style/index.css +2 -0
- package/es/layout/style/index.css +2 -0
- package/es/link/style/index.css +2 -0
- package/es/locale/locale.d.ts +4 -0
- package/es/locale/locale.js +6 -4
- package/es/locale/zh-CN.d.ts +1 -0
- package/es/locale/zh-CN.js +1 -0
- package/es/menu/style/index.css +2 -0
- package/es/message/style/index.css +2 -0
- package/es/modal/style/index.css +2 -0
- package/es/notification/style/index.css +2 -0
- package/es/pagination/style/index.css +116 -29
- package/es/pagination/style/index.less +38 -29
- package/es/popconfirm/style/index.css +2 -0
- package/es/progress/style/index.css +2 -0
- package/es/radio/style/index.css +2 -0
- package/es/rate/style/index.css +2 -0
- package/es/search/style/index.css +2 -0
- package/es/select/style/index.css +2 -0
- package/es/slider/style/index.css +2 -0
- package/es/space/style/index.css +2 -0
- package/es/spin/style/index.css +2 -0
- package/es/split-panel/style/index.css +2 -0
- package/es/stepper/style/index.css +2 -0
- package/es/steps/style/index.css +2 -0
- package/es/style/index.css +2 -0
- package/es/style/themes/default.less +10 -6
- package/es/switch/style/index.css +2 -0
- package/es/table/style/index.css +2 -0
- package/es/tabs/style/index.css +2 -0
- package/es/tag/style/index.css +2 -0
- package/es/timeline/style/index.css +2 -0
- package/es/tooltip/style/index.css +2 -0
- package/es/transfer/style/index.css +2 -0
- package/es/tree/style/index.css +2 -0
- package/es/tree-select/style/index.css +2 -0
- package/es/typography/style/index.css +2 -0
- package/es/upload/style/index.css +2 -0
- package/lib/alert/style/index.css +2 -0
- package/lib/anchor/style/index.css +2 -0
- package/lib/avatar/style/index.css +2 -0
- package/lib/badge/style/index.css +2 -0
- package/lib/base-data/style/index.css +2 -0
- package/lib/button/style/index.css +2 -0
- package/lib/card/style/index.css +2 -0
- package/lib/carousel/style/index.css +2 -0
- package/lib/cascader/style/index.css +2 -0
- package/lib/checkbox/style/index.css +2 -0
- package/lib/city-picker/style/index.css +2 -0
- package/lib/collapse/style/index.css +2 -0
- package/lib/color-picker/color-picker-panel.d.ts +4 -0
- package/lib/color-picker/color-picker-panel.js +253 -0
- package/lib/color-picker/color-picker.d.ts +4 -0
- package/lib/color-picker/color-picker.js +214 -0
- package/lib/color-picker/constant/colorTypes.d.ts +4 -0
- package/lib/color-picker/constant/colorTypes.js +20 -0
- package/lib/color-picker/constant/defaultColor.d.ts +1 -0
- package/lib/color-picker/constant/defaultColor.js +8 -0
- package/lib/color-picker/constant/systemPresetColor.d.ts +1 -0
- package/lib/color-picker/constant/systemPresetColor.js +8 -0
- package/lib/color-picker/index.d.ts +3 -0
- package/lib/color-picker/index.js +27 -0
- package/lib/color-picker/interface.d.ts +64 -0
- package/lib/color-picker/interface.js +11 -0
- package/lib/color-picker/style/css.js +4 -0
- package/lib/color-picker/style/index.css +317 -0
- package/lib/color-picker/style/index.d.ts +2 -0
- package/lib/color-picker/style/index.js +4 -0
- package/lib/color-picker/style/index.less +253 -0
- package/lib/color-picker/style/mixin.less +5 -0
- package/lib/color-picker/style/token.less +22 -0
- package/lib/color-picker/utils/colorFormat.d.ts +18 -0
- package/lib/color-picker/utils/colorFormat.js +166 -0
- package/lib/color-picker/utils/convertLetters.d.ts +1 -0
- package/lib/color-picker/utils/convertLetters.js +18 -0
- package/lib/color-picker/utils/hooks/useOnClickOutside.d.ts +2 -0
- package/lib/color-picker/utils/hooks/useOnClickOutside.js +23 -0
- package/lib/color-picker/utils/validateColor.d.ts +1 -0
- package/lib/color-picker/utils/validateColor.js +30 -0
- package/lib/config-provider/compDefaultProps.d.ts +12 -0
- package/lib/config-provider/compDefaultProps.js +12 -0
- package/lib/date-picker/style/index.css +2 -0
- package/lib/drawer/style/index.css +2 -0
- package/lib/dropdown/style/index.css +2 -0
- package/lib/empty/style/index.css +2 -0
- package/lib/filter/style/index.css +2 -0
- package/lib/form/style/index.css +2 -0
- package/lib/grid/style/index.css +2 -0
- package/lib/icon/style/index.css +2 -0
- package/lib/image/style/index.css +2 -0
- package/lib/image-cropper/style/index.css +2 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +7 -0
- package/lib/input/style/index.css +2 -0
- package/lib/input-number/style/index.css +2 -0
- package/lib/layout/style/index.css +2 -0
- package/lib/link/style/index.css +2 -0
- package/lib/locale/locale.d.ts +4 -0
- package/lib/locale/locale.js +6 -4
- package/lib/locale/zh-CN.d.ts +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/menu/style/index.css +2 -0
- package/lib/message/style/index.css +2 -0
- package/lib/modal/style/index.css +2 -0
- package/lib/notification/style/index.css +2 -0
- package/lib/pagination/style/index.css +116 -29
- package/lib/pagination/style/index.less +38 -29
- package/lib/popconfirm/style/index.css +2 -0
- package/lib/progress/style/index.css +2 -0
- package/lib/radio/style/index.css +2 -0
- package/lib/rate/style/index.css +2 -0
- package/lib/search/style/index.css +2 -0
- package/lib/select/style/index.css +2 -0
- package/lib/slider/style/index.css +2 -0
- package/lib/space/style/index.css +2 -0
- package/lib/spin/style/index.css +2 -0
- package/lib/split-panel/style/index.css +2 -0
- package/lib/stepper/style/index.css +2 -0
- package/lib/steps/style/index.css +2 -0
- package/lib/style/components.less +1 -0
- package/lib/style/index.css +2 -0
- package/lib/style/themes/default.less +10 -6
- package/lib/switch/style/index.css +2 -0
- package/lib/table/style/index.css +2 -0
- package/lib/tabs/style/index.css +2 -0
- package/lib/tag/style/index.css +2 -0
- package/lib/timeline/style/index.css +2 -0
- package/lib/tooltip/style/index.css +2 -0
- package/lib/transfer/style/index.css +2 -0
- package/lib/tree/style/index.css +2 -0
- package/lib/tree-select/style/index.css +2 -0
- package/lib/typography/style/index.css +2 -0
- package/lib/upload/style/index.css +2 -0
- package/package.json +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
# [1.7.0](https://github.com/kdcloudone/kdesign/compare/v1.6.40...v1.7.0) (2023-03-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* [cascader] 选择后反选对应的显示内容错误 fix [#289](https://github.com/kdcloudone/kdesign/issues/289) ([8e645af](https://github.com/kdcloudone/kdesign/commit/8e645affebd31130c138ffa91bf50d8994f82957))
|
|
7
|
+
* [cascader] 选择两个label相同的选项报错 fix [#290](https://github.com/kdcloudone/kdesign/issues/290) ([9237809](https://github.com/kdcloudone/kdesign/commit/9237809f4c95bd1daaae08de05669e3be6c84084))
|
|
8
|
+
* [input]修复mouseDown失焦问题 fix [#295](https://github.com/kdcloudone/kdesign/issues/295) ([06cd8f2](https://github.com/kdcloudone/kdesign/commit/06cd8f24b995e44cb00e5581fb64814442886da8))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* [tree-select] 新增树选择器 ([50b9e0e](https://github.com/kdcloudone/kdesign/commit/50b9e0e519433c9d251e6ab2ba4c5bfa508d06f9))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
1
17
|
## [1.6.40](https://github.com/kdcloudone/kdesign/compare/v1.6.39...v1.6.40) (2023-03-16)
|
|
2
18
|
|
|
3
19
|
|
package/dist/default-theme.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"blue-base": "#1890ff",
|
|
3
|
-
"kd-prefix": "kd",
|
|
2
|
+
"blue-base": "#1890ff;@kd-prefix:kd",
|
|
4
3
|
"theme-color": "#5582f3",
|
|
5
4
|
"theme-color-level1": "rgb(242, 248, 255)",
|
|
6
5
|
"theme-color-level2": "rgb(242, 248, 255)",
|
|
@@ -59,9 +58,9 @@ module.exports = {
|
|
|
59
58
|
"logo-color-3": "#05c8c7",
|
|
60
59
|
"logo-color-4": "#a06eff",
|
|
61
60
|
"white": "#fff",
|
|
62
|
-
"ease-out": "cubic-bezier(0
|
|
63
|
-
"ease-in": "cubic-bezier(0.4,0,1,0.6)",
|
|
64
|
-
"ease": "cubic-bezier(0.4,0,0.6,1)",
|
|
61
|
+
"ease-out": "cubic-bezier(0, .4, .4, 1)",
|
|
62
|
+
"ease-in": "cubic-bezier(0.4, 0, 1, 0.6)",
|
|
63
|
+
"ease": "cubic-bezier(0.4, 0, 0.6, 1)",
|
|
65
64
|
"transition-duration-slowly": "0.4s",
|
|
66
65
|
"transition-duration": "0.3s",
|
|
67
66
|
"transition-duration-quickly": "0.2s",
|
|
@@ -2891,6 +2891,287 @@
|
|
|
2891
2891
|
|
|
2892
2892
|
|
|
2893
2893
|
|
|
2894
|
+
@color-picker-prefix-cls: ~'@{kd-prefix}-color-picker';
|
|
2895
|
+
|
|
2896
|
+
.@{color-picker-prefix-cls}-container {
|
|
2897
|
+
position: relative;
|
|
2898
|
+
|
|
2899
|
+
.@{color-picker-prefix-cls}-input {
|
|
2900
|
+
width: @color-picker-input-sizing-width;
|
|
2901
|
+
height: @color-picker-input-sizing-height;
|
|
2902
|
+
border-bottom: 1px solid rgba(217, 217, 217, 1);
|
|
2903
|
+
font-size: @color-picker-input-font-size;
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2906
|
+
.@{color-picker-prefix-cls}-icon-container {
|
|
2907
|
+
position: absolute;
|
|
2908
|
+
top: 3px;
|
|
2909
|
+
right: 6px;
|
|
2910
|
+
cursor: pointer;
|
|
2911
|
+
|
|
2912
|
+
.@{color-picker-prefix-cls}-icon {
|
|
2913
|
+
width: @color-picker-input-suffix-sizing-width;
|
|
2914
|
+
height: @color-picker-input-suffix-sizing-height;
|
|
2915
|
+
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
2916
|
+
border-radius: 2px;
|
|
2917
|
+
line-height: 18px;
|
|
2918
|
+
text-align: center;
|
|
2919
|
+
color: @bg;
|
|
2920
|
+
|
|
2921
|
+
&-underline {
|
|
2922
|
+
margin-right: -6px;
|
|
2923
|
+
}
|
|
2924
|
+
|
|
2925
|
+
&-up {
|
|
2926
|
+
.kdicon-arrow-down {
|
|
2927
|
+
transform: rotate(180deg);
|
|
2928
|
+
transition: transform @transition-duration-quickly ease-in-out;
|
|
2929
|
+
}
|
|
2930
|
+
}
|
|
2931
|
+
|
|
2932
|
+
&-down {
|
|
2933
|
+
.kdicon-arrow-down {
|
|
2934
|
+
transform: rotate(0deg);
|
|
2935
|
+
transition: transform @transition-duration-quickly ease-in-out;
|
|
2936
|
+
}
|
|
2937
|
+
}
|
|
2938
|
+
}
|
|
2939
|
+
}
|
|
2940
|
+
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2943
|
+
.@{color-picker-prefix-cls}-pop {
|
|
2944
|
+
|
|
2945
|
+
&.topLeft.hidden,
|
|
2946
|
+
&.bottomLeft.hidden,
|
|
2947
|
+
&.topRight.hidden,
|
|
2948
|
+
&.bottomRight.hidden {
|
|
2949
|
+
opacity: 0;
|
|
2950
|
+
visibility: hidden;
|
|
2951
|
+
transition: all calc(@transition-duration - 0.1s) @ease;
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2954
|
+
.@{color-picker-prefix-cls}-panel {
|
|
2955
|
+
box-sizing: border-box;
|
|
2956
|
+
width: @color-picker-panel-sizing-width;
|
|
2957
|
+
padding: 4px 12px 16px;
|
|
2958
|
+
background: #FFFFFF;
|
|
2959
|
+
box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
|
|
2960
|
+
border-radius: 2px;
|
|
2961
|
+
transform-origin: top left;
|
|
2962
|
+
z-index: @color-picker-panel-z-index;
|
|
2963
|
+
|
|
2964
|
+
&-chrome {
|
|
2965
|
+
width: 278px !important;
|
|
2966
|
+
margin-top: 12px;
|
|
2967
|
+
box-shadow: none !important;
|
|
2968
|
+
|
|
2969
|
+
&>div:last-child {
|
|
2970
|
+
padding: 9px 0 4px !important;
|
|
2971
|
+
|
|
2972
|
+
.flexbox-fix:first-child {
|
|
2973
|
+
display: flex;
|
|
2974
|
+
flex-direction: row-reverse;
|
|
2975
|
+
|
|
2976
|
+
&>div:first-child {
|
|
2977
|
+
&>div {
|
|
2978
|
+
width: 28px !important;
|
|
2979
|
+
height: 28px !important;
|
|
2980
|
+
border-radius: 50% !important;
|
|
2981
|
+
margin-top: -1px !important;
|
|
2982
|
+
margin-left: 4px !important;
|
|
2983
|
+
}
|
|
2984
|
+
}
|
|
2985
|
+
|
|
2986
|
+
&>div:last-child {
|
|
2987
|
+
|
|
2988
|
+
.hue-horizontal {
|
|
2989
|
+
width: 240px !important;
|
|
2990
|
+
height: 12px !important;
|
|
2991
|
+
border-radius: 6px !important;
|
|
2992
|
+
padding: unset !important;
|
|
2993
|
+
|
|
2994
|
+
&>div>div {
|
|
2995
|
+
margin-top: 1px;
|
|
2996
|
+
}
|
|
2997
|
+
}
|
|
2998
|
+
|
|
2999
|
+
&>div:last-child {
|
|
3000
|
+
&>div {
|
|
3001
|
+
width: 240px !important;
|
|
3002
|
+
height: 12px !important;
|
|
3003
|
+
margin: unset;
|
|
3004
|
+
|
|
3005
|
+
&>div:first-child {
|
|
3006
|
+
border-radius: 6px !important;
|
|
3007
|
+
}
|
|
3008
|
+
|
|
3009
|
+
&>div:nth-child(2) {
|
|
3010
|
+
border-radius: 6px !important;
|
|
3011
|
+
}
|
|
3012
|
+
|
|
3013
|
+
&>div:last-child {
|
|
3014
|
+
margin: unset !important;
|
|
3015
|
+
|
|
3016
|
+
&>div>div {
|
|
3017
|
+
margin-top: 1px;
|
|
3018
|
+
}
|
|
3019
|
+
}
|
|
3020
|
+
}
|
|
3021
|
+
}
|
|
3022
|
+
}
|
|
3023
|
+
|
|
3024
|
+
}
|
|
3025
|
+
|
|
3026
|
+
.flexbox-fix:last-child {
|
|
3027
|
+
display: none !important;
|
|
3028
|
+
}
|
|
3029
|
+
}
|
|
3030
|
+
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3033
|
+
&-switch {
|
|
3034
|
+
margin: 12px 0 0;
|
|
3035
|
+
font-size: 12px;
|
|
3036
|
+
color: #666666;
|
|
3037
|
+
letter-spacing: 0;
|
|
3038
|
+
line-height: 16px;
|
|
3039
|
+
font-weight: 400;
|
|
3040
|
+
|
|
3041
|
+
span {
|
|
3042
|
+
vertical-align: middle;
|
|
3043
|
+
margin-right: 9px;
|
|
3044
|
+
}
|
|
3045
|
+
}
|
|
3046
|
+
|
|
3047
|
+
&-input {
|
|
3048
|
+
display: inline-block;
|
|
3049
|
+
position: relative;
|
|
3050
|
+
margin-top: 12px;
|
|
3051
|
+
font-size: @color-picker-panel-select-font-size;
|
|
3052
|
+
|
|
3053
|
+
&-no-recommend {
|
|
3054
|
+
margin-bottom: 8px;
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
.@{kd-prefix}-select {
|
|
3058
|
+
|
|
3059
|
+
&.bottomLeft,
|
|
3060
|
+
&.topLeft {
|
|
3061
|
+
position: absolute;
|
|
3062
|
+
width: 60px !important;
|
|
3063
|
+
background: #FFFFFF;
|
|
3064
|
+
right: 0;
|
|
3065
|
+
left: unset !important;
|
|
3066
|
+
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.20);
|
|
3067
|
+
border-radius: 2px;
|
|
3068
|
+
}
|
|
3069
|
+
|
|
3070
|
+
.@{kd-prefix}-select-dropdown {
|
|
3071
|
+
overflow: hidden;
|
|
3072
|
+
}
|
|
3073
|
+
}
|
|
3074
|
+
|
|
3075
|
+
.@{kd-prefix}-select-bordered {
|
|
3076
|
+
border-radius: 2px;
|
|
3077
|
+
width: @color-picker-panel-select-sizing-width;
|
|
3078
|
+
height: @color-picker-panel-select-sizing-height;
|
|
3079
|
+
min-height: 28px;
|
|
3080
|
+
margin-top: -2px;
|
|
3081
|
+
|
|
3082
|
+
.@{kd-prefix}-select-placeholder {
|
|
3083
|
+
left: 8px;
|
|
3084
|
+
}
|
|
3085
|
+
}
|
|
3086
|
+
|
|
3087
|
+
.active-option {
|
|
3088
|
+
background-color: #E3EBFF;
|
|
3089
|
+
}
|
|
3090
|
+
}
|
|
3091
|
+
|
|
3092
|
+
&-transparent {
|
|
3093
|
+
width: 60px;
|
|
3094
|
+
height: 28px;
|
|
3095
|
+
margin-left: 8px;
|
|
3096
|
+
text-align: center;
|
|
3097
|
+
font-size: @color-picker-panel-alpha-font-size;
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
&-colorDivContainer {
|
|
3101
|
+
display: grid;
|
|
3102
|
+
grid-template-columns: repeat(12, 1fr);
|
|
3103
|
+
grid-column-gap: 8px;
|
|
3104
|
+
grid-row-gap: 8px;
|
|
3105
|
+
margin-top: 12px;
|
|
3106
|
+
|
|
3107
|
+
li {
|
|
3108
|
+
position: relative;
|
|
3109
|
+
box-sizing: border-box;
|
|
3110
|
+
width: @color-picker-panel-preset-sizing-width;
|
|
3111
|
+
height: @color-picker-panel-preset-sizing-height;
|
|
3112
|
+
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
3113
|
+
border-radius: 2px;
|
|
3114
|
+
list-style: none;
|
|
3115
|
+
cursor: pointer;
|
|
3116
|
+
|
|
3117
|
+
.square {
|
|
3118
|
+
display: none;
|
|
3119
|
+
position: absolute;
|
|
3120
|
+
box-sizing: inherit;
|
|
3121
|
+
top: -3px;
|
|
3122
|
+
left: -3px;
|
|
3123
|
+
width: calc(@color-picker-panel-preset-sizing-width + 4px);
|
|
3124
|
+
height: calc(@color-picker-panel-preset-sizing-height + 4px);
|
|
3125
|
+
border: 1px solid rgba(178, 178, 176, 1);
|
|
3126
|
+
border-radius: 4px;
|
|
3127
|
+
|
|
3128
|
+
&-click {
|
|
3129
|
+
display: block;
|
|
3130
|
+
box-shadow: 0 0 0 1px #e5e5e5 !important;
|
|
3131
|
+
}
|
|
3132
|
+
}
|
|
3133
|
+
|
|
3134
|
+
&:hover {
|
|
3135
|
+
.square {
|
|
3136
|
+
display: block;
|
|
3137
|
+
}
|
|
3138
|
+
}
|
|
3139
|
+
}
|
|
3140
|
+
}
|
|
3141
|
+
}
|
|
3142
|
+
}
|
|
3143
|
+
|
|
3144
|
+
// code component mixin here
|
|
3145
|
+
.test() {
|
|
3146
|
+
display: inline;
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3149
|
+
|
|
3150
|
+
|
|
3151
|
+
@color-picker-custom-prefix: ~'--@{kd-prefix}-c-color-picker';
|
|
3152
|
+
|
|
3153
|
+
// z-index
|
|
3154
|
+
@color-picker-panel-z-index: var(~'@{color-picker-custom-prefix}-panel-z-index', @z-index-popper);
|
|
3155
|
+
|
|
3156
|
+
// font
|
|
3157
|
+
@color-picker-input-font-size: var(~'@{color-picker-custom-prefix}-input-font-size', @font-size-middle);
|
|
3158
|
+
@color-picker-panel-select-font-size: var(~'@{color-picker-custom-prefix}-panel-select-font-size', @font-size-middle);
|
|
3159
|
+
@color-picker-panel-alpha-font-size: var(~'@{color-picker-custom-prefix}-panel-alpha-font-size', @font-size-middle);
|
|
3160
|
+
|
|
3161
|
+
// sizing
|
|
3162
|
+
@color-picker-input-sizing-width: var(~'@{color-picker-custom-prefix}-input-sizing-width', 230px);
|
|
3163
|
+
@color-picker-input-sizing-height: var(~'@{color-picker-custom-prefix}-input-sizing-height', 28px);
|
|
3164
|
+
@color-picker-input-suffix-sizing-width: var(~'@{color-picker-custom-prefix}-input-suffix-sizing-width', 20px);
|
|
3165
|
+
@color-picker-input-suffix-sizing-height: var(~'@{color-picker-custom-prefix}-input-suffix-sizing-height', 20px);
|
|
3166
|
+
@color-picker-panel-sizing-width: var(~'@{color-picker-custom-prefix}-panel-sizing-width', 304px);
|
|
3167
|
+
@color-picker-panel-select-sizing-width: var(~'@{color-picker-custom-prefix}-panel-select-sizing-width', 212px);
|
|
3168
|
+
@color-picker-panel-select-sizing-height: var(~'@{color-picker-custom-prefix}-panel-select-sizing-height', 28px);
|
|
3169
|
+
@color-picker-panel-preset-sizing-width: var(~'@{color-picker-custom-prefix}-panel-preset-sizing-width', 16px);
|
|
3170
|
+
@color-picker-panel-preset-sizing-height: var(~'@{color-picker-custom-prefix}-panel-preset-sizing-height', 16px);
|
|
3171
|
+
|
|
3172
|
+
|
|
3173
|
+
|
|
3174
|
+
|
|
2894
3175
|
|
|
2895
3176
|
@datePicker-prefix-cls: ~'@{kd-prefix}-date-picker';
|
|
2896
3177
|
@datePicker-prefix-cls-panel: ~'@{datePicker-prefix-cls}-panel';
|
|
@@ -7009,17 +7290,19 @@ textarea {
|
|
|
7009
7290
|
.reset-component;
|
|
7010
7291
|
color: @pagination-text-color;
|
|
7011
7292
|
font-size: @pagination-font-size;
|
|
7293
|
+
display: flex;
|
|
7294
|
+
align-items: center;
|
|
7012
7295
|
|
|
7013
7296
|
.@{pagination-prefix-cls}-total {
|
|
7014
|
-
display: inline-
|
|
7297
|
+
display: inline-flex;
|
|
7298
|
+
align-items: center;
|
|
7015
7299
|
margin-right: 12px;
|
|
7016
|
-
vertical-align: middle;
|
|
7017
7300
|
}
|
|
7018
7301
|
|
|
7019
7302
|
.@{pagination-prefix-cls}-current {
|
|
7020
|
-
display: inline-
|
|
7303
|
+
display: inline-flex;
|
|
7304
|
+
align-items: center;
|
|
7021
7305
|
margin-right: 12px;
|
|
7022
|
-
vertical-align: middle;
|
|
7023
7306
|
|
|
7024
7307
|
.@{pagination-prefix-cls}-current-input {
|
|
7025
7308
|
box-sizing: border-box;
|
|
@@ -7053,12 +7336,13 @@ textarea {
|
|
|
7053
7336
|
|
|
7054
7337
|
.@{pagination-action-prefix-cls} {
|
|
7055
7338
|
.reset-component;
|
|
7056
|
-
display: inline-
|
|
7057
|
-
|
|
7339
|
+
display: inline-flex;
|
|
7340
|
+
align-items: center;
|
|
7058
7341
|
|
|
7059
7342
|
.@{pagination-action-prefix-cls}-item {
|
|
7060
7343
|
.reset-component;
|
|
7061
|
-
display: inline-
|
|
7344
|
+
display: inline-flex;
|
|
7345
|
+
align-items: center;
|
|
7062
7346
|
|
|
7063
7347
|
&.bordered {
|
|
7064
7348
|
margin-right: calc(2 * @pagination-button-spacing);
|
|
@@ -7086,7 +7370,6 @@ textarea {
|
|
|
7086
7370
|
border-radius: @radius-border;
|
|
7087
7371
|
cursor: pointer;
|
|
7088
7372
|
outline: none;
|
|
7089
|
-
vertical-align: middle;
|
|
7090
7373
|
transition: border-color @duration-promptly;
|
|
7091
7374
|
|
|
7092
7375
|
&:hover,
|
|
@@ -7129,11 +7412,11 @@ textarea {
|
|
|
7129
7412
|
.@{pagination-selector-prefix-cls} {
|
|
7130
7413
|
.reset-component;
|
|
7131
7414
|
position: relative;
|
|
7132
|
-
display: inline-
|
|
7415
|
+
display: inline-flex;
|
|
7416
|
+
align-items: center;
|
|
7133
7417
|
margin-left: 20px;
|
|
7134
7418
|
outline: none;
|
|
7135
7419
|
height: @pagination-size;
|
|
7136
|
-
vertical-align: middle;
|
|
7137
7420
|
|
|
7138
7421
|
.@{pagination-selector-prefix-cls}-size {
|
|
7139
7422
|
box-sizing: border-box;
|
|
@@ -7210,11 +7493,11 @@ textarea {
|
|
|
7210
7493
|
|
|
7211
7494
|
&-item {
|
|
7212
7495
|
.reset-component;
|
|
7213
|
-
display: inline-block;
|
|
7214
7496
|
height: @pagination-size;
|
|
7215
7497
|
overflow: hidden;
|
|
7216
7498
|
margin: 0 8px;
|
|
7217
|
-
|
|
7499
|
+
display: inline-flex;
|
|
7500
|
+
align-items: center;
|
|
7218
7501
|
color: @color-text-primary;
|
|
7219
7502
|
|
|
7220
7503
|
&:first-child,
|
|
@@ -7224,7 +7507,6 @@ textarea {
|
|
|
7224
7507
|
|
|
7225
7508
|
.@{pagination-prefix-cls}-current {
|
|
7226
7509
|
margin-right: 2px;
|
|
7227
|
-
vertical-align: middle;
|
|
7228
7510
|
|
|
7229
7511
|
.@{pagination-prefix-cls}-current-input {
|
|
7230
7512
|
margin: 0;
|
|
@@ -7237,7 +7519,6 @@ textarea {
|
|
|
7237
7519
|
}
|
|
7238
7520
|
|
|
7239
7521
|
.@{pagination-prefix-cls}-total {
|
|
7240
|
-
vertical-align: middle;
|
|
7241
7522
|
margin-right: 0;
|
|
7242
7523
|
}
|
|
7243
7524
|
|
|
@@ -7255,7 +7536,9 @@ textarea {
|
|
|
7255
7536
|
border-radius: @radius-border;
|
|
7256
7537
|
cursor: pointer;
|
|
7257
7538
|
outline: none;
|
|
7258
|
-
|
|
7539
|
+
display: inline-flex;
|
|
7540
|
+
align-items: center;
|
|
7541
|
+
justify-content: center;
|
|
7259
7542
|
transition: border-color @duration-promptly;
|
|
7260
7543
|
|
|
7261
7544
|
&:hover,
|
|
@@ -7303,9 +7586,9 @@ textarea {
|
|
|
7303
7586
|
&-item {
|
|
7304
7587
|
.reset-component;
|
|
7305
7588
|
position: relative;
|
|
7306
|
-
display: inline-
|
|
7589
|
+
display: inline-flex;
|
|
7590
|
+
align-items: center;
|
|
7307
7591
|
margin-right: @pagination-button-spacing;
|
|
7308
|
-
vertical-align: middle;
|
|
7309
7592
|
|
|
7310
7593
|
&:last-child {
|
|
7311
7594
|
margin-right: 0;
|
|
@@ -7354,6 +7637,9 @@ textarea {
|
|
|
7354
7637
|
border: none;
|
|
7355
7638
|
background: @color-background;
|
|
7356
7639
|
transition: color @duration-promptly, border-color @duration-promptly;
|
|
7640
|
+
display: inline-flex;
|
|
7641
|
+
align-items: center;
|
|
7642
|
+
justify-content: center;
|
|
7357
7643
|
|
|
7358
7644
|
&:disabled {
|
|
7359
7645
|
cursor: not-allowed;
|
|
@@ -7368,14 +7654,15 @@ textarea {
|
|
|
7368
7654
|
&.nicety {
|
|
7369
7655
|
.@{pagination-pages-prefix-cls} {
|
|
7370
7656
|
.reset-component;
|
|
7371
|
-
display: inline-
|
|
7657
|
+
display: inline-flex;
|
|
7658
|
+
align-items: center;
|
|
7372
7659
|
|
|
7373
7660
|
&-item {
|
|
7374
7661
|
.reset-component;
|
|
7375
7662
|
position: relative;
|
|
7376
|
-
display: inline-
|
|
7663
|
+
display: inline-flex;
|
|
7664
|
+
align-items: center;
|
|
7377
7665
|
margin-right: @pagination-button-spacing;
|
|
7378
|
-
vertical-align: middle;
|
|
7379
7666
|
|
|
7380
7667
|
&:last-child {
|
|
7381
7668
|
margin-right: 0;
|
|
@@ -7424,6 +7711,9 @@ textarea {
|
|
|
7424
7711
|
padding: 0 6px;
|
|
7425
7712
|
cursor: pointer;
|
|
7426
7713
|
outline: none;
|
|
7714
|
+
display: inline-flex;
|
|
7715
|
+
align-items: center;
|
|
7716
|
+
justify-content: center;
|
|
7427
7717
|
font-size: @pagination-font-size;
|
|
7428
7718
|
color: @color-text-primary;
|
|
7429
7719
|
border-radius: @radius-border;
|
|
@@ -7457,9 +7747,9 @@ textarea {
|
|
|
7457
7747
|
}
|
|
7458
7748
|
|
|
7459
7749
|
.@{pagination-jumper-prefix-cls} {
|
|
7460
|
-
display: inline-
|
|
7750
|
+
display: inline-flex;
|
|
7751
|
+
align-items: center;
|
|
7461
7752
|
margin-left: 4px;
|
|
7462
|
-
vertical-align: middle;
|
|
7463
7753
|
|
|
7464
7754
|
.@{pagination-jumper-prefix-cls}-input {
|
|
7465
7755
|
box-sizing: border-box;
|
|
@@ -7494,8 +7784,9 @@ textarea {
|
|
|
7494
7784
|
width: @pagination-size;
|
|
7495
7785
|
height: @pagination-size;
|
|
7496
7786
|
margin-left: @pagination-button-spacing;
|
|
7497
|
-
|
|
7498
|
-
|
|
7787
|
+
display: inline-flex;
|
|
7788
|
+
align-items: center;
|
|
7789
|
+
justify-content: center;
|
|
7499
7790
|
cursor: pointer;
|
|
7500
7791
|
outline: none;
|
|
7501
7792
|
color: @color-text-primary;
|
|
@@ -7525,25 +7816,24 @@ textarea {
|
|
|
7525
7816
|
.@{pagination-options-prefix-cls} {
|
|
7526
7817
|
.reset-component;
|
|
7527
7818
|
position: relative;
|
|
7528
|
-
display: inline-
|
|
7819
|
+
display: inline-flex;
|
|
7820
|
+
align-items: center;
|
|
7529
7821
|
margin-left: 22px;
|
|
7530
7822
|
outline: none;
|
|
7531
7823
|
height: @pagination-size;
|
|
7532
7824
|
color: @color-text-primary;
|
|
7533
|
-
vertical-align: middle;
|
|
7534
7825
|
|
|
7535
7826
|
.@{pagination-options-prefix-cls}-size {
|
|
7536
7827
|
position: relative;
|
|
7537
7828
|
box-sizing: border-box;
|
|
7538
|
-
display: inline-
|
|
7829
|
+
display: inline-flex;
|
|
7830
|
+
align-items: center;
|
|
7539
7831
|
min-width: 64px;
|
|
7540
7832
|
height: @pagination-size;
|
|
7541
7833
|
margin-right: 8px;
|
|
7542
7834
|
padding: 0 24px 0 4px;
|
|
7543
|
-
line-height: @pagination-size;
|
|
7544
7835
|
font-size: @pagination-font-size;
|
|
7545
7836
|
color: @color-text-primary;
|
|
7546
|
-
text-align: left;
|
|
7547
7837
|
border-radius: @radius-border;
|
|
7548
7838
|
border: @pagination-border-size solid @color-border-strong;
|
|
7549
7839
|
background: @color-background;
|
|
@@ -11667,7 +11957,6 @@ template {
|
|
|
11667
11957
|
list-style: none;
|
|
11668
11958
|
font-feature-settings: @font-feature-settings;
|
|
11669
11959
|
}
|
|
11670
|
-
|
|
11671
11960
|
@kd-prefix: kd;
|
|
11672
11961
|
|
|
11673
11962
|
/* ----------- color ——————---- start */
|
|
@@ -11687,7 +11976,7 @@ template {
|
|
|
11687
11976
|
|
|
11688
11977
|
@theme-color-disabled: @theme-color-level3;
|
|
11689
11978
|
@theme-color-hover: @theme-color-level5;
|
|
11690
|
-
@theme-color-click: @theme-color-level7
|
|
11979
|
+
@theme-color-click: @theme-color-level7; // 点击色
|
|
11691
11980
|
@theme-color-active-light: @theme-color-level1; // 浅色选中
|
|
11692
11981
|
@theme-color-active-dark: @theme-color; // 深色选中
|
|
11693
11982
|
@hover-color: #f5f5f5; // 中性的悬停色
|
|
@@ -11737,9 +12026,9 @@ template {
|
|
|
11737
12026
|
/* ----------- color ——————---- end */
|
|
11738
12027
|
|
|
11739
12028
|
/* ----------- motion ——————---- start */
|
|
11740
|
-
@ease-out: cubic-bezier(0
|
|
11741
|
-
@ease-in: cubic-bezier(0.4,0,1,0.6);
|
|
11742
|
-
@ease: cubic-bezier(0.4,0,0.6,1);
|
|
12029
|
+
@ease-out: cubic-bezier(0, .4, .4, 1);
|
|
12030
|
+
@ease-in: cubic-bezier(0.4, 0, 1, 0.6);
|
|
12031
|
+
@ease: cubic-bezier(0.4, 0, 0.6, 1);
|
|
11743
12032
|
/* ----------- motion ——————---- end */
|
|
11744
12033
|
|
|
11745
12034
|
/* ----------- transition ——————---- start */
|
|
@@ -12157,6 +12446,11 @@ template {
|
|
|
12157
12446
|
@date-ranges-width: 160px;
|
|
12158
12447
|
|
|
12159
12448
|
/* ----------- DatePicker ——————---- end */
|
|
12449
|
+
|
|
12450
|
+
/* ----------- ColorPicker ——————---- start */
|
|
12451
|
+
|
|
12452
|
+
/* ----------- ColorPicker ——————---- end */
|
|
12453
|
+
|
|
12160
12454
|
/* ----------- Tree ——————---- start */
|
|
12161
12455
|
@tree-node-height: 28px;
|
|
12162
12456
|
@tree-font-size: @font-size;
|
|
@@ -12373,7 +12667,6 @@ template {
|
|
|
12373
12667
|
|
|
12374
12668
|
/* ----------- AdvancedSelector ——————---- end */
|
|
12375
12669
|
|
|
12376
|
-
|
|
12377
12670
|
@global-custom-prefix: '--@{kd-prefix}-g';
|
|
12378
12671
|
|
|
12379
12672
|
@color-theme: var(~'@{global-custom-prefix}-color-theme', @theme-color);
|