zartui 2.0.3 → 2.0.4
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/es/button/index.css +1 -1
- package/es/checkbox/index.css +1 -1
- package/es/col/index.css +1 -1
- package/es/col/index.less +2 -1
- package/es/dialog/Dialog.js +1 -1
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.less +2 -2
- package/es/divider/index.css +1 -1
- package/es/empty/index.css +1 -1
- package/es/empty/index.less +0 -1
- package/es/field/index.css +1 -1
- package/es/field/index.js +12 -14
- package/es/field/index.less +21 -7
- package/es/index.js +1 -1
- package/es/row/index.css +1 -1
- package/es/row/index.less +4 -12
- package/es/style/var.less +12 -11
- package/lib/button/index.css +1 -1
- package/lib/checkbox/index.css +1 -1
- package/lib/col/index.css +1 -1
- package/lib/col/index.less +2 -1
- package/lib/dialog/Dialog.js +1 -1
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.less +2 -2
- package/lib/divider/index.css +1 -1
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.less +0 -1
- package/lib/field/index.css +1 -1
- package/lib/field/index.js +12 -14
- package/lib/field/index.less +21 -7
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/row/index.css +1 -1
- package/lib/row/index.less +4 -12
- package/lib/style/var.less +12 -11
- package/lib/zart.js +14 -16
- package/lib/zart.min.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -313,7 +313,7 @@ exports.Toast = _toast.default;
|
|
|
313
313
|
var _uploader = _interopRequireDefault(require("./uploader"));
|
|
314
314
|
|
|
315
315
|
exports.Uploader = _uploader.default;
|
|
316
|
-
var version = '2.0.
|
|
316
|
+
var version = '2.0.4';
|
|
317
317
|
exports.version = version;
|
|
318
318
|
|
|
319
319
|
function install(Vue) {
|
package/lib/row/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-row
|
|
1
|
+
.zt-row{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap}.zt-row--nowrap{-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.zt-row--justify-center{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.zt-row--justify-end{-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.zt-row--justify-space-between{-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.zt-row--justify-space-around{-webkit-justify-content:space-around;justify-content:space-around}.zt-row--align-center{-webkit-box-align:center;-webkit-align-items:center;align-items:center}.zt-row--align-bottom{-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}
|
package/lib/row/index.less
CHANGED
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
@import '../style/var';
|
|
2
2
|
|
|
3
3
|
.zt-row {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
clear: both;
|
|
7
|
-
content: '';
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
&--flex {
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-wrap: wrap;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-wrap: wrap;
|
|
13
6
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
7
|
+
&--nowrap {
|
|
8
|
+
flex-wrap: nowrap;
|
|
17
9
|
}
|
|
18
10
|
|
|
19
11
|
&--justify-center {
|
package/lib/style/var.less
CHANGED
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
);
|
|
178
178
|
@button-default-font-size: @font-size-lg;
|
|
179
179
|
@button-default-color: @text-color-3;
|
|
180
|
-
@button-default-background-color:
|
|
180
|
+
@button-default-background-color: transparent;
|
|
181
181
|
@button-default-border-color: @border-color-4;
|
|
182
182
|
@button-primary-color: @white;
|
|
183
183
|
@button-primary-background-color: linear-gradient(
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
|
|
303
303
|
// Checkbox
|
|
304
304
|
@checkbox-size: 20px;
|
|
305
|
-
@checkbox-padding:
|
|
305
|
+
@checkbox-padding: 12px 0;
|
|
306
306
|
@checkbox-border-color: @border-color-3;
|
|
307
307
|
@checkbox-transition-duration: @animation-duration-fast;
|
|
308
308
|
@checkbox-label-margin: @padding-xs;
|
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
@dialog-small-screen-width: 90%;
|
|
393
393
|
@dialog-font-size: @font-size-lg;
|
|
394
394
|
@dialog-transition: @animation-duration-base;
|
|
395
|
-
@dialog-border-radius:
|
|
395
|
+
@dialog-border-radius: 12px;
|
|
396
396
|
@dialog-background-color: @white;
|
|
397
397
|
@dialog-header-font-weight: @font-weight-bold;
|
|
398
398
|
@dialog-header-line-height: 24px;
|
|
@@ -410,13 +410,14 @@
|
|
|
410
410
|
@dialog-button-height: 44px;
|
|
411
411
|
@dialog-round-button-height: 36px;
|
|
412
412
|
@dialog-confirm-button-text-color: @blue;
|
|
413
|
+
@dialog-footer-padding: 0 32px 24px 32px;
|
|
413
414
|
|
|
414
415
|
// Divider
|
|
415
416
|
@divider-margin: @padding-md 0;
|
|
416
417
|
@divider-text-color: @gray-6;
|
|
417
418
|
@divider-font-size: @font-size-md;
|
|
418
419
|
@divider-line-height: 24px;
|
|
419
|
-
@divider-border-color: @
|
|
420
|
+
@divider-border-color: @gray-3;
|
|
420
421
|
@divider-content-padding: @padding-md;
|
|
421
422
|
@divider-content-left-width: 10%;
|
|
422
423
|
@divider-content-right-width: 10%;
|
|
@@ -440,14 +441,14 @@
|
|
|
440
441
|
|
|
441
442
|
// Empty
|
|
442
443
|
@empty-background-color: @white;
|
|
443
|
-
@empty-padding: @padding-base * 8
|
|
444
|
-
@empty-image-width:
|
|
445
|
-
@empty-image-height:
|
|
446
|
-
@empty-description-margin-top: @padding-
|
|
447
|
-
@empty-description-padding: 0
|
|
448
|
-
@empty-description-color: @
|
|
444
|
+
@empty-padding: @padding-base * 8 0;
|
|
445
|
+
@empty-image-width:240px;
|
|
446
|
+
@empty-image-height:220px;
|
|
447
|
+
@empty-description-margin-top: @padding-lg;
|
|
448
|
+
@empty-description-padding: 0 60px;
|
|
449
|
+
@empty-description-color: @text-color-3;
|
|
449
450
|
@empty-description-font-size: @font-size-lg;
|
|
450
|
-
@empty-description-line-height: @line-height-
|
|
451
|
+
@empty-description-line-height: @line-height-md;
|
|
451
452
|
@empty-bottom-margin-top: 24px;
|
|
452
453
|
@empty-description-max-lines: 5;
|
|
453
454
|
|
package/lib/zart.js
CHANGED
|
@@ -31140,7 +31140,7 @@ var Dialog_createNamespace = Object(utils["b" /* createNamespace */])('dialog'),
|
|
|
31140
31140
|
var h = this.$createElement;
|
|
31141
31141
|
var multiple = this.showCancelButton && this.showConfirmButton;
|
|
31142
31142
|
return h("div", {
|
|
31143
|
-
"class":
|
|
31143
|
+
"class": Dialog_bem('footer')
|
|
31144
31144
|
}, [this.showCancelButton && h(es_button, {
|
|
31145
31145
|
"attrs": {
|
|
31146
31146
|
"size": "normal",
|
|
@@ -36200,15 +36200,11 @@ var field_createNamespace = Object(utils["b" /* createNamespace */])('field'),
|
|
|
36200
36200
|
scopedSlots.title = function () {
|
|
36201
36201
|
return Label;
|
|
36202
36202
|
};
|
|
36203
|
-
}
|
|
36204
|
-
|
|
36205
|
-
|
|
36203
|
+
} // const extra = this.slots('extra');
|
|
36204
|
+
// if (extra) {
|
|
36205
|
+
// scopedSlots.extra = () => extra;
|
|
36206
|
+
// }
|
|
36206
36207
|
|
|
36207
|
-
if (extra) {
|
|
36208
|
-
scopedSlots.extra = function () {
|
|
36209
|
-
return extra;
|
|
36210
|
-
};
|
|
36211
|
-
}
|
|
36212
36208
|
|
|
36213
36209
|
if (this.direction === 'column') {
|
|
36214
36210
|
var _bem;
|
|
@@ -36242,7 +36238,7 @@ var field_createNamespace = Object(utils["b" /* createNamespace */])('field'),
|
|
|
36242
36238
|
"click": this.onClick
|
|
36243
36239
|
}
|
|
36244
36240
|
}, [h("div", {
|
|
36245
|
-
"class": field_bem('body')
|
|
36241
|
+
"class": [field_bem('body'), this.type === "textarea" ? field_bem("body-textarea") : '']
|
|
36246
36242
|
}, [this.genInput(), this.showClear &&
|
|
36247
36243
|
/*<Icon
|
|
36248
36244
|
name="clear"
|
|
@@ -36275,15 +36271,17 @@ var field_createNamespace = Object(utils["b" /* createNamespace */])('field'),
|
|
|
36275
36271
|
"name": "eye-closed",
|
|
36276
36272
|
"color": this.iconColor
|
|
36277
36273
|
}
|
|
36278
|
-
})]), this.
|
|
36274
|
+
})]), this.type === "textarea" ? h("div", {
|
|
36279
36275
|
"class": field_bem("right-icon-box")
|
|
36276
|
+
}, [this.genWordLimit(), h("div", {
|
|
36277
|
+
"class": field_bem("icon-area")
|
|
36280
36278
|
}, [this.genRightIcon(), slots('button') && h("div", {
|
|
36281
36279
|
"class": field_bem('button')
|
|
36282
|
-
}, [slots('button')])]) : h("div", {
|
|
36280
|
+
}, [slots('button')])]), slots('extra')]) : h("div", {
|
|
36283
36281
|
"class": field_bem("right-icon-box-row")
|
|
36284
|
-
}, [this.genRightIcon(), slots('button') && h("div", {
|
|
36282
|
+
}, [this.genWordLimit(), this.genRightIcon(), slots('button') && h("div", {
|
|
36285
36283
|
"class": field_bem('button')
|
|
36286
|
-
}, [slots('button')])])])]), this.genMessage()]);
|
|
36284
|
+
}, [slots('button')]), slots('extra')])])]), this.genMessage()]);
|
|
36287
36285
|
}
|
|
36288
36286
|
|
|
36289
36287
|
return h("div", {
|
|
@@ -36350,7 +36348,7 @@ var field_createNamespace = Object(utils["b" /* createNamespace */])('field'),
|
|
|
36350
36348
|
}
|
|
36351
36349
|
})]), this.genRightIcon(), slots('button') && h("div", {
|
|
36352
36350
|
"class": field_bem('button')
|
|
36353
|
-
}, [slots('button')])]), this.genWordLimit()]), this.genMessage()]);
|
|
36351
|
+
}, [slots('button')])]), this.genWordLimit(), slots('extra')]), this.genMessage()]);
|
|
36354
36352
|
}
|
|
36355
36353
|
}));
|
|
36356
36354
|
// CONCATENATED MODULE: ./es/fold-dialog/index.js
|
|
@@ -52599,7 +52597,7 @@ var uploader_createNamespace = Object(utils["b" /* createNamespace */])('uploade
|
|
|
52599
52597
|
|
|
52600
52598
|
|
|
52601
52599
|
|
|
52602
|
-
var version = '2.0.
|
|
52600
|
+
var version = '2.0.4';
|
|
52603
52601
|
|
|
52604
52602
|
function install(Vue) {
|
|
52605
52603
|
var components = [action_sheet, es_area, avatar, back_top, badge, es_button, calendar, cascader, cell, cell_group, es_checkbox, checkbox_group, col, collapse, collapse_item, count_down, datetime_picker, dialog, divider, dropdown_item, dropdown_menu, empty, es_field, fold_dialog, es_form, grid, grid_item, hierarchy_select, es_icon, es_image, image_preview, index_anchor, index_bar, es_info, lazyload, es_list, es_loading, locale["a" /* default */], media_picker, media_player, multiple_picker, nav_bar, notice_bar, number_keyboard, es_overlay, password_input, pdf_viewer, picker, popover, popup, pull_refresh, es_radio, radio_group, rate, row, search, signature, skeleton, slider, es_step, stepper, es_steps, es_sticky, swipe, swipe_cell, swipe_item, es_switch, switch_cell, tab, tabbar, tabbar_item, table, tabs, es_tag, timeline, es_toast, uploader];
|