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/es/index.js
CHANGED
|
@@ -75,7 +75,7 @@ import Tag from './tag';
|
|
|
75
75
|
import Timeline from './timeline';
|
|
76
76
|
import Toast from './toast';
|
|
77
77
|
import Uploader from './uploader';
|
|
78
|
-
var version = '2.0.
|
|
78
|
+
var version = '2.0.8';
|
|
79
79
|
|
|
80
80
|
function install(Vue) {
|
|
81
81
|
var components = [ActionSheet, Area, Avatar, BackTop, Badge, Button, Calendar, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Col, Collapse, CollapseItem, CountDown, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, FoldDialog, Form, Grid, GridItem, HierarchySelect, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, Lazyload, List, Loading, Locale, MediaPicker, MediaPlayer, MultiplePicker, NavBar, NoticeBar, NumberKeyboard, Overlay, PasswordInput, PdfViewer, Picker, Popover, Popup, PullRefresh, Radio, RadioGroup, Rate, Row, Search, Signature, Skeleton, Slider, Step, Stepper, Steps, Sticky, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Table, Tabs, Tag, Timeline, Toast, Uploader];
|
package/es/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/es/rate/index.js
CHANGED
package/es/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/es/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
|
|