bkui-vue 0.0.1-beta.156 → 0.0.1-beta.159

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 (99) hide show
  1. package/dist/index.cjs.js +35 -35
  2. package/dist/index.esm.js +214 -108
  3. package/dist/index.umd.js +35 -35
  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/alert/alert.variable.css +2 -2
  8. package/lib/backtop/backtop.css +8 -0
  9. package/lib/backtop/backtop.less +8 -0
  10. package/lib/backtop/backtop.variable.css +10 -2
  11. package/lib/backtop/index.js +1 -1
  12. package/lib/badge/badge.variable.css +2 -2
  13. package/lib/breadcrumb/breadcrumb.variable.css +2 -2
  14. package/lib/button/button.variable.css +2 -2
  15. package/lib/card/card.variable.css +2 -2
  16. package/lib/cascader/cascader-panel.d.ts +4 -4
  17. package/lib/cascader/cascader.css +13 -3
  18. package/lib/cascader/cascader.d.ts +2 -2
  19. package/lib/cascader/cascader.less +14 -1
  20. package/lib/cascader/cascader.variable.css +13 -3
  21. package/lib/cascader/index.d.ts +10 -10
  22. package/lib/cascader/index.js +1 -1
  23. package/lib/checkbox/checkbox.variable.css +2 -2
  24. package/lib/code-diff/code-diff.variable.css +2 -2
  25. package/lib/collapse/collapse.variable.css +2 -2
  26. package/lib/color-picker/color-picker.variable.css +2 -2
  27. package/lib/container/container.variable.css +2 -2
  28. package/lib/date-picker/date-picker.variable.css +2 -2
  29. package/lib/divider/divider.variable.css +2 -2
  30. package/lib/dropdown/dropdown.variable.css +2 -2
  31. package/lib/exception/exception.css +40 -14
  32. package/lib/exception/exception.d.ts +10 -3
  33. package/lib/exception/exception.less +59 -22
  34. package/lib/exception/exception.variable.css +42 -16
  35. package/lib/exception/index.d.ts +23 -8
  36. package/lib/exception/index.js +1 -1
  37. package/lib/fixed-navbar/fixed-navbar.variable.css +2 -2
  38. package/lib/form/form.variable.css +2 -2
  39. package/lib/input/input.css +1 -1
  40. package/lib/input/input.less +5 -5
  41. package/lib/input/input.variable.css +3 -3
  42. package/lib/link/link.css +12 -12
  43. package/lib/link/link.less +16 -14
  44. package/lib/link/link.variable.css +14 -14
  45. package/lib/loading/loading.variable.css +2 -2
  46. package/lib/menu/menu.variable.css +2 -2
  47. package/lib/menu/submenu.variable.css +2 -2
  48. package/lib/message/message.variable.css +2 -2
  49. package/lib/navigation/navigation.variable.css +2 -2
  50. package/lib/notify/notify.variable.css +2 -2
  51. package/lib/pagination/pagination.variable.css +2 -2
  52. package/lib/popover/popover.variable.css +2 -2
  53. package/lib/popover2/popover2.variable.css +2 -2
  54. package/lib/process/process.variable.css +2 -2
  55. package/lib/progress/progress.variable.css +2 -2
  56. package/lib/radio/radio.variable.css +2 -2
  57. package/lib/resize-layout/resize-layout.variable.css +2 -2
  58. package/lib/select/index.d.ts +65 -25
  59. package/lib/select/index.js +1 -1
  60. package/lib/select/select.css +54 -24
  61. package/lib/select/select.d.ts +28 -8
  62. package/lib/select/select.less +62 -24
  63. package/lib/select/select.variable.css +56 -26
  64. package/lib/select/selectTagInput.d.ts +1 -3
  65. package/lib/shared/dom.d.ts +2 -0
  66. package/lib/shared/index.d.ts +1 -0
  67. package/lib/shared/index.js +1 -1
  68. package/lib/sideslider/sideslider.variable.css +2 -2
  69. package/lib/slider/slider.variable.css +2 -2
  70. package/lib/steps/steps.variable.css +2 -2
  71. package/lib/styles/mixins/scroll.variable.css +2 -2
  72. package/lib/styles/themes/themes.less +2 -2
  73. package/lib/switcher/switcher.variable.css +2 -2
  74. package/lib/tab/tab.variable.css +2 -2
  75. package/lib/table/const.d.ts +2 -2
  76. package/lib/table/index.d.ts +6 -6
  77. package/lib/table/index.js +1 -1
  78. package/lib/table/plugins/head-filter.variable.css +2 -2
  79. package/lib/table/plugins/head-sort.variable.css +2 -2
  80. package/lib/table/plugins/settings.variable.css +2 -2
  81. package/lib/table/table.css +41 -14
  82. package/lib/table/table.d.ts +2 -2
  83. package/lib/table/table.less +1 -1
  84. package/lib/table/table.variable.css +43 -16
  85. package/lib/tag/tag.css +23 -8
  86. package/lib/tag/tag.less +25 -8
  87. package/lib/tag/tag.variable.css +25 -10
  88. package/lib/tag-input/index.js +1 -1
  89. package/lib/tag-input/tag-input.variable.css +2 -2
  90. package/lib/timeline/timeline.variable.css +2 -2
  91. package/lib/transfer/index.d.ts +4 -4
  92. package/lib/transfer/transfer.d.ts +1 -1
  93. package/lib/transfer/transfer.variable.css +2 -2
  94. package/lib/tree/tree.css +3 -0
  95. package/lib/tree/tree.less +6 -0
  96. package/lib/tree/tree.variable.css +5 -2
  97. package/lib/upload/upload.variable.css +2 -2
  98. package/lib/virtual-render/virtual-render.variable.css +2 -2
  99. package/package.json +1 -1
@@ -1,32 +1,58 @@
1
- .bk-exception-wrapper {
1
+ .bk-exception {
2
2
  position: relative;
3
3
  display: flex;
4
4
  width: 100%;
5
5
  align-items: center;
6
6
  flex-direction: column;
7
+ text-align: center;
7
8
  }
8
- .bk-exception-wrapper .bk-exception-img {
9
+ .bk-exception-img {
9
10
  display: flex;
10
- width: 480px;
11
- height: 240px;
12
11
  align-items: center;
13
12
  justify-content: center;
14
13
  }
15
- .bk-exception-wrapper .bk-exception-img.part-img {
16
- width: 120px;
17
- height: 100px;
18
- }
19
- .bk-exception-wrapper .bk-exception-img .exception-image {
14
+ .bk-exception-img .exception-image {
20
15
  display: block;
21
16
  height: 100%;
22
- vertical-align: middle;
23
17
  object-fit: contain;
24
18
  }
25
- .bk-exception-wrapper .bk-exception-text {
26
- font-size: 24px;
19
+ .bk-exception-title {
20
+ color: #313238;
21
+ }
22
+ .bk-exception-description {
27
23
  color: #63656e;
28
- text-align: center;
29
24
  }
30
- .bk-exception-wrapper .bk-exception-text.part-text {
25
+ .bk-exception-page .bk-exception-img {
26
+ width: 480px;
27
+ height: 240px;
28
+ }
29
+ .bk-exception-page .bk-exception-title {
30
+ margin-top: 18px;
31
+ font-size: 24px;
32
+ line-height: 32px;
33
+ }
34
+ .bk-exception-page .bk-exception-description {
35
+ margin-top: 16px;
31
36
  font-size: 14px;
37
+ line-height: 22px;
38
+ }
39
+ .bk-exception-page .bk-exception-footer {
40
+ margin-top: 24px;
41
+ }
42
+ .bk-exception-part .bk-exception-img {
43
+ width: 120px;
44
+ height: 100px;
45
+ }
46
+ .bk-exception-part .bk-exception-title {
47
+ margin-top: 8px;
48
+ font-size: 14px;
49
+ line-height: 22px;
50
+ }
51
+ .bk-exception-part .bk-exception-description {
52
+ margin-top: 8px;
53
+ font-size: 12px;
54
+ line-height: 20px;
55
+ }
56
+ .bk-exception-part .bk-exception-footer {
57
+ margin-top: 8px;
32
58
  }
@@ -5,7 +5,10 @@ declare const _default: import("vue").DefineComponent<{
5
5
  scene: import("vue-types").VueTypeDef<string> & {
6
6
  default: string;
7
7
  };
8
- extCls: import("vue-types").VueTypeValidableDef<string> & {
8
+ title: import("vue-types").VueTypeValidableDef<string> & {
9
+ default: string;
10
+ };
11
+ description: import("vue-types").VueTypeValidableDef<string> & {
9
12
  default: string;
10
13
  };
11
14
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -15,12 +18,16 @@ declare const _default: import("vue").DefineComponent<{
15
18
  scene: import("vue-types").VueTypeDef<string> & {
16
19
  default: string;
17
20
  };
18
- extCls: import("vue-types").VueTypeValidableDef<string> & {
21
+ title: import("vue-types").VueTypeValidableDef<string> & {
22
+ default: string;
23
+ };
24
+ description: import("vue-types").VueTypeValidableDef<string> & {
19
25
  default: string;
20
26
  };
21
27
  }>>, {
28
+ title: string;
22
29
  type: string;
23
- extCls: string;
30
+ description: string;
24
31
  scene: string;
25
32
  }>;
26
33
  export default _default;
@@ -1,39 +1,76 @@
1
1
  @import '../styles/themes/themes.less';
2
2
 
3
- .bk-exception-wrapper {
3
+ .bk-exception {
4
4
  position: relative;
5
5
  display: flex;
6
6
  width: 100%;
7
7
  align-items: center;
8
8
  flex-direction: column;
9
+ text-align: center;
10
+ }
11
+
12
+ .bk-exception-img {
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: center;
16
+
17
+ .exception-image {
18
+ display: block;
19
+ height: 100%;
20
+ object-fit: contain;
21
+ }
22
+ }
9
23
 
24
+ .bk-exception-title {
25
+ color: #313238;
26
+ }
27
+
28
+ .bk-exception-description {
29
+ color: #63656e;
30
+ }
31
+
32
+ .bk-exception-page {
10
33
  .bk-exception-img {
11
- display: flex;
12
34
  width: 480px;
13
35
  height: 240px;
14
- align-items: center;
15
- justify-content: center;
16
-
17
- &.part-img {
18
- width: 120px;
19
- height: 100px;
20
- }
21
-
22
- .exception-image {
23
- display: block;
24
- height: 100%;
25
- vertical-align: middle;
26
- object-fit: contain;
27
- }
28
36
  }
29
37
 
30
- .bk-exception-text {
38
+ .bk-exception-title {
39
+ margin-top: 18px;
31
40
  font-size: 24px;
32
- color: #63656e;
33
- text-align: center;
41
+ line-height: 32px;
42
+ }
43
+
44
+ .bk-exception-description {
45
+ margin-top: 16px;
46
+ font-size: 14px;
47
+ line-height: 22px;
48
+ }
34
49
 
35
- &.part-text {
36
- font-size: 14px;
37
- }
50
+ .bk-exception-footer {
51
+ margin-top: 24px;
38
52
  }
39
53
  }
54
+
55
+ .bk-exception-part {
56
+ .bk-exception-img {
57
+ width: 120px;
58
+ height: 100px;
59
+ }
60
+
61
+ .bk-exception-title {
62
+ margin-top: 8px;
63
+ font-size: 14px;
64
+ line-height: 22px;
65
+ }
66
+
67
+ .bk-exception-description {
68
+ margin-top: 8px;
69
+ font-size: 12px;
70
+ line-height: 20px;
71
+ }
72
+
73
+ .bk-exception-footer {
74
+ margin-top: 8px;
75
+ }
76
+ }
@@ -107,39 +107,65 @@
107
107
  --table-row-hover-bg-color: #f5f7fa;
108
108
  --table-row-active-bg-color: #f0f1f5;
109
109
  --cascader-panel-border-color: #dcdee5;
110
- --cascader-panel-hover: #eaf3ff;
111
- --cascader-panel-active: #f4f6fa;
110
+ --cascader-panel-hover: #f5f7fa;
111
+ --cascader-panel-active: #e1ecff;
112
112
  --cascader-panel-disabled-bg: #fff;
113
113
  }
114
- .bk-exception-wrapper {
114
+ .bk-exception {
115
115
  position: relative;
116
116
  display: flex;
117
117
  width: 100%;
118
118
  align-items: center;
119
119
  flex-direction: column;
120
+ text-align: center;
120
121
  }
121
- .bk-exception-wrapper .bk-exception-img {
122
+ .bk-exception-img {
122
123
  display: flex;
123
- width: 480px;
124
- height: 240px;
125
124
  align-items: center;
126
125
  justify-content: center;
127
126
  }
128
- .bk-exception-wrapper .bk-exception-img.part-img {
129
- width: 120px;
130
- height: 100px;
131
- }
132
- .bk-exception-wrapper .bk-exception-img .exception-image {
127
+ .bk-exception-img .exception-image {
133
128
  display: block;
134
129
  height: 100%;
135
- vertical-align: middle;
136
130
  object-fit: contain;
137
131
  }
138
- .bk-exception-wrapper .bk-exception-text {
139
- font-size: 24px;
132
+ .bk-exception-title {
133
+ color: #313238;
134
+ }
135
+ .bk-exception-description {
140
136
  color: #63656e;
141
- text-align: center;
142
137
  }
143
- .bk-exception-wrapper .bk-exception-text.part-text {
138
+ .bk-exception-page .bk-exception-img {
139
+ width: 480px;
140
+ height: 240px;
141
+ }
142
+ .bk-exception-page .bk-exception-title {
143
+ margin-top: 18px;
144
+ font-size: 24px;
145
+ line-height: 32px;
146
+ }
147
+ .bk-exception-page .bk-exception-description {
148
+ margin-top: 16px;
144
149
  font-size: 14px;
150
+ line-height: 22px;
151
+ }
152
+ .bk-exception-page .bk-exception-footer {
153
+ margin-top: 24px;
154
+ }
155
+ .bk-exception-part .bk-exception-img {
156
+ width: 120px;
157
+ height: 100px;
158
+ }
159
+ .bk-exception-part .bk-exception-title {
160
+ margin-top: 8px;
161
+ font-size: 14px;
162
+ line-height: 22px;
163
+ }
164
+ .bk-exception-part .bk-exception-description {
165
+ margin-top: 8px;
166
+ font-size: 12px;
167
+ line-height: 20px;
168
+ }
169
+ .bk-exception-part .bk-exception-footer {
170
+ margin-top: 8px;
145
171
  }
@@ -3,8 +3,9 @@ declare const BkException: {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: Partial<{
6
+ title: string;
6
7
  type: string;
7
- extCls: string;
8
+ description: string;
8
9
  scene: string;
9
10
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
10
11
  type: import("vue-types").VueTypeDef<string> & {
@@ -13,10 +14,13 @@ declare const BkException: {
13
14
  scene: import("vue-types").VueTypeDef<string> & {
14
15
  default: string;
15
16
  };
16
- extCls: import("vue-types").VueTypeValidableDef<string> & {
17
+ title: import("vue-types").VueTypeValidableDef<string> & {
17
18
  default: string;
18
19
  };
19
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "extCls" | "scene">;
20
+ description: import("vue-types").VueTypeValidableDef<string> & {
21
+ default: string;
22
+ };
23
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "type" | "description" | "scene">;
20
24
  $attrs: {
21
25
  [x: string]: unknown;
22
26
  };
@@ -37,12 +41,16 @@ declare const BkException: {
37
41
  scene: import("vue-types").VueTypeDef<string> & {
38
42
  default: string;
39
43
  };
40
- extCls: import("vue-types").VueTypeValidableDef<string> & {
44
+ title: import("vue-types").VueTypeValidableDef<string> & {
45
+ default: string;
46
+ };
47
+ description: import("vue-types").VueTypeValidableDef<string> & {
41
48
  default: string;
42
49
  };
43
50
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
51
+ title: string;
44
52
  type: string;
45
- extCls: string;
53
+ description: string;
46
54
  scene: string;
47
55
  }> & {
48
56
  beforeCreate?: (() => void) | (() => void)[];
@@ -71,7 +79,10 @@ declare const BkException: {
71
79
  scene: import("vue-types").VueTypeDef<string> & {
72
80
  default: string;
73
81
  };
74
- extCls: import("vue-types").VueTypeValidableDef<string> & {
82
+ title: import("vue-types").VueTypeValidableDef<string> & {
83
+ default: string;
84
+ };
85
+ description: import("vue-types").VueTypeValidableDef<string> & {
75
86
  default: string;
76
87
  };
77
88
  }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
@@ -85,12 +96,16 @@ declare const BkException: {
85
96
  scene: import("vue-types").VueTypeDef<string> & {
86
97
  default: string;
87
98
  };
88
- extCls: import("vue-types").VueTypeValidableDef<string> & {
99
+ title: import("vue-types").VueTypeValidableDef<string> & {
100
+ default: string;
101
+ };
102
+ description: import("vue-types").VueTypeValidableDef<string> & {
89
103
  default: string;
90
104
  };
91
105
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
106
+ title: string;
92
107
  type: string;
93
- extCls: string;
108
+ description: string;
94
109
  scene: string;
95
110
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
96
111
  export default BkException;