@trionesdev/antd-taro-react 0.0.2-beta.22 → 0.0.2-beta.23
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/Popup/Popup.js +5 -3
- package/package.json +17 -15
package/dist/Popup/Popup.js
CHANGED
|
@@ -40,6 +40,8 @@ export var Popup = function Popup(_ref) {
|
|
|
40
40
|
onBack = _ref.onBack,
|
|
41
41
|
afterClose = _ref.afterClose,
|
|
42
42
|
afterOpenChange = _ref.afterOpenChange,
|
|
43
|
+
className = _ref.className,
|
|
44
|
+
style = _ref.style,
|
|
43
45
|
_ref$round = _ref.round,
|
|
44
46
|
round = _ref$round === void 0 ? false : _ref$round,
|
|
45
47
|
_ref$zIndex = _ref.zIndex,
|
|
@@ -96,11 +98,11 @@ export var Popup = function Popup(_ref) {
|
|
|
96
98
|
if (!render) return null;
|
|
97
99
|
return /*#__PURE__*/React.createElement(RootPortal, null, /*#__PURE__*/React.createElement(View, {
|
|
98
100
|
catchMove: true,
|
|
99
|
-
className: classNames("".concat(cls), _defineProperty({}, "".concat(cls, "-open"), internalOpen)),
|
|
100
|
-
style: {
|
|
101
|
+
className: classNames("".concat(cls), _defineProperty({}, "".concat(cls, "-open"), internalOpen), className),
|
|
102
|
+
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
101
103
|
zIndex: zIndex,
|
|
102
104
|
transitionDuration: "".concat(duration, "ms")
|
|
103
|
-
}
|
|
105
|
+
})
|
|
104
106
|
}, showOverlay && /*#__PURE__*/React.createElement(View, {
|
|
105
107
|
className: classNames("".concat(cls, "-overlay")),
|
|
106
108
|
onClick: function onClick(e) {
|
package/package.json
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trionesdev/antd-taro-react",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.23",
|
|
4
4
|
"description": "antd taro react",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"dev": "father dev",
|
|
9
|
+
"build": "father build",
|
|
10
|
+
"build:deps": "father prebundle",
|
|
11
|
+
"prepublishOnly": "father doctor && npm run build",
|
|
12
|
+
"publish": "npm publish --tag latest --registry=https://registry.npmjs.org/",
|
|
13
|
+
"publishOnly": "npm publish --ignore-scripts --registry=https://registry.npmjs.org/"
|
|
14
|
+
},
|
|
7
15
|
"keywords": [],
|
|
8
16
|
"authors": [
|
|
9
17
|
"fengxiaotx@163.com"
|
|
@@ -36,30 +44,24 @@
|
|
|
36
44
|
"@tarojs/plugin-platform-weapp": "4.2.0",
|
|
37
45
|
"@tarojs/react": "4.2.0",
|
|
38
46
|
"@tarojs/taro": "4.2.0",
|
|
47
|
+
"@trionesdev/antd-mobile-base-react": "workspace:*",
|
|
48
|
+
"@trionesdev/antd-mobile-icons-react": "workspace:*",
|
|
39
49
|
"@types/crypto-js": "^4.2.2",
|
|
40
50
|
"@types/lodash-es": "^4.17.12",
|
|
41
51
|
"@types/node": "^18.19.123",
|
|
42
52
|
"@types/react": "^18.0.0",
|
|
43
53
|
"classnames": "^2.5.1",
|
|
44
54
|
"father": "^4.6.19",
|
|
45
|
-
"lodash-es": "^4.17.23"
|
|
46
|
-
"@trionesdev/antd-mobile-icons-react": "0.0.2-beta.21",
|
|
47
|
-
"@trionesdev/antd-mobile-base-react": "0.0.2-beta.22"
|
|
55
|
+
"lodash-es": "^4.17.23"
|
|
48
56
|
},
|
|
49
57
|
"dependencies": {
|
|
50
58
|
"@tarojs/components": "4.2.0",
|
|
59
|
+
"@trionesdev/antd-mobile-base-react": "0.0.2-beta.23",
|
|
60
|
+
"@trionesdev/antd-mobile-icons-react": "0.0.2-beta.23",
|
|
51
61
|
"crypto-js": "^4.2.0",
|
|
52
62
|
"dayjs": "^1.11.19",
|
|
53
63
|
"rc-field-form": "^2.7.0",
|
|
54
|
-
"react": "^18.0.0"
|
|
55
|
-
"@trionesdev/antd-mobile-base-react": "0.0.2-beta.22",
|
|
56
|
-
"@trionesdev/antd-mobile-icons-react": "0.0.2-beta.21"
|
|
64
|
+
"react": "^18.0.0"
|
|
57
65
|
},
|
|
58
|
-
"gitHead": "
|
|
59
|
-
|
|
60
|
-
"dev": "father dev",
|
|
61
|
-
"build": "father build",
|
|
62
|
-
"build:deps": "father prebundle",
|
|
63
|
-
"publishOnly": "npm publish --ignore-scripts --registry=https://registry.npmjs.org/"
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
+
"gitHead": "27e59766142bccbfd2e0caff6993790e89ebb7df"
|
|
67
|
+
}
|