@ray-js/components 1.7.56-beta.8 → 1.7.56-beta.9
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/lib/Animated/index.js
CHANGED
|
@@ -43,7 +43,7 @@ const AnimatedBase = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
43
43
|
onTouchEnd,
|
|
44
44
|
onTouchMove,
|
|
45
45
|
onTouchCancel,
|
|
46
|
-
|
|
46
|
+
onLongPress,
|
|
47
47
|
lockOnClick
|
|
48
48
|
// lockOnLongPress,
|
|
49
49
|
} = props;
|
|
@@ -409,6 +409,7 @@ const AnimatedBase = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
409
409
|
if (onTouchEnd) eventBindings['bind:touchend'] = onTouchEnd;
|
|
410
410
|
if (onTouchMove) eventBindings['bind:touchmove'] = onTouchMove;
|
|
411
411
|
if (onTouchCancel) eventBindings['bind:touchcancel'] = onTouchCancel;
|
|
412
|
+
if (onLongPress) eventBindings['bind:longpress'] = onLongPress;
|
|
412
413
|
if (onAnimationStart) eventBindings['bind:animationbegin'] = onAnimationStart;
|
|
413
414
|
eventBindings['bind:animationfinish'] = handleAnimationEnd;
|
|
414
415
|
return (
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
bindtouchend="__onTouchEnd"
|
|
10
10
|
bindtouchmove="__onTouchMove"
|
|
11
11
|
bindtouchcancel="__onTouchCancel"
|
|
12
|
+
binglongpress="__onLongPress"
|
|
12
13
|
bindtap="__onClick"
|
|
13
14
|
>
|
|
14
15
|
<slot></slot>
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
bindtouchend="__onTouchEnd"
|
|
24
25
|
bindtouchmove="__onTouchMove"
|
|
25
26
|
bindtouchcancel="__onTouchCancel"
|
|
27
|
+
binglongpress="__onLongPress"
|
|
26
28
|
bindtap="__onClick"
|
|
27
29
|
>{{__text}}</text>
|
|
28
30
|
</block>
|
package/lib/Animated/types.d.ts
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -33,5 +33,5 @@ export { default as Iframe } from './Iframe';
|
|
|
33
33
|
export { default as Modal } from './Modal';
|
|
34
34
|
export { default as Video } from './Video';
|
|
35
35
|
export { default as SvgRender } from './SvgRender';
|
|
36
|
-
export { default as Animated } from './Animated
|
|
37
|
-
export type { AnimatedViewRef, AnimatedTextRef, AnimatedProps } from './Animated
|
|
36
|
+
export { default as Animated } from './Animated';
|
|
37
|
+
export type { AnimatedViewRef, AnimatedTextRef, AnimatedProps } from './Animated';
|
package/lib/index.js
CHANGED
|
@@ -33,4 +33,4 @@ export { default as Iframe } from './Iframe';
|
|
|
33
33
|
export { default as Modal } from './Modal';
|
|
34
34
|
export { default as Video } from './Video';
|
|
35
35
|
export { default as SvgRender } from './SvgRender';
|
|
36
|
-
export { default as Animated } from './Animated
|
|
36
|
+
export { default as Animated } from './Animated';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/components",
|
|
3
|
-
"version": "1.7.56-beta.
|
|
3
|
+
"version": "1.7.56-beta.9",
|
|
4
4
|
"description": "Ray basic components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ray"
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@ray-core/macro": "^0.4.9",
|
|
31
31
|
"@ray-core/wechat": "^0.4.9",
|
|
32
|
-
"@ray-js/adapter": "1.7.56-beta.
|
|
33
|
-
"@ray-js/framework-shared": "1.7.56-beta.
|
|
32
|
+
"@ray-js/adapter": "1.7.56-beta.9",
|
|
33
|
+
"@ray-js/framework-shared": "1.7.56-beta.9",
|
|
34
34
|
"ahooks": "^3.8.5",
|
|
35
35
|
"clsx": "^1.2.1",
|
|
36
36
|
"core-js": "^3.43.0",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"style-to-object": "^0.3.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@ray-js/cli": "1.7.56-beta.
|
|
43
|
+
"@ray-js/cli": "1.7.56-beta.9"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public",
|
|
47
47
|
"registry": "https://registry.npmjs.org"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "755f1158fb333548c620ade498b5ee1b2a11efd5"
|
|
50
50
|
}
|