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 @@
1
+ !function(e){"function"==typeof define&&define.amd?define(["./reset.less","../alert/alert.less","../backtop/backtop.less","../badge/badge.less","../breadcrumb/breadcrumb.less","../button/button.less","../card/card.less","../checkbox/checkbox.less","../collapse/collapse.less","../dialog/dialog.less","../exception/exception.less","../fixed-navbar/fixed-navbar.less","../input/input.less","../link/link.less","../dropdown/dropdown.less","../loading/loading.less","../modal/modal.less","../popover/popover.less","../progress/progress.less","../radio/radio.less","../rate/rate.less","../rate/star.less","../select/select.less","../sideslider/sideslider.less","../switcher/switcher.less","../table/table.less","../tag/tag.less","../form/form.less","../steps/steps.less","../message/message.less","../notify/notify.less","../tree/tree.less","../slider/slider.less","../menu/menu.less","../navigation/navigation.less","../date-picker/date-picker.less","../divider/divider.less","../tab/tab.less"],e):e()}((function(){}));
@@ -0,0 +1,21 @@
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
+ }
@@ -0,0 +1,27 @@
1
+ @keyframes loading-scale-animate {
2
+ 0% {
3
+ transform: scale(1);
4
+ }
5
+
6
+ 100% {
7
+ transform: scale(.6);
8
+ }
9
+ }
10
+
11
+ @keyframes fade {
12
+ 100% {
13
+ background-color: transparent;
14
+ }
15
+ }
16
+
17
+ .bk-fade-transtion {
18
+ .bk-fade-enter-active,
19
+ .bk-fade-leave-active {
20
+ transition: all .3s cubic-bezier(.55, 0, .1, 1);
21
+ }
22
+
23
+ .bk-fade-enter,
24
+ .bk-fade-leave-to {
25
+ opacity: 0;
26
+ }
27
+ }
@@ -0,0 +1,21 @@
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
+ }
@@ -0,0 +1,8 @@
1
+ .ellipsis-style (@maxWidth,
2
+ @display: inline-block) {
3
+ display: @display;
4
+ max-width: @maxWidth;
5
+ overflow: hidden;
6
+ text-overflow: ellipsis;
7
+ white-space: nowrap;
8
+ }
@@ -0,0 +1,21 @@
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
+ }
@@ -1 +1,3 @@
1
1
  @import './size.less';
2
+ @import './animate.less';
3
+ @import './ellipsis.less';
@@ -0,0 +1,21 @@
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
+ }
@@ -0,0 +1,43 @@
1
+ .bk-popper {
2
+ display: none;
3
+ padding: 7px 14px;
4
+ font-size: 12px;
5
+ color: #fff;
6
+ background: #333;
7
+ border-radius: 4px;
8
+ }
9
+ .bk-popper.light {
10
+ color: #63656e;
11
+ background: #fff;
12
+ box-shadow: #dcdee5 0px 0px 6px 0px;
13
+ }
14
+ .bk-popper .bk-popper-arrow,
15
+ .bk-popper .bk-popper-arrow::before {
16
+ position: absolute;
17
+ width: 8px;
18
+ height: 8px;
19
+ background: inherit;
20
+ }
21
+ .bk-popper .bk-popper-arrow {
22
+ visibility: hidden;
23
+ }
24
+ .bk-popper .bk-popper-arrow::before {
25
+ content: '';
26
+ visibility: visible;
27
+ transform: rotate(45deg);
28
+ }
29
+ .bk-popper[data-show] {
30
+ display: block;
31
+ }
32
+ .bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {
33
+ bottom: -4px;
34
+ }
35
+ .bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {
36
+ top: -4px;
37
+ }
38
+ .bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {
39
+ right: -4px;
40
+ }
41
+ .bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {
42
+ left: -4px;
43
+ }
@@ -0,0 +1,52 @@
1
+ .bk-popper {
2
+ display: none;
3
+ padding: 7px 14px;
4
+ font-size: 12px;
5
+ color: #fff;
6
+ background: #333;
7
+ border-radius: 4px;
8
+
9
+ &.light {
10
+ color: #63656e;
11
+ background: #fff;
12
+ box-shadow: rgb(220, 222, 229) 0px 0px 6px 0px;
13
+ }
14
+
15
+ .bk-popper-arrow,
16
+ .bk-popper-arrow::before {
17
+ position: absolute;
18
+ width: 8px;
19
+ height: 8px;
20
+ background: inherit;
21
+ }
22
+
23
+ .bk-popper-arrow {
24
+ visibility: hidden;
25
+ }
26
+
27
+ .bk-popper-arrow::before {
28
+ content: '';
29
+ visibility: visible;
30
+ transform: rotate(45deg);
31
+ }
32
+
33
+ &[data-show] {
34
+ display: block;
35
+ }
36
+ }
37
+
38
+ .bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {
39
+ bottom: -4px;
40
+ }
41
+
42
+ .bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {
43
+ top: -4px;
44
+ }
45
+
46
+ .bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {
47
+ right: -4px;
48
+ }
49
+
50
+ .bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {
51
+ left: -4px;
52
+ }
@@ -0,0 +1,43 @@
1
+ .bk-popper {
2
+ display: none;
3
+ padding: 7px 14px;
4
+ font-size: 12px;
5
+ color: #fff;
6
+ background: #333;
7
+ border-radius: 4px;
8
+ }
9
+ .bk-popper.light {
10
+ color: #63656e;
11
+ background: #fff;
12
+ box-shadow: #dcdee5 0px 0px 6px 0px;
13
+ }
14
+ .bk-popper .bk-popper-arrow,
15
+ .bk-popper .bk-popper-arrow::before {
16
+ position: absolute;
17
+ width: 8px;
18
+ height: 8px;
19
+ background: inherit;
20
+ }
21
+ .bk-popper .bk-popper-arrow {
22
+ visibility: hidden;
23
+ }
24
+ .bk-popper .bk-popper-arrow::before {
25
+ content: '';
26
+ visibility: visible;
27
+ transform: rotate(45deg);
28
+ }
29
+ .bk-popper[data-show] {
30
+ display: block;
31
+ }
32
+ .bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {
33
+ bottom: -4px;
34
+ }
35
+ .bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {
36
+ top: -4px;
37
+ }
38
+ .bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {
39
+ right: -4px;
40
+ }
41
+ .bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {
42
+ left: -4px;
43
+ }
@@ -1,4 +1,13 @@
1
1
  .component-size(@height, @fontSize) {
2
- font-size: @fontSize;
3
2
  height: @height;
3
+ font-size: @fontSize;
4
4
  }
5
+
6
+ .icon-size(@size: 16px, @fontSize: 16px) {
7
+ display: flex;
8
+ width: @size;
9
+ height: @size;
10
+ font-size: @fontSize;
11
+ align-items: center;
12
+ justify-content: center;
13
+ }
@@ -0,0 +1,273 @@
1
+ html,
2
+ body {
3
+ padding: 0;
4
+ margin: 0;
5
+ }
6
+ * {
7
+ box-sizing: border-box;
8
+ }
9
+ /**
10
+ * HTML5 display definitions
11
+ * ==========================================================================
12
+ *
13
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
14
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
15
+ * Correct `block` display not defined for `main` in IE 11.
16
+ */
17
+ article,
18
+ aside,
19
+ details,
20
+ figcaption,
21
+ figure,
22
+ footer,
23
+ header,
24
+ hgroup,
25
+ main,
26
+ menu,
27
+ nav,
28
+ section,
29
+ summary {
30
+ display: block;
31
+ }
32
+ /**
33
+ * 1. Correct `inline-block` display not defined in IE 8/9.
34
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
35
+ */
36
+ audio,
37
+ canvas,
38
+ progress,
39
+ video {
40
+ /* 1 */
41
+ display: inline-block;
42
+ /* 2 */
43
+ vertical-align: baseline;
44
+ }
45
+ /**
46
+ * Prevent modern browsers from displaying `audio` without controls.
47
+ * Remove excess height in iOS 5 devices.
48
+ */
49
+ audio:not([controls]) {
50
+ display: none;
51
+ height: 0;
52
+ }
53
+ /**
54
+ * Address `[hidden]` styling not present in IE 8/9/10.
55
+ * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
56
+ */
57
+ [hidden],
58
+ template {
59
+ display: none;
60
+ }
61
+ /**
62
+ * Links
63
+ * ==========================================================================
64
+ *
65
+ * Remove the gray background color from active links in IE 10.
66
+ */
67
+ a {
68
+ background-color: transparent;
69
+ }
70
+ /**
71
+ * Improve readability of focused elements when they are also in an
72
+ * active/hover state.
73
+ */
74
+ a:active,
75
+ a:hover {
76
+ outline: 0;
77
+ }
78
+ /**
79
+ * Text-level semantics
80
+ * ==========================================================================
81
+ *
82
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
83
+ */
84
+ abbr[title] {
85
+ border-bottom: 1px dotted;
86
+ }
87
+ /**
88
+ * Embedded content
89
+ * ==========================================================================
90
+ *
91
+ * Remove border when inside `a` element in IE 8/9/10.
92
+ */
93
+ img {
94
+ border: 0;
95
+ }
96
+ /**
97
+ * Correct overflow not hidden in IE 9/10/11.
98
+ */
99
+ svg:not(:root) {
100
+ overflow: hidden;
101
+ }
102
+ /**
103
+ * Grouping content
104
+ * ==========================================================================
105
+ *
106
+ * Address margin not present in IE 8/9 and Safari.
107
+ */
108
+ figure {
109
+ margin: 1em 40px;
110
+ }
111
+ /**
112
+ * Address differences between Firefox and other browsers.
113
+ */
114
+ hr {
115
+ height: 0;
116
+ box-sizing: content-box;
117
+ }
118
+ /**
119
+ * Address odd `em`-unit font size rendering in all browsers.
120
+ *
121
+ * Forms
122
+ * ==========================================================================
123
+ *
124
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
125
+ * styling of `select`, unless a `border` property is set.
126
+ *
127
+ * 1. Correct color not being inherited.
128
+ * Known issue: affects color of disabled elements.
129
+ * 2. Correct font properties not being inherited.
130
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
131
+ */
132
+ button,
133
+ input,
134
+ optgroup,
135
+ select,
136
+ textarea {
137
+ /* 3 */
138
+ margin: 0;
139
+ /* 2 */
140
+ font: inherit;
141
+ /* 1 */
142
+ color: inherit;
143
+ }
144
+ /**
145
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
146
+ */
147
+ button {
148
+ overflow: visible;
149
+ }
150
+ /**
151
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
152
+ * All other form control elements do not inherit `text-transform` values.
153
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
154
+ * Correct `select` style inheritance in Firefox.
155
+ */
156
+ button,
157
+ select {
158
+ text-transform: none;
159
+ }
160
+ /**
161
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
162
+ * 2. Correct inability to style clickable `input` types in iOS.
163
+ * 3. Improve usability and consistency of cursor style between image-type `input` and others.
164
+ */
165
+ button,
166
+ html input[type='button'],
167
+ input[type='reset'],
168
+ input[type='submit'] {
169
+ /* 3 */
170
+ cursor: pointer;
171
+ /* 2 */
172
+ appearance: button;
173
+ }
174
+ /* Re-set default cursor for disabled elements. */
175
+ button[disabled],
176
+ html input[disabled] {
177
+ cursor: default;
178
+ }
179
+ /* Remove inner padding and border in Firefox 4+. */
180
+ button::-moz-focus-inner,
181
+ input::-moz-focus-inner {
182
+ padding: 0;
183
+ border: 0;
184
+ }
185
+ /**
186
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet.
187
+ */
188
+ input {
189
+ line-height: normal;
190
+ }
191
+ /**
192
+ * It's recommended that you don't attempt to style these elements.
193
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
194
+ *
195
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
196
+ * 2. Remove excess padding in IE 8/9/10.
197
+ */
198
+ input[type='checkbox'],
199
+ input[type='radio'] {
200
+ /* 2 */
201
+ padding: 0;
202
+ /* 1 */
203
+ box-sizing: border-box;
204
+ }
205
+ /**
206
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
207
+ * `font-size` values of the `input`, it causes the cursor style of the
208
+ * decrement button to change from `default` to `text`.
209
+ */
210
+ input[type='number']::-webkit-inner-spin-button,
211
+ input[type='number']::-webkit-outer-spin-button {
212
+ height: auto;
213
+ }
214
+ ::-ms-clear,
215
+ ::-ms-reveal {
216
+ display: none;
217
+ }
218
+ input[type='text']::-ms-clear {
219
+ display: none;
220
+ }
221
+ input[type='text']::-ms-reveal {
222
+ display: none;
223
+ }
224
+ /**
225
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
226
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
227
+ */
228
+ input[type='search'] {
229
+ /* 2 */
230
+ box-sizing: content-box;
231
+ /* 1 */
232
+ appearance: textfield;
233
+ }
234
+ /**
235
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
236
+ * Safari (but not Chrome) clips the cancel button when the search input has
237
+ * padding (and `textfield` appearance).
238
+ */
239
+ input[type='search']::-webkit-search-cancel-button,
240
+ input[type='search']::-webkit-search-decoration {
241
+ appearance: none;
242
+ }
243
+ /**
244
+ * Define consistent border, margin, and padding.
245
+ */
246
+ fieldset {
247
+ padding: 0.35em 0.625em 0.75em;
248
+ margin: 0 2px;
249
+ border: 1px solid #c0c0c0;
250
+ }
251
+ /**
252
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
253
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
254
+ */
255
+ legend {
256
+ /* 2 */
257
+ padding: 0;
258
+ /* 1 */
259
+ border: 0;
260
+ }
261
+ /**
262
+ * Remove default vertical scrollbar in IE 8/9/10/11.
263
+ */
264
+ textarea {
265
+ overflow: auto;
266
+ }
267
+ /**
268
+ * Don't inherit the `font-weight` (applied by a rule above).
269
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
270
+ */
271
+ optgroup {
272
+ font-weight: bold;
273
+ }