zartui 2.0.7 → 2.0.8
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/index.js +1 -1
- package/es/rate/index.css +1 -1
- package/es/rate/index.js +4 -0
- package/es/rate/index.less +17 -17
- package/es/style/var.less +2 -2
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.js +4 -0
- package/lib/rate/index.less +17 -17
- package/lib/style/var.less +2 -2
- package/lib/zart.js +5 -1
- 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.8';
|
|
317
317
|
exports.version = version;
|
|
318
318
|
|
|
319
319
|
function install(Vue) {
|
package/lib/rate/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-rate{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;cursor:pointer;-webkit-user-select:none;user-select:none}.zt-rate__item{position:relative}.zt-rate__item:not(:last-child){padding-right:4px}.zt-rate__icon{display:block;width:1em;color:rgba(
|
|
1
|
+
.zt-rate{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;cursor:pointer;-webkit-user-select:none;user-select:none}.zt-rate .zt-rate__item{position:relative}.zt-rate .zt-rate__item .zt-rate__item:not(:last-child){padding-right:4px}.zt-rate .zt-rate__item .zt-rate__icon{display:block;width:1em;color:rgba(45,75,115,.2);font-size:24px}.zt-rate .zt-rate__item .zt-rate__icon--half{position:absolute;top:0;left:0;width:.5em;overflow:hidden}.zt-rate .zt-rate__item .zt-rate__icon--full{color:#ffcd23}.zt-rate .zt-rate__item .zt-rate__icon--disabled{color:#c8c9cc}.zt-rate .zt-rate--disabled{cursor:not-allowed}.zt-rate .zt-rate--readonly{cursor:default}
|
package/lib/rate/index.js
CHANGED
package/lib/rate/index.less
CHANGED
|
@@ -6,42 +6,42 @@
|
|
|
6
6
|
cursor: pointer;
|
|
7
7
|
user-select: none;
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
.zt-rate__item {
|
|
10
10
|
position: relative;
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
.zt-rate__item:not(:last-child) {
|
|
13
13
|
padding-right: @rate-icon-gutter;
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
&--half {
|
|
15
|
+
.zt-rate__icon {
|
|
16
|
+
display: block;
|
|
17
|
+
width: 1em;
|
|
18
|
+
color: @rate-icon-void-color;
|
|
19
|
+
font-size: @rate-icon-size;
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
.zt-rate__icon--half {
|
|
24
23
|
position: absolute;
|
|
25
24
|
top: 0;
|
|
26
25
|
left: 0;
|
|
27
26
|
width: 0.5em;
|
|
28
27
|
overflow: hidden;
|
|
29
28
|
}
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
|
|
30
|
+
.zt-rate__icon--full {
|
|
32
31
|
color: @rate-icon-full-color;
|
|
33
32
|
}
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
|
|
34
|
+
.zt-rate__icon--disabled {
|
|
36
35
|
color: @rate-icon-disabled-color;
|
|
37
36
|
}
|
|
38
37
|
}
|
|
39
38
|
|
|
40
|
-
|
|
39
|
+
|
|
40
|
+
.zt-rate--disabled {
|
|
41
41
|
cursor: not-allowed;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
.zt-rate--readonly {
|
|
45
45
|
cursor: default;
|
|
46
46
|
}
|
|
47
47
|
}
|
package/lib/style/var.less
CHANGED
|
@@ -744,9 +744,9 @@
|
|
|
744
744
|
@radio-disabled-background-color: @gradient-white;
|
|
745
745
|
|
|
746
746
|
// Rate
|
|
747
|
-
@rate-icon-size:
|
|
747
|
+
@rate-icon-size: 24px;
|
|
748
748
|
@rate-icon-gutter: @padding-base;
|
|
749
|
-
@rate-icon-void-color:
|
|
749
|
+
@rate-icon-void-color: rgba(45, 75, 115, .2);
|
|
750
750
|
@rate-icon-full-color: @yellow;
|
|
751
751
|
@rate-icon-disabled-color: @gray-5;
|
|
752
752
|
|
package/lib/zart.js
CHANGED
|
@@ -48455,6 +48455,10 @@ function getRateStatus(value, index, allowHalf) {
|
|
|
48455
48455
|
}
|
|
48456
48456
|
}
|
|
48457
48457
|
}), this.allowHalf && h(es_icon, {
|
|
48458
|
+
"directives": [{
|
|
48459
|
+
name: "show",
|
|
48460
|
+
value: !isVoid
|
|
48461
|
+
}],
|
|
48458
48462
|
"attrs": {
|
|
48459
48463
|
"size": this.sizeWithUnit,
|
|
48460
48464
|
"name": isVoid ? voidIcon : icon,
|
|
@@ -52608,7 +52612,7 @@ var uploader_createNamespace = Object(utils["b" /* createNamespace */])('uploade
|
|
|
52608
52612
|
|
|
52609
52613
|
|
|
52610
52614
|
|
|
52611
|
-
var version = '2.0.
|
|
52615
|
+
var version = '2.0.8';
|
|
52612
52616
|
|
|
52613
52617
|
function install(Vue) {
|
|
52614
52618
|
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];
|