zartui 2.0.15 → 2.0.16
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/collapse-item/index.css +1 -1
- package/es/collapse-item/index.js +3 -2
- package/es/collapse-item/index.less +18 -1
- package/es/index.js +1 -1
- package/es/search/index.css +1 -1
- package/es/search/index.less +0 -4
- package/es/style/var.less +1 -1
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.js +3 -2
- package/lib/collapse-item/index.less +18 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/search/index.css +1 -1
- package/lib/search/index.less +0 -4
- package/lib/style/var.less +1 -1
- package/lib/zart.js +4 -3
- package/lib/zart.min.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-collapse-item{position:relative}.zt-collapse-item__container{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color
|
|
1
|
+
.zt-collapse-item{position:relative}.zt-collapse-item__container{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:transparent}.zt-collapse-item__container .zt-cell{padding-left:12px;background-color:transparent}.zt-collapse-item__container .zt-cell .zt-cell__title{color:#2d4b73}.zt-collapse-item__bar{width:4px;height:16px;background:#0091fa}.zt-collapse-item__title--iconWhite .zt-icon::before{color:#fff!important}.zt-collapse-item__title--titleWhite .zt-cell__title .zt-cell__title-content{color:#fff}.zt-collapse-item__title--titleWhite .zt-cell__value{color:#fff}.zt-collapse-item__title .zt-cell__title{font-weight:700;font-family:PingFangSC-Semibold}.zt-collapse-item__title .zt-cell__right-icon::before{-webkit-transform:rotate(90deg) translateZ(0);transform:rotate(90deg) translateZ(0);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;color:rgba(0,0,0,.2)}.zt-collapse-item__title::after{right:16px;display:none}.zt-collapse-item__title--expanded .zt-cell__right-icon::before{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);color:#0091fa}.zt-collapse-item__title--expanded::after{display:block}.zt-collapse-item__title--borderless::after{display:none}.zt-collapse-item__title--disabled{cursor:not-allowed}.zt-collapse-item__title--disabled,.zt-collapse-item__title--disabled .zt-cell__right-icon{color:#c8c9cc}.zt-collapse-item__title--disabled:active{background-color:#fff}.zt-collapse-item__wrapper{overflow:hidden;-webkit-transition:height .3s ease-in-out;transition:height .3s ease-in-out;will-change:height}.zt-collapse-item__content{color:#2d4b73;font-size:14px;line-height:20px;background-color:transparent}
|
|
@@ -154,7 +154,7 @@ export default createComponent({
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
return h("div", {
|
|
157
|
-
"class": bem("container") +
|
|
157
|
+
"class": bem("container") + " half-border-bottom",
|
|
158
158
|
"style": titleBG ? "background:" + titleBG + ";color:#fff;" : ""
|
|
159
159
|
}, [h("div", {
|
|
160
160
|
"class": bem("bar"),
|
|
@@ -169,7 +169,8 @@ export default createComponent({
|
|
|
169
169
|
disabled: disabled,
|
|
170
170
|
expanded: expanded,
|
|
171
171
|
borderless: !border,
|
|
172
|
-
iconWhite: titleBG
|
|
172
|
+
iconWhite: titleBG,
|
|
173
|
+
titleWhite: titleBG
|
|
173
174
|
}),
|
|
174
175
|
"on": {
|
|
175
176
|
"click": this.onClick
|
|
@@ -7,9 +7,13 @@
|
|
|
7
7
|
&__container {
|
|
8
8
|
display: flex;
|
|
9
9
|
align-items: center;
|
|
10
|
-
background-color:
|
|
10
|
+
background-color: transparent;
|
|
11
11
|
.zt-cell {
|
|
12
12
|
padding-left: 12px;
|
|
13
|
+
background-color: transparent;
|
|
14
|
+
.zt-cell__title {
|
|
15
|
+
color: rgba(45, 75, 115, 1)
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
}
|
|
15
19
|
&__bar {
|
|
@@ -24,6 +28,19 @@
|
|
|
24
28
|
color: #fff!important;
|
|
25
29
|
}
|
|
26
30
|
}
|
|
31
|
+
|
|
32
|
+
&--titleWhite {
|
|
33
|
+
.zt-cell__title {
|
|
34
|
+
.zt-cell__title-content {
|
|
35
|
+
color: #fff;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.zt-cell__value {
|
|
40
|
+
color: #fff;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
27
44
|
.zt-cell__title {
|
|
28
45
|
font-weight: bold;
|
|
29
46
|
font-family: PingFangSC-Semibold;
|
package/es/index.js
CHANGED
|
@@ -76,7 +76,7 @@ import Tag from './tag';
|
|
|
76
76
|
import Timeline from './timeline';
|
|
77
77
|
import Toast from './toast';
|
|
78
78
|
import Uploader from './uploader';
|
|
79
|
-
var version = '2.0.
|
|
79
|
+
var version = '2.0.16';
|
|
80
80
|
|
|
81
81
|
function install(Vue) {
|
|
82
82
|
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, PdfViewerV2, 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/search/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-search{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;padding:8px 16px;background-color:#f5faff}.zt-search__content{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;background-color:rgba(45,75,115,.04);border:1px solid transparent;border-radius:2px;box-shadow:inset 4px 4px 8px 0 rgba(45,75,115,.1);background-clip:padding-box;position:relative}.zt-search__content::before{content:'';position:absolute;top:0;right:0;left:0;bottom:0;z-index:-1;margin:-1px;border-radius:inherit;background:-webkit-linear-gradient(#fff,rgba(255,255,255,.4));background:linear-gradient(#fff,rgba(255,255,255,.4))}.zt-search__content--round{border-radius:999px}.zt-search__label{padding:8px 0 8px 12px;color:rgba(0,0,0,.6);font-family:PingFangSC-Semibold;font-weight:400;font-size:14px;line-height:20px}.zt-search .zt-field__root{background-color:transparent;padding:0}.zt-search .zt-field__label{margin-right:0}.zt-search .zt-cell__title.zt-field__label{-webkit-box-flex:unset;-webkit-flex:unset;flex:unset}.zt-search .zt-cell{-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:8px 12px;background:0 0;line-height:20px;font-size:14px;font-family:PingFangSC-Regular;font-weight:400}.zt-search .zt-cell__left-icon{color:#969799}.zt-search .zt-field{margin:0}.zt-search .zt-field__control{color:#000}.zt-search--show-action{padding-right:0}.zt-search input{caret-color:#0091fa}.zt-search input::-webkit-search-cancel-button,.zt-search input::-webkit-search-decoration,.zt-search input::-webkit-search-results-button,.zt-search input::-webkit-search-results-decoration{display:none}.zt-search input::-webkit-input-placeholder{color:rgba(45,75,115,.2)}.zt-search input::placeholder{color:rgba(45,75,115,.2)}.zt-search__action{padding:0 16px 0 12px;color:#0091fa;font-size:16px;font-family:PingFangSC-Semibold;height:28px;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}
|
|
1
|
+
.zt-search{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;padding:8px 16px;background-color:#f5faff}.zt-search__content{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;background-color:rgba(45,75,115,.04);border:1px solid transparent;border-radius:2px;box-shadow:inset 4px 4px 8px 0 rgba(45,75,115,.1);background-clip:padding-box;position:relative}.zt-search__content::before{content:'';position:absolute;top:0;right:0;left:0;bottom:0;z-index:-1;margin:-1px;border-radius:inherit;background:-webkit-linear-gradient(#fff,rgba(255,255,255,.4));background:linear-gradient(#fff,rgba(255,255,255,.4))}.zt-search__content--round{border-radius:999px}.zt-search__label{padding:8px 0 8px 12px;color:rgba(0,0,0,.6);font-family:PingFangSC-Semibold;font-weight:400;font-size:14px;line-height:20px}.zt-search .zt-field__root{background-color:transparent;padding:0}.zt-search .zt-field__label{margin-right:0}.zt-search .zt-cell__title.zt-field__label{-webkit-box-flex:unset;-webkit-flex:unset;flex:unset}.zt-search .zt-cell{-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:8px 12px;background:0 0;line-height:20px;font-size:14px;font-family:PingFangSC-Regular;font-weight:400}.zt-search .zt-cell__left-icon{color:#969799}.zt-search .zt-field{margin:0}.zt-search .zt-field__control{color:#000}.zt-search--show-action{padding-right:0}.zt-search input{caret-color:#0091fa}.zt-search input::-webkit-search-cancel-button,.zt-search input::-webkit-search-decoration,.zt-search input::-webkit-search-results-button,.zt-search input::-webkit-search-results-decoration{display:none}.zt-search input::-webkit-input-placeholder{color:rgba(45,75,115,.2)}.zt-search input::placeholder{color:rgba(45,75,115,.2)}.zt-search__action{padding:0 16px 0 12px;color:#0091fa;font-size:16px;font-family:PingFangSC-Semibold;height:28px;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}
|
package/es/search/index.less
CHANGED
package/es/style/var.less
CHANGED
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
@collapse-item-content-padding: @padding-sm @padding-md;
|
|
329
329
|
@collapse-item-content-font-size: @font-size-md;
|
|
330
330
|
@collapse-item-content-line-height: @line-height-md;
|
|
331
|
-
@collapse-item-content-text-color:
|
|
331
|
+
@collapse-item-content-text-color: #2D4B73;
|
|
332
332
|
@collapse-item-content-background-color: transparent;
|
|
333
333
|
@collapse-item-title-disabled-color: @gray-5;
|
|
334
334
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-collapse-item{position:relative}.zt-collapse-item__container{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color
|
|
1
|
+
.zt-collapse-item{position:relative}.zt-collapse-item__container{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:transparent}.zt-collapse-item__container .zt-cell{padding-left:12px;background-color:transparent}.zt-collapse-item__container .zt-cell .zt-cell__title{color:#2d4b73}.zt-collapse-item__bar{width:4px;height:16px;background:#0091fa}.zt-collapse-item__title--iconWhite .zt-icon::before{color:#fff!important}.zt-collapse-item__title--titleWhite .zt-cell__title .zt-cell__title-content{color:#fff}.zt-collapse-item__title--titleWhite .zt-cell__value{color:#fff}.zt-collapse-item__title .zt-cell__title{font-weight:700;font-family:PingFangSC-Semibold}.zt-collapse-item__title .zt-cell__right-icon::before{-webkit-transform:rotate(90deg) translateZ(0);transform:rotate(90deg) translateZ(0);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;color:rgba(0,0,0,.2)}.zt-collapse-item__title::after{right:16px;display:none}.zt-collapse-item__title--expanded .zt-cell__right-icon::before{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);color:#0091fa}.zt-collapse-item__title--expanded::after{display:block}.zt-collapse-item__title--borderless::after{display:none}.zt-collapse-item__title--disabled{cursor:not-allowed}.zt-collapse-item__title--disabled,.zt-collapse-item__title--disabled .zt-cell__right-icon{color:#c8c9cc}.zt-collapse-item__title--disabled:active{background-color:#fff}.zt-collapse-item__wrapper{overflow:hidden;-webkit-transition:height .3s ease-in-out;transition:height .3s ease-in-out;will-change:height}.zt-collapse-item__content{color:#2d4b73;font-size:14px;line-height:20px;background-color:transparent}
|
|
@@ -167,7 +167,7 @@ var _default = createComponent({
|
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
return h("div", {
|
|
170
|
-
"class": bem("container") +
|
|
170
|
+
"class": bem("container") + " half-border-bottom",
|
|
171
171
|
"style": titleBG ? "background:" + titleBG + ";color:#fff;" : ""
|
|
172
172
|
}, [h("div", {
|
|
173
173
|
"class": bem("bar"),
|
|
@@ -182,7 +182,8 @@ var _default = createComponent({
|
|
|
182
182
|
disabled: disabled,
|
|
183
183
|
expanded: expanded,
|
|
184
184
|
borderless: !border,
|
|
185
|
-
iconWhite: titleBG
|
|
185
|
+
iconWhite: titleBG,
|
|
186
|
+
titleWhite: titleBG
|
|
186
187
|
}),
|
|
187
188
|
"on": {
|
|
188
189
|
"click": this.onClick
|
|
@@ -7,9 +7,13 @@
|
|
|
7
7
|
&__container {
|
|
8
8
|
display: flex;
|
|
9
9
|
align-items: center;
|
|
10
|
-
background-color:
|
|
10
|
+
background-color: transparent;
|
|
11
11
|
.zt-cell {
|
|
12
12
|
padding-left: 12px;
|
|
13
|
+
background-color: transparent;
|
|
14
|
+
.zt-cell__title {
|
|
15
|
+
color: rgba(45, 75, 115, 1)
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
}
|
|
15
19
|
&__bar {
|
|
@@ -24,6 +28,19 @@
|
|
|
24
28
|
color: #fff!important;
|
|
25
29
|
}
|
|
26
30
|
}
|
|
31
|
+
|
|
32
|
+
&--titleWhite {
|
|
33
|
+
.zt-cell__title {
|
|
34
|
+
.zt-cell__title-content {
|
|
35
|
+
color: #fff;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.zt-cell__value {
|
|
40
|
+
color: #fff;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
27
44
|
.zt-cell__title {
|
|
28
45
|
font-weight: bold;
|
|
29
46
|
font-family: PingFangSC-Semibold;
|