bkui-vue 0.0.1-beta.122 → 0.0.1-beta.125
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 +145 -31
- package/dist/index.esm.js +3494 -467
- package/dist/index.umd.js +145 -31
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -0
- package/lib/affix/affix.variable.css +2 -2
- package/lib/alert/alert.variable.css +2 -2
- package/lib/backtop/backtop.variable.css +2 -2
- package/lib/badge/badge.variable.css +2 -2
- package/lib/breadcrumb/breadcrumb.variable.css +2 -2
- package/lib/button/button.css +4 -0
- package/lib/button/button.less +13 -7
- package/lib/button/button.variable.css +6 -2
- package/lib/card/card.variable.css +2 -2
- package/lib/cascader/cascader.variable.css +2 -2
- package/lib/checkbox/checkbox.css +16 -4
- package/lib/checkbox/checkbox.d.ts +11 -3
- package/lib/checkbox/checkbox.less +22 -4
- package/lib/checkbox/checkbox.variable.css +18 -6
- package/lib/checkbox/index.d.ts +19 -5
- package/lib/checkbox/index.js +1 -1
- package/lib/code-diff/code-diff.variable.css +2 -2
- package/lib/collapse/collapse.variable.css +2 -2
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -1
- package/lib/container/container.variable.css +2 -2
- package/lib/date-picker/date-picker.variable.css +2 -2
- package/lib/directives/index.js +1 -1
- package/lib/directives/tooltips.d.ts +0 -1
- package/lib/divider/divider.variable.css +2 -2
- package/lib/dropdown/dropdown.variable.css +2 -2
- package/lib/exception/exception.variable.css +2 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +2 -2
- package/lib/form/form.variable.css +2 -2
- package/lib/input/index.js +1 -1
- package/lib/input/input.css +13 -5
- package/lib/input/input.less +12 -2
- package/lib/input/input.variable.css +12 -4
- package/lib/link/link.variable.css +2 -2
- package/lib/loading/loading.css +0 -2
- package/lib/loading/loading.less +2 -2
- package/lib/loading/loading.variable.css +2 -4
- package/lib/menu/menu.variable.css +2 -2
- package/lib/menu/submenu.variable.css +2 -2
- package/lib/message/message.variable.css +2 -2
- package/lib/navigation/navigation.variable.css +2 -2
- package/lib/notify/notify.variable.css +2 -2
- package/lib/pagination/pagination.variable.css +2 -2
- package/lib/popover/popover.variable.css +2 -2
- package/lib/popover2/popover2.variable.css +2 -2
- package/lib/process/process.variable.css +2 -2
- package/lib/progress/progress.variable.css +2 -2
- package/lib/radio/radio.variable.css +2 -2
- package/lib/resize-layout/resize-layout.variable.css +2 -2
- package/lib/select/select.variable.css +2 -2
- package/lib/sideslider/sideslider.variable.css +2 -2
- package/lib/slider/slider.variable.css +2 -2
- package/lib/steps/steps.variable.css +2 -2
- package/lib/styles/mixins/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +119 -0
- package/lib/styles/themes/themes.less +2 -2
- package/lib/switcher/switcher.variable.css +2 -2
- package/lib/tab/tab.variable.css +2 -2
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +5 -16
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.less +1 -1
- package/lib/table/plugins/head-filter.variable.css +2 -2
- package/lib/table/plugins/head-sort.less +1 -1
- package/lib/table/plugins/head-sort.variable.css +2 -2
- package/lib/table/plugins/settings.css +22 -4
- package/lib/table/plugins/settings.less +25 -5
- package/lib/table/plugins/settings.variable.css +24 -6
- package/lib/table/props.d.ts +7 -3
- package/lib/table/table.css +683 -7
- package/lib/table/table.d.ts +2 -7
- package/lib/table/table.less +9 -4
- package/lib/table/table.variable.css +685 -9
- package/lib/table/use-common.d.ts +4 -2
- package/lib/tag/tag.variable.css +2 -2
- package/lib/tag-input/tag-input.variable.css +2 -2
- package/lib/timeline/timeline.variable.css +2 -2
- package/lib/transfer/transfer.variable.css +2 -2
- package/lib/tree/constant.d.ts +3 -1
- package/lib/tree/index.d.ts +54 -2
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +16 -0
- package/lib/tree/tree.css +141 -0
- package/lib/tree/tree.d.ts +24 -0
- package/lib/tree/tree.less +26 -0
- package/lib/tree/tree.variable.css +143 -2
- package/lib/tree/use-node-action.d.ts +2 -1
- package/lib/tree/use-node-attribute.d.ts +2 -0
- package/lib/upload/upload.variable.css +2 -2
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/virtual-render.css +17 -17
- package/lib/virtual-render/virtual-render.less +2 -23
- package/lib/virtual-render/virtual-render.variable.css +119 -17
- package/package.json +2 -2
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
package/lib/input/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon"],r);else{var t="object"==typeof exports?r(require("../shared"),require("vue"),require("../icon")):r(e["../shared"],e.vue,e["../icon"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r,t)=>(()=>{"use strict";var o={6870:e=>{e.exports=t},4212:r=>{r.exports=e},748:e=>{e.exports=r}},n={};function a(e){var r=n[e];if(void 0!==r)return r.exports;var t=n[e]={exports:{}};return o[e](t,t.exports,a),t.exports}a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{a.r(l),a.d(l,{default:()=>v});var e=a(4212);function r(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}function t(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var o=a(748);Object.create,Object.create;var n,i,u=a(6870),s={type:e.PropTypes.string.def("text"),clearable:e.PropTypes.bool,disabled:e.PropTypes.bool,readonly:e.PropTypes.bool,placeholder:e.PropTypes.string.def("Enter"),prefixIcon:e.PropTypes.string,suffixIcon:e.PropTypes.string,suffix:e.PropTypes.string,prefix:e.PropTypes.string,step:e.PropTypes.integer,max:e.PropTypes.integer,min:e.PropTypes.integer,maxlength:e.PropTypes.integer,behavior:e.PropTypes.commonType(["simplicity","normal"]).def("normal"),showWordLimit:e.PropTypes.bool,showControl:e.PropTypes.bool.def(!0),showClearOnlyHover:e.PropTypes.bool.def(!1),precision:e.PropTypes.number.def(0).validate((function(e){return e>=0&&e<20})),modelValue:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def(""),size:e.PropTypes.size(),rows:e.PropTypes.number};function c(e,r){return{value:e,evt:r}}function p(e){return e}!function(e){e.UPDATE="update:modelValue",e.FOCUS="focus",e.BLUR="blur",e.CHANGE="change",e.CLEAR="clear",e.INPUT="input",e.KEYPRESS="keypress",e.KEYDOWN="keydown",e.KEYUP="keyup",e.ENTER="enter",e.PASTE="paste",e.COMPOSITIONSTART="compositionstart",e.COMPOSITIONUPDATE="compositionupdate",e.COMPOSITIONEND="compositionend"}(i||(i={}));var d=(t(n={},i.UPDATE,c),t(n,i.FOCUS,(function(e){return e})),t(n,i.BLUR,(function(e){return e})),t(n,i.CHANGE,c),t(n,i.CLEAR,(function(){return!0})),t(n,i.INPUT,c),t(n,i.KEYPRESS,c),t(n,i.KEYDOWN,c),t(n,i.KEYUP,c),t(n,i.ENTER,c),t(n,i.PASTE,c),t(n,i.COMPOSITIONSTART,p),t(n,i.COMPOSITIONUPDATE,p),t(n,i.COMPOSITIONEND,p),n);const f=(0,o.defineComponent)({name:"Input",inheritAttrs:!1,props:s,emits:d,setup:function(n,a){var l=(0,e.useFormItem)(),s=(0,o.ref)(!1),c=(0,o.ref)(!1),p=(0,o.computed)((function(){return"textarea"===n.type})),d=(0,o.computed)((function(){return p.value?"bk-textarea":"bk-input"})),f=a.attrs,v=f.class,m=f.style,y=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)r.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]])}return t}(f,["class","style"]),b=(0,o.ref)(),P=(0,o.computed)((function(){var r;return(0,e.classes)((t(r={},"".concat(d.value,"--").concat(n.size),!!n.size),t(r,"is-focused",s.value),t(r,"is-readonly",n.readonly),t(r,"is-disabled",n.disabled),t(r,"is-simplicity","simplicity"===n.behavior),t(r,"".concat(v),!!v),r),d.value)})),T={search:function(){return(0,o.createVNode)(u.Search,null,null)},password:function(){return(0,o.createVNode)(u.Eye,{onClick:B},null)}},x=z("suffix-icon"),g=(0,o.computed)((function(){var e=T[n.type];return E.value?(0,o.createVNode)(u.Unvisible,{onClick:B,class:x},null):e?(0,o.createVNode)(e,{class:x},null):null})),h=(0,o.computed)((function(){return"number"===n.type})),N=(0,o.computed)((function(){return Math.floor(n.maxlength)})),E=(0,o.ref)(!1),O=(0,o.computed)((function(){return(0,e.classes)(t({"show-clear-only-hover":n.showClearOnlyHover},"".concat(d.value,"--clear-icon"),!0),x)})),S=(0,o.computed)((function(){return(0,e.classes)({"is-disabled":n.disabled||n.modelValue>=n.max})})),C=(0,o.computed)((function(){return(0,e.classes)({"is-disabled":n.disabled||n.modelValue<=n.min})}));function I(){var e;if(!n.disabled){var r=h.value?n.min:"";a.emit(i.UPDATE,r),a.emit(i.CHANGE,r),a.emit(i.CLEAR),null===(e=null==l?void 0:l.validate)||void 0===e||e.call(l,"change")}}function A(e){s.value=!0,a.emit(i.FOCUS,e)}function w(e){var r;if(s.value=!1,a.emit(i.BLUR,e),h.value&&(e.target.value>n.max||e.target.value<n.min)){var t=e.target.value>n.max?n.max:n.min;a.emit(i.UPDATE,t),a.emit(i.CHANGE,t)}null===(r=null==l?void 0:l.validate)||void 0===r||r.call(l,"blur")}a.expose({focus:function(){b.value.focus()},clear:I});var U,V,j=[i.KEYUP,i.KEYDOWN,i.KEYPRESS,i.PASTE,i.CHANGE,i.INPUT].map((function(e){return function(r){var t;e!==i.KEYDOWN||"Enter"!==r.code&&"Enter"!==r.key&&13!==r.keyCode||a.emit(i.ENTER,r.target.value,r),c.value&&[i.INPUT,i.CHANGE].some((function(r){return e===r}))||(e===i.INPUT&&a.emit(i.UPDATE,h.value?+r.target.value:r.target.value),a.emit(e,r.target.value,r),e===i.INPUT&&(null===(t=null==l?void 0:l.validate)||void 0===t||t.call(l,"change")))}})),D=(V=6,function(e){if(Array.isArray(e))return e}(U=j)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,a=[],l=!0,i=!1;try{for(t=t.call(e);!(l=(o=t.next()).done)&&(a.push(o.value),!r||a.length!==r);l=!0);}catch(e){i=!0,n=e}finally{try{l||null==t.return||t.return()}finally{if(i)throw n}}return a}}(U,V)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(e,t):void 0}}(U,V)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),k=D[0],R=D[1],K=D[2],M=D[3],Y=D[4],H=D[5];function L(){c.value=!0}function F(e){c.value=!1,H(e)}function q(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=parseInt(String(e),10),o=Number.isInteger(n.precision)?n.precision:0,a=parseFloat(n.modelValue.toString()),l=Number.isInteger(t)?t:1,i=a+(r?l:-1*l);return Number.isInteger(n.max)&&(i=Math.min(i,n.max)),Number.isInteger(n.min)&&(i=Math.max(i,n.min)),+i.toFixed(o)}function G(){if(!n.disabled){var e=q(n.step);a.emit(i.UPDATE,e)}}function W(){if(!n.disabled){var e=q(n.step,!1);a.emit(i.UPDATE,e)}}function z(e){return"".concat(d.value,"--").concat(e)}function B(){E.value=!E.value}var _=(0,o.computed)((function(){return{value:n.modelValue,maxlength:n.maxlength,placeholder:n.placeholder,readonly:n.readonly,disabled:n.disabled,onInput:H,onFocus:A,onBlur:w,onPaste:M,onChange:Y,onKeypress:K,onKeydown:R,onKeyup:k,onCompositionstart:L,onCompositionend:F}}));return function(){var e,r,t,l,i,s;return(0,o.createVNode)("div",{class:P.value,style:m},[null!==(t=null===(r=null===(e=a.slots)||void 0===e?void 0:e.prefix)||void 0===r?void 0:r.call(e))&&void 0!==t?t:n.prefix&&(0,o.createVNode)("div",{class:z("prefix-area")},[(0,o.createVNode)("span",{class:z("prefix-area--text")},[n.prefix])]),p.value?(0,o.createVNode)("textarea",(0,o.mergeProps)({ref:b,spellcheck:!1},y,_.value,{rows:n.rows}),null):(0,o.createVNode)("input",(0,o.mergeProps)({spellcheck:!1},y,{ref:b,class:"".concat(d.value,"--text"),type:E.value&&"password"===n.type?"text":n.type,step:n.step,max:n.max,min:n.min},_.value),null),!p.value&&n.clearable&&!!n.modelValue&&(0,o.createVNode)(u.Close,{onClick:I,class:O.value},null),g.value,"number"==typeof n.maxlength&&(n.showWordLimit||p.value)&&(0,o.createVNode)("p",{class:z("max-length")},[n.modelValue.toString().length,(0,o.createTextVNode)("/"),(0,o.createVNode)("span",null,[N.value])]),h.value&&n.showControl&&(0,o.createVNode)("div",{class:z("number-control")},[(0,o.createVNode)(u.DownSmall,{class:S.value,onClick:G},null),(0,o.createVNode)(u.DownSmall,{class:C.value,onClick:W},null)]),null!==(s=null===(i=null===(l=a.slots)||void 0===l?void 0:l.suffix)||void 0===i?void 0:i.call(l))&&void 0!==s?s:n.suffix&&(0,o.createVNode)("div",{class:z("suffix-area")},[(0,o.createVNode)("span",{class:z("suffix-area--text")},[n.suffix])])])}}}),v=(0,e.withInstall)(f)})(),l})()));
|
package/lib/input/input.css
CHANGED
@@ -55,6 +55,7 @@
|
|
55
55
|
.bk-textarea.is-readonly .bk-input--suffix-area,
|
56
56
|
.bk-textarea.is-disabled .bk-input--suffix-icon,
|
57
57
|
.bk-textarea.is-readonly .bk-input--suffix-icon {
|
58
|
+
cursor: not-allowed;
|
58
59
|
background-color: #fafbfd;
|
59
60
|
}
|
60
61
|
.bk-textarea.is-disabled input,
|
@@ -75,7 +76,6 @@
|
|
75
76
|
padding: 5px 10px;
|
76
77
|
line-height: 1.5;
|
77
78
|
text-align: left;
|
78
|
-
vertical-align: middle;
|
79
79
|
border: 0;
|
80
80
|
outline: none;
|
81
81
|
resize: none;
|
@@ -121,6 +121,7 @@
|
|
121
121
|
.bk-input.is-readonly .bk-input--suffix-area,
|
122
122
|
.bk-input.is-disabled .bk-input--suffix-icon,
|
123
123
|
.bk-input.is-readonly .bk-input--suffix-icon {
|
124
|
+
cursor: not-allowed;
|
124
125
|
background-color: #fafbfd;
|
125
126
|
}
|
126
127
|
.bk-input.is-disabled input,
|
@@ -158,7 +159,7 @@
|
|
158
159
|
display: flex;
|
159
160
|
height: 100%;
|
160
161
|
padding-right: 10px;
|
161
|
-
font-size:
|
162
|
+
font-size: 14px;
|
162
163
|
color: #c4c6cc;
|
163
164
|
background-color: white;
|
164
165
|
align-items: center;
|
@@ -167,8 +168,14 @@
|
|
167
168
|
.bk-input--suffix-icon.show-clear-only-hover {
|
168
169
|
display: none;
|
169
170
|
}
|
171
|
+
.bk-input--clear-icon {
|
172
|
+
cursor: pointer;
|
173
|
+
}
|
174
|
+
.bk-input--clear-icon:hover {
|
175
|
+
color: #979ba5;
|
176
|
+
}
|
170
177
|
.bk-input--large {
|
171
|
-
height:
|
178
|
+
height: 40px;
|
172
179
|
font-size: 14px;
|
173
180
|
}
|
174
181
|
.bk-input--large .bk-input--max-length {
|
@@ -284,14 +291,15 @@
|
|
284
291
|
align-items: center;
|
285
292
|
}
|
286
293
|
.bk-input--number-control span.is-disabled {
|
294
|
+
color: #c4c6cc;
|
287
295
|
cursor: not-allowed;
|
288
296
|
}
|
289
297
|
.bk-input--number-control svg {
|
290
|
-
font-size:
|
298
|
+
font-size: 14px;
|
291
299
|
}
|
292
300
|
.bk-input--number-control span:first-child {
|
293
301
|
transform: rotate(180deg);
|
294
302
|
}
|
295
|
-
.bk-input--number-control span:hover {
|
303
|
+
.bk-input--number-control span:not(.is-disabled):hover {
|
296
304
|
background-color: #eaebf0;
|
297
305
|
}
|
package/lib/input/input.less
CHANGED
@@ -15,6 +15,7 @@
|
|
15
15
|
.@{bk-prefix}-input--prefix-area,
|
16
16
|
.@{bk-prefix}-input--suffix-area,
|
17
17
|
.@{bk-prefix}-input--suffix-icon {
|
18
|
+
cursor: not-allowed;
|
18
19
|
background-color: @input-disabled-bg;
|
19
20
|
}
|
20
21
|
}
|
@@ -64,7 +65,6 @@
|
|
64
65
|
padding: 5px 10px;
|
65
66
|
line-height: 1.5;
|
66
67
|
text-align: left;
|
67
|
-
vertical-align: middle;
|
68
68
|
border: 0;
|
69
69
|
outline: none;
|
70
70
|
resize: none;
|
@@ -140,6 +140,15 @@
|
|
140
140
|
}
|
141
141
|
}
|
142
142
|
|
143
|
+
&--clear-icon {
|
144
|
+
cursor: pointer;
|
145
|
+
|
146
|
+
&:hover {
|
147
|
+
color: @gray-color;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
|
143
152
|
&--large {
|
144
153
|
.component-size(@component-size-large, @font-size-medium);
|
145
154
|
|
@@ -276,6 +285,7 @@
|
|
276
285
|
align-items: center;
|
277
286
|
|
278
287
|
&.is-disabled {
|
288
|
+
color: @light-gray;
|
279
289
|
cursor: not-allowed;
|
280
290
|
}
|
281
291
|
}
|
@@ -288,7 +298,7 @@
|
|
288
298
|
transform: rotate(180deg);
|
289
299
|
}
|
290
300
|
|
291
|
-
span:hover {
|
301
|
+
span:not(.is-disabled):hover {
|
292
302
|
background-color: @input-block-hover-color;
|
293
303
|
}
|
294
304
|
}
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -158,6 +158,7 @@
|
|
158
158
|
.bk-textarea.is-readonly .bk-input--suffix-area,
|
159
159
|
.bk-textarea.is-disabled .bk-input--suffix-icon,
|
160
160
|
.bk-textarea.is-readonly .bk-input--suffix-icon {
|
161
|
+
cursor: not-allowed;
|
161
162
|
background-color: var(--input-disabled-bg);
|
162
163
|
}
|
163
164
|
.bk-textarea.is-disabled input,
|
@@ -178,7 +179,6 @@
|
|
178
179
|
padding: 5px 10px;
|
179
180
|
line-height: 1.5;
|
180
181
|
text-align: left;
|
181
|
-
vertical-align: middle;
|
182
182
|
border: 0;
|
183
183
|
outline: none;
|
184
184
|
resize: none;
|
@@ -224,6 +224,7 @@
|
|
224
224
|
.bk-input.is-readonly .bk-input--suffix-area,
|
225
225
|
.bk-input.is-disabled .bk-input--suffix-icon,
|
226
226
|
.bk-input.is-readonly .bk-input--suffix-icon {
|
227
|
+
cursor: not-allowed;
|
227
228
|
background-color: var(--input-disabled-bg);
|
228
229
|
}
|
229
230
|
.bk-input.is-disabled input,
|
@@ -270,6 +271,12 @@
|
|
270
271
|
.bk-input--suffix-icon.show-clear-only-hover {
|
271
272
|
display: none;
|
272
273
|
}
|
274
|
+
.bk-input--clear-icon {
|
275
|
+
cursor: pointer;
|
276
|
+
}
|
277
|
+
.bk-input--clear-icon:hover {
|
278
|
+
color: var(--gray-color);
|
279
|
+
}
|
273
280
|
.bk-input--large {
|
274
281
|
height: var(--component-size-large);
|
275
282
|
font-size: var(--font-size-medium);
|
@@ -387,6 +394,7 @@
|
|
387
394
|
align-items: center;
|
388
395
|
}
|
389
396
|
.bk-input--number-control span.is-disabled {
|
397
|
+
color: var(--light-gray);
|
390
398
|
cursor: not-allowed;
|
391
399
|
}
|
392
400
|
.bk-input--number-control svg {
|
@@ -395,6 +403,6 @@
|
|
395
403
|
.bk-input--number-control span:first-child {
|
396
404
|
transform: rotate(180deg);
|
397
405
|
}
|
398
|
-
.bk-input--number-control span:hover {
|
406
|
+
.bk-input--number-control span:not(.is-disabled):hover {
|
399
407
|
background-color: var(--input-block-hover-color);
|
400
408
|
}
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
package/lib/loading/loading.css
CHANGED
package/lib/loading/loading.less
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -138,8 +138,6 @@
|
|
138
138
|
}
|
139
139
|
.bk-loading-wrapper.bk-nested-loading {
|
140
140
|
position: relative;
|
141
|
-
width: 100%;
|
142
|
-
height: 100%;
|
143
141
|
}
|
144
142
|
.bk-loading-wrapper.bk-nested-loading.is-block {
|
145
143
|
display: block;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -19,7 +19,7 @@
|
|
19
19
|
--line-height-large: 18px;
|
20
20
|
--component-size-small: 26px;
|
21
21
|
--component-size-base: 32px;
|
22
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
23
23
|
--border-width-base: 1px;
|
24
24
|
--border-style-base: solid;
|
25
25
|
--border-radius-base: 2px;
|
@@ -34,7 +34,7 @@
|
|
34
34
|
--input-horizontal-padding: 10px;
|
35
35
|
--input-block-color: #f5f7fa;
|
36
36
|
--input-block-hover-color: #eaebf0;
|
37
|
-
--input-icon-size: var(--font-size-
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
38
38
|
--input-maxlength-color: #979ba5;
|
39
39
|
--button-primary-hover-color: #5594fa;
|
40
40
|
--button-danger-hover-color: #ff5656;
|
@@ -20,7 +20,7 @@
|
|
20
20
|
--line-height-large: 18px;
|
21
21
|
--component-size-small: 26px;
|
22
22
|
--component-size-base: 32px;
|
23
|
-
--component-size-large:
|
23
|
+
--component-size-large: 40px;
|
24
24
|
--border-width-base: 1px;
|
25
25
|
--border-style-base: solid;
|
26
26
|
--border-radius-base: 2px;
|
@@ -35,7 +35,7 @@
|
|
35
35
|
--input-horizontal-padding: 10px;
|
36
36
|
--input-block-color: #f5f7fa;
|
37
37
|
--input-block-hover-color: #eaebf0;
|
38
|
-
--input-icon-size: var(--font-size-
|
38
|
+
--input-icon-size: var(--font-size-medium);
|
39
39
|
--input-maxlength-color: #979ba5;
|
40
40
|
--button-primary-hover-color: #5594fa;
|
41
41
|
--button-danger-hover-color: #ff5656;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
.bk-F-scroll-x {
|
2
|
+
overflow-x: auto;
|
3
|
+
scrollbar-color: #a0a0a0 transparent;
|
4
|
+
scrollbar-width: thin;
|
5
|
+
}
|
6
|
+
.bk-F-scroll-x::-webkit-scrollbar {
|
7
|
+
height: 6px;
|
8
|
+
}
|
9
|
+
.bk-F-scroll-y {
|
10
|
+
overflow-y: auto;
|
11
|
+
}
|
12
|
+
.bk-F-scroll-y::-webkit-scrollbar {
|
13
|
+
width: 4px;
|
14
|
+
}
|
15
|
+
.bk-F-scroll-y::-webkit-scrollbar-thumb {
|
16
|
+
border-radius: 4px;
|
17
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
@import '../themes/themes.less';
|
2
|
+
.@{bk-prefix}-F-scroll-x {
|
3
|
+
overflow-x: auto;
|
4
|
+
scrollbar-color: #a0a0a0 transparent;
|
5
|
+
scrollbar-width: thin;
|
6
|
+
|
7
|
+
&::-webkit-scrollbar {
|
8
|
+
height: 6px;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.@{bk-prefix}-F-scroll-y {
|
13
|
+
overflow-y: auto;
|
14
|
+
|
15
|
+
&::-webkit-scrollbar {
|
16
|
+
width: 4px;
|
17
|
+
}
|
18
|
+
|
19
|
+
&::-webkit-scrollbar-thumb {
|
20
|
+
border-radius: 4px;
|
21
|
+
}
|
22
|
+
}
|