@blocklet/launcher-workflow 1.8.9 → 1.8.12
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/components/payment-method.js +4 -5
- package/package.json +11 -12
|
@@ -9,17 +9,17 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
|
12
|
-
var _Coins = require("@styled-icons/remix-fill/Coins");
|
|
13
|
-
|
|
14
12
|
var _constant = require("@blocklet/launcher-util/lib/constant");
|
|
15
13
|
|
|
16
14
|
var _CreditCard = _interopRequireDefault(require("@mui/icons-material/CreditCard"));
|
|
17
15
|
|
|
16
|
+
var _MonetizationOn = _interopRequireDefault(require("@mui/icons-material/MonetizationOn"));
|
|
17
|
+
|
|
18
18
|
var _locale = require("../contexts/locale");
|
|
19
19
|
|
|
20
20
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
21
|
|
|
22
|
-
var _templateObject
|
|
22
|
+
var _templateObject;
|
|
23
23
|
|
|
24
24
|
const _excluded = ["type"];
|
|
25
25
|
|
|
@@ -49,7 +49,7 @@ function PaymentMethod(_ref) {
|
|
|
49
49
|
|
|
50
50
|
if (type === _constant.CURRENCY_TYPE.crypto) {
|
|
51
51
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Container, _objectSpread(_objectSpread({}, props), {}, {
|
|
52
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
52
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_MonetizationOn.default, {
|
|
53
53
|
className: "payment-icon"
|
|
54
54
|
}), t('plan.useCrypto')]
|
|
55
55
|
}));
|
|
@@ -64,7 +64,6 @@ function PaymentMethod(_ref) {
|
|
|
64
64
|
|
|
65
65
|
const Container = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n\n .payment-icon {\n margin-right: 4px;\n }\n"])));
|
|
66
66
|
|
|
67
|
-
const CryptoIcon = (0, _styled.default)(_Coins.Coins)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-size: 14px;\n height: 22px;\n"])));
|
|
68
67
|
PaymentMethod.propTypes = {
|
|
69
68
|
type: _propTypes.default.oneOf([_constant.CURRENCY_TYPE.crypto, _constant.CURRENCY_TYPE.fiat]).isRequired
|
|
70
69
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/launcher-workflow",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.12",
|
|
4
4
|
"description": "Purchase components for Launcher UI",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -37,22 +37,21 @@
|
|
|
37
37
|
"react": ">=18.1.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@arcblock/did-connect": "^2.4.
|
|
41
|
-
"@arcblock/icons": "^2.4.
|
|
42
|
-
"@arcblock/license": "^2.4.
|
|
43
|
-
"@arcblock/ux": "^2.4.
|
|
44
|
-
"@blocklet/launcher-layout": "1.8.
|
|
45
|
-
"@blocklet/launcher-util": "1.8.
|
|
46
|
-
"@blocklet/launcher-ux": "1.8.
|
|
40
|
+
"@arcblock/did-connect": "^2.4.11",
|
|
41
|
+
"@arcblock/icons": "^2.4.11",
|
|
42
|
+
"@arcblock/license": "^2.4.11",
|
|
43
|
+
"@arcblock/ux": "^2.4.11",
|
|
44
|
+
"@blocklet/launcher-layout": "1.8.12",
|
|
45
|
+
"@blocklet/launcher-util": "1.8.12",
|
|
46
|
+
"@blocklet/launcher-ux": "1.8.12",
|
|
47
47
|
"@emotion/react": "^11.10.0",
|
|
48
48
|
"@emotion/styled": "^11.10.0",
|
|
49
49
|
"@mui/icons-material": "^5.8.4",
|
|
50
|
-
"@mui/lab": "^5.0.0-alpha.
|
|
51
|
-
"@mui/material": "^5.10.
|
|
50
|
+
"@mui/lab": "^5.0.0-alpha.95",
|
|
51
|
+
"@mui/material": "^5.10.1",
|
|
52
52
|
"@ocap/util": "^1.17.11",
|
|
53
53
|
"@stripe/react-stripe-js": "^1.10.0",
|
|
54
54
|
"@stripe/stripe-js": "^1.35.0",
|
|
55
|
-
"@styled-icons/remix-fill": "^10.18.0",
|
|
56
55
|
"axios": "^0.26.1",
|
|
57
56
|
"flat": "^5.0.2",
|
|
58
57
|
"js-cookie": "^3.0.1",
|
|
@@ -71,5 +70,5 @@
|
|
|
71
70
|
"@babel/preset-react": "^7.18.6",
|
|
72
71
|
"babel-plugin-inline-react-svg": "^2.0.1"
|
|
73
72
|
},
|
|
74
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "5972169dc54b2e2f5475b03de343a5c1301da40f"
|
|
75
74
|
}
|