bkui-vue 0.0.2-beta.99 → 0.0.2-modal-refactor.1
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/dist/index.cjs.js +48 -48
- package/dist/index.esm.js +12578 -12295
- package/dist/index.umd.js +34 -34
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +0 -122
- package/lib/affix/affix.variable.css +5 -245
- package/lib/alert/alert.css +3 -125
- package/lib/alert/alert.variable.css +5 -245
- package/lib/backtop/backtop.css +3 -125
- package/lib/backtop/backtop.variable.css +8 -370
- package/lib/badge/badge.css +34 -150
- package/lib/badge/badge.less +8 -4
- package/lib/badge/badge.variable.css +13 -247
- package/lib/breadcrumb/breadcrumb.css +5 -127
- package/lib/breadcrumb/breadcrumb.variable.css +10 -372
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/button.css +137 -256
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.less +98 -93
- package/lib/button/button.variable.css +23 -260
- package/lib/button/index.d.ts +5 -5
- package/lib/card/card.css +11 -133
- package/lib/card/card.less +7 -7
- package/lib/card/card.variable.css +16 -378
- package/lib/cascader/cascader-panel.d.ts +1 -0
- package/lib/cascader/cascader.css +26 -148
- package/lib/cascader/cascader.d.ts +1 -0
- package/lib/cascader/cascader.less +4 -6
- package/lib/cascader/cascader.variable.css +31 -393
- package/lib/cascader/index.d.ts +4 -0
- package/lib/cascader/index.js +31 -14
- package/lib/checkbox/checkbox.css +22 -132
- package/lib/checkbox/checkbox.d.ts +9 -8
- package/lib/checkbox/checkbox.less +15 -1
- package/lib/checkbox/checkbox.variable.css +18 -246
- package/lib/checkbox/common.d.ts +1 -0
- package/lib/checkbox/index.d.ts +15 -12
- package/lib/checkbox/index.js +33 -9
- package/lib/code-diff/code-diff.css +0 -122
- package/lib/code-diff/code-diff.variable.css +5 -245
- package/lib/collapse/collapse.css +1 -123
- package/lib/collapse/collapse.variable.css +5 -245
- package/lib/collapse-transition/collapse-transition.css +0 -122
- package/lib/collapse-transition/collapse-transition.variable.css +5 -245
- package/lib/color-picker/color-picker.css +0 -122
- package/lib/color-picker/color-picker.variable.css +5 -245
- package/lib/config-provider/config-provider.css +0 -122
- package/lib/config-provider/config-provider.d.ts +18 -0
- package/lib/config-provider/config-provider.variable.css +5 -245
- package/lib/config-provider/index.d.ts +24 -0
- package/lib/config-provider/token.d.ts +6 -0
- package/lib/container/container.css +0 -122
- package/lib/container/container.variable.css +5 -367
- package/lib/date-picker/common.d.ts +2 -0
- package/lib/date-picker/date-picker.css +17 -139
- package/lib/date-picker/date-picker.d.ts +2 -0
- package/lib/date-picker/date-picker.variable.css +5 -245
- package/lib/date-picker/index.d.ts +6 -0
- package/lib/date-picker/index.js +184 -110
- package/lib/date-picker/panel/date.d.ts +2 -2
- package/lib/date-picker/panel/time-range.d.ts +17 -0
- package/lib/date-picker/panel/time.d.ts +17 -1
- package/lib/date-picker/time-picker.d.ts +2 -0
- package/lib/dialog/dialog.css +66 -162
- package/lib/dialog/dialog.d.ts +16 -7
- package/lib/dialog/dialog.less +9 -8
- package/lib/dialog/dialog.variable.css +71 -407
- package/lib/dialog/index.d.ts +28 -12
- package/lib/dialog/index.js +4 -7
- package/lib/dialog/props.d.ts +7 -3
- package/lib/directives/index.js +15 -4
- package/lib/divider/divider.css +3 -125
- package/lib/divider/divider.variable.css +5 -245
- package/lib/dropdown/dropdown.css +1 -123
- package/lib/dropdown/dropdown.variable.css +6 -368
- package/lib/dropdown/index.js +2 -2
- package/lib/exception/exception.css +0 -122
- package/lib/exception/exception.variable.css +5 -245
- package/lib/fixed-navbar/fixed-navbar.css +4 -126
- package/lib/fixed-navbar/fixed-navbar.variable.css +5 -245
- package/lib/form/form.css +2 -123
- package/lib/form/form.less +3 -2
- package/lib/form/form.variable.css +7 -246
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +58 -25
- package/lib/icon/loading.d.ts +4 -0
- package/lib/icon/loading.js +276 -0
- package/lib/image/image-viewer.css +0 -122
- package/lib/image/image-viewer.variable.css +5 -245
- package/lib/image/image.css +0 -122
- package/lib/image/image.variable.css +5 -367
- package/lib/info-box/index.js +4 -7
- package/lib/info-box/info-box.css +0 -122
- package/lib/info-box/info-box.variable.css +5 -245
- package/lib/input/index.d.ts +4 -4
- package/lib/input/index.js +12 -5
- package/lib/input/input.css +84 -190
- package/lib/input/input.d.ts +3 -3
- package/lib/input/input.less +19 -0
- package/lib/input/input.variable.css +89 -435
- package/lib/link/link.css +16 -138
- package/lib/link/link.variable.css +5 -245
- package/lib/loading/index.d.ts +3 -3
- package/lib/loading/loading.css +25 -147
- package/lib/loading/loading.d.ts +1 -1
- package/lib/loading/loading.less +14 -9
- package/lib/loading/loading.variable.css +30 -392
- package/lib/locale/index.js +14 -2
- package/lib/locale/lang/en.d.ts +6 -0
- package/lib/menu/menu.css +18 -140
- package/lib/menu/menu.variable.css +23 -385
- package/lib/menu/submenu.css +0 -122
- package/lib/menu/submenu.variable.css +5 -245
- package/lib/message/message.css +21 -143
- package/lib/message/message.variable.css +5 -245
- package/lib/modal/index.d.ts +97 -54
- package/lib/modal/index.js +131 -103
- package/lib/modal/modal.css +25 -122
- package/lib/modal/modal.d.ts +36 -18
- package/lib/modal/modal.less +33 -0
- package/lib/modal/modal.variable.css +30 -367
- package/lib/modal/props.mixin.d.ts +7 -3
- package/lib/navigation/navigation.css +2 -124
- package/lib/navigation/navigation.variable.css +5 -245
- package/lib/notify/notify.css +13 -135
- package/lib/notify/notify.less +6 -6
- package/lib/notify/notify.variable.css +11 -251
- package/lib/overflow-title/components/overflow-title.d.ts +0 -1
- package/lib/overflow-title/index.js +2 -178
- package/lib/pagination/index.d.ts +4 -4
- package/lib/pagination/pagination.css +2 -123
- package/lib/pagination/pagination.d.ts +3 -3
- package/lib/pagination/pagination.less +1 -0
- package/lib/pagination/pagination.variable.css +6 -245
- package/lib/plugin-popover/index.js +31 -103
- package/lib/pop-confirm/index.d.ts +42 -3
- package/lib/pop-confirm/index.js +55 -47
- package/lib/pop-confirm/pop-confirm.css +4 -126
- package/lib/pop-confirm/pop-confirm.d.ts +14 -1
- package/lib/pop-confirm/pop-confirm.less +4 -4
- package/lib/pop-confirm/pop-confirm.variable.css +9 -249
- package/lib/popover/index.js +31 -103
- package/lib/popover/popover.css +1 -123
- package/lib/popover/popover.less +1 -1
- package/lib/popover/popover.variable.css +6 -246
- package/lib/preset.d.ts +12 -0
- package/lib/process/process.css +13 -135
- package/lib/process/process.variable.css +5 -245
- package/lib/progress/index.d.ts +4 -4
- package/lib/progress/progress.css +11 -129
- package/lib/progress/progress.d.ts +3 -3
- package/lib/progress/progress.less +8 -3
- package/lib/progress/progress.variable.css +16 -374
- package/lib/radio/common.d.ts +1 -0
- package/lib/radio/index.d.ts +8 -2
- package/lib/radio/index.js +11 -3
- package/lib/radio/radio-button.d.ts +4 -3
- package/lib/radio/radio-group.d.ts +3 -0
- package/lib/radio/radio.css +49 -157
- package/lib/radio/radio.d.ts +1 -0
- package/lib/radio/radio.less +42 -8
- package/lib/radio/radio.variable.css +25 -251
- package/lib/rate/index.d.ts +4 -4
- package/lib/rate/index.js +22 -6
- package/lib/rate/rate.css +0 -122
- package/lib/rate/rate.d.ts +2 -2
- package/lib/rate/rate.variable.css +5 -245
- package/lib/rate/star.css +3 -122
- package/lib/rate/star.less +3 -0
- package/lib/rate/star.variable.css +8 -245
- package/lib/resize-layout/index.d.ts +3 -3
- package/lib/resize-layout/resize-layout.css +2 -124
- package/lib/resize-layout/resize-layout.d.ts +1 -1
- package/lib/resize-layout/resize-layout.less +2 -2
- package/lib/resize-layout/resize-layout.variable.css +7 -247
- package/lib/search-select/index.js +6 -6
- package/lib/search-select/search-select.css +34 -156
- package/lib/search-select/search-select.less +9 -9
- package/lib/search-select/search-select.variable.css +39 -401
- package/lib/select/common.d.ts +3 -1
- package/lib/select/index.d.ts +92 -21
- package/lib/select/index.js +193 -63
- package/lib/select/option.d.ts +1 -0
- package/lib/select/select.css +27 -146
- package/lib/select/select.d.ts +38 -9
- package/lib/select/select.less +3 -0
- package/lib/select/select.variable.css +32 -391
- package/lib/select/selectTagInput.d.ts +2 -0
- package/lib/select/type.d.ts +3 -0
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/index.js +50 -5
- package/lib/shared/mask.d.ts +11 -0
- package/lib/shared/vue-types.d.ts +1 -1
- package/lib/sideslider/index.d.ts +28 -12
- package/lib/sideslider/index.js +0 -11
- package/lib/sideslider/sideslider.css +12 -134
- package/lib/sideslider/sideslider.d.ts +16 -7
- package/lib/sideslider/sideslider.less +80 -77
- package/lib/sideslider/sideslider.variable.css +16 -256
- package/lib/slider/index.js +7 -1
- package/lib/slider/slider.css +6 -126
- package/lib/slider/slider.less +2 -0
- package/lib/slider/slider.variable.css +7 -245
- package/lib/steps/index.d.ts +4 -4
- package/lib/steps/index.js +1 -1
- package/lib/steps/steps.css +53 -163
- package/lib/steps/steps.d.ts +3 -3
- package/lib/steps/steps.less +26 -5
- package/lib/steps/steps.variable.css +23 -251
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/mixins/animate.css +0 -122
- package/lib/styles/mixins/animate.variable.css +5 -245
- package/lib/styles/mixins/mixins.css +0 -122
- package/lib/styles/mixins/mixins.variable.css +0 -122
- package/lib/styles/mixins/popper.css +0 -122
- package/lib/styles/mixins/popper.variable.css +5 -245
- package/lib/styles/mixins/scroll.css +0 -122
- package/lib/styles/mixins/scroll.variable.css +5 -245
- package/lib/styles/reset.css +0 -122
- package/lib/styles/reset.variable.css +5 -245
- package/lib/styles/themes/themes.less +124 -289
- package/lib/swiper/swiper.css +0 -122
- package/lib/swiper/swiper.variable.css +5 -245
- package/lib/switcher/index.d.ts +4 -4
- package/lib/switcher/switcher.css +17 -139
- package/lib/switcher/switcher.d.ts +3 -3
- package/lib/switcher/switcher.variable.css +22 -384
- package/lib/tab/tab.css +17 -139
- package/lib/tab/tab.variable.css +5 -245
- package/lib/table/components/table-column.d.ts +5 -4
- package/lib/table/index.d.ts +8 -7
- package/lib/table/index.js +877 -630
- package/lib/table/plugins/body-empty.d.ts +1 -1
- package/lib/table/plugins/head-filter.css +1 -150
- package/lib/table/plugins/head-filter.less +2 -34
- package/lib/table/plugins/head-filter.variable.css +6 -273
- package/lib/table/plugins/head-sort.css +0 -122
- package/lib/table/plugins/head-sort.variable.css +5 -245
- package/lib/table/plugins/settings.css +0 -122
- package/lib/table/plugins/settings.d.ts +0 -7
- package/lib/table/plugins/settings.variable.css +5 -245
- package/lib/table/plugins/use-head-cell.d.ts +7 -0
- package/lib/table/plugins/use-pagination.d.ts +2 -1
- package/lib/table/props.d.ts +3 -1
- package/lib/table/table.css +207 -337
- package/lib/table/table.d.ts +1 -1
- package/lib/table/table.less +27 -21
- package/lib/table/table.variable.css +212 -582
- package/lib/table/use-attributes.d.ts +5 -1
- package/lib/table/use-column.d.ts +3 -0
- package/lib/table/use-common.d.ts +0 -1
- package/lib/table/utils.d.ts +6 -4
- package/lib/table-column/index.d.ts +13 -10
- package/lib/tag/tag.css +5 -127
- package/lib/tag/tag.variable.css +5 -245
- package/lib/tag-input/index.js +17 -13
- package/lib/tag-input/list-tag-render.d.ts +11 -0
- package/lib/tag-input/tag-input.css +18 -140
- package/lib/tag-input/tag-input.d.ts +14 -2
- package/lib/tag-input/tag-input.variable.css +5 -245
- package/lib/time-picker/index.d.ts +6 -0
- package/lib/time-picker/time-picker.css +4 -125
- package/lib/time-picker/time-picker.less +5 -9
- package/lib/time-picker/time-picker.variable.css +9 -248
- package/lib/timeline/timeline.css +19 -141
- package/lib/timeline/timeline.variable.css +5 -245
- package/lib/transfer/transfer.css +21 -143
- package/lib/transfer/transfer.less +2 -2
- package/lib/transfer/transfer.variable.css +7 -247
- package/lib/tree/index.d.ts +3 -3
- package/lib/tree/index.js +54 -8
- package/lib/tree/tree.css +22 -132
- package/lib/tree/tree.d.ts +5 -1
- package/lib/tree/tree.variable.css +27 -377
- package/lib/tree/use-empty.d.ts +1 -3
- package/lib/upload/index.js +2 -2
- package/lib/upload/upload.css +27 -149
- package/lib/upload/upload.variable.css +32 -394
- package/lib/virtual-render/index.js +71 -30
- package/lib/virtual-render/use-fix-top.d.ts +18 -0
- package/lib/virtual-render/v-virtual-render.d.ts +5 -0
- package/lib/virtual-render/virtual-render.css +0 -122
- package/lib/virtual-render/virtual-render.variable.css +5 -367
- package/package.json +4 -3
- package/lib/styles/themes/themes.css +0 -122
- package/lib/styles/themes/themes.variable.css +0 -122
- package/lib/table/render.d.ts +0 -130
- /package/lib/overflow-title/{overflow.css → overflow-title.css} +0 -0
- /package/lib/overflow-title/{overflow.less → overflow-title.less} +0 -0
- /package/lib/overflow-title/{overflow.variable.css → overflow-title.variable.css} +0 -0
package/lib/input/input.css
CHANGED
@@ -1,125 +1,3 @@
|
|
1
|
-
:root {
|
2
|
-
--bk-prefix: bk;
|
3
|
-
--popover-max-height: 216px;
|
4
|
-
--primary-color: #3a84ff;
|
5
|
-
--success-color: #2dcb56;
|
6
|
-
--warning-color: #ff9c01;
|
7
|
-
--danger-color: #ea3636;
|
8
|
-
--default-color: #63656e;
|
9
|
-
--gray-color: #979ba5;
|
10
|
-
--light-gray: #c4c6cc;
|
11
|
-
--white-color: white;
|
12
|
-
--whitesmoke-color: #fafbfd;
|
13
|
-
--disable-color: #dcdee5;
|
14
|
-
--font-size-base: 12px;
|
15
|
-
--font-size-medium: 14px;
|
16
|
-
--font-size-large: 16px;
|
17
|
-
--line-height-base: 16px;
|
18
|
-
--line-height-medium: 16px;
|
19
|
-
--line-height-large: 18px;
|
20
|
-
--component-size-small: 26px;
|
21
|
-
--component-size-base: 32px;
|
22
|
-
--component-size-large: 40px;
|
23
|
-
--border-width-base: 1px;
|
24
|
-
--border-style-base: solid;
|
25
|
-
--border-radius-base: 2px;
|
26
|
-
--border-style-color: var(--light-gray);
|
27
|
-
--input-disabled-bg: #fafbfd;
|
28
|
-
--input-disabled-border: var(--disable-color);
|
29
|
-
--input-height-base: var(--component-size-base);
|
30
|
-
--input-color: var(--default-color);
|
31
|
-
--input-bg: white;
|
32
|
-
--input-border-color: var(--light-gray);
|
33
|
-
--input-broder-radius: 3px;
|
34
|
-
--input-shadow-color: #a3c5fd;
|
35
|
-
--input-horizontal-padding: 10px;
|
36
|
-
--input-block-color: #f5f7fa;
|
37
|
-
--input-block-hover-color: #eaebf0;
|
38
|
-
--input-icon-size: var(--font-size-medium);
|
39
|
-
--input-maxlength-color: #979ba5;
|
40
|
-
--button-primary-hover-color: #5594fa;
|
41
|
-
--button-danger-hover-color: #ff5656;
|
42
|
-
--button-success-hover-color: #45e35f;
|
43
|
-
--button-warning-hover-color: #ffb848;
|
44
|
-
--button-default-hover-border-color: #979ba5;
|
45
|
-
--button-primary-active-color: #2c77f4;
|
46
|
-
--button-danger-active-color: #db2626;
|
47
|
-
--button-success-active-color: #1ab943;
|
48
|
-
--button-warning-active-color: #eb9000;
|
49
|
-
--button-selected-bg-color: #e1ecff;
|
50
|
-
--button-disabled-selected-bg-color: #f0f1f5;
|
51
|
-
--radio-font-color: #63656e;
|
52
|
-
--radio-active-color: #3a84ff;
|
53
|
-
--radio-hover-border-color: #979ba5;
|
54
|
-
--radio-disabled-border: #dcdee5;
|
55
|
-
--radio-disabled-font-color: #c4c6cc;
|
56
|
-
--radio-disabled-checked-bg: #a3c5fd;
|
57
|
-
--radio-button-checked-bg: #e1ecff;
|
58
|
-
--radio-button-disabled-checked-bg: #fafbfd;
|
59
|
-
--checkbox-disabled-checked-bg: #a3c5fd;
|
60
|
-
--fixed-navbar-background: #fff;
|
61
|
-
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
62
|
-
--switch-default-color: #fff;
|
63
|
-
--switch-grey-color: #c4c6cc;
|
64
|
-
--breadcrumb-black-color: #979ba5;
|
65
|
-
--breadcrumb-primary-hover-color: #0082ff;
|
66
|
-
--breadcrumb-fn-main-color: #63656e;
|
67
|
-
--link-default-hover-color: #979ba5;
|
68
|
-
--link-primary-hover-color: #699df4;
|
69
|
-
--link-success-hover-color: #45e35f;
|
70
|
-
--link-warning-hover-color: #ffb848;
|
71
|
-
--link-danger-hover-color: #ff5656;
|
72
|
-
--link-default-disabled-color: #dcdee5;
|
73
|
-
--link-primary-disabled-color: #a3c5fd;
|
74
|
-
--link-success-disabled-color: #94f5a4;
|
75
|
-
--link-warning-disabled-color: #ffd695;
|
76
|
-
--link-danger-disabled-color: #fd9c9c;
|
77
|
-
--message-color: var(--default-color);
|
78
|
-
--message-primary-bg-color: #f0f8ff;
|
79
|
-
--message-primary-border-color: #e1ecff;
|
80
|
-
--message-primary-shadow-color: #e1e8f4;
|
81
|
-
--message-warning-bg-color: #fff4e2;
|
82
|
-
--message-warning-border-color: #ffe8c3;
|
83
|
-
--message-warning-shadow-color: #ede6db;
|
84
|
-
--message-success-bg-color: #f2fff4;
|
85
|
-
--message-success-border-color: #dcffe2;
|
86
|
-
--message-success-shadow-color: #cef0d7;
|
87
|
-
--message-danger-bg-color: #ffeded;
|
88
|
-
--message-danger-border-color: #ffdddd;
|
89
|
-
--message-danger-shadow-color: #f6dada;
|
90
|
-
--slider-default-bg: #dcdee5;
|
91
|
-
--slider-disable-bar-bg: #979ba5;
|
92
|
-
--menu-bg-color: #182132;
|
93
|
-
--submenu-bg-color: #151d2c;
|
94
|
-
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
95
|
-
--menu-color: #96a2b9;
|
96
|
-
--menu-group-color: var(--default-color);
|
97
|
-
--menu-width: 260px;
|
98
|
-
--menu-collapse-width: 60px;
|
99
|
-
--menu-active-color: white;
|
100
|
-
--nav-header-bg-color: #182132;
|
101
|
-
--nav-bg-color: #182132;
|
102
|
-
--date-picker-disabled-bg: #fafbfd;
|
103
|
-
--date-picker-dropdown-mb: 4px;
|
104
|
-
--date-picker-dropdown-bg: #fff;
|
105
|
-
--table-bg-color: var(--white-color);
|
106
|
-
--table-border-color: #dcdee5;
|
107
|
-
--table-head-bg-color: #fafbfd;
|
108
|
-
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #63656E;
|
110
|
-
--table-row-hover-bg-color: #f5f7fa;
|
111
|
-
--table-row-active-bg-color: #f0f1f5;
|
112
|
-
--cascader-panel-border-color: #dcdee5;
|
113
|
-
--cascader-panel-hover: #f5f7fa;
|
114
|
-
--cascader-panel-active: #e1ecff;
|
115
|
-
--cascader-panel-disabled-bg: #fff;
|
116
|
-
--search-select-focus-border-color: var(--primary-color);
|
117
|
-
--search-select-focus-color: #3c96ff;
|
118
|
-
--search-select-font-color: var(--default-color);
|
119
|
-
--search-select-placeholder-color: var(--light-gray);
|
120
|
-
--search-select-message-color: var(--danger-color);
|
121
|
-
--search-select-menu-border-color: var(--disable-color);
|
122
|
-
}
|
123
1
|
@keyframes loading-scale-animate {
|
124
2
|
0% {
|
125
3
|
transform: scale(1);
|
@@ -197,19 +75,19 @@
|
|
197
75
|
display: inline-flex;
|
198
76
|
width: 100%;
|
199
77
|
overflow: hidden;
|
200
|
-
font-size:
|
78
|
+
font-size: 12px;
|
201
79
|
line-height: var(--textarea-line-height);
|
202
|
-
color:
|
80
|
+
color: #63656e;
|
203
81
|
background-color: white;
|
204
|
-
border:
|
205
|
-
border-radius:
|
82
|
+
border: 1px solid #c4c6cc;
|
83
|
+
border-radius: 2px;
|
206
84
|
box-sizing: border-box;
|
207
85
|
transition: all 0.3s;
|
208
86
|
flex-direction: column;
|
209
87
|
}
|
210
88
|
.bk-textarea ::placeholder {
|
211
|
-
font-size:
|
212
|
-
color:
|
89
|
+
font-size: 12px;
|
90
|
+
color: #c4c6cc;
|
213
91
|
}
|
214
92
|
.bk-textarea.resizable {
|
215
93
|
resize: both;
|
@@ -224,8 +102,8 @@
|
|
224
102
|
}
|
225
103
|
.bk-textarea.is-disabled,
|
226
104
|
.bk-textarea.is-readonly {
|
227
|
-
background-color:
|
228
|
-
border-color:
|
105
|
+
background-color: #fafbfd;
|
106
|
+
border-color: #dcdee5;
|
229
107
|
}
|
230
108
|
.bk-textarea.is-disabled .bk-input--prefix-area,
|
231
109
|
.bk-textarea.is-readonly .bk-input--prefix-area,
|
@@ -234,14 +112,14 @@
|
|
234
112
|
.bk-textarea.is-disabled .bk-input--suffix-icon,
|
235
113
|
.bk-textarea.is-readonly .bk-input--suffix-icon {
|
236
114
|
cursor: not-allowed;
|
237
|
-
background-color:
|
115
|
+
background-color: #fafbfd;
|
238
116
|
}
|
239
117
|
.bk-textarea.is-disabled input,
|
240
118
|
.bk-textarea.is-readonly input,
|
241
119
|
.bk-textarea.is-disabled textarea,
|
242
120
|
.bk-textarea.is-readonly textarea {
|
243
121
|
cursor: not-allowed;
|
244
|
-
background-color:
|
122
|
+
background-color: #fafbfd;
|
245
123
|
opacity: 1;
|
246
124
|
}
|
247
125
|
.bk-textarea.is-readonly input,
|
@@ -254,48 +132,48 @@
|
|
254
132
|
line-height: 1.5;
|
255
133
|
text-align: left;
|
256
134
|
border: 0;
|
257
|
-
border-radius:
|
135
|
+
border-radius: 2px;
|
258
136
|
outline: none;
|
259
137
|
resize: none;
|
260
138
|
}
|
261
139
|
.bk-textarea--max-length {
|
262
|
-
padding-right:
|
140
|
+
padding-right: 8px;
|
263
141
|
margin: 0;
|
264
142
|
margin-left: auto;
|
265
|
-
font-size:
|
143
|
+
font-size: 12px;
|
266
144
|
text-align: right;
|
267
145
|
transform: scale(0.8);
|
268
146
|
justify-content: flex-end;
|
269
147
|
}
|
270
148
|
.bk-textarea--max-length.is-over-limit {
|
271
|
-
color:
|
149
|
+
color: #ea3636;
|
272
150
|
}
|
273
151
|
.bk-textarea--max-length span {
|
274
|
-
color:
|
152
|
+
color: #979ba5;
|
275
153
|
}
|
276
154
|
.bk-textarea.is-focused:not(.is-readonly) {
|
277
|
-
border-color:
|
155
|
+
border-color: #3a84ff;
|
278
156
|
outline: 0;
|
279
|
-
box-shadow: 0px 0px 3px 0px
|
157
|
+
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
280
158
|
}
|
281
159
|
.bk-input {
|
282
160
|
display: inline-flex;
|
283
161
|
align-items: stretch;
|
284
162
|
width: 100%;
|
285
|
-
height:
|
286
|
-
font-size:
|
287
|
-
border:
|
288
|
-
border-radius:
|
163
|
+
height: 32px;
|
164
|
+
font-size: 12px;
|
165
|
+
border: 1px solid #c4c6cc;
|
166
|
+
border-radius: 2px;
|
289
167
|
transition: all 0.3s;
|
290
168
|
}
|
291
169
|
.bk-input ::placeholder {
|
292
|
-
font-size:
|
293
|
-
color:
|
170
|
+
font-size: 12px;
|
171
|
+
color: #c4c6cc;
|
294
172
|
}
|
295
173
|
.bk-input.is-disabled,
|
296
174
|
.bk-input.is-readonly {
|
297
|
-
background-color:
|
298
|
-
border-color:
|
175
|
+
background-color: #fafbfd;
|
176
|
+
border-color: #dcdee5;
|
299
177
|
}
|
300
178
|
.bk-input.is-disabled .bk-input--prefix-area,
|
301
179
|
.bk-input.is-readonly .bk-input--prefix-area,
|
@@ -304,14 +182,14 @@
|
|
304
182
|
.bk-input.is-disabled .bk-input--suffix-icon,
|
305
183
|
.bk-input.is-readonly .bk-input--suffix-icon {
|
306
184
|
cursor: not-allowed;
|
307
|
-
background-color:
|
185
|
+
background-color: #fafbfd;
|
308
186
|
}
|
309
187
|
.bk-input.is-disabled input,
|
310
188
|
.bk-input.is-readonly input,
|
311
189
|
.bk-input.is-disabled textarea,
|
312
190
|
.bk-input.is-readonly textarea {
|
313
191
|
cursor: not-allowed;
|
314
|
-
background-color:
|
192
|
+
background-color: #fafbfd;
|
315
193
|
opacity: 1;
|
316
194
|
}
|
317
195
|
.bk-input.is-readonly input,
|
@@ -319,7 +197,7 @@
|
|
319
197
|
cursor: auto;
|
320
198
|
}
|
321
199
|
.bk-input:hover:not(.is-disabled) {
|
322
|
-
border-color:
|
200
|
+
border-color: #979ba5;
|
323
201
|
}
|
324
202
|
.bk-input:hover:not(.is-disabled) .show-clear-only-hover {
|
325
203
|
display: flex;
|
@@ -327,25 +205,25 @@
|
|
327
205
|
.bk-input.is-simplicity {
|
328
206
|
background-color: transparent;
|
329
207
|
border-color: transparent;
|
330
|
-
border-bottom-color:
|
208
|
+
border-bottom-color: #c4c6cc;
|
331
209
|
}
|
332
210
|
.bk-input.is-simplicity:hover:not(.is-disabled) {
|
333
|
-
background-color:
|
211
|
+
background-color: #f5f7fa;
|
334
212
|
border-color: transparent;
|
335
|
-
border-bottom-color:
|
213
|
+
border-bottom-color: #c4c6cc;
|
336
214
|
box-shadow: none;
|
337
215
|
}
|
338
216
|
.bk-input.is-simplicity:hover:not(.is-disabled) .bk-input--text,
|
339
217
|
.bk-input.is-simplicity:hover:not(.is-disabled) .bk-input--suffix-icon {
|
340
|
-
background-color:
|
218
|
+
background-color: #f5f7fa;
|
341
219
|
}
|
342
220
|
.bk-input--suffix-icon {
|
343
221
|
display: flex;
|
344
222
|
height: 100%;
|
345
|
-
padding-right:
|
346
|
-
font-size:
|
347
|
-
color:
|
348
|
-
background-color:
|
223
|
+
padding-right: 8px;
|
224
|
+
font-size: 14px;
|
225
|
+
color: #c4c6cc;
|
226
|
+
background-color: white;
|
349
227
|
align-items: center;
|
350
228
|
align-self: center;
|
351
229
|
flex-shrink: 0;
|
@@ -362,86 +240,86 @@
|
|
362
240
|
flex-shrink: 0;
|
363
241
|
}
|
364
242
|
.bk-input--clear-icon:hover {
|
365
|
-
color:
|
243
|
+
color: #979ba5;
|
366
244
|
}
|
367
245
|
.bk-input--large {
|
368
|
-
height:
|
369
|
-
font-size:
|
246
|
+
height: 40px;
|
247
|
+
font-size: 14px;
|
370
248
|
}
|
371
249
|
.bk-input--large ::placeholder {
|
372
|
-
font-size:
|
373
|
-
color:
|
250
|
+
font-size: 14px;
|
251
|
+
color: #c4c6cc;
|
374
252
|
}
|
375
253
|
.bk-input--large .bk-input--max-length {
|
376
|
-
font-size:
|
254
|
+
font-size: 16px;
|
377
255
|
}
|
378
256
|
.bk-input--large .bk-input--number-control span:first-child {
|
379
257
|
margin-bottom: 4px;
|
380
258
|
}
|
381
259
|
.bk-input--small {
|
382
|
-
height:
|
383
|
-
font-size:
|
260
|
+
height: 26px;
|
261
|
+
font-size: 12px;
|
384
262
|
}
|
385
263
|
.bk-input--small .bk-input--max-length {
|
386
|
-
font-size:
|
264
|
+
font-size: 12px;
|
387
265
|
}
|
388
266
|
.bk-input--default {
|
389
|
-
font-size:
|
267
|
+
font-size: 12px;
|
390
268
|
}
|
391
269
|
.bk-input--default .bk-input--max-length {
|
392
|
-
font-size:
|
270
|
+
font-size: 12px;
|
393
271
|
}
|
394
272
|
.bk-input.is-focused:not(.is-readonly) {
|
395
|
-
border-color:
|
273
|
+
border-color: #3a84ff;
|
396
274
|
outline: 0;
|
397
|
-
box-shadow: 0px 0px 3px 0px
|
275
|
+
box-shadow: 0px 0px 3px 0px #a3c5fd;
|
398
276
|
}
|
399
277
|
.bk-input.is-focused:not(.is-readonly).is-simplicity {
|
400
278
|
border-color: transparent;
|
401
|
-
border-bottom-color:
|
279
|
+
border-bottom-color: #3a84ff;
|
402
280
|
box-shadow: none;
|
403
281
|
}
|
404
282
|
.bk-input.is-focused:not(.is-readonly).is-simplicity .bk-input--text,
|
405
283
|
.bk-input.is-focused:not(.is-readonly).is-simplicity .bk-input--suffix-icon {
|
406
|
-
background-color:
|
284
|
+
background-color: #f5f7fa;
|
407
285
|
}
|
408
286
|
.bk-input--prefix-area,
|
409
287
|
.bk-input--suffix-area {
|
410
288
|
display: flex;
|
411
|
-
padding: 0
|
412
|
-
color:
|
413
|
-
background-color:
|
414
|
-
border-right: 1px solid
|
289
|
+
padding: 0 8px;
|
290
|
+
color: #63656e;
|
291
|
+
background-color: #f5f7fa;
|
292
|
+
border-right: 1px solid #c4c6cc;
|
415
293
|
align-items: center;
|
416
294
|
}
|
417
295
|
.bk-input--suffix-area {
|
418
296
|
border: 0;
|
419
|
-
border-left: 1px solid
|
297
|
+
border-left: 1px solid #c4c6cc;
|
420
298
|
}
|
421
299
|
.bk-input--max-length {
|
422
300
|
align-self: center;
|
423
|
-
padding-right:
|
301
|
+
padding-right: 8px;
|
424
302
|
font-size: 12px;
|
425
303
|
transform: scale(0.8);
|
426
304
|
}
|
427
305
|
.bk-input--max-length.is-over-limit {
|
428
|
-
color:
|
306
|
+
color: #ea3636;
|
429
307
|
}
|
430
308
|
.bk-input--max-length span {
|
431
|
-
color:
|
309
|
+
color: #979ba5;
|
432
310
|
}
|
433
311
|
.bk-input--text {
|
434
312
|
width: 100%;
|
435
|
-
padding: 0
|
313
|
+
padding: 0 8px;
|
436
314
|
overflow: hidden;
|
437
315
|
line-height: 1;
|
438
|
-
color:
|
316
|
+
color: #63656e;
|
439
317
|
text-overflow: ellipsis;
|
440
318
|
white-space: nowrap;
|
441
|
-
background-color:
|
319
|
+
background-color: white;
|
442
320
|
background-image: none;
|
443
321
|
border: none;
|
444
|
-
border-radius:
|
322
|
+
border-radius: 2px;
|
445
323
|
outline: none;
|
446
324
|
box-sizing: border-box;
|
447
325
|
transition: all 0.3s;
|
@@ -482,23 +360,39 @@
|
|
482
360
|
display: flex;
|
483
361
|
overflow: hidden;
|
484
362
|
line-height: 1;
|
485
|
-
color:
|
363
|
+
color: #979ba5;
|
486
364
|
text-align: center;
|
487
365
|
cursor: pointer;
|
488
|
-
background-color:
|
366
|
+
background-color: #f5f7fa;
|
489
367
|
flex: 1;
|
490
368
|
align-items: center;
|
491
369
|
}
|
492
370
|
.bk-input--number-control span.is-disabled {
|
493
|
-
color:
|
371
|
+
color: #c4c6cc;
|
494
372
|
cursor: not-allowed;
|
495
373
|
}
|
496
374
|
.bk-input--number-control svg {
|
497
|
-
font-size:
|
375
|
+
font-size: 14px;
|
498
376
|
}
|
499
377
|
.bk-input--number-control span:first-child {
|
500
378
|
transform: rotate(180deg);
|
501
379
|
}
|
502
380
|
.bk-input--number-control span:not(.is-disabled):hover {
|
503
|
-
background-color:
|
381
|
+
background-color: #eaebf0;
|
382
|
+
}
|
383
|
+
/* 针对 Chrome、Safari 和新版 Edge 的样式 */
|
384
|
+
input:-webkit-autofill,
|
385
|
+
input:-webkit-autofill:hover,
|
386
|
+
input:-webkit-autofill:focus,
|
387
|
+
input:-webkit-autofill:active {
|
388
|
+
-webkit-box-shadow: 0 0 0 100px white inset !important;
|
389
|
+
box-shadow: 0 0 0 100px white inset !important;
|
390
|
+
}
|
391
|
+
/* 针对 Firefox 的样式 */
|
392
|
+
input:-moz-autofill,
|
393
|
+
input:-moz-autofill:hover,
|
394
|
+
input:-moz-autofill:focus,
|
395
|
+
input:-moz-autofill:active {
|
396
|
+
-moz-box-shadow: 0 0 0 100px white inset !important;
|
397
|
+
box-shadow: 0 0 0 100px white inset !important;
|
504
398
|
}
|
package/lib/input/input.d.ts
CHANGED
@@ -74,7 +74,7 @@ export declare const inputType: {
|
|
74
74
|
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
75
75
|
};
|
76
76
|
modelValue: import("vue-types").VueTypeDef<string | number>;
|
77
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large">;
|
77
|
+
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
78
78
|
rows: import("vue-types").VueTypeValidableDef<number> & {
|
79
79
|
default: number;
|
80
80
|
};
|
@@ -219,7 +219,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
219
219
|
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
220
220
|
};
|
221
221
|
modelValue: import("vue-types").VueTypeDef<string | number>;
|
222
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large">;
|
222
|
+
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
223
223
|
rows: import("vue-types").VueTypeValidableDef<number> & {
|
224
224
|
default: number;
|
225
225
|
};
|
@@ -342,7 +342,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
342
342
|
validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
|
343
343
|
};
|
344
344
|
modelValue: import("vue-types").VueTypeDef<string | number>;
|
345
|
-
size: import("vue-types").VueTypeDef<"default" | "small" | "large">;
|
345
|
+
size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
|
346
346
|
rows: import("vue-types").VueTypeValidableDef<number> & {
|
347
347
|
default: number;
|
348
348
|
};
|
package/lib/input/input.less
CHANGED
@@ -344,4 +344,23 @@
|
|
344
344
|
background-color: @input-block-hover-color;
|
345
345
|
}
|
346
346
|
}
|
347
|
+
}
|
348
|
+
|
349
|
+
// 去掉自动填充时的背景颜色
|
350
|
+
/* 针对 Chrome、Safari 和新版 Edge 的样式 */
|
351
|
+
input:-webkit-autofill,
|
352
|
+
input:-webkit-autofill:hover,
|
353
|
+
input:-webkit-autofill:focus,
|
354
|
+
input:-webkit-autofill:active {
|
355
|
+
-webkit-box-shadow: 0 0 0 100px @input-bg inset !important;
|
356
|
+
box-shadow: 0 0 0 100px @input-bg inset !important;
|
357
|
+
}
|
358
|
+
|
359
|
+
/* 针对 Firefox 的样式 */
|
360
|
+
input:-moz-autofill,
|
361
|
+
input:-moz-autofill:hover,
|
362
|
+
input:-moz-autofill:focus,
|
363
|
+
input:-moz-autofill:active {
|
364
|
+
-moz-box-shadow: 0 0 0 100px @input-bg inset !important;
|
365
|
+
box-shadow: 0 0 0 100px @input-bg inset !important;
|
347
366
|
}
|