@kdcloudjs/kdesign 1.5.2 → 1.5.5
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 +64 -0
- package/dist/default-theme.js +4 -4
- package/dist/kdesign-complete.less +169 -88
- package/dist/kdesign.css +165 -86
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +335 -220
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +4 -4
- package/dist/kdesign.min.js +6 -6
- package/dist/kdesign.min.js.map +1 -1
- package/es/_utils/usePopper.js +17 -8
- package/es/alert/alert.js +2 -2
- package/es/alert/style/index.css +27 -11
- package/es/alert/style/index.less +24 -10
- package/es/alert/style/mixin.less +8 -2
- package/es/alert/style/token.less +16 -8
- package/es/config-provider/compDefaultProps.d.ts +1 -0
- package/es/config-provider/compDefaultProps.js +2 -1
- package/es/drawer/drawer.js +1 -0
- package/es/dropdown/dropdown.js +16 -6
- package/es/dropdown/style/index.css +13 -14
- package/es/dropdown/style/index.less +4 -5
- package/es/dropdown/style/token.less +6 -5
- package/es/input/ClearableLabeledInput.js +5 -5
- package/es/input/style/index.css +5 -0
- package/es/input/style/index.less +5 -0
- package/es/radio/style/index.css +7 -1
- package/es/radio/style/index.less +9 -1
- package/es/search/style/index.css +3 -3
- package/es/select/select.js +1 -1
- package/es/spin/style/index.css +25 -26
- package/es/spin/style/index.less +18 -19
- package/es/spin/style/token.less +9 -3
- package/es/stepper/stepper.js +9 -4
- package/es/stepper/style/index.css +2 -0
- package/es/stepper/style/index.less +2 -0
- package/es/stepper/style/token.less +1 -2
- package/es/style/icon/kdicon.css +2 -1
- package/es/style/icon/kdicon.woff +0 -0
- package/es/style/themes/default.less +3 -4
- package/es/tabs/style/index.css +1 -0
- package/es/tabs/style/index.less +1 -0
- package/es/timeline/style/index.css +22 -21
- package/es/timeline/style/index.less +2 -2
- package/es/timeline/style/token.less +4 -7
- package/es/tooltip/tooltip.js +1 -1
- package/es/tree/style/index.css +56 -7
- package/es/tree/style/index.less +26 -18
- package/es/tree/style/mixin.less +25 -1
- package/es/tree/style/token.less +6 -4
- package/es/tree/tree.d.ts +2 -0
- package/es/tree/tree.js +77 -20
- package/es/tree/treeHooks.d.ts +1 -1
- package/es/tree/treeHooks.js +3 -4
- package/es/tree/treeNode.d.ts +1 -0
- package/es/tree/treeNode.js +45 -49
- package/es/tree/utils/treeUtils.d.ts +6 -3
- package/es/tree/utils/treeUtils.js +66 -42
- package/lib/_utils/usePopper.js +17 -8
- package/lib/alert/alert.js +2 -2
- package/lib/alert/style/index.css +27 -11
- package/lib/alert/style/index.less +24 -10
- package/lib/alert/style/mixin.less +8 -2
- package/lib/alert/style/token.less +16 -8
- package/lib/config-provider/compDefaultProps.d.ts +1 -0
- package/lib/config-provider/compDefaultProps.js +2 -1
- package/lib/drawer/drawer.js +1 -0
- package/lib/dropdown/dropdown.js +15 -6
- package/lib/dropdown/style/index.css +13 -14
- package/lib/dropdown/style/index.less +4 -5
- package/lib/dropdown/style/token.less +6 -5
- package/lib/input/ClearableLabeledInput.js +5 -5
- package/lib/input/style/index.css +5 -0
- package/lib/input/style/index.less +5 -0
- package/lib/radio/style/index.css +7 -1
- package/lib/radio/style/index.less +9 -1
- package/lib/search/style/index.css +3 -3
- package/lib/select/select.js +1 -1
- package/lib/spin/style/index.css +25 -26
- package/lib/spin/style/index.less +18 -19
- package/lib/spin/style/token.less +9 -3
- package/lib/stepper/stepper.js +9 -4
- package/lib/stepper/style/index.css +2 -0
- package/lib/stepper/style/index.less +2 -0
- package/lib/stepper/style/token.less +1 -2
- package/lib/style/icon/kdicon.css +2 -1
- package/lib/style/icon/kdicon.woff +0 -0
- package/lib/style/themes/default.less +3 -4
- package/lib/tabs/style/index.css +1 -0
- package/lib/tabs/style/index.less +1 -0
- package/lib/timeline/style/index.css +22 -21
- package/lib/timeline/style/index.less +2 -2
- package/lib/timeline/style/token.less +4 -7
- package/lib/tooltip/tooltip.js +1 -1
- package/lib/tree/style/index.css +56 -7
- package/lib/tree/style/index.less +26 -18
- package/lib/tree/style/mixin.less +25 -1
- package/lib/tree/style/token.less +6 -4
- package/lib/tree/tree.d.ts +2 -0
- package/lib/tree/tree.js +78 -20
- package/lib/tree/treeHooks.d.ts +1 -1
- package/lib/tree/treeHooks.js +3 -4
- package/lib/tree/treeNode.d.ts +1 -0
- package/lib/tree/treeNode.js +46 -48
- package/lib/tree/utils/treeUtils.d.ts +6 -3
- package/lib/tree/utils/treeUtils.js +64 -42
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,67 @@
|
|
|
1
|
+
## [1.5.4](https://github.com/kdcloudone/kdesign/compare/v1.5.3...v1.5.4) (2022-08-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* [cli] 更改统一导航菜单 ([505bbde](https://github.com/kdcloudone/kdesign/commit/505bbdea8cdfa1b9a793398d96af0cb42d19f087))
|
|
7
|
+
* [cli] 更新footer的图片 ([1850985](https://github.com/kdcloudone/kdesign/commit/18509858492013208c1f4eff36db71bf8d4721a4))
|
|
8
|
+
* [drawer] 修复纵向抽屉无法设置高度问题 ([dd3b9e1](https://github.com/kdcloudone/kdesign/commit/dd3b9e1b1696904d6b75f796fc9719b862a98f8e))
|
|
9
|
+
* [Dropdown]dropdown组件item里面包含标签时点击无响应的bug ([d9368eb](https://github.com/kdcloudone/kdesign/commit/d9368ebda7e1e7a67b3b4b80d287183f7329cf24))
|
|
10
|
+
* [Filter]修复Filter组件demo展示问题 ([9e1e807](https://github.com/kdcloudone/kdesign/commit/9e1e807243098f73eab16543a4f63286ca49853c))
|
|
11
|
+
* [radio] 修复单选组合禁用状态样式问题 ([41782c2](https://github.com/kdcloudone/kdesign/commit/41782c28ef61ad2e9b13625e02513b86c1dbb34a))
|
|
12
|
+
* [select] 解决allowClear模式下 value为0时清空按钮被渲染为0的问题 ([4a383f4](https://github.com/kdcloudone/kdesign/commit/4a383f46155f4b9051a891f910cf85506ace4fa3))
|
|
13
|
+
* [stepper] 修复步进器禁用状态无效问题 ([7d9cc6b](https://github.com/kdcloudone/kdesign/commit/7d9cc6bed19ba400d4b9f49c29231566e519de8d))
|
|
14
|
+
* [tabs] 修复页签border宽度问题 ([a005a7b](https://github.com/kdcloudone/kdesign/commit/a005a7b20a62fa4c604e55ccd6e9280cb86a13e8))
|
|
15
|
+
* [Tooltip]组件-子组件的ref获取不到bug ([81b69f4](https://github.com/kdcloudone/kdesign/commit/81b69f4214e2e0d8e461bcb0a3eca0124b375fcd))
|
|
16
|
+
* [tree] 调整demo展开收起图标 ([4e87537](https://github.com/kdcloudone/kdesign/commit/4e87537ce8059217327d636393308ee0f07095fb))
|
|
17
|
+
* [tree] 增加节点过滤功能api ([c88575a](https://github.com/kdcloudone/kdesign/commit/c88575a8020183fb5ba3aa4d03f894e0462e663e))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* [Dropdown]子元素的ref获取不到的bug ([b8bdabd](https://github.com/kdcloudone/kdesign/commit/b8bdabdc38b3ec66fd010e4c9d5dcc288a9a2a26))
|
|
23
|
+
* [icon] 新增展开收起图标 ([0915da7](https://github.com/kdcloudone/kdesign/commit/0915da77c5eb782f125e6cef9a72cd578cb79996))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Performance Improvements
|
|
27
|
+
|
|
28
|
+
* [tree] 去除重复遍历计算树结构数据的层级 ([14c3f20](https://github.com/kdcloudone/kdesign/commit/14c3f209face4a8f2ffdf761e671a11237e25ec6))
|
|
29
|
+
* [tree] 优化大数据虚模式下的节点过滤 ([874f1b0](https://github.com/kdcloudone/kdesign/commit/874f1b07bde6b6b3ccd2b1d2d904fdee63011b48))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [1.5.3](https://github.com/kdcloudone/kdesign/compare/v1.5.2...v1.5.3) (2022-07-29)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* [input]修复禁用状态下样式问题 ([3ff40ea](https://github.com/kdcloudone/kdesign/commit/3ff40ea0f9f250b3470c8668f177269f0220285b))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
## [1.5.2](https://github.com/kdcloudone/kdesign/compare/v1.5.1...v1.5.2) (2022-07-28)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Bug Fixes
|
|
46
|
+
|
|
47
|
+
* [anchor] 调整锚点组件定位偏移的逻辑 ([a4cf19f](https://github.com/kdcloudone/kdesign/commit/a4cf19faba70462fae6f8937c38607c610a4aed6))
|
|
48
|
+
* [avatar] 修复srcSet不生效问题 ([59a069a](https://github.com/kdcloudone/kdesign/commit/59a069a04423d2d1d4852292dc99d41a81234047))
|
|
49
|
+
* [input] 修复禁用状态下样式问题 ([d4e05b5](https://github.com/kdcloudone/kdesign/commit/d4e05b5907892c00345b7d4e976c89ca29272df1))
|
|
50
|
+
* [select] 修复禁用态出现清空按钮,并能继续触发清空操作的bug ([9395796](https://github.com/kdcloudone/kdesign/commit/939579646cc54965a7a67016dedf0eac95a8c80b))
|
|
51
|
+
* [select] 修复禁用态下的视觉 ([ca6a6cd](https://github.com/kdcloudone/kdesign/commit/ca6a6cd4caf3ba0c6d2587748eab1d1de21b54d8))
|
|
52
|
+
* [tree] 调整拖拽时dropPosition计算 ([cb69512](https://github.com/kdcloudone/kdesign/commit/cb69512648acdca9a8a6e99624e9778aefe1c3a6))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## [1.5.1](https://github.com/kdcloudone/kdesign/compare/v1.3.8...v1.5.1) (2022-07-27)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### Bug Fixes
|
|
60
|
+
|
|
61
|
+
* [table] 增加滚动加载和滚动条宽度参数 ([c4e9b03](https://github.com/kdcloudone/kdesign/commit/c4e9b0382f9290a8712eba0a3ee9313851410d8a))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
1
65
|
# [1.5.0](https://github.com/kdcloudone/kdesign/compare/v1.4.1...v1.5.0) (2022-07-21)
|
|
2
66
|
|
|
3
67
|
|
package/dist/default-theme.js
CHANGED
|
@@ -49,15 +49,14 @@ module.exports = {
|
|
|
49
49
|
"bg2": "#f2f2f2",
|
|
50
50
|
"bg3": "rgba(255, 255, 255, 0.65)",
|
|
51
51
|
"contain-bg": "#fafafa",
|
|
52
|
-
"radius-size": "2px",
|
|
53
52
|
"input-color": "#999",
|
|
54
53
|
"strong-border-color": "#d9d9d9",
|
|
55
54
|
"strong-border-color-1": "#d9d9d9",
|
|
56
55
|
"strong-border-color-2": "rgba(217, 217, 217, 0.65)",
|
|
57
56
|
"weak-border-color": "#e5e5e5",
|
|
58
|
-
"logo-color-1": "#
|
|
59
|
-
"logo-color-2": "#
|
|
60
|
-
"logo-color-3": "#
|
|
57
|
+
"logo-color-1": "#2486ee",
|
|
58
|
+
"logo-color-2": "#02ccfe",
|
|
59
|
+
"logo-color-3": "#05c8c7",
|
|
61
60
|
"logo-color-4": "#a06eff",
|
|
62
61
|
"white": "#fff",
|
|
63
62
|
"ease-out": "cubic-bezier(0,.4,.4,1)",
|
|
@@ -73,6 +72,7 @@ module.exports = {
|
|
|
73
72
|
"large-font-size": "16px",
|
|
74
73
|
"xlarge-font-size": "18px",
|
|
75
74
|
"xxlarge-font-size": "20px",
|
|
75
|
+
"radius-size": "2px",
|
|
76
76
|
"zIndex-below": "-1",
|
|
77
77
|
"zIndex-popper": "1050",
|
|
78
78
|
"zIndex-dialog": "1050",
|