@nutui/nutui-react-taro 2.3.5 → 2.3.6-beta.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/dist/esm/ImagePreview.js +1 -1
- package/dist/esm/{imagepreview.taro-DKFWoFNy.js → imagepreview.taro-_dileEvw.js} +3 -1
- package/dist/esm/nutui-react.es.js +1 -1
- 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 +429 -1054
- package/dist/nutui.react.umd.js +436 -1061
- package/dist/style.mjs +1 -1
- package/dist/types/packages/imagepreview/imagepreview.taro.d.ts +5 -1
- package/dist/types/packages/infiniteloading/infiniteloading.taro.d.ts +1 -1
- package/dist/types/packages/space/space.taro.d.ts +1 -1
- package/dist/types/packages/swipe/swipe.taro.d.ts +3 -3
- package/dist/types/packages/tabs/tabs.taro.d.ts +1 -1
- package/package.json +1 -1
package/dist/style.mjs
CHANGED
|
@@ -62,7 +62,11 @@ export interface ImagePreviewProps extends BasicComponent {
|
|
|
62
62
|
* @default false
|
|
63
63
|
*/
|
|
64
64
|
showMenuByLongpress: boolean
|
|
65
|
-
|
|
65
|
+
/**
|
|
66
|
+
* 切换时触发
|
|
67
|
+
* @default -
|
|
68
|
+
*/
|
|
69
|
+
onChange: (value: number) => void
|
|
66
70
|
/**
|
|
67
71
|
* 点击遮罩关闭图片预览时触发
|
|
68
72
|
* @default -
|
|
@@ -55,17 +55,17 @@ export interface SwipeProps extends BasicComponent {
|
|
|
55
55
|
*/
|
|
56
56
|
onActionClick?: (event: MouseEvent<HTMLDivElement>, position: SwipeSide) => void
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* 开始触碰时触发
|
|
59
59
|
* @default -
|
|
60
60
|
*/
|
|
61
61
|
onTouchStart?: (event: BaseEventOrig<HTMLDivElement>) => void
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* 结束触碰时触发
|
|
64
64
|
* @default -
|
|
65
65
|
*/
|
|
66
66
|
onTouchEnd?: (event: BaseEventOrig<HTMLDivElement>) => void
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* 滑动时触发
|
|
69
69
|
* @default -
|
|
70
70
|
*/
|
|
71
71
|
onTouchMove?: (event: BaseEventOrig<HTMLDivElement>) => void
|