bkui-vue 0.0.1-beta.7 → 0.0.1-beta.70
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 +23796 -0
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -2312
- package/lib/affix/affix.css +3 -0
- package/lib/affix/affix.d.ts +47 -0
- package/lib/affix/affix.less +5 -0
- package/lib/affix/affix.variable.css +102 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +2 -0
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.less +2 -0
- package/lib/alert/alert.variable.css +40 -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 +38 -0
- package/lib/backtop/index.d.ts +166 -0
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.css +5 -5
- package/lib/badge/badge.d.ts +64 -22
- package/lib/badge/badge.less +5 -6
- package/lib/badge/badge.variable.css +43 -5
- package/lib/badge/index.d.ts +267 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +18 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +56 -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 +64 -31
- package/lib/button/button.d.ts +66 -30
- package/lib/button/button.less +53 -33
- package/lib/button/button.variable.css +102 -31
- package/lib/button/index.d.ts +237 -0
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +53 -1
- package/lib/card/card.d.ts +74 -18
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +91 -1
- package/lib/card/index.d.ts +283 -0
- package/lib/card/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +48 -0
- package/lib/cascader/cascader.css +130 -0
- package/lib/cascader/cascader.d.ts +271 -0
- package/lib/cascader/cascader.less +146 -0
- package/lib/cascader/cascader.variable.css +229 -0
- package/lib/cascader/index.d.ts +721 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +44 -0
- package/lib/cascader/node.d.ts +24 -0
- package/lib/cascader/store.d.ts +15 -0
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.css +15 -2
- package/lib/checkbox/checkbox.d.ts +33 -30
- package/lib/checkbox/checkbox.less +20 -2
- package/lib/checkbox/checkbox.variable.css +53 -2
- 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 +4 -8
- 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 +285 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse.css +25 -1
- package/lib/collapse/collapse.d.ts +51 -22
- package/lib/collapse/collapse.less +34 -2
- package/lib/collapse/collapse.variable.css +124 -1
- package/lib/collapse/index.d.ts +182 -0
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/components.d.ts +46 -0
- package/lib/components.js +1 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +48 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +147 -0
- package/lib/container/index.d.ts +223 -0
- package/lib/container/index.js +1 -0
- package/lib/container/row.d.ts +4 -0
- package/lib/date-picker/date-picker.css +408 -0
- package/lib/date-picker/date-picker.d.ts +311 -0
- package/lib/date-picker/date-picker.less +527 -0
- package/lib/date-picker/date-picker.variable.css +507 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +750 -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 +118 -0
- package/lib/date-picker/utils.d.ts +97 -0
- package/lib/dialog/dialog.css +49 -0
- package/lib/dialog/dialog.d.ts +294 -52
- package/lib/dialog/dialog.less +16 -0
- package/lib/dialog/dialog.variable.css +49 -0
- package/lib/dialog/index.d.ts +749 -0
- package/lib/dialog/index.js +1 -1
- package/lib/directives/clickoutside.d.ts +3 -23
- 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/dist.index.js +1 -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 +137 -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 +47 -0
- package/lib/dropdown/dropdown.d.ts +63 -0
- package/lib/dropdown/dropdown.less +59 -0
- package/lib/dropdown/dropdown.variable.css +146 -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 +38 -0
- package/lib/exception/index.d.ts +96 -0
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/fixed-navbar.d.ts +29 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +38 -0
- package/lib/fixed-navbar/index.d.ts +147 -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 +155 -0
- package/lib/form/form.css +125 -0
- package/lib/form/form.d.ts +67 -0
- package/lib/form/form.less +152 -0
- package/lib/form/form.variable.css +224 -0
- package/lib/form/index.d.ts +280 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +22 -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/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.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/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.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-line.d.ts +4 -0
- package/lib/icon/close-line.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/data-shape.d.ts +4 -0
- package/lib/icon/data-shape.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.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/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.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/excel-fill.d.ts +4 -0
- package/lib/icon/excel-fill.js +1 -0
- package/lib/icon/exclamation-circle-shape.d.ts +4 -0
- package/lib/icon/exclamation-circle-shape.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/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/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/index.d.ts +69 -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/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.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/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.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/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.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/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.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 +3 -0
- package/lib/index.js +1 -0
- package/lib/input/index.d.ts +541 -0
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +78 -4
- package/lib/input/input.d.ts +178 -48
- package/lib/input/input.less +89 -8
- package/lib/input/input.variable.css +117 -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 +38 -0
- package/lib/loading/index.d.ts +172 -0
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +121 -75
- package/lib/loading/loading.d.ts +67 -20
- package/lib/loading/loading.less +78 -60
- package/lib/loading/loading.variable.css +159 -75
- 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 +190 -0
- package/lib/menu/menu.d.ts +64 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +289 -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 +102 -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 +161 -0
- package/lib/message/messageConstructor.d.ts +106 -0
- package/lib/modal/index.d.ts +627 -0
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +30 -1
- package/lib/modal/modal.d.ts +204 -24
- package/lib/modal/modal.less +39 -1
- package/lib/modal/modal.variable.css +30 -1
- package/lib/modal/props.mixin.d.ts +87 -10
- package/lib/navigation/index.d.ts +292 -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 +283 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +65 -0
- package/lib/notify/notify.less +76 -0
- package/lib/notify/notify.variable.css +164 -0
- package/lib/notify/notifyConstructor.d.ts +135 -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 +278 -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 +364 -0
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +26 -14
- package/lib/popover/popover.d.ts +111 -45
- package/lib/popover/popover.less +59 -46
- package/lib/popover/popover.variable.css +64 -14
- package/lib/popover/props.d.ts +99 -0
- package/lib/preset.d.ts +7 -0
- package/lib/preset.js +1 -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 +237 -0
- package/lib/progress/index.d.ts +398 -0
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +8 -3
- package/lib/progress/progress.d.ts +88 -35
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +46 -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 +14 -8
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +16 -9
- package/lib/radio/radio.variable.css +53 -9
- 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 +288 -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 +245 -29
- package/lib/select/select.d.ts +282 -156
- package/lib/select/select.less +237 -40
- package/lib/select/select.variable.css +283 -29
- 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 +71 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +33 -3
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +10 -2
- package/lib/shared/{bk-popover.d.ts → popover.d.ts} +60 -6
- package/lib/shared/token.d.ts +2 -0
- package/lib/shared/utils.d.ts +6 -0
- package/lib/shared/vue-types.d.ts +12 -7
- package/lib/shared/z-index-manager.d.ts +6 -1
- package/lib/sideslider/index.d.ts +531 -0
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.css +48 -3
- package/lib/sideslider/sideslider.d.ts +205 -30
- package/lib/sideslider/sideslider.less +65 -6
- package/lib/sideslider/sideslider.variable.css +86 -3
- package/lib/slider/index.d.ts +440 -0
- 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 +248 -0
- package/lib/steps/index.d.ts +250 -0
- package/lib/steps/index.js +1 -15
- package/lib/steps/steps.css +4 -1
- package/lib/steps/steps.d.ts +42 -29
- package/lib/steps/steps.less +5 -1
- package/lib/steps/steps.variable.css +42 -1
- package/lib/styles/index.d.ts +51 -0
- package/lib/styles/mixins/clearfix.css +8 -0
- package/lib/styles/mixins/clearfix.less +10 -0
- package/lib/styles/mixins/clearfix.variable.css +8 -0
- package/lib/styles/mixins/mixins.css +8 -0
- package/lib/styles/mixins/mixins.less +1 -0
- package/lib/styles/mixins/mixins.variable.css +8 -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 +60 -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 +157 -135
- package/lib/switcher/switcher.d.ts +48 -32
- package/lib/switcher/switcher.less +211 -153
- package/lib/switcher/switcher.variable.css +195 -135
- package/lib/tab/index.d.ts +440 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +194 -0
- package/lib/tab/tab-nav.d.ts +169 -0
- package/lib/tab/tab-panel.d.ts +73 -0
- package/lib/tab/tab.css +167 -0
- package/lib/tab/tab.d.ts +139 -0
- package/lib/tab/tab.less +228 -0
- package/lib/tab/tab.variable.css +266 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +359 -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 +167 -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 +121 -0
- package/lib/table/plugins/settings.css +110 -0
- package/lib/table/plugins/settings.less +136 -0
- package/lib/table/plugins/settings.variable.css +209 -0
- package/lib/table/props.d.ts +189 -0
- package/lib/table/render.d.ts +121 -0
- package/lib/table/table.css +387 -0
- package/lib/table/table.d.ts +114 -36
- package/lib/table/table.less +229 -1
- package/lib/table/table.variable.css +425 -0
- package/lib/table/use-common.d.ts +19 -0
- package/lib/table/utils.d.ts +93 -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 +135 -0
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +894 -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 +209 -0
- package/lib/tag-input/tag-input.d.ts +374 -0
- package/lib/tag-input/tag-input.less +251 -0
- package/lib/tag-input/tag-input.variable.css +308 -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 +334 -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 +257 -0
- package/lib/tree/constant.d.ts +29 -0
- package/lib/tree/index.d.ts +404 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +145 -0
- package/lib/tree/tree.css +53 -0
- package/lib/tree/tree.d.ts +172 -0
- package/lib/tree/tree.less +66 -0
- package/lib/tree/tree.variable.css +152 -0
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +10 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +22 -0
- package/lib/tree/use-node-drag.d.ts +3 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/use-tree-init.d.ts +12 -0
- package/lib/tree/util.d.ts +66 -0
- package/lib/upload/index.d.ts +2 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +113 -0
- package/lib/upload/upload-list.d.ts +46 -0
- package/lib/upload/upload-trigger.d.ts +54 -0
- package/lib/upload/upload.css +374 -0
- package/lib/upload/upload.d.ts +252 -0
- package/lib/upload/upload.less +455 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +473 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/use-form.d.ts +3 -0
- package/lib/use-message.d.ts +2 -0
- package/lib/virtual-render/index.d.ts +579 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +167 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +6 -0
- package/lib/virtual-render/virtual-render.css +33 -0
- package/lib/virtual-render/virtual-render.d.ts +255 -0
- package/lib/virtual-render/virtual-render.less +43 -0
- package/lib/virtual-render/virtual-render.variable.css +33 -0
- package/package.json +107 -78
- package/dist/bkui-vue.cjs.js +0 -4978
- package/dist/bkui-vue.esm.js +0 -4974
- package/dist/bkui-vue.umd.js +0 -4981
- 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/steps/steps.less
CHANGED
@@ -142,6 +142,10 @@
|
|
142
142
|
.bk-step-description {
|
143
143
|
color: @default-color;
|
144
144
|
}
|
145
|
+
|
146
|
+
.bk-steps-icon {
|
147
|
+
font-size: 22px;
|
148
|
+
}
|
145
149
|
}
|
146
150
|
|
147
151
|
&.current {
|
@@ -288,7 +292,7 @@
|
|
288
292
|
}
|
289
293
|
|
290
294
|
.bk-step-number {
|
291
|
-
font-size:
|
295
|
+
font-size: 12px;
|
292
296
|
}
|
293
297
|
|
294
298
|
.bk-icon {
|
@@ -1,12 +1,15 @@
|
|
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;
|
12
|
+
--whitesmoke-color: #fafbfd;
|
10
13
|
--disable-color: #dcdee5;
|
11
14
|
--font-size-base: 12px;
|
12
15
|
--font-size-medium: 14px;
|
@@ -58,6 +61,41 @@
|
|
58
61
|
--link-success-disabled-color: #94f5a4;
|
59
62
|
--link-warning-disabled-color: #ffd695;
|
60
63
|
--link-danger-disabled-color: #fd9c9c;
|
64
|
+
--message-color: var(--default-color);
|
65
|
+
--message-primary-bg-color: #f0f8ff;
|
66
|
+
--message-primary-border-color: #e1ecff;
|
67
|
+
--message-warning-bg-color: #fff4e2;
|
68
|
+
--message-warning-border-color: #ffe8c3;
|
69
|
+
--message-success-bg-color: #f2fff4;
|
70
|
+
--message-success-border-color: #dcffe2;
|
71
|
+
--message-danger-bg-color: #ffeded;
|
72
|
+
--message-danger-border-color: #ffdddd;
|
73
|
+
--slider-default-bg: #dcdee5;
|
74
|
+
--slider-disable-bar-bg: #979ba5;
|
75
|
+
--menu-bg-color: #182132;
|
76
|
+
--submenu-bg-color: #151d2c;
|
77
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
78
|
+
--menu-color: #96a2b9;
|
79
|
+
--menu-group-color: var(--default-color);
|
80
|
+
--menu-width: 260px;
|
81
|
+
--menu-collapse-width: 60px;
|
82
|
+
--menu-active-color: white;
|
83
|
+
--nav-header-bg-color: #182132;
|
84
|
+
--nav-bg-color: #182132;
|
85
|
+
--date-picker-disabled-bg: #fafbfd;
|
86
|
+
--date-picker-dropdown-mb: 4px;
|
87
|
+
--date-picker-dropdown-bg: #fff;
|
88
|
+
--table-bg-color: var(--white-color);
|
89
|
+
--table-border-color: #dcdee5;
|
90
|
+
--table-head-bg-color: #fafbfd;
|
91
|
+
--table-head-font-color: #313238;
|
92
|
+
--table-body-font-color: #575961;
|
93
|
+
--table-row-hover-bg-color: #f5f7fa;
|
94
|
+
--table-row-active-bg-color: #f0f1f5;
|
95
|
+
--cascader-panel-border-color: #dcdee5;
|
96
|
+
--cascader-panel-hover: #eaf3ff;
|
97
|
+
--cascader-panel-active: #f4f6fa;
|
98
|
+
--cascader-panel-disabled-bg: #fff;
|
61
99
|
}
|
62
100
|
* {
|
63
101
|
box-sizing: border-box;
|
@@ -178,6 +216,9 @@
|
|
178
216
|
.bk-steps .bk-step.done .bk-step-description {
|
179
217
|
color: var(--default-color);
|
180
218
|
}
|
219
|
+
.bk-steps .bk-step.done .bk-steps-icon {
|
220
|
+
font-size: 22px;
|
221
|
+
}
|
181
222
|
.bk-steps .bk-step.current .bk-step-number,
|
182
223
|
.bk-steps .bk-step.current .bk-step-icon,
|
183
224
|
.bk-steps .bk-step.current .bk-step-text {
|
@@ -327,7 +368,7 @@
|
|
327
368
|
line-height: 20px;
|
328
369
|
}
|
329
370
|
.bk-steps-small .bk-step .bk-step-number {
|
330
|
-
font-size:
|
371
|
+
font-size: 12px;
|
331
372
|
}
|
332
373
|
.bk-steps-small .bk-step .bk-icon {
|
333
374
|
font-size: 20px;
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import './reset.less';
|
2
|
+
import '../alert/alert.less';
|
3
|
+
import '../affix/affix.less';
|
4
|
+
import '../backtop/backtop.less';
|
5
|
+
import '../badge/badge.less';
|
6
|
+
import '../breadcrumb/breadcrumb.less';
|
7
|
+
import '../button/button.less';
|
8
|
+
import '../card/card.less';
|
9
|
+
import '../checkbox/checkbox.less';
|
10
|
+
import '../collapse/collapse.less';
|
11
|
+
import '../dialog/dialog.less';
|
12
|
+
import '../exception/exception.less';
|
13
|
+
import '../fixed-navbar/fixed-navbar.less';
|
14
|
+
import '../input/input.less';
|
15
|
+
import '../link/link.less';
|
16
|
+
import '../dropdown/dropdown.less';
|
17
|
+
import '../loading/loading.less';
|
18
|
+
import '../modal/modal.less';
|
19
|
+
import '../popover/popover.less';
|
20
|
+
import '../progress/progress.less';
|
21
|
+
import '../radio/radio.less';
|
22
|
+
import '../rate/rate.less';
|
23
|
+
import '../rate/star.less';
|
24
|
+
import '../swiper/swiper.less';
|
25
|
+
import '../select/select.less';
|
26
|
+
import '../sideslider/sideslider.less';
|
27
|
+
import '../switcher/switcher.less';
|
28
|
+
import '../table/table.less';
|
29
|
+
import '../tag/tag.less';
|
30
|
+
import '../form/form.less';
|
31
|
+
import '../steps/steps.less';
|
32
|
+
import '../message/message.less';
|
33
|
+
import '../notify/notify.less';
|
34
|
+
import '../tree/tree.less';
|
35
|
+
import '../slider/slider.less';
|
36
|
+
import '../menu/menu.less';
|
37
|
+
import '../navigation/navigation.less';
|
38
|
+
import '../date-picker/date-picker.less';
|
39
|
+
import '../divider/divider.less';
|
40
|
+
import '../tab/tab.less';
|
41
|
+
import '../process/process.less';
|
42
|
+
import '../virtual-render/virtual-render.less';
|
43
|
+
import '../transfer/transfer.less';
|
44
|
+
import '../pagination/pagination.less';
|
45
|
+
import '../timeline/timeline.less';
|
46
|
+
import '../code-diff/code-diff.less';
|
47
|
+
import '../resize-layout/resize-layout.less';
|
48
|
+
import '../upload/upload.less';
|
49
|
+
import '../tag-input/tag-input.less';
|
50
|
+
import '../container/container.less';
|
51
|
+
import '../cascader/cascader.less';
|
@@ -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
|
+
}
|
@@ -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
|
+
}
|