@kdcloudjs/kdesign 1.7.0 → 1.7.2
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 +33 -0
- package/dist/default-theme.js +4 -5
- package/dist/kdesign-complete.less +332 -35
- package/dist/kdesign.css +549 -30
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +21841 -3922
- 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 +323 -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 +257 -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/dropdown.js +2 -7
- package/es/dropdown/menu.js +3 -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/modal.d.ts +7 -1
- package/es/modal/modal.js +29 -5
- 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 +323 -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 +257 -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/dropdown.js +2 -7
- package/lib/dropdown/menu.js +3 -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/modal.d.ts +7 -1
- package/lib/modal/modal.js +31 -7
- 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
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
package/lib/spin/style/index.css
CHANGED
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
@import "../checkbox/style/index.less";
|
|
11
11
|
@import "../city-picker/style/index.less";
|
|
12
12
|
@import "../collapse/style/index.less";
|
|
13
|
+
@import "../color-picker/style/index.less";
|
|
13
14
|
@import "../date-picker/style/index.less";
|
|
14
15
|
@import "../drawer/style/index.less";
|
|
15
16
|
@import "../dropdown/style/index.less";
|
package/lib/style/index.css
CHANGED
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
@kd-prefix: kd;
|
|
3
2
|
|
|
4
3
|
/* ----------- color ——————---- start */
|
|
@@ -18,7 +17,7 @@
|
|
|
18
17
|
|
|
19
18
|
@theme-color-disabled: @theme-color-level3;
|
|
20
19
|
@theme-color-hover: @theme-color-level5;
|
|
21
|
-
@theme-color-click: @theme-color-level7
|
|
20
|
+
@theme-color-click: @theme-color-level7; // 点击色
|
|
22
21
|
@theme-color-active-light: @theme-color-level1; // 浅色选中
|
|
23
22
|
@theme-color-active-dark: @theme-color; // 深色选中
|
|
24
23
|
@hover-color: #f5f5f5; // 中性的悬停色
|
|
@@ -68,9 +67,9 @@
|
|
|
68
67
|
/* ----------- color ——————---- end */
|
|
69
68
|
|
|
70
69
|
/* ----------- motion ——————---- start */
|
|
71
|
-
@ease-out: cubic-bezier(0
|
|
72
|
-
@ease-in: cubic-bezier(0.4,0,1,0.6);
|
|
73
|
-
@ease: cubic-bezier(0.4,0,0.6,1);
|
|
70
|
+
@ease-out: cubic-bezier(0, .4, .4, 1);
|
|
71
|
+
@ease-in: cubic-bezier(0.4, 0, 1, 0.6);
|
|
72
|
+
@ease: cubic-bezier(0.4, 0, 0.6, 1);
|
|
74
73
|
/* ----------- motion ——————---- end */
|
|
75
74
|
|
|
76
75
|
/* ----------- transition ——————---- start */
|
|
@@ -488,6 +487,11 @@
|
|
|
488
487
|
@date-ranges-width: 160px;
|
|
489
488
|
|
|
490
489
|
/* ----------- DatePicker ——————---- end */
|
|
490
|
+
|
|
491
|
+
/* ----------- ColorPicker ——————---- start */
|
|
492
|
+
|
|
493
|
+
/* ----------- ColorPicker ——————---- end */
|
|
494
|
+
|
|
491
495
|
/* ----------- Tree ——————---- start */
|
|
492
496
|
@tree-node-height: 28px;
|
|
493
497
|
@tree-font-size: @font-size;
|
|
@@ -702,4 +706,4 @@
|
|
|
702
706
|
@advancedSelector-dropdown-options-height: 32px;
|
|
703
707
|
@advancedSelector-hover-bg: @hover-color;
|
|
704
708
|
|
|
705
|
-
/* ----------- AdvancedSelector ——————---- end */
|
|
709
|
+
/* ----------- AdvancedSelector ——————---- end */
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
package/lib/tabs/style/index.css
CHANGED
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
package/lib/tag/style/index.css
CHANGED
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
package/lib/tree/style/index.css
CHANGED
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
/* ----------- Transfer ——————---- end */
|
|
57
57
|
/* ----------- DatePicker ——————---- start */
|
|
58
58
|
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- ColorPicker ——————---- start */
|
|
60
|
+
/* ----------- ColorPicker ——————---- end */
|
|
59
61
|
/* ----------- Tree ——————---- start */
|
|
60
62
|
/* ----------- Tree ——————---- end */
|
|
61
63
|
/* ----------- Alert ——————---- start */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kdcloudjs/kdesign",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2",
|
|
4
4
|
"description": "KDesign 金蝶前端react 组件库",
|
|
5
5
|
"title": "kdesign",
|
|
6
6
|
"keywords": [
|
|
@@ -83,10 +83,12 @@
|
|
|
83
83
|
"axios": "^0.21.1",
|
|
84
84
|
"big.js": "^6.0.2",
|
|
85
85
|
"classnames": "^2.2.6",
|
|
86
|
+
"color": "^4.2.3",
|
|
86
87
|
"copy-to-clipboard": "^3.3.1",
|
|
87
88
|
"cropperjs": "^1.5.12",
|
|
88
89
|
"date-fns": "2.28.0",
|
|
89
90
|
"lodash": "^4.17.20",
|
|
91
|
+
"react-color": "^2.19.3",
|
|
90
92
|
"react-draggable": "^4.4.3",
|
|
91
93
|
"react-popper": "^2.2.3",
|
|
92
94
|
"resize-observer-polyfill": "^1.5.1",
|
|
@@ -106,12 +108,14 @@
|
|
|
106
108
|
"@types/babel__traverse": "7.17.1",
|
|
107
109
|
"@types/big.js": "^6.0.0",
|
|
108
110
|
"@types/classnames": "^2.2.10",
|
|
111
|
+
"@types/color": "^3.0.3",
|
|
109
112
|
"@types/enzyme": "^3.10.7",
|
|
110
113
|
"@types/jest": "^26.0.14",
|
|
111
114
|
"@types/jest-image-snapshot": "^4.1.0",
|
|
112
115
|
"@types/lodash": "ts3.9",
|
|
113
116
|
"@types/puppeteer": "^3.0.2",
|
|
114
117
|
"@types/react": "^16.9.21",
|
|
118
|
+
"@types/react-color": "^3.0.6",
|
|
115
119
|
"@types/react-dom": "^16.9.5",
|
|
116
120
|
"@types/responselike": "ts3.9",
|
|
117
121
|
"@typescript-eslint/eslint-plugin": "^3.0.0",
|