bkui-vue 0.0.1-beta.20 → 0.0.1-beta.23

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.
Files changed (126) hide show
  1. package/README.md +7 -3
  2. package/README_EN.md +7 -3
  3. package/dist/bkui-vue.cjs.js +8514 -3025
  4. package/dist/bkui-vue.esm.js +8515 -3026
  5. package/dist/bkui-vue.umd.js +8516 -3027
  6. package/dist/style.css +153 -86
  7. package/lib/alert/index.js +1 -1
  8. package/lib/animate-number/index.js +1 -1
  9. package/lib/backtop/index.js +10 -1
  10. package/lib/badge/index.js +1 -1
  11. package/lib/breadcrumb/index.js +1 -1
  12. package/lib/button/button.css +9 -0
  13. package/lib/button/button.d.ts +25 -1
  14. package/lib/button/button.less +18 -10
  15. package/lib/button/button.variable.css +9 -0
  16. package/lib/button/index.d.ts +42 -4
  17. package/lib/button/index.js +1 -1
  18. package/lib/card/index.js +1 -1
  19. package/lib/checkbox/common.d.ts +1 -1
  20. package/lib/checkbox/index.js +1 -1
  21. package/lib/checkbox/type.d.ts +1 -1
  22. package/lib/code-diff/code-diff.css +115 -0
  23. package/lib/code-diff/code-diff.d.ts +71 -0
  24. package/lib/code-diff/code-diff.less +145 -0
  25. package/lib/code-diff/code-diff.variable.css +208 -0
  26. package/lib/code-diff/index.d.ts +6 -0
  27. package/lib/collapse/index.js +1 -1
  28. package/lib/date-picker/date-picker.d.ts +21 -131
  29. package/lib/date-picker/index.d.ts +7 -7
  30. package/lib/date-picker/index.js +1 -1
  31. package/lib/date-picker/interface.d.ts +1 -1
  32. package/lib/date-picker/props.d.ts +111 -0
  33. package/lib/date-picker/utils.d.ts +1 -1
  34. package/lib/dialog/dialog.d.ts +2 -2
  35. package/lib/dialog/index.d.ts +7 -7
  36. package/lib/dialog/index.js +1 -1
  37. package/lib/directives/clickoutside.d.ts +3 -23
  38. package/lib/directives/index.js +2 -2
  39. package/lib/divider/index.js +1 -1
  40. package/lib/dropdown/index.d.ts +1 -1
  41. package/lib/dropdown/index.js +1 -1
  42. package/lib/exception/index.js +1 -1
  43. package/lib/fixed-navbar/index.js +1 -1
  44. package/lib/form/form-item.d.ts +7 -21
  45. package/lib/form/form.css +9 -0
  46. package/lib/form/form.d.ts +9 -29
  47. package/lib/form/form.less +14 -1
  48. package/lib/form/form.variable.css +9 -0
  49. package/lib/form/index.d.ts +18 -58
  50. package/lib/form/index.js +1 -1
  51. package/lib/input/index.d.ts +61 -7
  52. package/lib/input/index.js +2 -2
  53. package/lib/input/input.css +19 -2
  54. package/lib/input/input.d.ts +32 -2
  55. package/lib/input/input.less +25 -3
  56. package/lib/input/input.variable.css +19 -2
  57. package/lib/link/index.js +1 -1
  58. package/lib/loading/index.d.ts +32 -10
  59. package/lib/loading/index.js +1 -1
  60. package/lib/loading/loading.css +98 -71
  61. package/lib/loading/loading.d.ts +23 -8
  62. package/lib/loading/loading.less +62 -49
  63. package/lib/loading/loading.variable.css +98 -71
  64. package/lib/menu/index.js +1 -1
  65. package/lib/menu/utils.d.ts +1 -1
  66. package/lib/message/index.js +1 -1
  67. package/lib/message/messageConstructor.d.ts +1 -1
  68. package/lib/modal/index.d.ts +4 -4
  69. package/lib/modal/index.js +1 -1
  70. package/lib/modal/modal.d.ts +1 -1
  71. package/lib/notify/index.js +1 -1
  72. package/lib/notify/notifyConstructor.d.ts +1 -1
  73. package/lib/pagination/index.d.ts +4 -4
  74. package/lib/pagination/index.js +1 -1
  75. package/lib/pagination/pagination.d.ts +1 -1
  76. package/lib/popover/index.d.ts +7 -7
  77. package/lib/popover/index.js +1 -1
  78. package/lib/popover/popover.d.ts +2 -2
  79. package/lib/process/index.js +2 -2
  80. package/lib/progress/index.d.ts +4 -4
  81. package/lib/progress/index.js +1 -1
  82. package/lib/progress/progress.d.ts +1 -1
  83. package/lib/radio/common.d.ts +1 -1
  84. package/lib/radio/index.d.ts +1 -1
  85. package/lib/radio/index.js +1 -1
  86. package/lib/radio/type.d.ts +1 -1
  87. package/lib/rate/index.js +1 -1
  88. package/lib/select/index.js +12 -12
  89. package/lib/shared/bk-helper-core.d.ts +0 -1
  90. package/lib/shared/bk-popover.d.ts +1 -1
  91. package/lib/shared/index.d.ts +0 -10
  92. package/lib/shared/index.js +1 -1
  93. package/lib/shared/vue-types.d.ts +5 -1
  94. package/lib/sideslider/index.d.ts +4 -4
  95. package/lib/sideslider/index.js +1 -1
  96. package/lib/sideslider/sideslider.d.ts +1 -1
  97. package/lib/slider/index.js +2 -2
  98. package/lib/steps/index.js +2 -2
  99. package/lib/switcher/index.js +1 -1
  100. package/lib/tab/index.js +1 -1
  101. package/lib/tab/tab-nav.d.ts +1 -1
  102. package/lib/table/index.d.ts +36 -13
  103. package/lib/table/index.js +10 -1
  104. package/lib/table/props.d.ts +8 -0
  105. package/lib/table/render.d.ts +3 -1
  106. package/lib/table/table.css +8 -1
  107. package/lib/table/table.d.ts +15 -4
  108. package/lib/table/table.less +10 -1
  109. package/lib/table/table.variable.css +8 -1
  110. package/lib/tag/index.d.ts +3 -3
  111. package/lib/tag/index.js +1 -1
  112. package/lib/tag/tag.d.ts +1 -1
  113. package/lib/timeline/index.js +1 -1
  114. package/lib/transfer/index.js +1 -1
  115. package/lib/tree/index.d.ts +50 -28
  116. package/lib/tree/index.js +1 -1
  117. package/lib/tree/props.d.ts +15 -6
  118. package/lib/tree/tree.css +10 -12
  119. package/lib/tree/tree.d.ts +27 -13
  120. package/lib/tree/tree.less +21 -24
  121. package/lib/tree/tree.variable.css +10 -12
  122. package/lib/tree/util.d.ts +20 -7
  123. package/lib/virtual-render/index.d.ts +4 -4
  124. package/lib/virtual-render/index.js +10 -1
  125. package/lib/virtual-render/virtual-render.d.ts +1 -1
  126. package/package.json +14 -12
package/README.md CHANGED
@@ -10,26 +10,31 @@
10
10
  基于蓝鲸 Magicbox 和 Vue3 的前端组件库
11
11
 
12
12
  ## Project setup
13
+
13
14
  ```
14
15
  yarn install
15
16
  ```
16
17
 
17
18
  ### Compiles and hot-reloads for development
19
+
18
20
  ```
19
21
  yarn dev
20
22
  ```
21
23
 
22
24
  ### Compiles and minifies for production
25
+
23
26
  ```
24
27
  yarn build
25
28
  ```
26
29
 
27
30
  ### Run your unit tests
31
+
28
32
  ```
29
33
  yarn test
30
34
  ```
31
35
 
32
36
  ### Lints and fixes files
37
+
33
38
  ```
34
39
  yarn lint
35
40
  ```
@@ -41,10 +46,9 @@ yarn lint
41
46
  * 执行命令 `yarn generate:icon`
42
47
  * 在组件中使用类似语法 `import { HelpFill } from '@bkui-vue/icon/';` 引用即可
43
48
 
44
-
45
49
  ## 如何开始
46
50
 
47
- 想要贡献代码,建议请先参照已有的特性文档和开发环境构建文档。可以运行 `npm run plop` 输入组件名生成新组件模板
51
+ 想要贡献代码,建议请先参照已有的特性文档和开发环境构建文档。可以运行 `yarn cc` 输入组件名生成新组件模板
48
52
 
49
53
  ## GIT 提交规范
50
54
 
@@ -72,7 +76,7 @@ affects: bkui-vue, @bkui-vue/button, @bkui-vue/checkbox, @bkui-vue/input, @bkui-
72
76
  ISSUES CLOSED: #1
73
77
  ```
74
78
 
75
- ### 标记说明:
79
+ ### 标记说明
76
80
 
77
81
  | 标记 | 说明 |
78
82
  | -------------- | ------------------------------------------- |
package/README_EN.md CHANGED
@@ -10,26 +10,31 @@ English | [简体中文](README.md)
10
10
  A UI library base on BlueKing Magicbox and Vue3
11
11
 
12
12
  ## Project setup
13
+
13
14
  ```
14
15
  yarn install
15
16
  ```
16
17
 
17
18
  ### Compiles and hot-reloads for development
19
+
18
20
  ```
19
21
  yarn dev
20
22
  ```
21
23
 
22
24
  ### Compiles and minifies for production
25
+
23
26
  ```
24
27
  yarn build
25
28
  ```
26
29
 
27
30
  ### Run your unit tests
31
+
28
32
  ```
29
33
  yarn test
30
34
  ```
31
35
 
32
36
  ### Lints and fixes files
37
+
33
38
  ```
34
39
  yarn lint
35
40
  ```
@@ -41,10 +46,9 @@ yarn lint
41
46
  * Execute the command `yarn generate:icon`
42
47
  * Use similar syntax `import { HelpFill } from '@bkui-vue/icon/';` in the component to reference
43
48
 
44
-
45
49
  ## How to get started
46
50
 
47
- If you want to contribute code, it is recommended to refer to the existing feature documentation and development environment build documentation first. You can run `npm run plop` and enter the component name to generate a new component template
51
+ If you want to contribute code, it is recommended to refer to the existing feature documentation and development environment build documentation first. You can run `yarn cc` and enter the component name to generate a new component template
48
52
 
49
53
  ## GIT commit specification
50
54
 
@@ -72,7 +76,7 @@ Add chanelog automatic generation mechanism
72
76
  ISSUES CLOSED: #1
73
77
  ```
74
78
 
75
- ### tag description:
79
+ ### tag description
76
80
 
77
81
  | tag | description |
78
82
  | -------------- | ------------------------------------------- |