bkui-vue 0.0.1-beta.1 → 0.0.1-beta.13

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 (348) hide show
  1. package/LICENSE.txt +22 -0
  2. package/README.md +55 -0
  3. package/dist/bkui-vue.cjs.js +9957 -257
  4. package/dist/bkui-vue.esm.js +9919 -257
  5. package/dist/bkui-vue.umd.js +9967 -267
  6. package/dist/style.css +4010 -428
  7. package/lib/alert/alert.css +75 -0
  8. package/lib/alert/alert.d.ts +53 -0
  9. package/lib/alert/alert.less +110 -0
  10. package/lib/alert/alert.variable.css +161 -0
  11. package/lib/alert/index.d.ts +144 -0
  12. package/lib/alert/index.js +1 -0
  13. package/lib/animate-number/animate-number.d.ts +22 -0
  14. package/lib/animate-number/index.d.ts +77 -0
  15. package/lib/animate-number/index.js +1 -0
  16. package/lib/backtop/backtop.css +42 -0
  17. package/lib/backtop/backtop.d.ts +46 -0
  18. package/lib/backtop/backtop.less +18 -0
  19. package/lib/backtop/backtop.variable.css +128 -0
  20. package/lib/backtop/index.d.ts +110 -0
  21. package/lib/backtop/index.js +1 -0
  22. package/lib/badge/badge.css +121 -0
  23. package/lib/badge/badge.d.ts +70 -0
  24. package/lib/badge/badge.less +137 -0
  25. package/lib/badge/badge.variable.css +207 -0
  26. package/lib/badge/index.d.ts +149 -0
  27. package/lib/badge/index.js +1 -0
  28. package/lib/breadcrumb/breadcrumb-item.d.ts +32 -0
  29. package/lib/breadcrumb/breadcrumb.css +59 -0
  30. package/lib/breadcrumb/breadcrumb.d.ts +26 -0
  31. package/lib/breadcrumb/breadcrumb.less +54 -0
  32. package/lib/breadcrumb/breadcrumb.variable.css +145 -0
  33. package/lib/breadcrumb/index.d.ts +122 -0
  34. package/lib/breadcrumb/index.js +1 -0
  35. package/lib/breadcrumb/props.d.ts +4 -0
  36. package/lib/button/button-group.d.ts +8 -0
  37. package/lib/button/button.css +242 -22
  38. package/lib/button/button.d.ts +114 -0
  39. package/lib/button/button.less +180 -36
  40. package/lib/button/button.variable.css +339 -0
  41. package/lib/button/index.d.ts +170 -0
  42. package/lib/button/index.js +1 -206
  43. package/lib/card/card.css +63 -0
  44. package/lib/card/card.d.ts +54 -0
  45. package/lib/card/card.less +44 -0
  46. package/lib/card/card.variable.css +149 -0
  47. package/lib/card/index.d.ts +127 -0
  48. package/lib/card/index.js +1 -0
  49. package/lib/checkbox/checkbox-group.d.ts +44 -0
  50. package/lib/checkbox/checkbox.css +54 -125
  51. package/lib/checkbox/checkbox.d.ts +105 -0
  52. package/lib/checkbox/checkbox.less +66 -6
  53. package/lib/checkbox/checkbox.variable.css +150 -0
  54. package/lib/checkbox/common.d.ts +13 -0
  55. package/lib/checkbox/index.d.ts +221 -0
  56. package/lib/checkbox/index.js +1 -64
  57. package/lib/checkbox/type.d.ts +19 -0
  58. package/lib/collapse/collapse.css +30 -0
  59. package/lib/collapse/collapse.d.ts +74 -0
  60. package/lib/collapse/collapse.less +37 -0
  61. package/lib/collapse/collapse.variable.css +30 -0
  62. package/lib/collapse/index.d.ts +130 -0
  63. package/lib/collapse/index.js +1 -0
  64. package/lib/components.d.ts +31 -0
  65. package/lib/date-picker/date-picker.css +407 -0
  66. package/lib/date-picker/date-picker.d.ts +357 -0
  67. package/lib/date-picker/date-picker.less +526 -0
  68. package/lib/date-picker/date-picker.variable.css +493 -0
  69. package/lib/date-picker/fecha.d.ts +6 -0
  70. package/lib/date-picker/index.d.ts +525 -0
  71. package/lib/date-picker/index.js +1 -0
  72. package/lib/date-picker/interface.d.ts +22 -0
  73. package/lib/date-picker/utils.d.ts +97 -0
  74. package/lib/dialog/dialog.css +68 -0
  75. package/lib/dialog/dialog.d.ts +83 -0
  76. package/lib/dialog/dialog.less +80 -0
  77. package/lib/dialog/dialog.variable.css +68 -0
  78. package/lib/dialog/index.d.ts +183 -0
  79. package/lib/dialog/index.js +1 -0
  80. package/lib/directives/clickoutside.d.ts +23 -0
  81. package/lib/directives/index.d.ts +3 -0
  82. package/lib/directives/index.js +15 -0
  83. package/lib/directives/mousewheel.d.ts +3 -0
  84. package/lib/directives/tooltips.d.ts +17 -0
  85. package/lib/divider/divider.css +38 -0
  86. package/lib/divider/divider.d.ts +40 -0
  87. package/lib/divider/divider.less +53 -0
  88. package/lib/divider/divider.variable.css +124 -0
  89. package/lib/divider/index.d.ts +110 -0
  90. package/lib/divider/index.js +1 -0
  91. package/lib/dropdown/dropdown-item.d.ts +18 -0
  92. package/lib/dropdown/dropdown-menu.d.ts +15 -0
  93. package/lib/dropdown/dropdown.css +43 -0
  94. package/lib/dropdown/dropdown.d.ts +49 -0
  95. package/lib/dropdown/dropdown.less +54 -0
  96. package/lib/dropdown/dropdown.variable.css +129 -0
  97. package/lib/dropdown/index.d.ts +160 -0
  98. package/lib/dropdown/index.js +1 -0
  99. package/lib/exception/exception.css +32 -0
  100. package/lib/exception/exception.d.ts +24 -0
  101. package/lib/exception/exception.less +39 -0
  102. package/lib/exception/exception.variable.css +118 -0
  103. package/lib/exception/index.d.ts +88 -0
  104. package/lib/exception/index.js +1 -0
  105. package/lib/fixed-navbar/fixed-navbar.css +42 -0
  106. package/lib/fixed-navbar/fixed-navbar.d.ts +28 -0
  107. package/lib/fixed-navbar/fixed-navbar.less +53 -0
  108. package/lib/fixed-navbar/fixed-navbar.variable.css +128 -0
  109. package/lib/fixed-navbar/index.d.ts +88 -0
  110. package/lib/fixed-navbar/index.js +1 -0
  111. package/lib/form/common.d.ts +3 -0
  112. package/lib/form/form-item.d.ts +140 -0
  113. package/lib/form/form.css +39 -0
  114. package/lib/form/form.d.ts +76 -0
  115. package/lib/form/form.less +50 -0
  116. package/lib/form/form.variable.css +39 -0
  117. package/lib/form/index.d.ts +4 -0
  118. package/lib/form/index.js +1 -0
  119. package/lib/form/type.d.ts +21 -0
  120. package/lib/form/validator.d.ts +8 -0
  121. package/lib/icon/angle-double-left.d.ts +4 -0
  122. package/lib/icon/angle-double-right.d.ts +4 -0
  123. package/lib/icon/angle-down-line.d.ts +4 -0
  124. package/lib/icon/angle-down.d.ts +4 -0
  125. package/lib/icon/angle-left.d.ts +4 -0
  126. package/lib/icon/angle-right.d.ts +4 -0
  127. package/lib/icon/angle-up.d.ts +4 -0
  128. package/lib/icon/circle.d.ts +4 -0
  129. package/lib/icon/close.d.ts +4 -0
  130. package/lib/icon/code.d.ts +4 -0
  131. package/lib/icon/cog-shape.d.ts +4 -0
  132. package/lib/icon/collapse-left.d.ts +4 -0
  133. package/lib/icon/copy.d.ts +4 -0
  134. package/lib/icon/done.d.ts +4 -0
  135. package/lib/icon/down-shape.d.ts +4 -0
  136. package/lib/icon/down-small.d.ts +4 -0
  137. package/lib/icon/error.d.ts +4 -0
  138. package/lib/icon/eye.d.ts +4 -0
  139. package/lib/icon/folder-open.d.ts +4 -0
  140. package/lib/icon/folder-shape-open.d.ts +4 -0
  141. package/lib/icon/folder-shape.d.ts +4 -0
  142. package/lib/icon/folder.d.ts +4 -0
  143. package/lib/icon/help-document-fill.d.ts +4 -0
  144. package/lib/icon/help-fill.d.ts +4 -0
  145. package/lib/icon/help.d.ts +4 -0
  146. package/lib/icon/icon.d.ts +12 -0
  147. package/lib/icon/index.d.ts +38 -0
  148. package/lib/icon/index.js +15 -0
  149. package/lib/icon/info-line.d.ts +4 -0
  150. package/lib/icon/info.d.ts +4 -0
  151. package/lib/icon/play-shape.d.ts +4 -0
  152. package/lib/icon/plus.d.ts +4 -0
  153. package/lib/icon/right-shape.d.ts +4 -0
  154. package/lib/icon/search.d.ts +4 -0
  155. package/lib/icon/share.d.ts +4 -0
  156. package/lib/icon/success.d.ts +4 -0
  157. package/lib/icon/switcher-loading.d.ts +4 -0
  158. package/lib/icon/text-file.d.ts +4 -0
  159. package/lib/icon/tree-application-shape.d.ts +4 -0
  160. package/lib/icon/unvisible.d.ts +4 -0
  161. package/lib/icon/warn.d.ts +4 -0
  162. package/lib/index.d.ts +3 -0
  163. package/lib/input/index.d.ts +275 -0
  164. package/lib/input/index.js +15 -60
  165. package/lib/input/input.css +114 -148
  166. package/lib/input/input.d.ts +185 -0
  167. package/lib/input/input.less +107 -40
  168. package/lib/input/input.variable.css +218 -0
  169. package/lib/link/index.d.ts +116 -0
  170. package/lib/link/index.js +1 -0
  171. package/lib/link/link.css +55 -0
  172. package/lib/link/link.d.ts +46 -0
  173. package/lib/link/link.less +74 -0
  174. package/lib/link/link.variable.css +141 -0
  175. package/lib/loading/index.d.ts +125 -0
  176. package/lib/loading/index.js +1 -0
  177. package/lib/loading/loading.css +225 -0
  178. package/lib/loading/loading.d.ts +64 -0
  179. package/lib/loading/loading.less +181 -0
  180. package/lib/loading/loading.variable.css +311 -0
  181. package/lib/menu/index.d.ts +169 -0
  182. package/lib/menu/index.js +1 -0
  183. package/lib/menu/menu-group.d.ts +13 -0
  184. package/lib/menu/menu-item.d.ts +15 -0
  185. package/lib/menu/menu.css +182 -0
  186. package/lib/menu/menu.d.ts +60 -0
  187. package/lib/menu/menu.less +180 -0
  188. package/lib/menu/menu.variable.css +268 -0
  189. package/lib/menu/submenu.d.ts +21 -0
  190. package/lib/menu/submenu.less +5 -0
  191. package/lib/menu/submenu.variable.css +86 -0
  192. package/lib/menu/utils.d.ts +41 -0
  193. package/lib/message/index.d.ts +2 -0
  194. package/lib/message/index.js +1 -0
  195. package/lib/message/message.css +53 -0
  196. package/lib/message/message.less +61 -0
  197. package/lib/message/message.variable.css +139 -0
  198. package/lib/message/messageConstructor.d.ts +61 -0
  199. package/lib/modal/index.d.ts +155 -0
  200. package/lib/modal/index.js +1 -0
  201. package/lib/modal/modal.css +11 -0
  202. package/lib/modal/modal.d.ts +47 -0
  203. package/lib/modal/modal.less +12 -0
  204. package/lib/modal/modal.variable.css +11 -0
  205. package/lib/modal/props.mixin.d.ts +22 -0
  206. package/lib/navigation/index.d.ts +2 -0
  207. package/lib/navigation/index.js +1 -0
  208. package/lib/navigation/navigation-title.d.ts +22 -0
  209. package/lib/navigation/navigation.css +184 -0
  210. package/lib/navigation/navigation.d.ts +94 -0
  211. package/lib/navigation/navigation.less +210 -0
  212. package/lib/navigation/navigation.variable.css +270 -0
  213. package/lib/notify/index.d.ts +2 -0
  214. package/lib/notify/index.js +1 -0
  215. package/lib/notify/notify.css +49 -0
  216. package/lib/notify/notify.less +58 -0
  217. package/lib/notify/notify.variable.css +135 -0
  218. package/lib/notify/notifyConstructor.d.ts +75 -0
  219. package/lib/popover/index.d.ts +202 -0
  220. package/lib/popover/index.js +1 -0
  221. package/lib/popover/popover.css +55 -0
  222. package/lib/popover/popover.d.ts +88 -0
  223. package/lib/popover/popover.less +70 -0
  224. package/lib/popover/popover.variable.css +141 -0
  225. package/lib/preset.d.ts +8 -0
  226. package/lib/progress/circle.d.ts +6 -0
  227. package/lib/progress/index.d.ts +228 -0
  228. package/lib/progress/index.js +1 -0
  229. package/lib/progress/line.d.ts +6 -0
  230. package/lib/progress/progress.css +97 -0
  231. package/lib/progress/progress.d.ts +118 -0
  232. package/lib/progress/progress.less +94 -0
  233. package/lib/progress/progress.variable.css +183 -0
  234. package/lib/radio/common.d.ts +13 -0
  235. package/lib/radio/index.d.ts +228 -0
  236. package/lib/radio/index.js +1 -61
  237. package/lib/radio/radio-button.d.ts +83 -0
  238. package/lib/radio/radio-group.d.ts +40 -0
  239. package/lib/radio/radio.css +128 -125
  240. package/lib/radio/radio.d.ts +77 -0
  241. package/lib/radio/radio.less +173 -20
  242. package/lib/radio/radio.variable.css +224 -0
  243. package/lib/radio/type.d.ts +9 -0
  244. package/lib/rate/index.d.ts +101 -0
  245. package/lib/rate/index.js +1 -0
  246. package/lib/rate/rate.css +10 -0
  247. package/lib/rate/rate.d.ts +29 -0
  248. package/lib/rate/rate.less +11 -0
  249. package/lib/rate/rate.variable.css +10 -0
  250. package/lib/rate/star.css +24 -0
  251. package/lib/rate/star.d.ts +57 -0
  252. package/lib/rate/star.less +29 -0
  253. package/lib/rate/star.variable.css +24 -0
  254. package/lib/select/common.d.ts +28 -0
  255. package/lib/select/index.d.ts +950 -0
  256. package/lib/select/index.js +15 -0
  257. package/lib/select/option.d.ts +32 -0
  258. package/lib/select/optionGroup.d.ts +115 -0
  259. package/lib/select/select.css +157 -0
  260. package/lib/select/select.d.ts +285 -0
  261. package/lib/select/select.less +203 -0
  262. package/lib/select/select.variable.css +243 -0
  263. package/lib/shared/bk-helper-core.d.ts +87 -0
  264. package/lib/shared/bk-mask-manager.d.ts +47 -0
  265. package/lib/shared/bk-pop-manager.d.ts +19 -0
  266. package/lib/shared/bk-popover.d.ts +86 -0
  267. package/lib/shared/index.d.ts +51 -0
  268. package/lib/shared/index.js +1 -13
  269. package/lib/shared/scrollbar-width.d.ts +1 -0
  270. package/lib/shared/vue-types.d.ts +115 -0
  271. package/lib/shared/z-index-manager.d.ts +93 -0
  272. package/lib/sideslider/index.d.ts +139 -0
  273. package/lib/sideslider/index.js +1 -0
  274. package/lib/sideslider/sideslider.css +69 -0
  275. package/lib/sideslider/sideslider.d.ts +54 -0
  276. package/lib/sideslider/sideslider.less +86 -0
  277. package/lib/sideslider/sideslider.variable.css +155 -0
  278. package/lib/slider/index.d.ts +27 -0
  279. package/lib/slider/index.js +15 -0
  280. package/lib/slider/slider-button.d.ts +72 -0
  281. package/lib/slider/slider.css +149 -0
  282. package/lib/slider/slider.d.ts +159 -0
  283. package/lib/slider/slider.less +179 -0
  284. package/lib/slider/slider.variable.css +235 -0
  285. package/lib/steps/index.d.ts +198 -0
  286. package/lib/steps/index.js +15 -0
  287. package/lib/steps/steps.css +285 -0
  288. package/lib/steps/steps.d.ts +148 -0
  289. package/lib/steps/steps.less +320 -0
  290. package/lib/steps/steps.variable.css +371 -0
  291. package/lib/styles/index.d.ts +38 -0
  292. package/lib/styles/index.js +1 -0
  293. package/lib/styles/mixins/animate.css +21 -0
  294. package/lib/styles/mixins/animate.less +27 -0
  295. package/lib/styles/mixins/animate.variable.css +21 -0
  296. package/lib/styles/mixins/ellipsis.less +8 -0
  297. package/lib/styles/mixins/mixins.css +21 -0
  298. package/lib/styles/mixins/mixins.less +2 -0
  299. package/lib/styles/mixins/mixins.variable.css +21 -0
  300. package/lib/styles/mixins/popper.css +43 -0
  301. package/lib/styles/mixins/popper.less +52 -0
  302. package/lib/styles/mixins/popper.variable.css +43 -0
  303. package/lib/styles/mixins/size.less +10 -1
  304. package/lib/styles/reset.css +273 -0
  305. package/lib/styles/reset.less +313 -0
  306. package/lib/styles/reset.variable.css +273 -0
  307. package/lib/styles/themes/themes.less +84 -284
  308. package/lib/switcher/index.d.ts +222 -0
  309. package/lib/switcher/index.js +1 -0
  310. package/lib/switcher/switcher.css +258 -0
  311. package/lib/switcher/switcher.d.ts +97 -0
  312. package/lib/switcher/switcher.less +302 -0
  313. package/lib/switcher/switcher.variable.css +344 -0
  314. package/lib/tab/index.d.ts +416 -0
  315. package/lib/tab/index.js +1 -0
  316. package/lib/tab/tab-nav.d.ts +154 -0
  317. package/lib/tab/tab-panel.d.ts +46 -0
  318. package/lib/tab/tab.css +147 -0
  319. package/lib/tab/tab.d.ts +131 -0
  320. package/lib/tab/tab.less +221 -0
  321. package/lib/tab/tab.variable.css +233 -0
  322. package/lib/table/index.d.ts +119 -0
  323. package/lib/table/index.js +1 -0
  324. package/lib/table/props.d.ts +41 -0
  325. package/lib/table/render.d.ts +47 -0
  326. package/lib/table/table.css +44 -0
  327. package/lib/table/table.d.ts +26 -0
  328. package/lib/table/table.less +67 -0
  329. package/lib/table/table.variable.css +130 -0
  330. package/lib/table/utils.d.ts +22 -0
  331. package/lib/tag/index.d.ts +338 -0
  332. package/lib/tag/index.js +1 -0
  333. package/lib/tag/tag.d.ts +54 -0
  334. package/lib/tag/tag.less +5 -0
  335. package/lib/tag/tag.variable.css +86 -0
  336. package/lib/tree/index.d.ts +149 -0
  337. package/lib/tree/index.js +1 -0
  338. package/lib/tree/tree.css +35 -0
  339. package/lib/tree/tree.d.ts +58 -0
  340. package/lib/tree/tree.less +55 -0
  341. package/lib/tree/tree.variable.css +35 -0
  342. package/lib/tree/util.d.ts +89 -0
  343. package/lib/use-message.d.ts +2 -0
  344. package/package.json +92 -40
  345. package/lib/styles/mixins/size.css +0 -0
  346. package/lib/styles/themes/themes.css +0 -119
  347. package/lib/styles/themes/variables.css +0 -27
  348. package/lib/styles/themes/variables.less +0 -36
@@ -0,0 +1,275 @@
1
+ declare const BkInput: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ placeholder: string;
7
+ prefix: string;
8
+ step: number;
9
+ disabled: boolean;
10
+ type: string;
11
+ readonly: boolean;
12
+ clearable: boolean;
13
+ max: number;
14
+ min: number;
15
+ maxlength: number;
16
+ prefixIcon: string;
17
+ suffixIcon: string;
18
+ suffix: string;
19
+ showWordLimit: boolean;
20
+ showControl: boolean;
21
+ precision: number;
22
+ }> & Omit<Readonly<{
23
+ type?: unknown;
24
+ clearable?: unknown;
25
+ disabled?: unknown;
26
+ readonly?: unknown;
27
+ placeholder?: unknown;
28
+ prefixIcon?: unknown;
29
+ suffixIcon?: unknown;
30
+ suffix?: unknown;
31
+ prefix?: unknown;
32
+ step?: unknown;
33
+ max?: unknown;
34
+ min?: unknown;
35
+ maxlength?: unknown;
36
+ showWordLimit?: unknown;
37
+ showControl?: unknown;
38
+ precision?: unknown;
39
+ modelValue?: unknown;
40
+ size?: unknown;
41
+ } & {
42
+ placeholder: string;
43
+ prefix: string;
44
+ step: number;
45
+ disabled: boolean;
46
+ type: string;
47
+ readonly: boolean;
48
+ clearable: boolean;
49
+ max: number;
50
+ min: number;
51
+ maxlength: number;
52
+ prefixIcon: string;
53
+ suffixIcon: string;
54
+ suffix: string;
55
+ showWordLimit: boolean;
56
+ showControl: boolean;
57
+ precision: number;
58
+ } & {
59
+ size?: string;
60
+ modelValue?: string | number;
61
+ }> & {
62
+ onFocus?: (...args: any[]) => any;
63
+ onBlur?: (...args: any[]) => any;
64
+ onChange?: (...args: any[]) => any;
65
+ onInput?: (...args: any[]) => any;
66
+ "onUpdate:modelValue"?: (...args: any[]) => any;
67
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placeholder" | "prefix" | "step" | "disabled" | "type" | "readonly" | "clearable" | "max" | "min" | "maxlength" | "prefixIcon" | "suffixIcon" | "suffix" | "showWordLimit" | "showControl" | "precision">;
68
+ $attrs: {
69
+ [x: string]: unknown;
70
+ };
71
+ $refs: {
72
+ [x: string]: unknown;
73
+ };
74
+ $slots: Readonly<{
75
+ [name: string]: import("vue").Slot;
76
+ }>;
77
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
78
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
79
+ $emit: (event: "input" | "focus" | "blur" | "change" | "update:modelValue", ...args: any[]) => void;
80
+ $el: any;
81
+ $options: import("vue").ComponentOptionsBase<Readonly<{
82
+ type?: unknown;
83
+ clearable?: unknown;
84
+ disabled?: unknown;
85
+ readonly?: unknown;
86
+ placeholder?: unknown;
87
+ prefixIcon?: unknown;
88
+ suffixIcon?: unknown;
89
+ suffix?: unknown;
90
+ prefix?: unknown;
91
+ step?: unknown;
92
+ max?: unknown;
93
+ min?: unknown;
94
+ maxlength?: unknown;
95
+ showWordLimit?: unknown;
96
+ showControl?: unknown;
97
+ precision?: unknown;
98
+ modelValue?: unknown;
99
+ size?: unknown;
100
+ } & {
101
+ placeholder: string;
102
+ prefix: string;
103
+ step: number;
104
+ disabled: boolean;
105
+ type: string;
106
+ readonly: boolean;
107
+ clearable: boolean;
108
+ max: number;
109
+ min: number;
110
+ maxlength: number;
111
+ prefixIcon: string;
112
+ suffixIcon: string;
113
+ suffix: string;
114
+ showWordLimit: boolean;
115
+ showControl: boolean;
116
+ precision: number;
117
+ } & {
118
+ size?: string;
119
+ modelValue?: string | number;
120
+ }> & {
121
+ onFocus?: (...args: any[]) => any;
122
+ onBlur?: (...args: any[]) => any;
123
+ onChange?: (...args: any[]) => any;
124
+ onInput?: (...args: any[]) => any;
125
+ "onUpdate:modelValue"?: (...args: any[]) => any;
126
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "change" | "update:modelValue")[], string, {
127
+ placeholder: string;
128
+ prefix: string;
129
+ step: number;
130
+ disabled: boolean;
131
+ type: string;
132
+ readonly: boolean;
133
+ clearable: boolean;
134
+ max: number;
135
+ min: number;
136
+ maxlength: number;
137
+ prefixIcon: string;
138
+ suffixIcon: string;
139
+ suffix: string;
140
+ showWordLimit: boolean;
141
+ showControl: boolean;
142
+ precision: number;
143
+ }> & {
144
+ beforeCreate?: (() => void) | (() => void)[];
145
+ created?: (() => void) | (() => void)[];
146
+ beforeMount?: (() => void) | (() => void)[];
147
+ mounted?: (() => void) | (() => void)[];
148
+ beforeUpdate?: (() => void) | (() => void)[];
149
+ updated?: (() => void) | (() => void)[];
150
+ activated?: (() => void) | (() => void)[];
151
+ deactivated?: (() => void) | (() => void)[];
152
+ beforeDestroy?: (() => void) | (() => void)[];
153
+ beforeUnmount?: (() => void) | (() => void)[];
154
+ destroyed?: (() => void) | (() => void)[];
155
+ unmounted?: (() => void) | (() => void)[];
156
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
157
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
158
+ 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)[];
159
+ };
160
+ $forceUpdate: () => void;
161
+ $nextTick: typeof import("vue").nextTick;
162
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
163
+ } & Readonly<{
164
+ type?: unknown;
165
+ clearable?: unknown;
166
+ disabled?: unknown;
167
+ readonly?: unknown;
168
+ placeholder?: unknown;
169
+ prefixIcon?: unknown;
170
+ suffixIcon?: unknown;
171
+ suffix?: unknown;
172
+ prefix?: unknown;
173
+ step?: unknown;
174
+ max?: unknown;
175
+ min?: unknown;
176
+ maxlength?: unknown;
177
+ showWordLimit?: unknown;
178
+ showControl?: unknown;
179
+ precision?: unknown;
180
+ modelValue?: unknown;
181
+ size?: unknown;
182
+ } & {
183
+ placeholder: string;
184
+ prefix: string;
185
+ step: number;
186
+ disabled: boolean;
187
+ type: string;
188
+ readonly: boolean;
189
+ clearable: boolean;
190
+ max: number;
191
+ min: number;
192
+ maxlength: number;
193
+ prefixIcon: string;
194
+ suffixIcon: string;
195
+ suffix: string;
196
+ showWordLimit: boolean;
197
+ showControl: boolean;
198
+ precision: number;
199
+ } & {
200
+ size?: string;
201
+ modelValue?: string | number;
202
+ }> & {
203
+ onFocus?: (...args: any[]) => any;
204
+ onBlur?: (...args: any[]) => any;
205
+ onChange?: (...args: any[]) => any;
206
+ onInput?: (...args: any[]) => any;
207
+ "onUpdate:modelValue"?: (...args: any[]) => any;
208
+ } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
209
+ __isFragment?: never;
210
+ __isTeleport?: never;
211
+ __isSuspense?: never;
212
+ } & import("vue").ComponentOptionsBase<Readonly<{
213
+ type?: unknown;
214
+ clearable?: unknown;
215
+ disabled?: unknown;
216
+ readonly?: unknown;
217
+ placeholder?: unknown;
218
+ prefixIcon?: unknown;
219
+ suffixIcon?: unknown;
220
+ suffix?: unknown;
221
+ prefix?: unknown;
222
+ step?: unknown;
223
+ max?: unknown;
224
+ min?: unknown;
225
+ maxlength?: unknown;
226
+ showWordLimit?: unknown;
227
+ showControl?: unknown;
228
+ precision?: unknown;
229
+ modelValue?: unknown;
230
+ size?: unknown;
231
+ } & {
232
+ placeholder: string;
233
+ prefix: string;
234
+ step: number;
235
+ disabled: boolean;
236
+ type: string;
237
+ readonly: boolean;
238
+ clearable: boolean;
239
+ max: number;
240
+ min: number;
241
+ maxlength: number;
242
+ prefixIcon: string;
243
+ suffixIcon: string;
244
+ suffix: string;
245
+ showWordLimit: boolean;
246
+ showControl: boolean;
247
+ precision: number;
248
+ } & {
249
+ size?: string;
250
+ modelValue?: string | number;
251
+ }> & {
252
+ onFocus?: (...args: any[]) => any;
253
+ onBlur?: (...args: any[]) => any;
254
+ onChange?: (...args: any[]) => any;
255
+ onInput?: (...args: any[]) => any;
256
+ "onUpdate:modelValue"?: (...args: any[]) => any;
257
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "change" | "update:modelValue")[], "input" | "focus" | "blur" | "change" | "update:modelValue", {
258
+ placeholder: string;
259
+ prefix: string;
260
+ step: number;
261
+ disabled: boolean;
262
+ type: string;
263
+ readonly: boolean;
264
+ clearable: boolean;
265
+ max: number;
266
+ min: number;
267
+ maxlength: number;
268
+ prefixIcon: string;
269
+ suffixIcon: string;
270
+ suffix: string;
271
+ showWordLimit: boolean;
272
+ showControl: boolean;
273
+ precision: number;
274
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
275
+ export default BkInput;
@@ -1,60 +1,15 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('../button'), require('../checkbox')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'vue', '../button', '../checkbox'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.bkuiVue = {}, global.Vue, global.Button, global.Checkbox));
5
- }(this, (function (exports, vue, Button, Checkbox) { 'use strict';
6
-
7
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
-
9
- var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
10
- var Checkbox__default = /*#__PURE__*/_interopDefaultLegacy(Checkbox);
11
-
12
- var Input = vue.defineComponent({
13
- name: 'BkInput',
14
- components: {
15
- Button: Button__default['default'],
16
- Checkbox: Checkbox__default['default']
17
- },
18
- props: {
19
- type: {
20
- type: String,
21
- default: 'text'
22
- },
23
- size: {
24
- type: String,
25
- default: 'normal',
26
- validator: val => ['small', 'normal', 'large'].includes(val)
27
- }
28
- },
29
-
30
- render() {
31
- return vue.createVNode("div", {
32
- "class": "bk-input"
33
- }, [this.type === 'textarea' ? vue.createVNode("textarea", {
34
- "class": "bk-input-textarea"
35
- }, null) : vue.createVNode(vue.Fragment, null, [this.$slots.prepend ? vue.createVNode("div", {
36
- "class": "bk-input-prepend"
37
- }, [this.$slots.prepend()]) : undefined, vue.createVNode("input", {
38
- "class": "bk-input-text",
39
- "type": this.type
40
- }, null), this.$slots.append ? vue.createVNode("div", {
41
- "class": "bk-input-append"
42
- }, [vue.createVNode(vue.resolveComponent("bk-checkbox"), null, null), vue.createVNode(vue.resolveComponent("bk-button"), {
43
- "theme": "primary",
44
- "size": "small"
45
- }, {
46
- default: () => [vue.createTextVNode("ss")]
47
- }), this.$slots.append()]) : undefined])]);
48
- }
49
-
50
- });
51
-
52
- Input.install = Vue => {
53
- Vue.component(Input.name, Input);
54
- };
55
-
56
- exports.default = Input;
57
-
58
- Object.defineProperty(exports, '__esModule', { value: true });
59
-
60
- })));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("../shared"),require("@bkui-vue/icon")):"function"==typeof define&&define.amd?define(["exports","vue","../shared","@bkui-vue/icon"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared,e["@bkui-vue/icon/icons"])}(this,(function(e,t,o,n){"use strict";function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l={exports:{}};!function(e){e.exports=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.default=e.exports,e.exports.__esModule=!0}(l);var a=r(l.exports);
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */var i={type:o.PropTypes.string.def("text"),clearable:o.PropTypes.bool,disabled:o.PropTypes.bool,readonly:o.PropTypes.bool,placeholder:o.PropTypes.string,prefixIcon:o.PropTypes.string,suffixIcon:o.PropTypes.string,suffix:o.PropTypes.string,prefix:o.PropTypes.string,step:o.PropTypes.integer,max:o.PropTypes.integer,min:o.PropTypes.integer,maxlength:o.PropTypes.integer,showWordLimit:o.PropTypes.bool,showControl:o.PropTypes.bool.def(!0),precision:o.PropTypes.number.def(0).validate((function(e){return e>=0&&e<20})),modelValue:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number]),size:o.PropTypes.size()},u=t.defineComponent({name:"BkInput",inheritAttrs:!1,emits:["update:modelValue","focus","blur","change","input"],props:i,setup:function(e,r){var l=t.ref(!1),i="bk-input",u=r.attrs,s=u.class,p=u.style,c=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(o[n[r]]=e[n[r]])}return o}(u,["class","style"]),d=t.computed((function(){var t;return o.classes((a(t={},"".concat(i,"--").concat(e.size),!!e.size),a(t,"is-focused",l.value),a(t,"is-readonly",e.readonly),a(t,"is-disabled",e.disabled),a(t,"".concat(s),!!s),t),i)})),f={search:function(){return t.createVNode(n.Search,null,null)},password:function(){return t.createVNode(n.Eye,{onClick:k},null)}},m=I("suffix-icon"),v=t.computed((function(){var o=f[e.type];return x.value?t.createVNode(n.Unvisible,{onClick:k,class:m},null):o?t.createVNode(o,{class:m},null):null})),y=t.computed((function(){return"number"===e.type})),b=t.computed((function(){return Math.floor(e.maxlength)})),x=t.ref(!1);function g(){r.emit("update:modelValue",""),r.emit("change","")}function h(e){l.value=!0,r.emit("focus",e)}function V(e){l.value=!1,r.emit("blur",e)}function P(e){r.emit("update:modelValue",y.value?+e.target.value:e.target.value),r.emit("input",e.target.value)}function T(e){r.emit("change",e.target.value,e)}function N(t){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Number.isInteger(e.precision)?e.precision:0,r=parseFloat(e.modelValue.toString()),l=Number.isInteger(t)?t:1,a=r+(o?l:-1*l);return Number.isInteger(e.max)&&(a=Math.min(a,e.max)),Number.isInteger(e.min)&&(a=Math.max(a,e.min)),+a.toFixed(n)}function w(){var t=N(parseInt(String(e.step),10));r.emit("update:modelValue",t)}function O(){var t=N(parseInt(String(e.step),10),!1);r.emit("update:modelValue",t)}function I(e){return"".concat(i,"--").concat(e)}function k(){x.value=!x.value}return function(){var o,l,a,u,s,f;return t.createVNode("div",{class:d.value,style:p},[null!==(a=null===(l=null===(o=r.slots)||void 0===o?void 0:o.prefix)||void 0===l?void 0:l.call(o))&&void 0!==a?a:e.prefix&&t.createVNode("div",{class:I("prefix-area")},[t.createVNode("span",{class:I("prefix-area--text")},[e.prefix])]),t.createVNode("input",t.mergeProps(c,{class:"".concat(i,"--text"),value:e.modelValue,type:x.value&&"password"===e.type?"text":e.type,maxlength:e.maxlength,step:e.step,max:e.max,min:e.min,placeholder:e.placeholder,readonly:e.readonly,disabled:e.disabled,onInput:P,onFocus:h,onBlur:V,onChange:T}),null),e.clearable&&!!e.modelValue&&t.createVNode(n.Close,{onClick:g,class:m},null),v.value,"number"==typeof e.maxlength&&e.showWordLimit&&t.createVNode("p",{class:I("max-length")},[e.modelValue.toString().length,t.createTextVNode("/"),t.createVNode("span",null,[b.value])]),y.value&&e.showControl&&t.createVNode("div",{class:I("number-control")},[t.createVNode(n.DownSmall,{onClick:w},null),t.createVNode(n.DownSmall,{onClick:O},null)]),null!==(f=null===(s=null===(u=r.slots)||void 0===u?void 0:u.suffix)||void 0===s?void 0:s.call(u))&&void 0!==f?f:e.suffix&&t.createVNode("div",{class:I("suffix-area")},[t.createVNode("span",{class:I("suffix-area--text")},[e.suffix])])])}}}),s=o.withInstall(u);e.default=s,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -1,166 +1,132 @@
1
- :root {
2
- --primary-color: #3a84ff;
3
- --success-color: #2dcb56;
4
- --warning-color: #ff9c01;
5
- --danger-color: #ea3636;
6
- --default-color: #63656e;
7
- --font-size-base: 12px;
8
- --font-size-medium: 14px;
9
- --font-size-large: 16px;
10
- --line-height-base: 16px;
11
- --line-height-medium: 16px;
12
- --line-height-large: 18px;
13
- --component-size-small: 26px;
14
- --component-size-base: 32px;
15
- --component-size-large: 38px;
16
- --border-color-base: #dcdee5;
17
- --border-color-disable: #dcdee5;
18
- --border-width-base: 1px;
19
- --border-style-base: solid;
20
- --border-radius-base: 2px;
21
- --input-disabled-bg: #fafbfd;
22
- --input-disabled-border: #dcdee5;
23
- --input-height-base: var(--component-size-base);
24
- --input-color: var(--default-color);
25
- --input-bg: white;
26
- --input-border-color: var(--border-color-base);
27
- }
28
- /* 存放常用变量 */
29
- /********************** 字体 **********************/
30
- /********************** 主题色 **********************/
31
- /* 重点表示、强调、链接以及带有明确指示性 */
32
- /* 描边使用 */
33
- /* 背景色 */
34
- /********************** 辅助色 **********************/
35
- /* 退出、删除、错误、严重警告等否定类标识 */
36
- /* 描边使用 */
37
- /* 背景色 */
38
- /* 警示灯引起注意类标识 */
39
- /* 描边使用 */
40
- /* 背景色 */
41
- /* 成功、完成、进行等肯定类标识 */
42
- /* 描边使用 */
43
- /* 背景色 */
44
- /********************** 中性色 **********************/
45
- /* 重要级文字信息、内容标题信息 */
46
- /* 次级标题、内容文字 主要文字使用颜色 */
47
- /* 三级文字标题、内容文字 */
48
- /* 边框内说明文字 */
49
- /* 按钮、表单边框颜色、禁用时文本颜色 */
50
- /* 表格线颜色区别表单,大描边颜色、线性色 */
51
- /* 表格头部背景色、禁用底色 */
52
- /* 大面积背景色 */
53
- /********************** 基础颜色 **********************/
54
- /* 默认 */
55
- /* 主要 */
56
- /* 信息 */
57
- /* 成功 */
58
- /* 警告 */
59
- /* 危险 */
60
- /********************** 基础颜色-鼠标移上 **********************/
61
- /* 默认 */
62
- /* 主要 */
63
- /* 信息 */
64
- /* 成功 */
65
- /* 警告 */
66
- /* 危险 */
67
- /********************** 基础颜色-激活 **********************/
68
- /* 默认 */
69
- /* 主要 */
70
- /* 信息 */
71
- /* 成功 */
72
- /* 警告 */
73
- /* 危险 */
74
- /********************** 基础颜色-相应谈色 **********************/
75
- /* 默认 */
76
- /* 主要 */
77
- /* 信息 */
78
- /* 成功 */
79
- /* 警告 */
80
- /* 危险 */
81
- /********************** 图标大小 **********************/
82
- /* 最小尺寸图标 */
83
- /* 更小尺寸图标 */
84
- /* 小尺寸图标 */
85
- /* 正常尺寸图标 */
86
- /* 大尺寸图标 */
87
- /* 最大尺寸图标 */
88
- /********************** 文案 **********************/
89
- /* 字体 */
90
- /* 正常尺寸 */
91
- /* 小尺寸 */
92
- /* 大尺寸 */
93
- /* 主要颜色 */
94
- /* 次要颜色 用于 plaeholder 等 */
95
- /********************** 边框 **********************/
96
- /* 边框色 */
97
- /* 表单输入框色 */
98
- /* 表单输入框激活色 */
99
- /********************** 其它 **********************/
100
- /* 滚动条背景色 */
101
- /********************** 层级管理 **********************/
102
- /* 下拉菜单层 */
103
- /* @dropdownMenuZIndex: 50; */
104
- /* 下拉选框层 */
105
- /* @selectorZIndex: 100; */
106
- /* 日期选框层 */
107
- /* @dateZIndex: 200; */
108
- /* 文字提示层 */
109
- /* @tooltipZIndex: 500; */
110
- /* 确认提示层 */
111
- /* @toolboxZIndex: 700; */
112
- /* 加载层 */
113
- /* @loadingZIndex: 1000; */
114
- /* 消息提示层 */
115
- /* @messageZIndex: 2000; */
116
- /* 侧弹层 */
117
- /* @sideSliderZIndex: 1500; */
118
- /* 对话框层 */
119
- /* @dialogZIndex: 2000; */
1
+ @keyframes loading-scale-animate {
2
+ 0% {
3
+ transform: scale(1);
4
+ }
5
+ 100% {
6
+ transform: scale(0.6);
7
+ }
8
+ }
9
+ @keyframes fade {
10
+ 100% {
11
+ background-color: transparent;
12
+ }
13
+ }
14
+ .bk-fade-transtion .bk-fade-enter-active,
15
+ .bk-fade-transtion .bk-fade-leave-active {
16
+ transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
17
+ }
18
+ .bk-fade-transtion .bk-fade-enter,
19
+ .bk-fade-transtion .bk-fade-leave-to {
20
+ opacity: 0;
21
+ }
120
22
  .bk-input {
121
23
  display: flex;
122
- align-items: center;
24
+ align-items: stretch;
25
+ height: 32px;
123
26
  font-size: 12px;
27
+ border: 1px solid #c4c6cc;
28
+ border-radius: 2px;
29
+ transition: all 0.3s;
124
30
  }
125
- .bk-input-text {
126
- line-height: normal;
127
- outline: none;
128
- resize: none;
129
- box-sizing: border-box;
130
- position: relative;
31
+ .bk-input--suffix-icon {
32
+ padding-right: 10px;
33
+ font-size: 16px;
34
+ color: #c4c6cc;
35
+ align-self: center;
36
+ }
37
+ .bk-input--large {
38
+ height: 38px;
39
+ font-size: 16px;
40
+ }
41
+ .bk-input--small {
42
+ height: 26px;
43
+ font-size: 12px;
44
+ }
45
+ .bk-input.is-focused:not(.is-readonly) {
46
+ border-color: #3a84ff;
47
+ outline: 0;
48
+ box-shadow: 0px 0px 3px 0px #a3c5fd;
49
+ }
50
+ .bk-input.is-disabled {
51
+ cursor: not-allowed;
52
+ background-color: #fafbfd;
53
+ opacity: 1;
54
+ }
55
+ .bk-input--prefix-area,
56
+ .bk-input--suffix-area {
131
57
  display: flex;
132
- align-items: center;
133
- flex: 1;
134
- height: 32px;
135
58
  padding: 0 10px;
136
59
  color: #63656e;
60
+ background-color: #f4f6fa;
61
+ border-right: 1px solid #c4c6cc;
62
+ align-items: center;
63
+ }
64
+ .bk-input--suffix-area {
65
+ border: 0;
66
+ border-left: 1px solid #c4c6cc;
67
+ }
68
+ .bk-input--max-length {
69
+ align-self: center;
70
+ padding-right: 10px;
71
+ }
72
+ .bk-input--max-length span {
73
+ color: #979ba5;
74
+ }
75
+ .bk-input--text {
76
+ padding: 0 10px;
137
77
  font-size: 12px;
138
- line-height: 16px;
78
+ line-height: 1;
79
+ color: #63656e;
139
80
  background-color: white;
140
81
  background-image: none;
141
- border: 1px solid #dcdee5;
142
- border-radius: 2px;
82
+ border: none;
83
+ outline: none;
84
+ box-sizing: border-box;
143
85
  transition: all 0.3s;
86
+ flex: 1;
144
87
  }
145
- .bk-input-text:focus {
146
- border-color: var(--primary-color);
147
- outline: 0;
88
+ .bk-input--text[type='search']::-webkit-search-decoration,
89
+ .bk-input--text[type='search']::-webkit-search-cancel-button,
90
+ .bk-input--text[type='search']::-webkit-search-results-button,
91
+ .bk-input--text[type='search']::-webkit-search-results-decoration {
92
+ appearance: none;
148
93
  }
149
- .bk-input-text-disabled {
150
- background-color: #fafbfd;
151
- cursor: not-allowed;
152
- opacity: 1;
94
+ .bk-input--text [type=search]::-ms-clear {
95
+ display: none;
96
+ width: 0;
97
+ height: 0;
153
98
  }
154
- .bk-input-text[disabled] {
155
- background-color: #fafbfd;
156
- cursor: not-allowed;
157
- opacity: 1;
99
+ .bk-input--text [type=search]::-ms-reveal {
100
+ display: none;
101
+ width: 0;
102
+ height: 0;
103
+ }
104
+ .bk-input--text[type='number']::-webkit-inner-spin-button,
105
+ .bk-input--text[type='number']::-webkit-outer-spin-button {
106
+ margin: 0;
107
+ appearance: none;
108
+ }
109
+ .bk-input--text::placeholder {
110
+ color: #c4c6cc;
158
111
  }
159
- .bk-input-text-lg {
112
+ .bk-input--number-control {
113
+ width: 26px;
114
+ height: 100%;
115
+ font-size: 0;
116
+ flex-direction: column;
117
+ }
118
+ .bk-input--number-control span {
119
+ display: block;
120
+ height: 50%;
121
+ overflow: hidden;
122
+ color: #c4c6cc;
123
+ }
124
+ .bk-input--number-control svg {
160
125
  font-size: 16px;
161
- height: 38px;
162
126
  }
163
- .bk-input-text-sm {
164
- font-size: 12px;
165
- height: 26px;
127
+ .bk-input--number-control span:first-child {
128
+ transform: rotate(180deg);
129
+ }
130
+ .bk-input--number-control span:hover {
131
+ background-color: #f4f6fa;
166
132
  }