bkui-vue 0.0.1-beta.125 → 0.0.1-beta.128

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 (117) hide show
  1. package/dist/index.cjs.js +31 -145
  2. package/dist/index.esm.js +435 -3387
  3. package/dist/index.umd.js +31 -145
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/affix.variable.css +2 -2
  7. package/lib/affix/index.d.ts +22 -118
  8. package/lib/alert/alert.variable.css +2 -2
  9. package/lib/alert/index.d.ts +28 -146
  10. package/lib/animate-number/index.d.ts +14 -84
  11. package/lib/backtop/backtop.variable.css +2 -2
  12. package/lib/backtop/index.d.ts +29 -135
  13. package/lib/badge/badge.variable.css +2 -2
  14. package/lib/badge/index.d.ts +46 -211
  15. package/lib/breadcrumb/breadcrumb.variable.css +2 -2
  16. package/lib/button/button.css +0 -4
  17. package/lib/button/button.less +7 -13
  18. package/lib/button/button.variable.css +2 -6
  19. package/lib/card/card.variable.css +2 -2
  20. package/lib/card/index.d.ts +50 -223
  21. package/lib/cascader/cascader.variable.css +2 -2
  22. package/lib/checkbox/checkbox.css +1 -1
  23. package/lib/checkbox/checkbox.less +1 -1
  24. package/lib/checkbox/checkbox.variable.css +3 -3
  25. package/lib/code-diff/code-diff.variable.css +2 -2
  26. package/lib/code-diff/index.d.ts +23 -123
  27. package/lib/collapse/collapse.variable.css +2 -2
  28. package/lib/collapse/index.d.ts +28 -147
  29. package/lib/components.d.ts +0 -1
  30. package/lib/components.js +1 -1
  31. package/lib/container/container.variable.css +2 -2
  32. package/lib/date-picker/date-picker.variable.css +2 -2
  33. package/lib/date-picker/index.d.ts +124 -566
  34. package/lib/dialog/index.d.ts +140 -557
  35. package/lib/divider/divider.variable.css +2 -2
  36. package/lib/divider/index.d.ts +23 -117
  37. package/lib/dropdown/dropdown.variable.css +2 -2
  38. package/lib/exception/exception.variable.css +2 -2
  39. package/lib/exception/index.d.ts +13 -83
  40. package/lib/fixed-navbar/fixed-navbar.variable.css +2 -2
  41. package/lib/fixed-navbar/index.d.ts +22 -121
  42. package/lib/form/form.variable.css +2 -2
  43. package/lib/input/index.d.ts +92 -408
  44. package/lib/input/index.js +1 -1
  45. package/lib/input/input.css +5 -13
  46. package/lib/input/input.less +2 -12
  47. package/lib/input/input.variable.css +4 -12
  48. package/lib/link/index.d.ts +28 -134
  49. package/lib/link/link.variable.css +2 -2
  50. package/lib/loading/loading.css +2 -0
  51. package/lib/loading/loading.less +2 -2
  52. package/lib/loading/loading.variable.css +4 -2
  53. package/lib/menu/menu.variable.css +2 -2
  54. package/lib/menu/submenu.variable.css +2 -2
  55. package/lib/message/message.variable.css +2 -2
  56. package/lib/navigation/index.d.ts +51 -244
  57. package/lib/navigation/navigation.variable.css +2 -2
  58. package/lib/notify/notify.variable.css +2 -2
  59. package/lib/pagination/index.d.ts +68 -305
  60. package/lib/pagination/pagination.variable.css +2 -2
  61. package/lib/popover/index.d.ts +76 -298
  62. package/lib/popover/popover.variable.css +2 -2
  63. package/lib/popover2/index.d.ts +92 -378
  64. package/lib/popover2/popover2.variable.css +2 -2
  65. package/lib/process/index.d.ts +35 -166
  66. package/lib/process/process.variable.css +2 -2
  67. package/lib/progress/index.d.ts +76 -306
  68. package/lib/progress/progress.variable.css +2 -2
  69. package/lib/radio/radio.variable.css +2 -2
  70. package/lib/rate/index.d.ts +15 -96
  71. package/lib/resize-layout/index.d.ts +52 -261
  72. package/lib/resize-layout/resize-layout.variable.css +2 -2
  73. package/lib/select/select.variable.css +2 -2
  74. package/lib/shared/index.d.ts +3 -3
  75. package/lib/sideslider/index.d.ts +91 -369
  76. package/lib/sideslider/sideslider.variable.css +2 -2
  77. package/lib/slider/index.d.ts +78 -319
  78. package/lib/slider/slider.variable.css +2 -2
  79. package/lib/steps/index.d.ts +43 -198
  80. package/lib/steps/steps.variable.css +2 -2
  81. package/lib/styles/mixins/scroll.variable.css +2 -2
  82. package/lib/styles/themes/themes.less +2 -2
  83. package/lib/swiper/index.d.ts +30 -146
  84. package/lib/switcher/index.d.ts +50 -223
  85. package/lib/switcher/switcher.variable.css +2 -2
  86. package/lib/tab/tab.variable.css +2 -2
  87. package/lib/table/index.d.ts +105 -412
  88. package/lib/table/index.js +1 -1
  89. package/lib/table/plugins/head-filter.variable.css +2 -2
  90. package/lib/table/plugins/head-sort.variable.css +2 -2
  91. package/lib/table/plugins/settings.css +4 -22
  92. package/lib/table/plugins/settings.less +4 -24
  93. package/lib/table/plugins/settings.variable.css +6 -24
  94. package/lib/table/props.d.ts +3 -2
  95. package/lib/table/table.css +4 -664
  96. package/lib/table/table.d.ts +7 -2
  97. package/lib/table/table.less +0 -6
  98. package/lib/table/table.variable.css +6 -666
  99. package/lib/tag/index.d.ts +38 -183
  100. package/lib/tag/tag.variable.css +2 -2
  101. package/lib/tag-input/index.d.ts +145 -666
  102. package/lib/tag-input/tag-input.variable.css +2 -2
  103. package/lib/timeline/index.d.ts +19 -109
  104. package/lib/timeline/timeline.variable.css +2 -2
  105. package/lib/transfer/index.d.ts +59 -264
  106. package/lib/transfer/transfer.variable.css +2 -2
  107. package/lib/tree/index.d.ts +103 -401
  108. package/lib/tree/index.js +1 -1
  109. package/lib/tree/tree.css +0 -105
  110. package/lib/tree/tree.less +0 -2
  111. package/lib/tree/tree.variable.css +2 -107
  112. package/lib/tree/use-node-action.d.ts +1 -1
  113. package/lib/tree/use-node-attribute.d.ts +0 -1
  114. package/lib/upload/upload.variable.css +2 -2
  115. package/lib/virtual-render/index.d.ts +109 -433
  116. package/lib/virtual-render/virtual-render.variable.css +2 -2
  117. package/package.json +1 -1
@@ -15,7 +15,6 @@
15
15
  .@{bk-prefix}-input--prefix-area,
16
16
  .@{bk-prefix}-input--suffix-area,
17
17
  .@{bk-prefix}-input--suffix-icon {
18
- cursor: not-allowed;
19
18
  background-color: @input-disabled-bg;
20
19
  }
21
20
  }
@@ -65,6 +64,7 @@
65
64
  padding: 5px 10px;
66
65
  line-height: 1.5;
67
66
  text-align: left;
67
+ vertical-align: middle;
68
68
  border: 0;
69
69
  outline: none;
70
70
  resize: none;
@@ -140,15 +140,6 @@
140
140
  }
141
141
  }
142
142
 
143
- &--clear-icon {
144
- cursor: pointer;
145
-
146
- &:hover {
147
- color: @gray-color;
148
- }
149
- }
150
-
151
-
152
143
  &--large {
153
144
  .component-size(@component-size-large, @font-size-medium);
154
145
 
@@ -285,7 +276,6 @@
285
276
  align-items: center;
286
277
 
287
278
  &.is-disabled {
288
- color: @light-gray;
289
279
  cursor: not-allowed;
290
280
  }
291
281
  }
@@ -298,7 +288,7 @@
298
288
  transform: rotate(180deg);
299
289
  }
300
290
 
301
- span:not(.is-disabled):hover {
291
+ span:hover {
302
292
  background-color: @input-block-hover-color;
303
293
  }
304
294
  }
@@ -19,7 +19,7 @@
19
19
  --line-height-large: 18px;
20
20
  --component-size-small: 26px;
21
21
  --component-size-base: 32px;
22
- --component-size-large: 40px;
22
+ --component-size-large: 38px;
23
23
  --border-width-base: 1px;
24
24
  --border-style-base: solid;
25
25
  --border-radius-base: 2px;
@@ -34,7 +34,7 @@
34
34
  --input-horizontal-padding: 10px;
35
35
  --input-block-color: #f5f7fa;
36
36
  --input-block-hover-color: #eaebf0;
37
- --input-icon-size: var(--font-size-medium);
37
+ --input-icon-size: var(--font-size-large);
38
38
  --input-maxlength-color: #979ba5;
39
39
  --button-primary-hover-color: #5594fa;
40
40
  --button-danger-hover-color: #ff5656;
@@ -158,7 +158,6 @@
158
158
  .bk-textarea.is-readonly .bk-input--suffix-area,
159
159
  .bk-textarea.is-disabled .bk-input--suffix-icon,
160
160
  .bk-textarea.is-readonly .bk-input--suffix-icon {
161
- cursor: not-allowed;
162
161
  background-color: var(--input-disabled-bg);
163
162
  }
164
163
  .bk-textarea.is-disabled input,
@@ -179,6 +178,7 @@
179
178
  padding: 5px 10px;
180
179
  line-height: 1.5;
181
180
  text-align: left;
181
+ vertical-align: middle;
182
182
  border: 0;
183
183
  outline: none;
184
184
  resize: none;
@@ -224,7 +224,6 @@
224
224
  .bk-input.is-readonly .bk-input--suffix-area,
225
225
  .bk-input.is-disabled .bk-input--suffix-icon,
226
226
  .bk-input.is-readonly .bk-input--suffix-icon {
227
- cursor: not-allowed;
228
227
  background-color: var(--input-disabled-bg);
229
228
  }
230
229
  .bk-input.is-disabled input,
@@ -271,12 +270,6 @@
271
270
  .bk-input--suffix-icon.show-clear-only-hover {
272
271
  display: none;
273
272
  }
274
- .bk-input--clear-icon {
275
- cursor: pointer;
276
- }
277
- .bk-input--clear-icon:hover {
278
- color: var(--gray-color);
279
- }
280
273
  .bk-input--large {
281
274
  height: var(--component-size-large);
282
275
  font-size: var(--font-size-medium);
@@ -394,7 +387,6 @@
394
387
  align-items: center;
395
388
  }
396
389
  .bk-input--number-control span.is-disabled {
397
- color: var(--light-gray);
398
390
  cursor: not-allowed;
399
391
  }
400
392
  .bk-input--number-control svg {
@@ -403,6 +395,6 @@
403
395
  .bk-input--number-control span:first-child {
404
396
  transform: rotate(180deg);
405
397
  }
406
- .bk-input--number-control span:not(.is-disabled):hover {
398
+ .bk-input--number-control span:hover {
407
399
  background-color: var(--input-block-hover-color);
408
400
  }
@@ -1,134 +1,4 @@
1
- declare const BkLink: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{
6
- disabled: boolean;
7
- theme: string;
8
- target: string;
9
- underline: boolean;
10
- href: string;
11
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
12
- theme: import("vue-types").VueTypeDef<string> & {
13
- default: string;
14
- };
15
- href: import("vue-types").VueTypeValidableDef<string> & {
16
- default: string;
17
- } & {
18
- default: string;
19
- };
20
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
21
- default: boolean;
22
- } & {
23
- default: boolean;
24
- };
25
- underline: import("vue-types").VueTypeValidableDef<boolean> & {
26
- default: boolean;
27
- } & {
28
- default: boolean;
29
- };
30
- target: import("vue-types").VueTypeValidableDef<string> & {
31
- default: string;
32
- } & {
33
- default: string;
34
- };
35
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "theme" | "target" | "underline" | "href">;
36
- $attrs: {
37
- [x: string]: unknown;
38
- };
39
- $refs: {
40
- [x: string]: unknown;
41
- };
42
- $slots: Readonly<{
43
- [name: string]: import("vue").Slot;
44
- }>;
45
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
46
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
47
- $emit: (event: string, ...args: any[]) => void;
48
- $el: any;
49
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
50
- theme: import("vue-types").VueTypeDef<string> & {
51
- default: string;
52
- };
53
- href: import("vue-types").VueTypeValidableDef<string> & {
54
- default: string;
55
- } & {
56
- default: string;
57
- };
58
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
59
- default: boolean;
60
- } & {
61
- default: boolean;
62
- };
63
- underline: import("vue-types").VueTypeValidableDef<boolean> & {
64
- default: boolean;
65
- } & {
66
- default: boolean;
67
- };
68
- target: import("vue-types").VueTypeValidableDef<string> & {
69
- default: string;
70
- } & {
71
- default: string;
72
- };
73
- }>>, {
74
- handleClick: (event: Event) => boolean;
75
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
76
- disabled: boolean;
77
- theme: string;
78
- target: string;
79
- underline: boolean;
80
- href: string;
81
- }> & {
82
- beforeCreate?: (() => void) | (() => void)[];
83
- created?: (() => void) | (() => void)[];
84
- beforeMount?: (() => void) | (() => void)[];
85
- mounted?: (() => void) | (() => void)[];
86
- beforeUpdate?: (() => void) | (() => void)[];
87
- updated?: (() => void) | (() => void)[];
88
- activated?: (() => void) | (() => void)[];
89
- deactivated?: (() => void) | (() => void)[];
90
- beforeDestroy?: (() => void) | (() => void)[];
91
- beforeUnmount?: (() => void) | (() => void)[];
92
- destroyed?: (() => void) | (() => void)[];
93
- unmounted?: (() => void) | (() => void)[];
94
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
95
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
96
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
97
- };
98
- $forceUpdate: () => void;
99
- $nextTick: typeof import("vue").nextTick;
100
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
101
- } & Readonly<import("vue").ExtractPropTypes<{
102
- theme: import("vue-types").VueTypeDef<string> & {
103
- default: string;
104
- };
105
- href: import("vue-types").VueTypeValidableDef<string> & {
106
- default: string;
107
- } & {
108
- default: string;
109
- };
110
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
111
- default: boolean;
112
- } & {
113
- default: boolean;
114
- };
115
- underline: import("vue-types").VueTypeValidableDef<boolean> & {
116
- default: boolean;
117
- } & {
118
- default: boolean;
119
- };
120
- target: import("vue-types").VueTypeValidableDef<string> & {
121
- default: string;
122
- } & {
123
- default: string;
124
- };
125
- }>> & import("vue").ShallowUnwrapRef<{
126
- handleClick: (event: Event) => boolean;
127
- }> & {} & {} & import("vue").ComponentCustomProperties;
128
- __isFragment?: never;
129
- __isTeleport?: never;
130
- __isSuspense?: never;
131
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
1
+ declare const BkLink: import("vue").DefineComponent<{
132
2
  theme: import("vue-types").VueTypeDef<string> & {
133
3
  default: string;
134
4
  };
@@ -152,13 +22,37 @@ declare const BkLink: {
152
22
  } & {
153
23
  default: string;
154
24
  };
155
- }>>, {
25
+ }, {
156
26
  handleClick: (event: Event) => boolean;
157
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
27
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
+ theme: import("vue-types").VueTypeDef<string> & {
29
+ default: string;
30
+ };
31
+ href: import("vue-types").VueTypeValidableDef<string> & {
32
+ default: string;
33
+ } & {
34
+ default: string;
35
+ };
36
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
37
+ default: boolean;
38
+ } & {
39
+ default: boolean;
40
+ };
41
+ underline: import("vue-types").VueTypeValidableDef<boolean> & {
42
+ default: boolean;
43
+ } & {
44
+ default: boolean;
45
+ };
46
+ target: import("vue-types").VueTypeValidableDef<string> & {
47
+ default: string;
48
+ } & {
49
+ default: string;
50
+ };
51
+ }>>, {
158
52
  disabled: boolean;
159
53
  theme: string;
160
54
  target: string;
161
55
  underline: boolean;
162
56
  href: string;
163
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
57
+ }>;
164
58
  export default BkLink;
@@ -19,7 +19,7 @@
19
19
  --line-height-large: 18px;
20
20
  --component-size-small: 26px;
21
21
  --component-size-base: 32px;
22
- --component-size-large: 40px;
22
+ --component-size-large: 38px;
23
23
  --border-width-base: 1px;
24
24
  --border-style-base: solid;
25
25
  --border-radius-base: 2px;
@@ -34,7 +34,7 @@
34
34
  --input-horizontal-padding: 10px;
35
35
  --input-block-color: #f5f7fa;
36
36
  --input-block-hover-color: #eaebf0;
37
- --input-icon-size: var(--font-size-medium);
37
+ --input-icon-size: var(--font-size-large);
38
38
  --input-maxlength-color: #979ba5;
39
39
  --button-primary-hover-color: #5594fa;
40
40
  --button-danger-hover-color: #ff5656;
@@ -36,6 +36,8 @@
36
36
  }
37
37
  .bk-loading-wrapper.bk-nested-loading {
38
38
  position: relative;
39
+ width: 100%;
40
+ height: 100%;
39
41
  }
40
42
  .bk-loading-wrapper.bk-nested-loading.is-block {
41
43
  display: block;
@@ -62,8 +62,8 @@
62
62
 
63
63
  &.@{bk-prefix}-nested-loading {
64
64
  position: relative;
65
- // width: 100%;
66
- // height: 100%;
65
+ width: 100%;
66
+ height: 100%;
67
67
 
68
68
  &.is-block {
69
69
  display: block;
@@ -19,7 +19,7 @@
19
19
  --line-height-large: 18px;
20
20
  --component-size-small: 26px;
21
21
  --component-size-base: 32px;
22
- --component-size-large: 40px;
22
+ --component-size-large: 38px;
23
23
  --border-width-base: 1px;
24
24
  --border-style-base: solid;
25
25
  --border-radius-base: 2px;
@@ -34,7 +34,7 @@
34
34
  --input-horizontal-padding: 10px;
35
35
  --input-block-color: #f5f7fa;
36
36
  --input-block-hover-color: #eaebf0;
37
- --input-icon-size: var(--font-size-medium);
37
+ --input-icon-size: var(--font-size-large);
38
38
  --input-maxlength-color: #979ba5;
39
39
  --button-primary-hover-color: #5594fa;
40
40
  --button-danger-hover-color: #ff5656;
@@ -138,6 +138,8 @@
138
138
  }
139
139
  .bk-loading-wrapper.bk-nested-loading {
140
140
  position: relative;
141
+ width: 100%;
142
+ height: 100%;
141
143
  }
142
144
  .bk-loading-wrapper.bk-nested-loading.is-block {
143
145
  display: block;
@@ -19,7 +19,7 @@
19
19
  --line-height-large: 18px;
20
20
  --component-size-small: 26px;
21
21
  --component-size-base: 32px;
22
- --component-size-large: 40px;
22
+ --component-size-large: 38px;
23
23
  --border-width-base: 1px;
24
24
  --border-style-base: solid;
25
25
  --border-radius-base: 2px;
@@ -34,7 +34,7 @@
34
34
  --input-horizontal-padding: 10px;
35
35
  --input-block-color: #f5f7fa;
36
36
  --input-block-hover-color: #eaebf0;
37
- --input-icon-size: var(--font-size-medium);
37
+ --input-icon-size: var(--font-size-large);
38
38
  --input-maxlength-color: #979ba5;
39
39
  --button-primary-hover-color: #5594fa;
40
40
  --button-danger-hover-color: #ff5656;
@@ -19,7 +19,7 @@
19
19
  --line-height-large: 18px;
20
20
  --component-size-small: 26px;
21
21
  --component-size-base: 32px;
22
- --component-size-large: 40px;
22
+ --component-size-large: 38px;
23
23
  --border-width-base: 1px;
24
24
  --border-style-base: solid;
25
25
  --border-radius-base: 2px;
@@ -34,7 +34,7 @@
34
34
  --input-horizontal-padding: 10px;
35
35
  --input-block-color: #f5f7fa;
36
36
  --input-block-hover-color: #eaebf0;
37
- --input-icon-size: var(--font-size-medium);
37
+ --input-icon-size: var(--font-size-large);
38
38
  --input-maxlength-color: #979ba5;
39
39
  --button-primary-hover-color: #5594fa;
40
40
  --button-danger-hover-color: #ff5656;
@@ -19,7 +19,7 @@
19
19
  --line-height-large: 18px;
20
20
  --component-size-small: 26px;
21
21
  --component-size-base: 32px;
22
- --component-size-large: 40px;
22
+ --component-size-large: 38px;
23
23
  --border-width-base: 1px;
24
24
  --border-style-base: solid;
25
25
  --border-radius-base: 2px;
@@ -34,7 +34,7 @@
34
34
  --input-horizontal-padding: 10px;
35
35
  --input-block-color: #f5f7fa;
36
36
  --input-block-hover-color: #eaebf0;
37
- --input-icon-size: var(--font-size-medium);
37
+ --input-icon-size: var(--font-size-large);
38
38
  --input-maxlength-color: #979ba5;
39
39
  --button-primary-hover-color: #5594fa;
40
40
  --button-danger-hover-color: #ff5656;