bkui-vue 0.0.1-beta.5 → 0.0.1-beta.50
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.
- package/README.md +31 -19
- package/dist/index.cjs.js +57 -0
- package/dist/index.esm.js +20913 -0
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -2009
- package/lib/alert/alert.d.ts +25 -16
- package/lib/alert/alert.variable.css +33 -0
- package/lib/alert/index.d.ts +180 -0
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/index.d.ts +97 -0
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.d.ts +27 -13
- package/lib/backtop/backtop.variable.css +33 -0
- package/lib/backtop/index.d.ts +166 -0
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.d.ts +41 -20
- package/lib/badge/badge.variable.css +33 -0
- package/lib/badge/index.d.ts +217 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +10 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +43 -1
- package/lib/breadcrumb/index.d.ts +194 -0
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.css +41 -21
- package/lib/button/button.d.ts +67 -31
- package/lib/button/button.less +44 -29
- package/lib/button/button.variable.css +74 -21
- package/lib/button/index.d.ts +237 -0
- package/lib/button/index.js +1 -1
- package/lib/card/card.d.ts +30 -15
- package/lib/card/card.variable.css +33 -0
- package/lib/card/index.d.ts +187 -0
- package/lib/card/index.js +1 -1
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.css +12 -0
- package/lib/checkbox/checkbox.d.ts +33 -30
- package/lib/checkbox/checkbox.less +17 -0
- package/lib/checkbox/checkbox.variable.css +45 -0
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +253 -0
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +9 -12
- package/lib/code-diff/code-diff.css +186 -0
- package/lib/code-diff/code-diff.d.ts +80 -0
- package/lib/code-diff/code-diff.less +238 -0
- package/lib/code-diff/code-diff.variable.css +280 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse.css +8 -0
- package/lib/collapse/collapse.d.ts +50 -18
- package/lib/collapse/collapse.less +10 -0
- package/lib/collapse/collapse.variable.css +8 -0
- package/lib/collapse/index.d.ts +166 -0
- package/lib/collapse/index.js +1 -1
- package/lib/components.d.ts +41 -0
- package/lib/date-picker/date-picker.css +407 -0
- package/lib/date-picker/date-picker.d.ts +294 -0
- package/lib/date-picker/date-picker.less +526 -0
- package/lib/date-picker/date-picker.variable.css +501 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +713 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +22 -0
- package/lib/date-picker/props.d.ts +111 -0
- package/lib/date-picker/utils.d.ts +97 -0
- package/lib/dialog/dialog.css +34 -0
- package/lib/dialog/dialog.d.ts +132 -30
- package/lib/dialog/dialog.less +6 -0
- package/lib/dialog/dialog.variable.css +34 -0
- package/lib/dialog/index.d.ts +441 -0
- package/lib/dialog/index.js +1 -1
- package/lib/directives/clickoutside.d.ts +3 -0
- package/lib/directives/index.d.ts +3 -0
- package/lib/directives/index.js +2 -15
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/tooltips.d.ts +17 -0
- package/lib/divider/divider.css +38 -0
- package/lib/divider/divider.d.ts +48 -0
- package/lib/divider/divider.less +53 -0
- package/lib/divider/divider.variable.css +132 -0
- package/lib/divider/index.d.ts +142 -0
- package/lib/divider/index.js +1 -0
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/dropdown-item.d.ts +19 -0
- package/lib/dropdown/dropdown-menu.d.ts +16 -0
- package/lib/dropdown/dropdown.css +43 -0
- package/lib/dropdown/dropdown.d.ts +63 -0
- package/lib/dropdown/dropdown.less +54 -0
- package/lib/dropdown/dropdown.variable.css +137 -0
- package/lib/dropdown/index.d.ts +200 -0
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +33 -0
- package/lib/exception/index.d.ts +96 -0
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +33 -0
- package/lib/fixed-navbar/index.d.ts +112 -0
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/common.d.ts +3 -0
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +145 -0
- package/lib/form/form.css +110 -0
- package/lib/form/form.d.ts +64 -0
- package/lib/form/form.less +138 -0
- package/lib/form/form.variable.css +204 -0
- package/lib/form/index.d.ts +262 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +21 -0
- package/lib/form/validator.d.ts +8 -0
- package/lib/icon/angle-double-down-line.d.ts +4 -0
- package/lib/icon/angle-double-down-line.js +1 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +1 -0
- package/lib/icon/angle-double-left.d.ts +4 -0
- package/lib/icon/angle-double-left.js +1 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +1 -0
- package/lib/icon/angle-double-right.d.ts +4 -0
- package/lib/icon/angle-double-right.js +1 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +1 -0
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-down-fill.js +1 -0
- package/lib/icon/angle-down-line.d.ts +4 -0
- package/lib/icon/angle-down-line.js +1 -0
- package/lib/icon/angle-down.d.ts +4 -0
- package/lib/icon/angle-down.js +1 -0
- package/lib/icon/angle-left.d.ts +4 -0
- package/lib/icon/angle-left.js +1 -0
- package/lib/icon/angle-right.d.ts +4 -0
- package/lib/icon/angle-right.js +1 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +1 -0
- package/lib/icon/angle-up.d.ts +4 -0
- package/lib/icon/angle-up.js +1 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/arrows-left.js +1 -0
- package/lib/icon/arrows-right.d.ts +4 -0
- package/lib/icon/arrows-right.js +1 -0
- package/lib/icon/bk.d.ts +4 -0
- package/lib/icon/bk.js +1 -0
- package/lib/icon/circle.d.ts +4 -0
- package/lib/icon/circle.js +1 -0
- package/lib/icon/close.d.ts +4 -0
- package/lib/icon/close.js +1 -0
- package/lib/icon/code.d.ts +4 -0
- package/lib/icon/code.js +1 -0
- package/lib/icon/cog-shape.d.ts +4 -0
- package/lib/icon/cog-shape.js +1 -0
- package/lib/icon/collapse-left.d.ts +4 -0
- package/lib/icon/collapse-left.js +1 -0
- package/lib/icon/copy.d.ts +4 -0
- package/lib/icon/copy.js +1 -0
- package/lib/icon/done.d.ts +4 -0
- package/lib/icon/done.js +1 -0
- package/lib/icon/down-shape.d.ts +4 -0
- package/lib/icon/down-shape.js +1 -0
- package/lib/icon/down-small.d.ts +4 -0
- package/lib/icon/down-small.js +1 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +1 -0
- package/lib/icon/error.d.ts +4 -0
- package/lib/icon/error.js +1 -0
- package/lib/icon/eye.d.ts +4 -0
- package/lib/icon/eye.js +1 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-open.js +1 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.js +1 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder-shape.js +1 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/folder.js +1 -0
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.d.ts +4 -0
- package/lib/icon/help-document-fill.js +1 -0
- package/lib/icon/help-fill.d.ts +4 -0
- package/lib/icon/help-fill.js +1 -0
- package/lib/icon/help.d.ts +4 -0
- package/lib/icon/help.js +1 -0
- package/lib/icon/icon.d.ts +12 -0
- package/lib/icon/index.d.ts +54 -0
- package/lib/icon/index.js +1 -15
- package/lib/icon/info-line.d.ts +4 -0
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.d.ts +4 -0
- package/lib/icon/info.js +1 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.js +1 -0
- package/lib/icon/play-shape.d.ts +4 -0
- package/lib/icon/play-shape.js +1 -0
- package/lib/icon/plus.d.ts +4 -0
- package/lib/icon/plus.js +1 -0
- package/lib/icon/qq.d.ts +4 -0
- package/lib/icon/qq.js +1 -0
- package/lib/icon/right-shape.d.ts +4 -0
- package/lib/icon/right-shape.js +1 -0
- package/lib/icon/search.d.ts +4 -0
- package/lib/icon/search.js +1 -0
- package/lib/icon/share.d.ts +4 -0
- package/lib/icon/share.js +1 -0
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/icon/spinner.js +1 -0
- package/lib/icon/success.d.ts +4 -0
- package/lib/icon/success.js +1 -0
- package/lib/icon/switcher-loading.d.ts +4 -0
- package/lib/icon/switcher-loading.js +1 -0
- package/lib/icon/text-file.d.ts +4 -0
- package/lib/icon/text-file.js +1 -0
- package/lib/icon/tree-application-shape.d.ts +4 -0
- package/lib/icon/tree-application-shape.js +1 -0
- package/lib/icon/unvisible.d.ts +4 -0
- package/lib/icon/unvisible.js +1 -0
- package/lib/icon/up-shape.d.ts +4 -0
- package/lib/icon/up-shape.js +1 -0
- package/lib/icon/warn.d.ts +4 -0
- package/lib/icon/warn.js +1 -0
- package/lib/icon/weixin.d.ts +4 -0
- package/lib/icon/weixin.js +1 -0
- package/lib/index.d.ts +4 -0
- package/lib/input/index.d.ts +451 -0
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +66 -4
- package/lib/input/input.d.ts +122 -47
- package/lib/input/input.less +84 -8
- package/lib/input/input.variable.css +100 -4
- package/lib/link/index.d.ts +164 -0
- package/lib/link/index.js +1 -1
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.variable.css +33 -0
- package/lib/loading/index.d.ts +172 -0
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +110 -73
- package/lib/loading/loading.d.ts +67 -20
- package/lib/loading/loading.less +75 -58
- package/lib/loading/loading.variable.css +143 -73
- package/lib/menu/index.d.ts +188 -0
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu-group.d.ts +14 -0
- package/lib/menu/menu-item.d.ts +16 -0
- package/lib/menu/menu.css +182 -0
- package/lib/menu/menu.d.ts +64 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +276 -0
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +22 -0
- package/lib/menu/submenu.less +5 -0
- package/lib/menu/submenu.variable.css +97 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/index.d.ts +2 -0
- package/lib/message/index.js +1 -0
- package/lib/message/message.css +62 -0
- package/lib/message/message.less +72 -0
- package/lib/message/message.variable.css +156 -0
- package/lib/message/messageConstructor.d.ts +106 -0
- package/lib/modal/index.d.ts +362 -0
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +20 -0
- package/lib/modal/modal.d.ts +91 -15
- package/lib/modal/modal.less +27 -0
- package/lib/modal/modal.variable.css +20 -0
- package/lib/modal/props.mixin.d.ts +31 -1
- package/lib/navigation/index.d.ts +2 -0
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation-title.d.ts +25 -0
- package/lib/navigation/navigation.css +184 -0
- package/lib/navigation/navigation.d.ts +111 -0
- package/lib/navigation/navigation.less +210 -0
- package/lib/navigation/navigation.variable.css +278 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +49 -0
- package/lib/notify/notify.less +58 -0
- package/lib/notify/notify.variable.css +143 -0
- package/lib/notify/notifyConstructor.d.ts +91 -0
- package/lib/pagination/index.d.ts +395 -0
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +179 -0
- package/lib/pagination/pagination.d.ts +220 -0
- package/lib/pagination/pagination.less +201 -0
- package/lib/pagination/pagination.variable.css +273 -0
- package/lib/pagination/type.d.ts +6 -0
- package/lib/pagination/use-limit.d.ts +8 -0
- package/lib/pagination/use-list.d.ts +8 -0
- package/lib/pagination/use-small-list.d.ts +5 -0
- package/lib/pagination/use-total.d.ts +5 -0
- package/lib/popover/index.d.ts +318 -0
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +23 -14
- package/lib/popover/popover.d.ts +89 -45
- package/lib/popover/popover.less +57 -46
- package/lib/popover/popover.variable.css +56 -14
- package/lib/popover/props.d.ts +89 -0
- package/lib/preset.d.ts +7 -0
- package/lib/process/index.d.ts +205 -0
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +138 -0
- package/lib/process/process.d.ts +131 -0
- package/lib/process/process.less +178 -0
- package/lib/process/process.variable.css +232 -0
- package/lib/progress/index.d.ts +398 -0
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +0 -3
- package/lib/progress/progress.d.ts +88 -35
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +33 -3
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +278 -0
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +29 -20
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.css +8 -2
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +9 -2
- package/lib/radio/radio.variable.css +41 -2
- package/lib/radio/type.d.ts +10 -5
- package/lib/rate/index.d.ts +113 -0
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +13 -10
- package/lib/rate/star.d.ts +33 -16
- package/lib/resize-layout/index.d.ts +336 -0
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +189 -0
- package/lib/resize-layout/resize-layout.d.ts +127 -0
- package/lib/resize-layout/resize-layout.less +233 -0
- package/lib/resize-layout/resize-layout.variable.css +283 -0
- package/lib/select/common.d.ts +23 -17
- package/lib/select/index.d.ts +1377 -0
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +12 -19
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +248 -17
- package/lib/select/select.d.ts +282 -156
- package/lib/select/select.less +251 -46
- package/lib/select/select.variable.css +281 -17
- package/lib/select/type.d.ts +31 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
- package/lib/shared/index.d.ts +52 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +32 -3
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +8 -1
- package/lib/shared/{bk-popover.d.ts → popover.d.ts} +57 -6
- package/lib/shared/utils.d.ts +6 -0
- package/lib/shared/vue-types.d.ts +8 -7
- package/lib/shared/z-index-manager.d.ts +6 -1
- package/lib/sideslider/index.d.ts +328 -0
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.d.ts +97 -18
- package/lib/sideslider/sideslider.variable.css +33 -0
- package/{changelog.config.js → lib/slider/index.d.ts} +2 -8
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider-button.d.ts +80 -0
- package/lib/slider/slider.css +149 -0
- package/lib/slider/slider.d.ts +201 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +243 -0
- package/lib/steps/index.d.ts +250 -0
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.css +288 -0
- package/lib/steps/steps.d.ts +161 -0
- package/lib/steps/steps.less +324 -0
- package/lib/steps/steps.variable.css +382 -0
- package/lib/styles/index.d.ts +47 -0
- package/lib/styles/mixins/popper.css +43 -0
- package/lib/styles/mixins/popper.less +52 -0
- package/lib/styles/mixins/popper.variable.css +43 -0
- package/lib/styles/mixins/size.less +9 -0
- package/lib/styles/reset.css +273 -0
- package/lib/styles/reset.less +313 -0
- package/lib/styles/reset.variable.css +273 -0
- package/lib/styles/themes/themes.less +53 -2
- package/lib/swiper/index.d.ts +181 -0
- package/lib/swiper/index.js +1 -0
- package/lib/swiper/swiper.css +91 -0
- package/lib/swiper/swiper.d.ts +65 -0
- package/lib/swiper/swiper.less +107 -0
- package/lib/swiper/swiper.variable.css +91 -0
- package/lib/switcher/index.d.ts +286 -0
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +149 -135
- package/lib/switcher/switcher.d.ts +49 -33
- package/lib/switcher/switcher.less +211 -153
- package/lib/switcher/switcher.variable.css +182 -135
- package/lib/tab/index.d.ts +443 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +191 -0
- package/lib/tab/tab-nav.d.ts +165 -0
- package/lib/tab/tab-panel.d.ts +73 -0
- package/lib/tab/tab.css +148 -0
- package/lib/tab/tab.d.ts +140 -0
- package/lib/tab/tab.less +222 -0
- package/lib/tab/tab.variable.css +242 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +306 -0
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.css +68 -0
- package/lib/table/plugins/head-filter.less +83 -0
- package/lib/table/plugins/head-filter.variable.css +162 -0
- package/lib/table/plugins/head-sort.css +22 -0
- package/lib/table/plugins/head-sort.less +28 -0
- package/lib/table/plugins/head-sort.variable.css +116 -0
- package/lib/table/props.d.ts +143 -0
- package/lib/table/render.d.ts +110 -0
- package/lib/table/table.css +192 -0
- package/lib/table/table.d.ts +89 -36
- package/lib/table/table.less +131 -2
- package/lib/table/table.variable.css +225 -0
- package/lib/table/use-common.d.ts +17 -0
- package/lib/table/utils.d.ts +83 -0
- package/lib/tag/index.d.ts +229 -0
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.css +97 -0
- package/lib/tag/tag.d.ts +83 -53
- package/lib/tag/tag.less +110 -2
- package/lib/tag/tag.variable.css +130 -0
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +2 -0
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +47 -0
- package/lib/tag-input/tag-input.css +208 -0
- package/lib/tag-input/tag-input.d.ts +374 -0
- package/lib/tag-input/tag-input.less +250 -0
- package/lib/tag-input/tag-input.variable.css +302 -0
- package/lib/tag-input/tag-props.d.ts +131 -0
- package/lib/tag-input/tag-render.d.ts +38 -0
- package/lib/timeline/index.d.ts +129 -0
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +235 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.less +239 -0
- package/lib/timeline/timeline.variable.css +329 -0
- package/lib/transfer/index.d.ts +351 -0
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/transfer.css +158 -0
- package/lib/transfer/transfer.d.ts +185 -0
- package/lib/transfer/transfer.less +171 -0
- package/lib/transfer/transfer.variable.css +252 -0
- package/lib/tree/index.d.ts +287 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +89 -0
- package/lib/tree/tree.css +50 -0
- package/lib/tree/tree.d.ts +111 -0
- package/lib/tree/tree.less +63 -0
- package/lib/tree/tree.variable.css +144 -0
- package/lib/tree/util.d.ts +70 -0
- package/lib/use-form.d.ts +3 -0
- package/lib/use-message.d.ts +2 -0
- package/lib/virtual-render/index.d.ts +556 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +157 -0
- package/lib/virtual-render/v-virtual-render.d.ts +7 -0
- package/lib/virtual-render/virtual-render.css +33 -0
- package/lib/virtual-render/virtual-render.d.ts +244 -0
- package/lib/virtual-render/virtual-render.less +43 -0
- package/lib/virtual-render/virtual-render.variable.css +33 -0
- package/package.json +97 -78
- package/dist/bkui-vue.cjs.js +0 -4887
- package/dist/bkui-vue.esm.js +0 -4883
- package/dist/bkui-vue.umd.js +0 -4890
- package/lib/checkbox-group/index.js +0 -1
- package/lib/radio-button/index.js +0 -1
- package/lib/radio-group/index.js +0 -1
- package/lib/styles/index.js +0 -1
- package/lib/table/common.d.ts +0 -3
- package/lib/table/table-layout.d.ts +0 -14
- package/lib/table/type.d.ts +0 -12
package/lib/input/input.css
CHANGED
@@ -19,6 +19,35 @@
|
|
19
19
|
.bk-fade-transtion .bk-fade-leave-to {
|
20
20
|
opacity: 0;
|
21
21
|
}
|
22
|
+
.bk-textarea {
|
23
|
+
width: 100%;
|
24
|
+
min-height: 70px;
|
25
|
+
font-size: 12px;
|
26
|
+
line-height: 20px;
|
27
|
+
background-color: white;
|
28
|
+
border: 1px solid #c4c6cc;
|
29
|
+
border-radius: 2px;
|
30
|
+
box-sizing: border-box;
|
31
|
+
transition: all 0.3s;
|
32
|
+
}
|
33
|
+
.bk-textarea > textarea {
|
34
|
+
width: 100%;
|
35
|
+
padding: 5px 10px;
|
36
|
+
line-height: 1.5;
|
37
|
+
text-align: left;
|
38
|
+
vertical-align: middle;
|
39
|
+
border: 0;
|
40
|
+
outline: none;
|
41
|
+
resize: none;
|
42
|
+
}
|
43
|
+
.bk-textarea--max-length {
|
44
|
+
padding-right: 10px;
|
45
|
+
margin: 0;
|
46
|
+
text-align: right;
|
47
|
+
}
|
48
|
+
.bk-textarea--max-length span {
|
49
|
+
color: #979ba5;
|
50
|
+
}
|
22
51
|
.bk-input {
|
23
52
|
display: flex;
|
24
53
|
align-items: stretch;
|
@@ -28,30 +57,63 @@
|
|
28
57
|
border-radius: 2px;
|
29
58
|
transition: all 0.3s;
|
30
59
|
}
|
60
|
+
.bk-input:hover .show-clear-only-hover {
|
61
|
+
display: block;
|
62
|
+
}
|
63
|
+
.bk-input.is-simplicity {
|
64
|
+
background-color: transparent;
|
65
|
+
border-color: transparent;
|
66
|
+
border-bottom-color: #c4c6cc;
|
67
|
+
}
|
31
68
|
.bk-input--suffix-icon {
|
32
69
|
padding-right: 10px;
|
33
70
|
font-size: 16px;
|
71
|
+
line-height: 1;
|
34
72
|
color: #c4c6cc;
|
35
73
|
align-self: center;
|
36
74
|
}
|
75
|
+
.bk-input--suffix-icon.show-clear-only-hover {
|
76
|
+
display: none;
|
77
|
+
}
|
37
78
|
.bk-input--large {
|
38
79
|
height: 38px;
|
80
|
+
font-size: 14px;
|
81
|
+
}
|
82
|
+
.bk-input--large .bk-input--max-length {
|
39
83
|
font-size: 16px;
|
40
84
|
}
|
41
85
|
.bk-input--small {
|
42
86
|
height: 26px;
|
43
87
|
font-size: 12px;
|
44
88
|
}
|
89
|
+
.bk-input--small .bk-input--max-length {
|
90
|
+
font-size: 12px;
|
91
|
+
}
|
92
|
+
.bk-input--default {
|
93
|
+
font-size: 12px;
|
94
|
+
}
|
95
|
+
.bk-input--default .bk-input--max-length {
|
96
|
+
font-size: 12px;
|
97
|
+
}
|
45
98
|
.bk-input.is-focused:not(.is-readonly) {
|
46
99
|
border-color: #3a84ff;
|
47
100
|
outline: 0;
|
48
101
|
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
49
102
|
}
|
50
|
-
.bk-input.is-
|
103
|
+
.bk-input.is-focused:not(.is-readonly).is-simplicity {
|
104
|
+
border-color: transparent;
|
105
|
+
border-bottom-color: #3a84ff;
|
106
|
+
box-shadow: none;
|
107
|
+
}
|
108
|
+
.bk-input.is-disabled input,
|
109
|
+
.bk-input.is-readonly input {
|
51
110
|
cursor: not-allowed;
|
52
111
|
background-color: #fafbfd;
|
53
112
|
opacity: 1;
|
54
113
|
}
|
114
|
+
.bk-input.is-readonly input {
|
115
|
+
cursor: auto;
|
116
|
+
}
|
55
117
|
.bk-input--prefix-area,
|
56
118
|
.bk-input--suffix-area {
|
57
119
|
display: flex;
|
@@ -74,7 +136,6 @@
|
|
74
136
|
}
|
75
137
|
.bk-input--text {
|
76
138
|
padding: 0 10px;
|
77
|
-
font-size: 12px;
|
78
139
|
line-height: 1;
|
79
140
|
color: #63656e;
|
80
141
|
background-color: white;
|
@@ -91,12 +152,12 @@
|
|
91
152
|
.bk-input--text[type='search']::-webkit-search-results-decoration {
|
92
153
|
appearance: none;
|
93
154
|
}
|
94
|
-
.bk-input--text [type=search]::-ms-clear {
|
155
|
+
.bk-input--text [type='search']::-ms-clear {
|
95
156
|
display: none;
|
96
157
|
width: 0;
|
97
158
|
height: 0;
|
98
159
|
}
|
99
|
-
.bk-input--text [type=search]::-ms-reveal {
|
160
|
+
.bk-input--text [type='search']::-ms-reveal {
|
100
161
|
display: none;
|
101
162
|
width: 0;
|
102
163
|
height: 0;
|
@@ -120,6 +181,7 @@
|
|
120
181
|
height: 50%;
|
121
182
|
overflow: hidden;
|
122
183
|
color: #c4c6cc;
|
184
|
+
text-align: center;
|
123
185
|
}
|
124
186
|
.bk-input--number-control svg {
|
125
187
|
font-size: 16px;
|
package/lib/input/input.d.ts
CHANGED
@@ -16,6 +16,8 @@ export declare const inputType: {
|
|
16
16
|
};
|
17
17
|
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
18
18
|
default: string;
|
19
|
+
} & {
|
20
|
+
default: string;
|
19
21
|
};
|
20
22
|
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
21
23
|
default: string;
|
@@ -41,6 +43,9 @@ export declare const inputType: {
|
|
41
43
|
maxlength: import("vue-types").VueTypeDef<number> & {
|
42
44
|
default: number;
|
43
45
|
};
|
46
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
47
|
+
default: string;
|
48
|
+
};
|
44
49
|
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
45
50
|
default: boolean;
|
46
51
|
};
|
@@ -49,6 +54,11 @@ export declare const inputType: {
|
|
49
54
|
} & {
|
50
55
|
default: boolean;
|
51
56
|
};
|
57
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
58
|
+
default: boolean;
|
59
|
+
} & {
|
60
|
+
default: boolean;
|
61
|
+
};
|
52
62
|
precision: import("vue-types").VueTypeValidableDef<number> & {
|
53
63
|
default: number;
|
54
64
|
} & {
|
@@ -56,8 +66,13 @@ export declare const inputType: {
|
|
56
66
|
} & {
|
57
67
|
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
58
68
|
};
|
59
|
-
modelValue: import("vue-types").VueTypeDef<string | number
|
69
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
70
|
+
default: string | number;
|
71
|
+
};
|
60
72
|
size: import("vue-types").VueTypeDef<string>;
|
73
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
74
|
+
default: number;
|
75
|
+
};
|
61
76
|
};
|
62
77
|
export declare type InputType = ExtractPropTypes<typeof inputType>;
|
63
78
|
declare const _default: import("vue").DefineComponent<{
|
@@ -77,6 +92,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
77
92
|
};
|
78
93
|
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
79
94
|
default: string;
|
95
|
+
} & {
|
96
|
+
default: string;
|
80
97
|
};
|
81
98
|
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
82
99
|
default: string;
|
@@ -102,6 +119,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
102
119
|
maxlength: import("vue-types").VueTypeDef<number> & {
|
103
120
|
default: number;
|
104
121
|
};
|
122
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
123
|
+
default: string;
|
124
|
+
};
|
105
125
|
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
106
126
|
default: boolean;
|
107
127
|
};
|
@@ -110,6 +130,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
110
130
|
} & {
|
111
131
|
default: boolean;
|
112
132
|
};
|
133
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
134
|
+
default: boolean;
|
135
|
+
} & {
|
136
|
+
default: boolean;
|
137
|
+
};
|
113
138
|
precision: import("vue-types").VueTypeValidableDef<number> & {
|
114
139
|
default: number;
|
115
140
|
} & {
|
@@ -117,69 +142,119 @@ declare const _default: import("vue").DefineComponent<{
|
|
117
142
|
} & {
|
118
143
|
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
119
144
|
};
|
120
|
-
modelValue: import("vue-types").VueTypeDef<string | number
|
145
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
146
|
+
default: string | number;
|
147
|
+
};
|
121
148
|
size: import("vue-types").VueTypeDef<string>;
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
suffix: string
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
149
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
150
|
+
default: number;
|
151
|
+
};
|
152
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "clear" | "focus" | "blur" | "paste" | "change" | "keydown" | "keypress" | "keyup" | "update:modelValue" | "enter")[], "input" | "clear" | "focus" | "blur" | "paste" | "change" | "keydown" | "keypress" | "keyup" | "update:modelValue" | "enter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
153
|
+
type: import("vue-types").VueTypeValidableDef<string> & {
|
154
|
+
default: string;
|
155
|
+
} & {
|
156
|
+
default: string;
|
157
|
+
};
|
158
|
+
clearable: import("vue-types").VueTypeValidableDef<boolean> & {
|
159
|
+
default: boolean;
|
160
|
+
};
|
161
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
162
|
+
default: boolean;
|
163
|
+
};
|
164
|
+
readonly: import("vue-types").VueTypeValidableDef<boolean> & {
|
165
|
+
default: boolean;
|
166
|
+
};
|
167
|
+
placeholder: import("vue-types").VueTypeValidableDef<string> & {
|
168
|
+
default: string;
|
169
|
+
} & {
|
170
|
+
default: string;
|
171
|
+
};
|
172
|
+
prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
173
|
+
default: string;
|
174
|
+
};
|
175
|
+
suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
|
176
|
+
default: string;
|
177
|
+
};
|
178
|
+
suffix: import("vue-types").VueTypeValidableDef<string> & {
|
179
|
+
default: string;
|
180
|
+
};
|
181
|
+
prefix: import("vue-types").VueTypeValidableDef<string> & {
|
182
|
+
default: string;
|
183
|
+
};
|
184
|
+
step: import("vue-types").VueTypeDef<number> & {
|
185
|
+
default: number;
|
186
|
+
};
|
187
|
+
max: import("vue-types").VueTypeDef<number> & {
|
188
|
+
default: number;
|
189
|
+
};
|
190
|
+
min: import("vue-types").VueTypeDef<number> & {
|
191
|
+
default: number;
|
192
|
+
};
|
193
|
+
maxlength: import("vue-types").VueTypeDef<number> & {
|
194
|
+
default: number;
|
195
|
+
};
|
196
|
+
behavior: import("vue-types").VueTypeDef<string> & {
|
197
|
+
default: string;
|
198
|
+
};
|
199
|
+
showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
|
200
|
+
default: boolean;
|
201
|
+
};
|
202
|
+
showControl: import("vue-types").VueTypeValidableDef<boolean> & {
|
203
|
+
default: boolean;
|
204
|
+
} & {
|
205
|
+
default: boolean;
|
206
|
+
};
|
207
|
+
showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
208
|
+
default: boolean;
|
209
|
+
} & {
|
210
|
+
default: boolean;
|
211
|
+
};
|
212
|
+
precision: import("vue-types").VueTypeValidableDef<number> & {
|
213
|
+
default: number;
|
214
|
+
} & {
|
215
|
+
default: number;
|
216
|
+
} & {
|
217
|
+
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
218
|
+
};
|
219
|
+
modelValue: import("vue-types").VueTypeDef<string | number> & {
|
220
|
+
default: string | number;
|
221
|
+
};
|
222
|
+
size: import("vue-types").VueTypeDef<string>;
|
223
|
+
rows: import("vue-types").VueTypeValidableDef<number> & {
|
224
|
+
default: number;
|
225
|
+
};
|
226
|
+
}>> & {
|
227
|
+
onPaste?: (...args: any[]) => any;
|
162
228
|
onFocus?: (...args: any[]) => any;
|
163
229
|
onBlur?: (...args: any[]) => any;
|
164
230
|
onChange?: (...args: any[]) => any;
|
165
231
|
onInput?: (...args: any[]) => any;
|
232
|
+
onKeydown?: (...args: any[]) => any;
|
233
|
+
onKeypress?: (...args: any[]) => any;
|
234
|
+
onKeyup?: (...args: any[]) => any;
|
166
235
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
236
|
+
onClear?: (...args: any[]) => any;
|
237
|
+
onEnter?: (...args: any[]) => any;
|
167
238
|
}, {
|
239
|
+
type: string;
|
168
240
|
placeholder: string;
|
169
241
|
prefix: string;
|
170
242
|
step: number;
|
171
243
|
disabled: boolean;
|
172
|
-
|
173
|
-
clearable: boolean;
|
244
|
+
modelValue: string | number;
|
174
245
|
readonly: boolean;
|
175
|
-
|
176
|
-
|
177
|
-
suffix: string;
|
246
|
+
clearable: boolean;
|
247
|
+
behavior: string;
|
178
248
|
max: number;
|
179
249
|
min: number;
|
180
250
|
maxlength: number;
|
251
|
+
prefixIcon: string;
|
252
|
+
suffixIcon: string;
|
253
|
+
suffix: string;
|
181
254
|
showWordLimit: boolean;
|
182
255
|
showControl: boolean;
|
256
|
+
showClearOnlyHover: boolean;
|
183
257
|
precision: number;
|
258
|
+
rows: number;
|
184
259
|
}>;
|
185
260
|
export default _default;
|
package/lib/input/input.less
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
|
2
1
|
@import '../styles/themes/themes.less';
|
3
2
|
@import '../styles/mixins/mixins.less';
|
4
3
|
|
5
4
|
.active(@color: @primary-color) {
|
6
|
-
border-color: @primary-color;
|
5
|
+
border-color: @primary-color;
|
7
6
|
outline: 0;
|
8
7
|
box-shadow: 0px 0px 3px 0px @input-shadow-color;
|
9
8
|
}
|
@@ -14,6 +13,40 @@
|
|
14
13
|
opacity: 1;
|
15
14
|
}
|
16
15
|
|
16
|
+
.@{bk-prefix}-textarea {
|
17
|
+
width: 100%;
|
18
|
+
min-height: 70px;
|
19
|
+
font-size: @font-size-base;
|
20
|
+
line-height: 20px;
|
21
|
+
background-color: white;
|
22
|
+
border: @border-width-base @border-style-base @input-border-color;
|
23
|
+
border-radius: 2px;
|
24
|
+
border-radius: @border-radius-base;
|
25
|
+
box-sizing: border-box;
|
26
|
+
transition: all .3s;
|
27
|
+
|
28
|
+
> textarea {
|
29
|
+
width: 100%;
|
30
|
+
padding: 5px 10px;
|
31
|
+
line-height: 1.5;
|
32
|
+
text-align: left;
|
33
|
+
vertical-align: middle;
|
34
|
+
border: 0;
|
35
|
+
outline: none;
|
36
|
+
resize: none;
|
37
|
+
}
|
38
|
+
|
39
|
+
&--max-length {
|
40
|
+
padding-right: @input-horizontal-padding;
|
41
|
+
margin: 0;
|
42
|
+
text-align: right;
|
43
|
+
|
44
|
+
span {
|
45
|
+
color: @input-maxlength-color;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
17
50
|
.@{bk-prefix}-input {
|
18
51
|
display: flex;
|
19
52
|
align-items: stretch;
|
@@ -23,28 +56,71 @@
|
|
23
56
|
border-radius: @border-radius-base;
|
24
57
|
transition: all .3s;
|
25
58
|
|
59
|
+
&:hover {
|
60
|
+
.show-clear-only-hover {
|
61
|
+
display: block;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
&.is-simplicity {
|
66
|
+
background-color: transparent;
|
67
|
+
border-color: transparent;
|
68
|
+
border-bottom-color: @input-border-color;
|
69
|
+
}
|
70
|
+
|
26
71
|
&--suffix-icon {
|
27
72
|
padding-right: @input-horizontal-padding;
|
28
73
|
font-size: @input-icon-size;
|
74
|
+
line-height: 1;
|
29
75
|
color: @light-gray;
|
30
76
|
align-self: center;
|
77
|
+
|
78
|
+
&.show-clear-only-hover {
|
79
|
+
display: none;
|
80
|
+
}
|
31
81
|
}
|
32
82
|
|
33
83
|
&--large {
|
34
|
-
.component-size(@component-size-large, @font-size-
|
84
|
+
.component-size(@component-size-large, @font-size-medium);
|
85
|
+
|
86
|
+
.@{bk-prefix}-input--max-length {
|
87
|
+
font-size: @font-size-large;
|
88
|
+
}
|
35
89
|
}
|
36
90
|
|
37
91
|
&--small {
|
38
92
|
.component-size(@component-size-small, @font-size-base);
|
93
|
+
|
94
|
+
.@{bk-prefix}-input--max-length {
|
95
|
+
font-size: @font-size-base;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
&--default {
|
100
|
+
font-size: @font-size-base;
|
101
|
+
|
102
|
+
.@{bk-prefix}-input--max-length {
|
103
|
+
font-size: @font-size-base;
|
104
|
+
}
|
39
105
|
}
|
40
106
|
|
41
107
|
&.is-focused:not(.is-readonly) {
|
42
108
|
.active();
|
109
|
+
|
110
|
+
&.is-simplicity {
|
111
|
+
border-color: transparent;
|
112
|
+
border-bottom-color: @primary-color;
|
113
|
+
box-shadow: none;
|
114
|
+
}
|
43
115
|
}
|
44
116
|
|
45
|
-
&.is-disabled
|
117
|
+
&.is-disabled input,
|
118
|
+
&.is-readonly input {
|
46
119
|
.disabled();
|
47
120
|
}
|
121
|
+
&.is-readonly input {
|
122
|
+
cursor: auto;
|
123
|
+
}
|
48
124
|
|
49
125
|
&--prefix-area,
|
50
126
|
&--suffix-area {
|
@@ -69,10 +145,9 @@
|
|
69
145
|
color: @input-maxlength-color;
|
70
146
|
}
|
71
147
|
}
|
72
|
-
|
148
|
+
|
73
149
|
&--text {
|
74
150
|
padding: 0 @input-horizontal-padding;
|
75
|
-
font-size: @font-size-base;
|
76
151
|
line-height: 1;
|
77
152
|
color: @input-color;
|
78
153
|
background-color: @input-bg;
|
@@ -91,13 +166,13 @@
|
|
91
166
|
appearance: none;
|
92
167
|
}
|
93
168
|
// IE
|
94
|
-
[type=search]::-ms-clear {
|
169
|
+
[type='search']::-ms-clear {
|
95
170
|
display: none;
|
96
171
|
width: 0;
|
97
172
|
height: 0;
|
98
173
|
}
|
99
174
|
|
100
|
-
[type=search]::-ms-reveal {
|
175
|
+
[type='search']::-ms-reveal {
|
101
176
|
display: none;
|
102
177
|
width: 0;
|
103
178
|
height: 0;
|
@@ -125,6 +200,7 @@
|
|
125
200
|
height: 50%;
|
126
201
|
overflow: hidden;
|
127
202
|
color: @light-gray;
|
203
|
+
text-align: center;
|
128
204
|
}
|
129
205
|
|
130
206
|
svg {
|
@@ -1,10 +1,12 @@
|
|
1
1
|
:root {
|
2
2
|
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
3
4
|
--primary-color: #3a84ff;
|
4
5
|
--success-color: #2dcb56;
|
5
6
|
--warning-color: #ff9c01;
|
6
7
|
--danger-color: #ea3636;
|
7
8
|
--default-color: #63656e;
|
9
|
+
--gray-color: #979ba5;
|
8
10
|
--light-gray: #c4c6cc;
|
9
11
|
--white-color: white;
|
10
12
|
--disable-color: #dcdee5;
|
@@ -58,6 +60,37 @@
|
|
58
60
|
--link-success-disabled-color: #94f5a4;
|
59
61
|
--link-warning-disabled-color: #ffd695;
|
60
62
|
--link-danger-disabled-color: #fd9c9c;
|
63
|
+
--message-color: var(--default-color);
|
64
|
+
--message-primary-bg-color: #f0f8ff;
|
65
|
+
--message-primary-border-color: #e1ecff;
|
66
|
+
--message-warning-bg-color: #fff4e2;
|
67
|
+
--message-warning-border-color: #ffe8c3;
|
68
|
+
--message-success-bg-color: #f2fff4;
|
69
|
+
--message-success-border-color: #dcffe2;
|
70
|
+
--message-danger-bg-color: #ffeded;
|
71
|
+
--message-danger-border-color: #ffdddd;
|
72
|
+
--slider-default-bg: #dcdee5;
|
73
|
+
--slider-disable-bar-bg: #979ba5;
|
74
|
+
--menu-bg-color: #182132;
|
75
|
+
--submenu-bg-color: #151d2c;
|
76
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
77
|
+
--menu-color: #96a2b9;
|
78
|
+
--menu-group-color: var(--default-color);
|
79
|
+
--menu-width: 260px;
|
80
|
+
--menu-collapse-width: 60px;
|
81
|
+
--menu-active-color: white;
|
82
|
+
--nav-header-bg-color: #182132;
|
83
|
+
--nav-bg-color: #182132;
|
84
|
+
--date-picker-disabled-bg: #fafbfd;
|
85
|
+
--date-picker-dropdown-mb: 4px;
|
86
|
+
--date-picker-dropdown-bg: #fff;
|
87
|
+
--table-bg-color: var(--white-color);
|
88
|
+
--table-border-color: #dcdee5;
|
89
|
+
--table-head-bg-color: #fafbfd;
|
90
|
+
--table-head-font-color: #313238;
|
91
|
+
--table-body-font-color: #575961;
|
92
|
+
--table-row-hover-bg-color: #f5f7fa;
|
93
|
+
--table-row-active-bg-color: #f0f1f5;
|
61
94
|
}
|
62
95
|
@keyframes loading-scale-animate {
|
63
96
|
0% {
|
@@ -80,6 +113,36 @@
|
|
80
113
|
.bk-fade-transtion .bk-fade-leave-to {
|
81
114
|
opacity: 0;
|
82
115
|
}
|
116
|
+
.bk-textarea {
|
117
|
+
width: 100%;
|
118
|
+
min-height: 70px;
|
119
|
+
font-size: var(--font-size-base);
|
120
|
+
line-height: 20px;
|
121
|
+
background-color: white;
|
122
|
+
border: var(--border-width-base) var(--border-style-base) var(--input-border-color);
|
123
|
+
border-radius: 2px;
|
124
|
+
border-radius: var(--border-radius-base);
|
125
|
+
box-sizing: border-box;
|
126
|
+
transition: all 0.3s;
|
127
|
+
}
|
128
|
+
.bk-textarea > textarea {
|
129
|
+
width: 100%;
|
130
|
+
padding: 5px 10px;
|
131
|
+
line-height: 1.5;
|
132
|
+
text-align: left;
|
133
|
+
vertical-align: middle;
|
134
|
+
border: 0;
|
135
|
+
outline: none;
|
136
|
+
resize: none;
|
137
|
+
}
|
138
|
+
.bk-textarea--max-length {
|
139
|
+
padding-right: var(--input-horizontal-padding);
|
140
|
+
margin: 0;
|
141
|
+
text-align: right;
|
142
|
+
}
|
143
|
+
.bk-textarea--max-length span {
|
144
|
+
color: var(--input-maxlength-color);
|
145
|
+
}
|
83
146
|
.bk-input {
|
84
147
|
display: flex;
|
85
148
|
align-items: stretch;
|
@@ -89,30 +152,63 @@
|
|
89
152
|
border-radius: var(--border-radius-base);
|
90
153
|
transition: all 0.3s;
|
91
154
|
}
|
155
|
+
.bk-input:hover .show-clear-only-hover {
|
156
|
+
display: block;
|
157
|
+
}
|
158
|
+
.bk-input.is-simplicity {
|
159
|
+
background-color: transparent;
|
160
|
+
border-color: transparent;
|
161
|
+
border-bottom-color: var(--input-border-color);
|
162
|
+
}
|
92
163
|
.bk-input--suffix-icon {
|
93
164
|
padding-right: var(--input-horizontal-padding);
|
94
165
|
font-size: var(--input-icon-size);
|
166
|
+
line-height: 1;
|
95
167
|
color: var(--light-gray);
|
96
168
|
align-self: center;
|
97
169
|
}
|
170
|
+
.bk-input--suffix-icon.show-clear-only-hover {
|
171
|
+
display: none;
|
172
|
+
}
|
98
173
|
.bk-input--large {
|
99
174
|
height: var(--component-size-large);
|
175
|
+
font-size: var(--font-size-medium);
|
176
|
+
}
|
177
|
+
.bk-input--large .bk-input--max-length {
|
100
178
|
font-size: var(--font-size-large);
|
101
179
|
}
|
102
180
|
.bk-input--small {
|
103
181
|
height: var(--component-size-small);
|
104
182
|
font-size: var(--font-size-base);
|
105
183
|
}
|
184
|
+
.bk-input--small .bk-input--max-length {
|
185
|
+
font-size: var(--font-size-base);
|
186
|
+
}
|
187
|
+
.bk-input--default {
|
188
|
+
font-size: var(--font-size-base);
|
189
|
+
}
|
190
|
+
.bk-input--default .bk-input--max-length {
|
191
|
+
font-size: var(--font-size-base);
|
192
|
+
}
|
106
193
|
.bk-input.is-focused:not(.is-readonly) {
|
107
194
|
border-color: var(--primary-color);
|
108
195
|
outline: 0;
|
109
196
|
box-shadow: 0px 0px 3px 0px var(--input-shadow-color);
|
110
197
|
}
|
111
|
-
.bk-input.is-
|
198
|
+
.bk-input.is-focused:not(.is-readonly).is-simplicity {
|
199
|
+
border-color: transparent;
|
200
|
+
border-bottom-color: var(--primary-color);
|
201
|
+
box-shadow: none;
|
202
|
+
}
|
203
|
+
.bk-input.is-disabled input,
|
204
|
+
.bk-input.is-readonly input {
|
112
205
|
cursor: not-allowed;
|
113
206
|
background-color: var(--input-disabled-bg);
|
114
207
|
opacity: 1;
|
115
208
|
}
|
209
|
+
.bk-input.is-readonly input {
|
210
|
+
cursor: auto;
|
211
|
+
}
|
116
212
|
.bk-input--prefix-area,
|
117
213
|
.bk-input--suffix-area {
|
118
214
|
display: flex;
|
@@ -135,7 +231,6 @@
|
|
135
231
|
}
|
136
232
|
.bk-input--text {
|
137
233
|
padding: 0 var(--input-horizontal-padding);
|
138
|
-
font-size: var(--font-size-base);
|
139
234
|
line-height: 1;
|
140
235
|
color: var(--input-color);
|
141
236
|
background-color: var(--input-bg);
|
@@ -152,12 +247,12 @@
|
|
152
247
|
.bk-input--text[type='search']::-webkit-search-results-decoration {
|
153
248
|
appearance: none;
|
154
249
|
}
|
155
|
-
.bk-input--text [type=search]::-ms-clear {
|
250
|
+
.bk-input--text [type='search']::-ms-clear {
|
156
251
|
display: none;
|
157
252
|
width: 0;
|
158
253
|
height: 0;
|
159
254
|
}
|
160
|
-
.bk-input--text [type=search]::-ms-reveal {
|
255
|
+
.bk-input--text [type='search']::-ms-reveal {
|
161
256
|
display: none;
|
162
257
|
width: 0;
|
163
258
|
height: 0;
|
@@ -181,6 +276,7 @@
|
|
181
276
|
height: 50%;
|
182
277
|
overflow: hidden;
|
183
278
|
color: var(--light-gray);
|
279
|
+
text-align: center;
|
184
280
|
}
|
185
281
|
.bk-input--number-control svg {
|
186
282
|
font-size: var(--input-icon-size);
|