@nutui/nutui-react-taro 2.5.1 → 2.6.0
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 +26 -0
- package/dist/esm/ActionSheet.js +1 -1
- package/dist/esm/Address.js +1 -1
- package/dist/esm/Audio.js +1 -1
- package/dist/esm/AvatarCropper.js +1 -1
- package/dist/esm/Calendar.js +1 -1
- package/dist/esm/CalendarCard.js +1 -1
- package/dist/esm/Cascader.js +1 -1
- package/dist/esm/DatePicker.js +1 -1
- package/dist/esm/Dialog.js +1 -1
- package/dist/esm/FixedNav.js +1 -1
- package/dist/esm/Form/style/style.css +1 -1
- package/dist/esm/ImagePreview/style/style.css +1 -1
- package/dist/esm/ImagePreview.js +1 -1
- package/dist/esm/Input.js +1 -1
- package/dist/esm/Menu.js +1 -1
- package/dist/esm/MenuItem.js +1 -1
- package/dist/esm/NumberKeyboard.js +1 -1
- package/dist/esm/Overlay.js +1 -1
- package/dist/esm/Picker.js +1 -1
- package/dist/esm/Popover.js +1 -1
- package/dist/esm/Popup.js +1 -1
- package/dist/esm/PullToRefresh.js +1 -1
- package/dist/esm/Radio/style/style.css +1 -1
- package/dist/esm/RadioGroup/style/style.css +1 -1
- package/dist/esm/Range.js +1 -1
- package/dist/esm/ShortPassword.js +1 -1
- package/dist/esm/SideNavBar.js +1 -1
- package/dist/esm/Swipe.js +1 -1
- package/dist/esm/Swiper/style/index.js +0 -1
- package/dist/esm/Swiper/style/style.css +1 -1
- package/dist/esm/TimeSelect.js +1 -1
- package/dist/esm/Toast.js +1 -1
- package/dist/esm/Tour.js +1 -1
- package/dist/esm/{actionsheet.taro-C5BqWoML.js → actionsheet.taro-Dpjoa3xo.js} +1 -1
- package/dist/esm/{address.taro-CQmN9x1W.js → address.taro-C7tIIp3x.js} +2 -2
- package/dist/esm/{audio.taro-BEskw47C.js → audio.taro-2hRKQ2Lk.js} +1 -1
- package/dist/esm/{avatarcropper.taro-CsVKBnvS.js → avatarcropper.taro-Dd4pAR3N.js} +1 -1
- package/dist/esm/{calendar.taro-DbHJEx4G.js → calendar.taro-DEsLc-lS.js} +1 -1
- package/dist/esm/{cascader.taro-7Xhq98L4.js → cascader.taro-CFcAyFL-.js} +1 -1
- package/dist/esm/{datepicker.taro-FiLalMAA.js → datepicker.taro-Bgq3ZNDe.js} +1 -1
- package/dist/esm/{dialog.taro-B8Usf0kl.js → dialog.taro-x_jRYew5.js} +1 -1
- package/dist/esm/{fixednav.taro-WTBxWxOo.js → fixednav.taro-CJUDQcX1.js} +1 -1
- package/dist/esm/{imagepreview.taro-Bb1TkBCV.js → imagepreview.taro-BMlwAhT0.js} +1 -1
- package/dist/esm/{input.taro-Dh6zXTLQ.js → input.taro-CAZ-rRMH.js} +2 -1
- package/dist/esm/{menu.taro-BAiJPGR7.js → menu.taro-J7oZoaGM.js} +1 -1
- package/dist/esm/{menuitem.taro-oLv6ZYC5.js → menuitem.taro-CaI5vTha.js} +1 -1
- package/dist/esm/{numberkeyboard.taro-B9rMgy7D.js → numberkeyboard.taro-DjxjkImT.js} +1 -1
- package/dist/esm/nutui-react.es.js +27 -27
- package/dist/esm/{overlay.taro-BaBu-3-F.js → overlay.taro--1Kf1D7C.js} +1 -1
- package/dist/esm/{picker.taro-Cmng9GW9.js → picker.taro-DR2HAkv6.js} +3 -3
- package/dist/esm/{popover.taro-BG0msyw5.js → popover.taro-MnR5htLt.js} +1 -1
- package/dist/esm/{popup.taro-Iy_WQZ-m.js → popup.taro-B7_iPgl4.js} +1 -1
- package/dist/esm/{pulltorefresh.taro-DfVmOGuo.js → pulltorefresh.taro-Ck1i2xRr.js} +1 -1
- package/dist/esm/{range.taro-GsWDprz5.js → range.taro-CsC41L60.js} +1 -1
- package/dist/esm/{shortpassword.taro-BXsxku33.js → shortpassword.taro-GkcE-e__.js} +1 -1
- package/dist/esm/{sidenavbar.taro-eK5vaZPR.js → sidenavbar.taro-5d-6iiNq.js} +1 -1
- package/dist/esm/{swipe.taro-aEnunftO.js → swipe.taro-CavqgBEb.js} +1 -1
- package/dist/esm/{timeselect.taro-BXq4APSJ.js → timeselect.taro-DkdpBJlT.js} +1 -1
- package/dist/esm/{toast.taro-BVXqvjNJ.js → toast.taro-B0YEmeDn.js} +1 -1
- package/dist/esm/{tour.taro-BqlNfxdD.js → tour.taro-CdX6pugO.js} +1 -1
- package/dist/esm/{use-touch-OfEaR5qi.js → use-touch-BeiLHDO9.js} +13 -3
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/tr-TR.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.es.js +321 -305
- package/dist/nutui.react.umd.js +329 -313
- package/dist/packages/form/form.scss +0 -3
- package/dist/packages/radiogroup/radiogroup.scss +1 -2
- package/dist/packages/swiper/swiper.scss +30 -16
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/styles/variables.scss +1 -1
- package/dist/types/packages/configprovider/types.d.ts +1 -1
- package/dist/types/packages/input/input.taro.d.ts +1 -1
- package/dist/types/packages/swiper/effects/default.d.ts +11 -0
- package/dist/types/packages/swiper/effects/focus.d.ts +21 -0
- package/dist/types/packages/swiper/index.d.ts +4 -2
- package/dist/types/packages/swiper/swiper.d.ts +12 -15
- package/dist/types/packages/swiper/types.d.ts +6 -0
- package/dist/types/packages/swiperitem/swiperitem.d.ts +8 -4
- package/dist/types/utils/use-ref-state.d.ts +3 -0
- package/dist/types/utils/use-touch.d.ts +3 -1
- package/package.json +1 -1
- package/dist/types/packages/picker/doc.en.d.ts +0 -145
- package/dist/esm/{calendarcard.taro-CK31xju_.js → calendarcard.taro-C7P3oqAL.js} +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
.form-layout-right .nut-form-item-label {
|
|
3
3
|
text-align: right;
|
|
4
|
-
font-size: 14px;
|
|
5
4
|
padding-right: 24px;
|
|
6
5
|
white-space: nowrap;
|
|
7
6
|
}
|
|
@@ -9,7 +8,6 @@
|
|
|
9
8
|
.form-layout-left .nut-form-item-label {
|
|
10
9
|
position: relative;
|
|
11
10
|
text-align: left;
|
|
12
|
-
font-size: 14px;
|
|
13
11
|
padding-left: 12px;
|
|
14
12
|
white-space: nowrap;
|
|
15
13
|
|
|
@@ -30,7 +28,6 @@
|
|
|
30
28
|
.form-layout-top .nut-form-item-label {
|
|
31
29
|
padding-bottom: 4px;
|
|
32
30
|
display: block;
|
|
33
|
-
font-size: 14px;
|
|
34
31
|
padding-right: 24px;
|
|
35
32
|
}
|
|
36
33
|
|
|
@@ -1,22 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
.nut-swiper {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
display: flex;
|
|
6
|
-
transition-property: transform;
|
|
7
|
-
box-sizing: content-box;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
8
5
|
overflow: hidden;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
display: flex;
|
|
12
|
-
height: 100%;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&-vertical {
|
|
16
|
-
-webkit-box-orient: vertical;
|
|
17
|
-
-webkit-box-direction: normal;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
}
|
|
6
|
+
touch-action: none;
|
|
7
|
+
position: relative;
|
|
20
8
|
|
|
21
9
|
&-indicator {
|
|
22
10
|
display: flex;
|
|
@@ -38,6 +26,32 @@
|
|
|
38
26
|
z-index: 1;
|
|
39
27
|
}
|
|
40
28
|
}
|
|
29
|
+
.nut-swiper-inner {
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: 100%;
|
|
32
|
+
display: flex;
|
|
33
|
+
position: relative;
|
|
34
|
+
&-horizontal {
|
|
35
|
+
transform: translateX(var(--swiper-offset));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&-vertical {
|
|
39
|
+
transform: translateY(var(--swiper-offset));
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.nut-swiper-slide {
|
|
45
|
+
width: 100%;
|
|
46
|
+
height: 100%;
|
|
47
|
+
position: relative;
|
|
48
|
+
flex-shrink: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.nut-swiper-item {
|
|
52
|
+
width: 100%;
|
|
53
|
+
height: 100%;
|
|
54
|
+
}
|
|
41
55
|
|
|
42
56
|
[dir='rtl'] .nut-swiper,
|
|
43
57
|
.nut-rtl .nut-swiper {
|