@ray-js/components 1.7.56-beta.4 → 1.7.56-beta.5
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
|
@@ -317,9 +317,10 @@ const AnimatedBase = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
317
317
|
// @ts-ignore - 小程序自定义组件
|
|
318
318
|
React.createElement(TyAnimatedComponent, _extends({
|
|
319
319
|
id: componentIdRef.current,
|
|
320
|
-
__mode: mode
|
|
320
|
+
__mode: mode
|
|
321
|
+
}, className ? {
|
|
321
322
|
customClass: className
|
|
322
|
-
}, customStyleValue ? {
|
|
323
|
+
} : {}, customStyleValue ? {
|
|
323
324
|
customStyle: customStyleValue
|
|
324
325
|
} : {}, mode === 'text' && textContent !== undefined ? {
|
|
325
326
|
__text: textContent
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<view
|
|
3
3
|
wx:if="{{__mode==='view'}}"
|
|
4
4
|
id="root"
|
|
5
|
-
class="
|
|
5
|
+
class="{{__className}}"
|
|
6
6
|
style="{{__style}}"
|
|
7
7
|
animation="{{__animData}}"
|
|
8
8
|
bindtap="__onClick"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<text
|
|
15
15
|
wx:else
|
|
16
16
|
id="rootText"
|
|
17
|
-
class="
|
|
17
|
+
class="{{__className}}"
|
|
18
18
|
style="{{__style}}"
|
|
19
19
|
animation="{{__animData}}"
|
|
20
20
|
bindtap="__onClick"
|
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.5",
|
|
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.5",
|
|
33
|
+
"@ray-js/framework-shared": "1.7.56-beta.5",
|
|
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.5"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public",
|
|
47
47
|
"registry": "https://registry.npmjs.org"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "504d74785b7f6ed42a0e20d929a77e9df4971bf8"
|
|
50
50
|
}
|