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

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 (81) hide show
  1. package/dist/index.cjs.js +28 -28
  2. package/dist/index.esm.js +123 -71
  3. package/dist/index.umd.js +30 -30
  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.variable.css +2 -2
  9. package/lib/badge/badge.variable.css +2 -2
  10. package/lib/breadcrumb/breadcrumb.variable.css +2 -2
  11. package/lib/button/button.variable.css +2 -2
  12. package/lib/card/card.variable.css +2 -2
  13. package/lib/cascader/cascader-panel.d.ts +4 -4
  14. package/lib/cascader/cascader.css +13 -3
  15. package/lib/cascader/cascader.d.ts +2 -2
  16. package/lib/cascader/cascader.less +14 -1
  17. package/lib/cascader/cascader.variable.css +13 -3
  18. package/lib/cascader/index.d.ts +10 -10
  19. package/lib/cascader/index.js +1 -1
  20. package/lib/checkbox/checkbox.variable.css +2 -2
  21. package/lib/code-diff/code-diff.variable.css +2 -2
  22. package/lib/collapse/collapse.variable.css +2 -2
  23. package/lib/color-picker/color-picker.variable.css +2 -2
  24. package/lib/container/container.variable.css +2 -2
  25. package/lib/date-picker/date-picker.variable.css +2 -2
  26. package/lib/divider/divider.variable.css +2 -2
  27. package/lib/dropdown/dropdown.variable.css +2 -2
  28. package/lib/exception/exception.css +40 -14
  29. package/lib/exception/exception.d.ts +10 -3
  30. package/lib/exception/exception.less +59 -22
  31. package/lib/exception/exception.variable.css +42 -16
  32. package/lib/exception/index.d.ts +23 -8
  33. package/lib/exception/index.js +1 -1
  34. package/lib/fixed-navbar/fixed-navbar.variable.css +2 -2
  35. package/lib/form/form.variable.css +2 -2
  36. package/lib/input/input.variable.css +2 -2
  37. package/lib/link/link.variable.css +2 -2
  38. package/lib/loading/loading.variable.css +2 -2
  39. package/lib/menu/menu.variable.css +2 -2
  40. package/lib/menu/submenu.variable.css +2 -2
  41. package/lib/message/message.variable.css +2 -2
  42. package/lib/navigation/navigation.variable.css +2 -2
  43. package/lib/notify/notify.variable.css +2 -2
  44. package/lib/pagination/pagination.variable.css +2 -2
  45. package/lib/popover/popover.variable.css +2 -2
  46. package/lib/popover2/popover2.variable.css +2 -2
  47. package/lib/process/process.variable.css +2 -2
  48. package/lib/progress/progress.variable.css +2 -2
  49. package/lib/radio/radio.variable.css +2 -2
  50. package/lib/resize-layout/resize-layout.variable.css +2 -2
  51. package/lib/select/select.variable.css +2 -2
  52. package/lib/sideslider/sideslider.variable.css +2 -2
  53. package/lib/slider/slider.variable.css +2 -2
  54. package/lib/steps/steps.variable.css +2 -2
  55. package/lib/styles/mixins/scroll.variable.css +2 -2
  56. package/lib/styles/themes/themes.less +2 -2
  57. package/lib/switcher/switcher.variable.css +2 -2
  58. package/lib/tab/tab.variable.css +2 -2
  59. package/lib/table/const.d.ts +2 -2
  60. package/lib/table/index.d.ts +6 -6
  61. package/lib/table/index.js +1 -1
  62. package/lib/table/plugins/head-filter.variable.css +2 -2
  63. package/lib/table/plugins/head-sort.variable.css +2 -2
  64. package/lib/table/plugins/settings.variable.css +2 -2
  65. package/lib/table/table.css +41 -14
  66. package/lib/table/table.d.ts +2 -2
  67. package/lib/table/table.less +1 -1
  68. package/lib/table/table.variable.css +43 -16
  69. package/lib/tag/tag.css +23 -8
  70. package/lib/tag/tag.less +25 -8
  71. package/lib/tag/tag.variable.css +25 -10
  72. package/lib/tag-input/index.js +1 -1
  73. package/lib/tag-input/tag-input.variable.css +2 -2
  74. package/lib/timeline/timeline.variable.css +2 -2
  75. package/lib/transfer/transfer.variable.css +2 -2
  76. package/lib/tree/tree.css +3 -0
  77. package/lib/tree/tree.less +6 -0
  78. package/lib/tree/tree.variable.css +5 -2
  79. package/lib/upload/upload.variable.css +2 -2
  80. package/lib/virtual-render/virtual-render.variable.css +2 -2
  81. package/package.json +1 -1
@@ -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;