iov-design 2.15.53 → 2.15.55
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/lib/divider.js +25 -1
- package/lib/index.js +1 -1
- package/lib/iov-design.common.js +26 -2
- package/lib/theme-chalk/button.css +1 -1
- package/lib/theme-chalk/calendar.css +1 -1
- package/lib/theme-chalk/cascader-panel.css +1 -1
- package/lib/theme-chalk/cascader.css +1 -1
- package/lib/theme-chalk/checkbox.css +1 -1
- package/lib/theme-chalk/divider.css +1 -1
- package/lib/theme-chalk/dropdown.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/message-box.css +1 -1
- package/lib/theme-chalk/pagination.css +1 -1
- package/lib/theme-chalk/radio-button.css +1 -1
- package/lib/theme-chalk/select.css +1 -1
- package/lib/theme-chalk/table-column.css +1 -1
- package/lib/theme-chalk/table.css +1 -1
- package/lib/theme-chalk/tag.css +1 -1
- package/lib/theme-chalk/transfer.css +1 -1
- package/lib/theme-chalk/tree.css +1 -1
- package/package.json +1 -1
- package/packages/divider/src/main.vue +14 -0
- package/packages/theme-chalk/src/button.scss +2 -3
- package/packages/theme-chalk/src/divider.scss +13 -12
- package/packages/theme-chalk/src/mixins/_button.scss +1 -1
- package/packages/theme-chalk/src/tag.scss +18 -5
- package/src/index.js +1 -1
package/lib/divider.js
CHANGED
|
@@ -207,7 +207,17 @@ var render = function(_h, _vm) {
|
|
|
207
207
|
_vm.data.staticClass,
|
|
208
208
|
"el-divider",
|
|
209
209
|
"el-divider--" + _vm.props.direction
|
|
210
|
-
]
|
|
210
|
+
],
|
|
211
|
+
style: {
|
|
212
|
+
borderBottomStyle:
|
|
213
|
+
(_vm.props.direction === "horizontal" && _vm.props.type) || "",
|
|
214
|
+
borderBottomColor:
|
|
215
|
+
(_vm.props.direction === "horizontal" && _vm.props.color) || "",
|
|
216
|
+
borderRightStyle:
|
|
217
|
+
(_vm.props.direction === "vertical" && _vm.props.type) || "",
|
|
218
|
+
borderRightColor:
|
|
219
|
+
(_vm.props.direction === "vertical" && _vm.props.color) || ""
|
|
220
|
+
}
|
|
211
221
|
},
|
|
212
222
|
"div",
|
|
213
223
|
_vm.data.attrs,
|
|
@@ -249,6 +259,12 @@ render._withStripped = true
|
|
|
249
259
|
//
|
|
250
260
|
//
|
|
251
261
|
//
|
|
262
|
+
//
|
|
263
|
+
//
|
|
264
|
+
//
|
|
265
|
+
//
|
|
266
|
+
//
|
|
267
|
+
//
|
|
252
268
|
|
|
253
269
|
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
254
270
|
name: 'ElDivider',
|
|
@@ -266,6 +282,14 @@ render._withStripped = true
|
|
|
266
282
|
validator: function validator(val) {
|
|
267
283
|
return ['left', 'center', 'right'].indexOf(val) !== -1;
|
|
268
284
|
}
|
|
285
|
+
},
|
|
286
|
+
color: {
|
|
287
|
+
type: String,
|
|
288
|
+
default: '' // $--color-line-1
|
|
289
|
+
},
|
|
290
|
+
type: {
|
|
291
|
+
type: String,
|
|
292
|
+
default: ''
|
|
269
293
|
}
|
|
270
294
|
}
|
|
271
295
|
});
|