@nutui/nutui 4.0.0-beta.24 → 4.0.0-beta.26
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/CHANGELOG.md +13 -940
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.umd.js +2 -2
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +4 -4
- package/dist/packages/_es/AddressList.js +25 -25
- package/dist/packages/_es/Barrage.js +42 -18
- package/dist/packages/_es/Calendar.js +12 -12
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Cascader.js +1 -1
- package/dist/packages/_es/CollapseItem.js +2 -2
- package/dist/packages/_es/Dialog.js +1 -1
- package/dist/packages/_es/ImagePreview.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +1 -1
- package/dist/packages/_es/MenuItem.js +1 -1
- package/dist/packages/_es/Navbar.js +4 -4
- package/dist/packages/_es/Noticebar.js +11 -7
- package/dist/packages/_es/Notify.js +1 -1
- package/dist/packages/_es/NumberKeyboard.js +1 -1
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +1 -1
- package/dist/packages/_es/Progress.js +1 -1
- package/dist/packages/_es/Searchbar.js +1 -1
- package/dist/packages/_es/ShortPassword.js +1 -1
- package/dist/packages/_es/Sku.js +1 -1
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Tour.js +3 -3
- package/dist/packages/_es/TrendArrow.js +2 -2
- package/dist/packages/_es/{index-f3a722c9.js → index-2ae3ae87.js} +4 -4
- package/dist/packages/_es/{index-af79da1a.js → index-991c279f.js} +1 -1
- package/dist/packages/countup/index.scss +1 -0
- package/dist/packages/ecard/index.scss +2 -2
- package/dist/packages/noticebar/index.scss +9 -9
- package/dist/smartips/web-types.json +6 -6
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +53 -53
- package/dist/styles/themes/jdb.scss +53 -53
- package/dist/styles/themes/jddkh.scss +53 -53
- package/dist/styles/themes/jdt.scss +53 -53
- package/dist/styles/variables-jdb.scss +2 -4
- package/dist/styles/variables-jddkh.scss +2 -4
- package/dist/styles/variables-jdt.scss +2 -4
- package/dist/styles/variables.scss +2 -4
- package/dist/types/__VUE/noticebar/index.vue.d.ts +6 -10
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/__VUE/actionsheet/index.taro.vue.d.ts +0 -310
- package/dist/types/__VUE/address/index.taro.vue.d.ts +0 -397
- package/dist/types/__VUE/addresslist/components/GeneralShell.taro.vue.d.ts +0 -60
- package/dist/types/__VUE/addresslist/components/ItemContents.taro.vue.d.ts +0 -23
- package/dist/types/__VUE/addresslist/index.taro.vue.d.ts +0 -83
- package/dist/types/__VUE/animate/index.taro.vue.d.ts +0 -54
- package/dist/types/__VUE/avatar/index.taro.vue.d.ts +0 -76
- package/dist/types/__VUE/avatargroup/index.taro.vue.d.ts +0 -92
- package/dist/types/__VUE/backtop/index.taro.vue.d.ts +0 -76
- package/dist/types/__VUE/badge/index.taro.vue.d.ts +0 -93
- package/dist/types/__VUE/barrage/index.taro.vue.d.ts +0 -80
- package/dist/types/__VUE/button/index.taro.vue.d.ts +0 -90
- package/dist/types/__VUE/calendar/index.taro.vue.d.ts +0 -187
- package/dist/types/__VUE/calendaritem/index.taro.vue.d.ts +0 -217
- package/dist/types/__VUE/card/index.taro.vue.d.ts +0 -89
- package/dist/types/__VUE/cascader/cascader-item.taro.vue.d.ts +0 -77
- package/dist/types/__VUE/cascader/index.taro.vue.d.ts +0 -263
- package/dist/types/__VUE/category/index.taro.vue.d.ts +0 -42
- package/dist/types/__VUE/categorypane/index.taro.vue.d.ts +0 -54
- package/dist/types/__VUE/cell/index.taro.vue.d.ts +0 -124
- package/dist/types/__VUE/checkbox/index.taro.vue.d.ts +0 -12
- package/dist/types/__VUE/circleprogress/index.taro.vue.d.ts +0 -93
- package/dist/types/__VUE/collapse/index.taro.vue.d.ts +0 -38
- package/dist/types/__VUE/collapseitem/index.taro.vue.d.ts +0 -111
- package/dist/types/__VUE/comment/components/CmtBottom.taro.vue.d.ts +0 -42
- package/dist/types/__VUE/comment/components/CmtHeader.taro.vue.d.ts +0 -27
- package/dist/types/__VUE/comment/components/CmtImages.taro.vue.d.ts +0 -59
- package/dist/types/__VUE/comment/index.taro.vue.d.ts +0 -119
- package/dist/types/__VUE/configprovider/index.taro.vue.d.ts +0 -45
- package/dist/types/__VUE/countdown/index.taro.vue.d.ts +0 -103
- package/dist/types/__VUE/countup/index.taro.vue.d.ts +0 -213
- package/dist/types/__VUE/datepicker/index.taro.vue.d.ts +0 -232
- package/dist/types/__VUE/dialog/index.taro.vue.d.ts +0 -345
- package/dist/types/__VUE/divider/index.taro.vue.d.ts +0 -53
- package/dist/types/__VUE/drag/index.taro.vue.d.ts +0 -62
- package/dist/types/__VUE/ecard/index.taro.vue.d.ts +0 -128
- package/dist/types/__VUE/elevator/index.taro.vue.d.ts +0 -117
- package/dist/types/__VUE/ellipsis/index.taro.vue.d.ts +0 -103
- package/dist/types/__VUE/empty/index.taro.vue.d.ts +0 -46
- package/dist/types/__VUE/fixednav/index.taro.vue.d.ts +0 -105
- package/dist/types/__VUE/form/index.taro.vue.d.ts +0 -40
- package/dist/types/__VUE/formitem/index.taro.vue.d.ts +0 -114
- package/dist/types/__VUE/grid/index.taro.vue.d.ts +0 -84
- package/dist/types/__VUE/griditem/index.taro.vue.d.ts +0 -22
- package/dist/types/__VUE/icon/index.taro.vue.d.ts +0 -12
- package/dist/types/__VUE/image/index.taro.vue.d.ts +0 -32
- package/dist/types/__VUE/imagepreview/index.taro.vue.d.ts +0 -163
- package/dist/types/__VUE/indicator/index.taro.vue.d.ts +0 -70
- package/dist/types/__VUE/input/index.taro.vue.d.ts +0 -224
- package/dist/types/__VUE/inputnumber/index.taro.vue.d.ts +0 -116
- package/dist/types/__VUE/invoice/index.taro.vue.d.ts +0 -52
- package/dist/types/__VUE/layout/index.taro.vue.d.ts +0 -12
- package/dist/types/__VUE/list/index.taro.vue.d.ts +0 -58
- package/dist/types/__VUE/menu/index.taro.vue.d.ts +0 -93
- package/dist/types/__VUE/menuitem/index.taro.vue.d.ts +0 -89
- package/dist/types/__VUE/navbar/index.taro.vue.d.ts +0 -121
- package/dist/types/__VUE/noticebar/index.taro.vue.d.ts +0 -207
- package/dist/types/__VUE/notify/index.taro.vue.d.ts +0 -110
- package/dist/types/__VUE/numberkeyboard/index.taro.vue.d.ts +0 -132
- package/dist/types/__VUE/overlay/index.taro.vue.d.ts +0 -85
- package/dist/types/__VUE/pagination/index.taro.vue.d.ts +0 -111
- package/dist/types/__VUE/picker/index.taro.vue.d.ts +0 -14
- package/dist/types/__VUE/popover/index.taro.vue.d.ts +0 -192
- package/dist/types/__VUE/popup/index.taro.vue.d.ts +0 -219
- package/dist/types/__VUE/price/index.taro.vue.d.ts +0 -87
- package/dist/types/__VUE/progress/index.taro.vue.d.ts +0 -128
- package/dist/types/__VUE/radio/index.taro.vue.d.ts +0 -53
- package/dist/types/__VUE/range/index.taro.vue.d.ts +0 -158
- package/dist/types/__VUE/rate/index.taro.vue.d.ts +0 -121
- package/dist/types/__VUE/scrollView/index.taro.vue.d.ts +0 -14
- package/dist/types/__VUE/searchbar/index.taro.vue.d.ts +0 -177
- package/dist/types/__VUE/shortpassword/index.taro.vue.d.ts +0 -103
- package/dist/types/__VUE/sidenavbar/index.taro.vue.d.ts +0 -31
- package/dist/types/__VUE/signature/index.taro.vue.d.ts +0 -84
- package/dist/types/__VUE/skeleton/index.taro.vue.d.ts +0 -115
- package/dist/types/__VUE/sku/components/SkuHeader.taro.vue.d.ts +0 -28
- package/dist/types/__VUE/sku/components/SkuStepper.taro.vue.d.ts +0 -56
- package/dist/types/__VUE/sku/index.taro.vue.d.ts +0 -146
- package/dist/types/__VUE/steps/index.taro.vue.d.ts +0 -46
- package/dist/types/__VUE/sticky/index.taro.vue.d.ts +0 -47
- package/dist/types/__VUE/subsidenavbar/index.taro.vue.d.ts +0 -53
- package/dist/types/__VUE/swipe/index.taro.vue.d.ts +0 -71
- package/dist/types/__VUE/swiper/index.taro.vue.d.ts +0 -168
- package/dist/types/__VUE/swiperitem/index.taro.vue.d.ts +0 -18
- package/dist/types/__VUE/switch/index.taro.vue.d.ts +0 -108
- package/dist/types/__VUE/tabbar/index.taro.vue.d.ts +0 -93
- package/dist/types/__VUE/tabbaritem/index.taro.vue.d.ts +0 -59
- package/dist/types/__VUE/table/index.taro.vue.d.ts +0 -80
- package/dist/types/__VUE/tabs/index.taro.vue.d.ts +0 -164
- package/dist/types/__VUE/tag/index.taro.vue.d.ts +0 -90
- package/dist/types/__VUE/textarea/index.taro.vue.d.ts +0 -127
- package/dist/types/__VUE/timedetail/index.taro.vue.d.ts +0 -38
- package/dist/types/__VUE/timepannel/index.taro.vue.d.ts +0 -42
- package/dist/types/__VUE/timeselect/index.taro.vue.d.ts +0 -91
- package/dist/types/__VUE/toast/index.taro.vue.d.ts +0 -184
- package/dist/types/__VUE/tour/index.taro.vue.d.ts +0 -192
- package/dist/types/__VUE/trendarrow/index.taro.vue.d.ts +0 -105
- package/dist/types/__VUE/uploader/index.taro.vue.d.ts +0 -260
- package/dist/types/__VUE/watermark/index.taro.vue.d.ts +0 -175
- package/dist/types/nutui.taro.vue.build.d.ts +0 -106
|
@@ -201,10 +201,10 @@ const _sfc_main = create({
|
|
|
201
201
|
return slots.btn;
|
|
202
202
|
});
|
|
203
203
|
const topInfo = computed(() => {
|
|
204
|
-
return slots
|
|
204
|
+
return slots["top-info"];
|
|
205
205
|
});
|
|
206
206
|
const bottomInfo = computed(() => {
|
|
207
|
-
return slots
|
|
207
|
+
return slots["bottom-info"];
|
|
208
208
|
});
|
|
209
209
|
const state = reactive({
|
|
210
210
|
yearMonthTitle: "",
|
|
@@ -807,12 +807,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
807
807
|
])
|
|
808
808
|
]),
|
|
809
809
|
_ctx.topInfo ? (openBlock(), createElementBlock("view", _hoisted_11, [
|
|
810
|
-
renderSlot(_ctx.$slots, "
|
|
810
|
+
renderSlot(_ctx.$slots, "top-info", {
|
|
811
811
|
date: day.type == "curr" ? day : ""
|
|
812
812
|
})
|
|
813
813
|
])) : createCommentVNode("", true),
|
|
814
814
|
_ctx.bottomInfo ? (openBlock(), createElementBlock("view", _hoisted_12, [
|
|
815
|
-
renderSlot(_ctx.$slots, "
|
|
815
|
+
renderSlot(_ctx.$slots, "bottom-info", {
|
|
816
816
|
date: day.type == "curr" ? day : ""
|
|
817
817
|
})
|
|
818
818
|
])) : createCommentVNode("", true),
|
|
@@ -225,7 +225,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
225
225
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClickCloseIcon && _ctx.onClickCloseIcon(...args)),
|
|
226
226
|
class: normalizeClass(["nut-popup__close-icon", "nut-popup__close-icon--" + _ctx.closeIconPosition])
|
|
227
227
|
}, [
|
|
228
|
-
renderSlot(_ctx.$slots, "
|
|
228
|
+
renderSlot(_ctx.$slots, "close-icon", {}, () => [
|
|
229
229
|
createVNode(_component_Close, { height: "12px" })
|
|
230
230
|
])
|
|
231
231
|
], 2)) : createCommentVNode("", true)
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
input {
|
|
90
90
|
caret-color: $primary-color; //光标颜色
|
|
91
91
|
text-align: right;
|
|
92
|
-
background:
|
|
92
|
+
background: transparent;
|
|
93
93
|
margin-right: 10px;
|
|
94
94
|
outline: 0 none;
|
|
95
95
|
border: 0;
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
.nut-ecard-input {
|
|
100
100
|
caret-color: $primary-color; //光标颜色
|
|
101
101
|
text-align: right;
|
|
102
|
-
background:
|
|
102
|
+
background: transparent;
|
|
103
103
|
margin-right: 10px;
|
|
104
104
|
outline: 0 none;
|
|
105
105
|
border: 0;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
.nut-noticebar__page {
|
|
14
14
|
display: flex;
|
|
15
15
|
padding: $noticebar-box-padding;
|
|
16
|
-
height: $noticebar-height;
|
|
16
|
+
height: $noticebar-across-height;
|
|
17
17
|
font-size: $noticebar-font-size;
|
|
18
18
|
position: relative;
|
|
19
19
|
align-items: center;
|
|
@@ -39,8 +39,6 @@
|
|
|
39
39
|
.nut-noticebar__page-lefticon {
|
|
40
40
|
display: flex;
|
|
41
41
|
align-items: center;
|
|
42
|
-
height: $noticebar-left-icon-width;
|
|
43
|
-
min-width: $noticebar-left-icon-width;
|
|
44
42
|
margin: $noticebar-lefticon-margin;
|
|
45
43
|
background-size: 100% 100%;
|
|
46
44
|
}
|
|
@@ -48,14 +46,13 @@
|
|
|
48
46
|
display: flex;
|
|
49
47
|
align-items: center;
|
|
50
48
|
justify-content: center;
|
|
51
|
-
width: $noticebar-right-icon-width;
|
|
52
49
|
margin: $noticebar-righticon-margin;
|
|
53
50
|
}
|
|
54
51
|
.nut-noticebar__page-wrap {
|
|
55
52
|
display: flex;
|
|
56
53
|
flex: 1;
|
|
57
|
-
height: $noticebar-line-height;
|
|
58
|
-
line-height: $noticebar-line-height;
|
|
54
|
+
height: $noticebar-across-line-height;
|
|
55
|
+
line-height: $noticebar-across-line-height;
|
|
59
56
|
overflow: hidden;
|
|
60
57
|
position: relative;
|
|
61
58
|
}
|
|
@@ -96,7 +93,7 @@
|
|
|
96
93
|
// 垂直方向的滚动
|
|
97
94
|
@keyframes nut-notice-bar-play-vertical {
|
|
98
95
|
to {
|
|
99
|
-
transform: translateY($noticebar-height);
|
|
96
|
+
transform: translateY($noticebar-across-height);
|
|
100
97
|
}
|
|
101
98
|
}
|
|
102
99
|
|
|
@@ -105,10 +102,12 @@
|
|
|
105
102
|
position: relative;
|
|
106
103
|
display: flex;
|
|
107
104
|
justify-content: space-between;
|
|
108
|
-
height: $noticebar-height;
|
|
105
|
+
height: $noticebar-across-height;
|
|
109
106
|
font-size: $noticebar-font-size;
|
|
110
107
|
overflow: hidden;
|
|
111
108
|
padding: $noticebar-box-padding;
|
|
109
|
+
background: $noticebar-background;
|
|
110
|
+
color: $noticebar-color;
|
|
112
111
|
|
|
113
112
|
.nut-noticebar__vertical-list {
|
|
114
113
|
margin: 0;
|
|
@@ -118,11 +117,12 @@
|
|
|
118
117
|
.nut-noticebar__vertical-item {
|
|
119
118
|
display: flex;
|
|
120
119
|
align-items: center;
|
|
121
|
-
height: $noticebar-height;
|
|
120
|
+
height: $noticebar-across-height;
|
|
122
121
|
}
|
|
123
122
|
}
|
|
124
123
|
|
|
125
124
|
.go {
|
|
125
|
+
margin: $noticebar-righticon-margin;
|
|
126
126
|
align-self: center;
|
|
127
127
|
display: flex;
|
|
128
128
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "NutUI",
|
|
5
|
-
"version": "4.0.0-beta.
|
|
5
|
+
"version": "4.0.0-beta.26",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"tags": [
|
|
@@ -1076,7 +1076,7 @@
|
|
|
1076
1076
|
},
|
|
1077
1077
|
{
|
|
1078
1078
|
"name": "closeable",
|
|
1079
|
-
"default": "`
|
|
1079
|
+
"default": "`false`",
|
|
1080
1080
|
"description": "是否显示关闭按钮,继承 `Popup` 组件",
|
|
1081
1081
|
"value": {
|
|
1082
1082
|
"type": "boolean",
|
|
@@ -3485,10 +3485,10 @@
|
|
|
3485
3485
|
},
|
|
3486
3486
|
{
|
|
3487
3487
|
"name": "left-icon",
|
|
3488
|
-
"default": "
|
|
3489
|
-
"description": "`
|
|
3488
|
+
"default": "`true`",
|
|
3489
|
+
"description": "是否展示左侧图标, 滚动方向为 `across` 生效",
|
|
3490
3490
|
"value": {
|
|
3491
|
-
"type": "
|
|
3491
|
+
"type": "boolean",
|
|
3492
3492
|
"kind": "expression"
|
|
3493
3493
|
}
|
|
3494
3494
|
},
|
|
@@ -5132,7 +5132,7 @@
|
|
|
5132
5132
|
},
|
|
5133
5133
|
{
|
|
5134
5134
|
"name": "height",
|
|
5135
|
-
"default": "`
|
|
5135
|
+
"default": "`15px`",
|
|
5136
5136
|
"description": "每行高度",
|
|
5137
5137
|
"value": {
|
|
5138
5138
|
"type": "string",
|