bkui-vue 0.0.1-beta.432 → 0.0.1-beta.433
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 +26 -26
- package/dist/index.esm.js +15 -7
- package/dist/index.umd.js +26 -26
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +1 -1
- package/lib/alert/alert.variable.css +1 -1
- package/lib/backtop/backtop.variable.css +1 -1
- package/lib/badge/badge.variable.css +1 -1
- package/lib/breadcrumb/breadcrumb.variable.css +1 -1
- package/lib/button/button.variable.css +1 -1
- package/lib/card/card.variable.css +1 -1
- package/lib/cascader/cascader-panel.d.ts +1 -0
- package/lib/cascader/cascader.css +7 -0
- package/lib/cascader/cascader.d.ts +1 -0
- package/lib/cascader/cascader.less +7 -0
- package/lib/cascader/cascader.variable.css +8 -1
- package/lib/cascader/index.d.ts +4 -0
- package/lib/cascader/index.js +1 -1
- package/lib/checkbox/checkbox.variable.css +1 -1
- package/lib/code-diff/code-diff.variable.css +1 -1
- package/lib/collapse/collapse.variable.css +1 -1
- package/lib/collapse-transition/collapse-transition.variable.css +1 -1
- package/lib/color-picker/color-picker.variable.css +1 -1
- package/lib/components.d.ts +1 -0
- package/lib/config-provider/config-provider.variable.css +1 -1
- package/lib/container/container.variable.css +1 -1
- package/lib/date-picker/date-picker.variable.css +1 -1
- package/lib/dialog/dialog.variable.css +1 -1
- package/lib/divider/divider.variable.css +1 -1
- package/lib/dropdown/dropdown.variable.css +1 -1
- package/lib/exception/exception.variable.css +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -1
- package/lib/form/form.variable.css +1 -1
- package/lib/info-box/info-box.variable.css +1 -1
- package/lib/input/input.variable.css +1 -1
- package/lib/link/link.variable.css +1 -1
- package/lib/loading/loading.variable.css +1 -1
- package/lib/menu/menu.variable.css +1 -1
- package/lib/menu/submenu.variable.css +1 -1
- package/lib/message/message.variable.css +1 -1
- package/lib/modal/modal.variable.css +1 -1
- package/lib/navigation/navigation.variable.css +1 -1
- package/lib/notify/notify.variable.css +1 -1
- package/lib/pagination/pagination.variable.css +1 -1
- package/lib/pop-confirm/pop-confirm.variable.css +1 -1
- package/lib/popover/popover.variable.css +1 -1
- package/lib/process/process.variable.css +1 -1
- package/lib/progress/progress.variable.css +1 -1
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio.css +28 -10
- package/lib/radio/radio.less +10 -1
- package/lib/radio/radio.variable.css +29 -11
- package/lib/resize-layout/resize-layout.variable.css +1 -1
- package/lib/search-select/search-select.variable.css +1 -1
- package/lib/select/index.d.ts +4 -4
- package/lib/select/select.d.ts +1 -1
- package/lib/select/select.variable.css +1 -1
- package/lib/sideslider/sideslider.variable.css +1 -1
- package/lib/slider/slider.variable.css +1 -1
- package/lib/steps/steps.variable.css +1 -1
- package/lib/styles/mixins/popper.variable.css +1 -1
- package/lib/styles/mixins/scroll.variable.css +1 -1
- package/lib/styles/themes/themes.less +1 -1
- package/lib/switcher/switcher.variable.css +1 -1
- package/lib/tab/tab.variable.css +1 -1
- package/lib/table/index.d.ts +13 -8
- package/lib/table/plugins/head-filter.variable.css +1 -1
- package/lib/table/plugins/head-sort.variable.css +1 -1
- package/lib/table/plugins/settings.variable.css +1 -1
- package/lib/table/table.css +4 -4
- package/lib/table/table.less +3 -3
- package/lib/table/table.variable.css +5 -5
- package/lib/tag/tag.variable.css +1 -1
- package/lib/tag-input/tag-input.variable.css +1 -1
- package/lib/time-picker/time-picker.variable.css +1 -1
- package/lib/timeline/timeline.variable.css +1 -1
- package/lib/transfer/transfer.variable.css +1 -1
- package/lib/tree/tree.variable.css +1 -1
- package/lib/upload/upload.variable.css +1 -1
- package/lib/virtual-render/virtual-render.variable.css +1 -1
- package/package.json +1 -1
package/lib/radio/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue")):t(e["../shared"],e.vue);for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(self,((e,t)=>(()=>{"use strict";var o={4212:t=>{t.exports=e},748:e=>{e.exports=t}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return o[e](a,a.exports,r),a.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{r.r(a),r.d(a,{BkRadio:()=>b,BkRadioButton:()=>p,BkRadioGroup:()=>h,default:()=>v});var e=r(4212);function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function o(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return t(e,o);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,o):void 0}}(e,o)||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.")}()}var n=r(748),i=Symbol("RadioGroup");function l(){var e=(0,n.ref)(!1);return[e,{blur:function(){e.value=!1},focus:function(){e.value=!0}}]}var s=function(){var t=(0,n.getCurrentInstance)(),o=t.props,r=t.emit,a=(0,n.inject)(i,e.EMPTY_OBJ),l=!(0,e.isEmptyObj)(a),s=(0,n.ref)(!1),
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue")):t(e["../shared"],e.vue);for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(self,((e,t)=>(()=>{"use strict";var o={4212:t=>{t.exports=e},748:e=>{e.exports=t}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return o[e](a,a.exports,r),a.exports}r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{r.r(a),r.d(a,{BkRadio:()=>b,BkRadioButton:()=>p,BkRadioGroup:()=>h,default:()=>v});var e=r(4212);function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function o(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,r,a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return t(e,o);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(e,o):void 0}}(e,o)||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.")}()}var n=r(748),i=Symbol("RadioGroup");function l(){var e=(0,n.ref)(!1);return[e,{blur:function(){e.value=!1},focus:function(){e.value=!0}}]}var s=function(){var t=(0,n.getCurrentInstance)(),o=t.props,r=t.emit,a=(0,n.inject)(i,e.EMPTY_OBJ),l=!(0,e.isEmptyObj)(a),s=(0,n.ref)(!1),d=(0,n.computed)((function(){return!(!l||!a.props.disabled)||o.disabled}));return l?(0,n.watch)((function(){return a.props.modelValue}),(function(e){s.value=e===o.label}),{immediate:!0}):(0,n.watch)((function(){return o.modelValue}),(function(e){""!==e&&(s.value=e===o.label)}),{immediate:!0}),(0,n.onMounted)((function(){l&&a.register(t.proxy)})),(0,n.onBeforeUnmount)((function(){l&&a.unregister(t.proxy)})),{isChecked:s,isDisabled:d,setChecked:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];s.value=e},handleChange:function(e){if(!d.value){var i=e.target;s.value=i.checked;var u=s.value?o.label:"";r("update:modelValue",u),r("change",u),l&&a.handleChange(t.proxy),(0,n.nextTick)((function(){i.checked!==s.value&&(i.checked=s.value)}))}}}},d={name:e.PropTypes.string.def(""),label:e.PropTypes.oneOfType([String,Number,Boolean]).isRequired,modelValue:e.PropTypes.oneOfType([String,Number,Boolean]).def(""),checked:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1)};const u=(0,n.defineComponent)({name:"Radio",props:d,emits:["change","update:modelValue"],setup:function(){var e=o(l(),2),t=e[0],n=e[1],r=n.blur,a=n.focus,i=s();return{isFocused:t,isChecked:i.isChecked,isDisabled:i.isDisabled,setChecked:i.setChecked,handleBlur:r,handleFocus:a,handleChange:i.handleChange}},render:function(){var t=this,o=(0,e.classes)({"bk-radio":!0,"is-focused":this.isFocused,"is-disabled":this.isDisabled,"is-checked":this.isChecked});return(0,n.createVNode)("label",{class:o,tabindex:"0"},[(0,n.createVNode)("input",{class:"bk-radio-input",type:"radio",tabindex:"0",value:this.label,checked:this.isChecked,disabled:this.isDisabled,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange},null),t.label||t.$slots.default?(0,n.createVNode)("span",{class:"bk-radio-label"},[t.$slots.default?t.$slots.default():t.label]):null])}});var c={name:e.PropTypes.string.def(""),label:e.PropTypes.oneOfType([String,Number,Boolean]).isRequired,modelValue:e.PropTypes.oneOfType([String,Number,Boolean]).def(""),checked:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1),size:e.PropTypes.size()};const p=(0,n.defineComponent)({name:"RadioButton",props:c,emits:["change","update:modelValue"],setup:function(){var e=o(l(),2),t=e[0],n=e[1],r=n.blur,a=n.focus,i=s();return{isFocused:t,isChecked:i.isChecked,isDisabled:i.isDisabled,setChecked:i.setChecked,handleBlur:r,handleFocus:a,handleChange:i.handleChange}},render:function(){var t=this,o=(0,e.classes)({"bk-radio-button":!0,"is-focused":this.isFocused,"is-disabled":this.isDisabled,"is-checked":this.isChecked});return(0,n.createVNode)("label",{class:o,tabindex:"0"},[(0,n.createVNode)("input",{class:"bk-radio-button-input",type:"radio",tabindex:"0",value:this.label,checked:this.isChecked,disabled:this.isDisabled,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange},null),t.label||t.$slots.default?(0,n.createVNode)("div",{class:"bk-radio-button-label"},[t.$slots.default?t.$slots.default():t.label]):null])}});var f={name:e.PropTypes.string.def(""),modelValue:e.PropTypes.oneOfType([String,Number,Boolean]),disabled:e.PropTypes.bool,withValidate:e.PropTypes.bool.def(!0),type:e.PropTypes.oneOf(["tab","capsule","card"]).def("tab")};const h=(0,n.defineComponent)({name:"RadioGroup",props:f,emits:["change","update:modelValue"],setup:function(t,o){var r=(0,e.useFormItem)(),a=[];return(0,n.provide)(i,{props:t,register:function(e){a.push(e)},unregister:function(e){var t=a.indexOf(e);t>-1&&a.splice(t,1)},handleChange:function(e){var t=e.label;a.forEach((function(t){t!==e&&t.setChecked(!1)})),o.emit("update:modelValue",t),o.emit("change",t)}}),(0,n.watch)((function(){return t.modelValue}),(function(){var e;t.withValidate&&(null===(e=null==r?void 0:r.validate)||void 0===e||e.call(r,"change"))})),(0,n.onMounted)((function(){""!==t.modelValue&&a.forEach((function(e){e.setChecked(e.label===t.modelValue)}))})),{}},render:function(){var e;return(0,n.createVNode)("div",{class:["bk-radio-group","bk-radio-".concat(this.type)]},[null===(e=this.$slots)||void 0===e?void 0:e.default()])}});var b=(0,e.withInstallProps)(u,{Group:h,Button:p});const v=b})(),a})()));
|
package/lib/radio/radio.css
CHANGED
@@ -153,39 +153,57 @@
|
|
153
153
|
.bk-radio-capsule .is-checked:before {
|
154
154
|
display: none;
|
155
155
|
}
|
156
|
-
.bk-radio-tab .bk-radio-button
|
156
|
+
.bk-radio-tab .bk-radio-button,
|
157
|
+
.bk-radio-card .bk-radio-button {
|
157
158
|
overflow: hidden;
|
158
159
|
}
|
159
|
-
.bk-radio-tab .bk-radio-button:nth-child(n+2)
|
160
|
+
.bk-radio-tab .bk-radio-button:nth-child(n+2),
|
161
|
+
.bk-radio-card .bk-radio-button:nth-child(n+2) {
|
160
162
|
margin-left: -1px;
|
161
163
|
}
|
162
|
-
.bk-radio-tab .bk-radio-button:first-child .bk-radio-button-label
|
164
|
+
.bk-radio-tab .bk-radio-button:first-child .bk-radio-button-label,
|
165
|
+
.bk-radio-card .bk-radio-button:first-child .bk-radio-button-label {
|
163
166
|
border-bottom-left-radius: 2px;
|
164
167
|
border-top-left-radius: 2px;
|
165
168
|
}
|
166
|
-
.bk-radio-tab .bk-radio-button:last-child .bk-radio-button-label
|
169
|
+
.bk-radio-tab .bk-radio-button:last-child .bk-radio-button-label,
|
170
|
+
.bk-radio-card .bk-radio-button:last-child .bk-radio-button-label {
|
167
171
|
border-top-right-radius: 2px;
|
168
172
|
border-bottom-right-radius: 2px;
|
169
173
|
}
|
170
|
-
.bk-radio-tab .bk-radio-button.is-checked
|
174
|
+
.bk-radio-tab .bk-radio-button.is-checked,
|
175
|
+
.bk-radio-card .bk-radio-button.is-checked {
|
171
176
|
z-index: 2;
|
172
177
|
}
|
173
|
-
.bk-radio-tab .bk-radio-button.is-checked .bk-radio-button-label
|
178
|
+
.bk-radio-tab .bk-radio-button.is-checked .bk-radio-button-label,
|
179
|
+
.bk-radio-card .bk-radio-button.is-checked .bk-radio-button-label {
|
174
180
|
background: #e1ecff;
|
175
181
|
border-color: #5594fa;
|
176
182
|
}
|
177
|
-
.bk-radio-tab .bk-radio-button.is-disabled .bk-radio-button-label
|
183
|
+
.bk-radio-tab .bk-radio-button.is-disabled .bk-radio-button-label,
|
184
|
+
.bk-radio-card .bk-radio-button.is-disabled .bk-radio-button-label {
|
178
185
|
background: #fafbfd;
|
179
186
|
border-color: #dcdee5;
|
180
187
|
}
|
181
|
-
.bk-radio-tab .bk-radio-button.is-focused .bk-radio-button-label
|
188
|
+
.bk-radio-tab .bk-radio-button.is-focused .bk-radio-button-label,
|
189
|
+
.bk-radio-card .bk-radio-button.is-focused .bk-radio-button-label {
|
182
190
|
border-color: #5594fa;
|
183
191
|
}
|
184
|
-
.bk-radio-tab .bk-radio-button-label
|
192
|
+
.bk-radio-tab .bk-radio-button-label,
|
193
|
+
.bk-radio-card .bk-radio-button-label {
|
185
194
|
height: 32px;
|
186
195
|
border: 1px solid #c4c6cc;
|
187
196
|
transition: all 0.3s;
|
188
197
|
}
|
189
|
-
.bk-radio-tab .bk-radio-button-label:hover
|
198
|
+
.bk-radio-tab .bk-radio-button-label:hover,
|
199
|
+
.bk-radio-card .bk-radio-button-label:hover {
|
190
200
|
border-color: #979ba5;
|
191
201
|
}
|
202
|
+
.bk-radio-card {
|
203
|
+
display: flex;
|
204
|
+
width: 100%;
|
205
|
+
}
|
206
|
+
.bk-radio-card .bk-radio-button {
|
207
|
+
flex: 1;
|
208
|
+
display: block;
|
209
|
+
}
|
package/lib/radio/radio.less
CHANGED
@@ -192,7 +192,7 @@
|
|
192
192
|
}
|
193
193
|
}
|
194
194
|
|
195
|
-
.@{bk-prefix}-radio-tab {
|
195
|
+
.@{bk-prefix}-radio-tab,.@{bk-prefix}-radio-card {
|
196
196
|
|
197
197
|
.@{bk-prefix}-radio-button {
|
198
198
|
overflow: hidden;
|
@@ -251,3 +251,12 @@
|
|
251
251
|
|
252
252
|
}
|
253
253
|
|
254
|
+
.@{bk-prefix}-radio-card {
|
255
|
+
display: flex;
|
256
|
+
width: 100%;
|
257
|
+
|
258
|
+
.bk-radio-button {
|
259
|
+
flex: 1;
|
260
|
+
display: block;
|
261
|
+
}
|
262
|
+
}
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -275,39 +275,57 @@
|
|
275
275
|
.bk-radio-capsule .is-checked:before {
|
276
276
|
display: none;
|
277
277
|
}
|
278
|
-
.bk-radio-tab .bk-radio-button
|
278
|
+
.bk-radio-tab .bk-radio-button,
|
279
|
+
.bk-radio-card .bk-radio-button {
|
279
280
|
overflow: hidden;
|
280
281
|
}
|
281
|
-
.bk-radio-tab .bk-radio-button:nth-child(n+2)
|
282
|
+
.bk-radio-tab .bk-radio-button:nth-child(n+2),
|
283
|
+
.bk-radio-card .bk-radio-button:nth-child(n+2) {
|
282
284
|
margin-left: -1px;
|
283
285
|
}
|
284
|
-
.bk-radio-tab .bk-radio-button:first-child .bk-radio-button-label
|
286
|
+
.bk-radio-tab .bk-radio-button:first-child .bk-radio-button-label,
|
287
|
+
.bk-radio-card .bk-radio-button:first-child .bk-radio-button-label {
|
285
288
|
border-bottom-left-radius: var(--border-radius-base);
|
286
289
|
border-top-left-radius: var(--border-radius-base);
|
287
290
|
}
|
288
|
-
.bk-radio-tab .bk-radio-button:last-child .bk-radio-button-label
|
291
|
+
.bk-radio-tab .bk-radio-button:last-child .bk-radio-button-label,
|
292
|
+
.bk-radio-card .bk-radio-button:last-child .bk-radio-button-label {
|
289
293
|
border-top-right-radius: var(--border-radius-base);
|
290
294
|
border-bottom-right-radius: var(--border-radius-base);
|
291
295
|
}
|
292
|
-
.bk-radio-tab .bk-radio-button.is-checked
|
296
|
+
.bk-radio-tab .bk-radio-button.is-checked,
|
297
|
+
.bk-radio-card .bk-radio-button.is-checked {
|
293
298
|
z-index: 2;
|
294
299
|
}
|
295
|
-
.bk-radio-tab .bk-radio-button.is-checked .bk-radio-button-label
|
300
|
+
.bk-radio-tab .bk-radio-button.is-checked .bk-radio-button-label,
|
301
|
+
.bk-radio-card .bk-radio-button.is-checked .bk-radio-button-label {
|
296
302
|
background: var(--radio-button-checked-bg);
|
297
303
|
border-color: var(--radio-active-color);
|
298
304
|
}
|
299
|
-
.bk-radio-tab .bk-radio-button.is-disabled .bk-radio-button-label
|
305
|
+
.bk-radio-tab .bk-radio-button.is-disabled .bk-radio-button-label,
|
306
|
+
.bk-radio-card .bk-radio-button.is-disabled .bk-radio-button-label {
|
300
307
|
background: var(--radio-button-disabled-checked-bg);
|
301
308
|
border-color: var(--radio-disabled-border);
|
302
309
|
}
|
303
|
-
.bk-radio-tab .bk-radio-button.is-focused .bk-radio-button-label
|
310
|
+
.bk-radio-tab .bk-radio-button.is-focused .bk-radio-button-label,
|
311
|
+
.bk-radio-card .bk-radio-button.is-focused .bk-radio-button-label {
|
304
312
|
border-color: var(--radio-active-color);
|
305
313
|
}
|
306
|
-
.bk-radio-tab .bk-radio-button-label
|
314
|
+
.bk-radio-tab .bk-radio-button-label,
|
315
|
+
.bk-radio-card .bk-radio-button-label {
|
307
316
|
height: var(--component-size-base);
|
308
317
|
border: var(--border-width-base) var(--border-style-base) var(--light-gray);
|
309
318
|
transition: all 0.3s;
|
310
319
|
}
|
311
|
-
.bk-radio-tab .bk-radio-button-label:hover
|
320
|
+
.bk-radio-tab .bk-radio-button-label:hover,
|
321
|
+
.bk-radio-card .bk-radio-button-label:hover {
|
312
322
|
border-color: var(--radio-hover-border-color);
|
313
323
|
}
|
324
|
+
.bk-radio-card {
|
325
|
+
display: flex;
|
326
|
+
width: 100%;
|
327
|
+
}
|
328
|
+
.bk-radio-card .bk-radio-button {
|
329
|
+
flex: 1;
|
330
|
+
display: block;
|
331
|
+
}
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -107,7 +107,7 @@
|
|
107
107
|
--table-border-color: #dcdee5;
|
108
108
|
--table-head-bg-color: #fafbfd;
|
109
109
|
--table-head-font-color: #313238;
|
110
|
-
--table-body-font-color: #
|
110
|
+
--table-body-font-color: #63656E;
|
111
111
|
--table-row-hover-bg-color: #f5f7fa;
|
112
112
|
--table-row-active-bg-color: #f0f1f5;
|
113
113
|
--cascader-panel-border-color: #dcdee5;
|
package/lib/select/index.d.ts
CHANGED
@@ -17,6 +17,7 @@ declare const BkSelect: {
|
|
17
17
|
scrollHeight: number;
|
18
18
|
clearable: boolean;
|
19
19
|
withValidate: boolean;
|
20
|
+
noDataText: string;
|
20
21
|
showSelectedIcon: boolean;
|
21
22
|
filterable: boolean;
|
22
23
|
allowCreate: boolean;
|
@@ -28,7 +29,6 @@ declare const BkSelect: {
|
|
28
29
|
showSelectAll: boolean;
|
29
30
|
multipleMode: string;
|
30
31
|
autoHeight: boolean;
|
31
|
-
noDataText: string;
|
32
32
|
noMatchText: string;
|
33
33
|
loadingText: string;
|
34
34
|
searchPlaceholder: string;
|
@@ -321,7 +321,7 @@ declare const BkSelect: {
|
|
321
321
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
322
322
|
onToggle?: (...args: any[]) => any;
|
323
323
|
"onScroll-end"?: (...args: any[]) => any;
|
324
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tagTheme" | "behavior" | "disabled" | "size" | "multiple" | "list" | "showOnInit" | "placeholder" | "loading" | "scrollHeight" | "clearable" | "withValidate" | "showSelectedIcon" | "filterable" | "allowCreate" | "collapseTags" | "popoverMinWidth" | "displayKey" | "idKey" | "remoteMethod" | "showSelectAll" | "multipleMode" | "autoHeight" | "
|
324
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "tagTheme" | "behavior" | "disabled" | "size" | "multiple" | "list" | "showOnInit" | "placeholder" | "loading" | "scrollHeight" | "clearable" | "withValidate" | "noDataText" | "showSelectedIcon" | "filterable" | "allowCreate" | "collapseTags" | "popoverMinWidth" | "displayKey" | "idKey" | "remoteMethod" | "showSelectAll" | "multipleMode" | "autoHeight" | "noMatchText" | "loadingText" | "searchPlaceholder" | "selectAllText" | "scrollLoading" | "customContent" | "inputSearch" | "enableVirtualRender" | "allowEmptyValues" | "autoFocus" | "keepSearchValue">;
|
325
325
|
$attrs: {
|
326
326
|
[x: string]: unknown;
|
327
327
|
};
|
@@ -991,6 +991,7 @@ declare const BkSelect: {
|
|
991
991
|
scrollHeight: number;
|
992
992
|
clearable: boolean;
|
993
993
|
withValidate: boolean;
|
994
|
+
noDataText: string;
|
994
995
|
showSelectedIcon: boolean;
|
995
996
|
filterable: boolean;
|
996
997
|
allowCreate: boolean;
|
@@ -1002,7 +1003,6 @@ declare const BkSelect: {
|
|
1002
1003
|
showSelectAll: boolean;
|
1003
1004
|
multipleMode: string;
|
1004
1005
|
autoHeight: boolean;
|
1005
|
-
noDataText: string;
|
1006
1006
|
noMatchText: string;
|
1007
1007
|
loadingText: string;
|
1008
1008
|
searchPlaceholder: string;
|
@@ -2337,6 +2337,7 @@ declare const BkSelect: {
|
|
2337
2337
|
scrollHeight: number;
|
2338
2338
|
clearable: boolean;
|
2339
2339
|
withValidate: boolean;
|
2340
|
+
noDataText: string;
|
2340
2341
|
showSelectedIcon: boolean;
|
2341
2342
|
filterable: boolean;
|
2342
2343
|
allowCreate: boolean;
|
@@ -2348,7 +2349,6 @@ declare const BkSelect: {
|
|
2348
2349
|
showSelectAll: boolean;
|
2349
2350
|
multipleMode: string;
|
2350
2351
|
autoHeight: boolean;
|
2351
|
-
noDataText: string;
|
2352
2352
|
noMatchText: string;
|
2353
2353
|
loadingText: string;
|
2354
2354
|
searchPlaceholder: string;
|
package/lib/select/select.d.ts
CHANGED
@@ -929,6 +929,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
929
929
|
scrollHeight: number;
|
930
930
|
clearable: boolean;
|
931
931
|
withValidate: boolean;
|
932
|
+
noDataText: string;
|
932
933
|
showSelectedIcon: boolean;
|
933
934
|
filterable: boolean;
|
934
935
|
allowCreate: boolean;
|
@@ -940,7 +941,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
940
941
|
showSelectAll: boolean;
|
941
942
|
multipleMode: string;
|
942
943
|
autoHeight: boolean;
|
943
|
-
noDataText: string;
|
944
944
|
noMatchText: string;
|
945
945
|
loadingText: string;
|
946
946
|
searchPlaceholder: string;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -107,7 +107,7 @@
|
|
107
107
|
--table-border-color: #dcdee5;
|
108
108
|
--table-head-bg-color: #fafbfd;
|
109
109
|
--table-head-font-color: #313238;
|
110
|
-
--table-body-font-color: #
|
110
|
+
--table-body-font-color: #63656E;
|
111
111
|
--table-row-hover-bg-color: #f5f7fa;
|
112
112
|
--table-row-active-bg-color: #f0f1f5;
|
113
113
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
package/lib/tab/tab.variable.css
CHANGED
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
package/lib/table/index.d.ts
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
|
+
import { IColumnType, tableProps } from './props';
|
3
|
+
export declare type TableProps = Partial<ExtractPropTypes<typeof tableProps>>;
|
4
|
+
export declare type TableColumnProps = Partial<ExtractPropTypes<typeof IColumnType>>;
|
5
|
+
export type { Column as TableIColumn, Settings as TableSettings } from './props';
|
1
6
|
declare const BkTable: {
|
2
7
|
new (...args: any[]): {
|
3
8
|
$: import("vue").ComponentInternalInstance;
|
@@ -45,7 +50,7 @@ declare const BkTable: {
|
|
45
50
|
defaultSort: import("./props").ISortOption;
|
46
51
|
isRowSelectEnable: any;
|
47
52
|
observerResize: boolean;
|
48
|
-
}> & Omit<Readonly<
|
53
|
+
}> & Omit<Readonly<ExtractPropTypes<{
|
49
54
|
data: import("vue-types").VueTypeDef<any[]> & {
|
50
55
|
default: () => any[];
|
51
56
|
};
|
@@ -215,7 +220,7 @@ declare const BkTable: {
|
|
215
220
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
216
221
|
$emit: ((event: import("./const").EMIT_EVENTS.COLUMN_PICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.COLUMN_SORT, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.COLUMN_FILTER, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.COLUMN_FILTER_SAVE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_CLICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_DBL_CLICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_EXPAND_CLICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.PAGE_LIMIT_CHANGE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.PAGE_VALUE_CHANGE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.SETTING_CHANGE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.SCROLL_BOTTOM, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_SELECT, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_SELECT_ALL, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.ROW_SELECT_CHANGE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.CELL_CLICK, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.CELL_DBL_CLICK, ...args: any[]) => void);
|
217
222
|
$el: any;
|
218
|
-
$options: import("vue").ComponentOptionsBase<Readonly<
|
223
|
+
$options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
219
224
|
data: import("vue-types").VueTypeDef<any[]> & {
|
220
225
|
default: () => any[];
|
221
226
|
};
|
@@ -451,7 +456,7 @@ declare const BkTable: {
|
|
451
456
|
$forceUpdate: () => void;
|
452
457
|
$nextTick: typeof import("vue").nextTick;
|
453
458
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
454
|
-
} & Readonly<
|
459
|
+
} & Readonly<ExtractPropTypes<{
|
455
460
|
data: import("vue-types").VueTypeDef<any[]> & {
|
456
461
|
default: () => any[];
|
457
462
|
};
|
@@ -611,7 +616,7 @@ declare const BkTable: {
|
|
611
616
|
__isFragment?: never;
|
612
617
|
__isTeleport?: never;
|
613
618
|
__isSuspense?: never;
|
614
|
-
} & import("vue").ComponentOptionsBase<Readonly<
|
619
|
+
} & import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
615
620
|
data: import("vue-types").VueTypeDef<any[]> & {
|
616
621
|
default: () => any[];
|
617
622
|
};
|
@@ -853,7 +858,7 @@ declare const BkColumn: {
|
|
853
858
|
columnKey: string;
|
854
859
|
showOverflowTooltip: boolean | import("./props").IOverflowTooltip;
|
855
860
|
resizable: boolean;
|
856
|
-
}> & Omit<Readonly<
|
861
|
+
}> & Omit<Readonly<ExtractPropTypes<{
|
857
862
|
prop: import("vue-types").VueTypeDef<any>;
|
858
863
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
859
864
|
default: number;
|
@@ -928,7 +933,7 @@ declare const BkColumn: {
|
|
928
933
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
929
934
|
$emit: (event: string, ...args: any[]) => void;
|
930
935
|
$el: any;
|
931
|
-
$options: import("vue").ComponentOptionsBase<Readonly<
|
936
|
+
$options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
932
937
|
prop: import("vue-types").VueTypeDef<any>;
|
933
938
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
934
939
|
default: number;
|
@@ -1082,7 +1087,7 @@ declare const BkColumn: {
|
|
1082
1087
|
$forceUpdate: () => void;
|
1083
1088
|
$nextTick: typeof import("vue").nextTick;
|
1084
1089
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
1085
|
-
} & Readonly<
|
1090
|
+
} & Readonly<ExtractPropTypes<{
|
1086
1091
|
prop: import("vue-types").VueTypeDef<any>;
|
1087
1092
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
1088
1093
|
default: number;
|
@@ -1200,7 +1205,7 @@ declare const BkColumn: {
|
|
1200
1205
|
__isFragment?: never;
|
1201
1206
|
__isTeleport?: never;
|
1202
1207
|
__isSuspense?: never;
|
1203
|
-
} & import("vue").ComponentOptionsBase<Readonly<
|
1208
|
+
} & import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
1204
1209
|
prop: import("vue-types").VueTypeDef<any>;
|
1205
1210
|
index: import("vue-types").VueTypeValidableDef<number> & {
|
1206
1211
|
default: number;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
package/lib/table/table.css
CHANGED
@@ -1059,7 +1059,7 @@
|
|
1059
1059
|
padding: 0 15px;
|
1060
1060
|
overflow: hidden;
|
1061
1061
|
font-size: 12px;
|
1062
|
-
color: #
|
1062
|
+
color: #63656E;
|
1063
1063
|
text-align: left;
|
1064
1064
|
text-overflow: ellipsis;
|
1065
1065
|
white-space: nowrap;
|
@@ -1132,7 +1132,6 @@
|
|
1132
1132
|
.bk-table .bk-table-head table thead th,
|
1133
1133
|
.bk-table .bk-table-body table thead th {
|
1134
1134
|
font-weight: 400;
|
1135
|
-
color: #313238;
|
1136
1135
|
background-color: #fafbfd;
|
1137
1136
|
}
|
1138
1137
|
.bk-table .bk-table-head table thead th .cell,
|
@@ -1140,6 +1139,7 @@
|
|
1140
1139
|
display: flex;
|
1141
1140
|
align-items: center;
|
1142
1141
|
height: calc(var(--row-height) - 1px);
|
1142
|
+
color: #313238;
|
1143
1143
|
}
|
1144
1144
|
.bk-table .bk-table-head table thead th.active,
|
1145
1145
|
.bk-table .bk-table-body table thead th.active,
|
@@ -1180,7 +1180,7 @@
|
|
1180
1180
|
position: absolute;
|
1181
1181
|
top: 0;
|
1182
1182
|
right: 1px;
|
1183
|
-
bottom:
|
1183
|
+
bottom: 0;
|
1184
1184
|
z-index: 2;
|
1185
1185
|
display: block;
|
1186
1186
|
display: flex;
|
@@ -1190,7 +1190,7 @@
|
|
1190
1190
|
background: #fafbfd;
|
1191
1191
|
border-bottom: 1px solid #dcdee5;
|
1192
1192
|
border-left: 1px solid #dcdee5;
|
1193
|
-
border-radius:
|
1193
|
+
border-radius: 0 2px 0 0;
|
1194
1194
|
transform: translateX(var(--scroll-left));
|
1195
1195
|
justify-content: center;
|
1196
1196
|
align-items: center;
|
package/lib/table/table.less
CHANGED
@@ -152,13 +152,13 @@
|
|
152
152
|
thead {
|
153
153
|
th {
|
154
154
|
font-weight: 400;
|
155
|
-
color: @table-head-font-color;
|
156
155
|
background-color: @table-head-bg-color;
|
157
156
|
|
158
157
|
.cell {
|
159
158
|
display: flex;
|
160
159
|
align-items: center;
|
161
160
|
height: calc(var(--row-height) - 1px);
|
161
|
+
color: @table-head-font-color;
|
162
162
|
}
|
163
163
|
|
164
164
|
&.active,
|
@@ -215,7 +215,7 @@
|
|
215
215
|
position: absolute;
|
216
216
|
top: 0;
|
217
217
|
right: 1px;
|
218
|
-
bottom:
|
218
|
+
bottom: 0;
|
219
219
|
z-index: 2;
|
220
220
|
display: block;
|
221
221
|
display: flex;
|
@@ -227,7 +227,7 @@
|
|
227
227
|
//border-right: 1px solid @table-border-color;
|
228
228
|
border-bottom: 1px solid @table-border-color;
|
229
229
|
border-left: 1px solid @table-border-color;
|
230
|
-
border-radius:
|
230
|
+
border-radius: 0 2px 0 0;
|
231
231
|
transform: translateX(var(--scroll-left));
|
232
232
|
justify-content: center;
|
233
233
|
align-items: center;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -1181,7 +1181,7 @@
|
|
1181
1181
|
padding: 0 15px;
|
1182
1182
|
overflow: hidden;
|
1183
1183
|
font-size: 12px;
|
1184
|
-
color: #
|
1184
|
+
color: #63656E;
|
1185
1185
|
text-align: left;
|
1186
1186
|
text-overflow: ellipsis;
|
1187
1187
|
white-space: nowrap;
|
@@ -1254,7 +1254,6 @@
|
|
1254
1254
|
.bk-table .bk-table-head table thead th,
|
1255
1255
|
.bk-table .bk-table-body table thead th {
|
1256
1256
|
font-weight: 400;
|
1257
|
-
color: #313238;
|
1258
1257
|
background-color: #fafbfd;
|
1259
1258
|
}
|
1260
1259
|
.bk-table .bk-table-head table thead th .cell,
|
@@ -1262,6 +1261,7 @@
|
|
1262
1261
|
display: flex;
|
1263
1262
|
align-items: center;
|
1264
1263
|
height: calc(var(--row-height) - 1px);
|
1264
|
+
color: #313238;
|
1265
1265
|
}
|
1266
1266
|
.bk-table .bk-table-head table thead th.active,
|
1267
1267
|
.bk-table .bk-table-body table thead th.active,
|
@@ -1302,7 +1302,7 @@
|
|
1302
1302
|
position: absolute;
|
1303
1303
|
top: 0;
|
1304
1304
|
right: 1px;
|
1305
|
-
bottom:
|
1305
|
+
bottom: 0;
|
1306
1306
|
z-index: 2;
|
1307
1307
|
display: block;
|
1308
1308
|
display: flex;
|
@@ -1312,7 +1312,7 @@
|
|
1312
1312
|
background: #fafbfd;
|
1313
1313
|
border-bottom: 1px solid #dcdee5;
|
1314
1314
|
border-left: 1px solid #dcdee5;
|
1315
|
-
border-radius:
|
1315
|
+
border-radius: 0 2px 0 0;
|
1316
1316
|
transform: translateX(var(--scroll-left));
|
1317
1317
|
justify-content: center;
|
1318
1318
|
align-items: center;
|
package/lib/tag/tag.variable.css
CHANGED
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|
@@ -106,7 +106,7 @@
|
|
106
106
|
--table-border-color: #dcdee5;
|
107
107
|
--table-head-bg-color: #fafbfd;
|
108
108
|
--table-head-font-color: #313238;
|
109
|
-
--table-body-font-color: #
|
109
|
+
--table-body-font-color: #63656E;
|
110
110
|
--table-row-hover-bg-color: #f5f7fa;
|
111
111
|
--table-row-active-bg-color: #f0f1f5;
|
112
112
|
--cascader-panel-border-color: #dcdee5;
|