@blocklet/payment-react 1.14.31 → 1.14.32
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/es/payment/form/index.js
CHANGED
|
@@ -331,7 +331,7 @@ export default function PaymentForm({
|
|
|
331
331
|
children: t("payment.checkout.paymentDetails")
|
|
332
332
|
}
|
|
333
333
|
),
|
|
334
|
-
/* @__PURE__ */ jsx(Fade, { in: true, children: /* @__PURE__ */ jsxs(Stack, { direction: "column", alignItems: "flex-start", className: "cko-payment-methods", children: [
|
|
334
|
+
/* @__PURE__ */ jsx(Fade, { in: true, children: /* @__PURE__ */ jsxs(Stack, { direction: "column", alignItems: "flex-start", className: "cko-payment-methods", sx: { mb: 1 }, children: [
|
|
335
335
|
/* @__PURE__ */ jsx(Stack, { direction: "row", sx: { width: "100%" }, children: /* @__PURE__ */ jsx(
|
|
336
336
|
Controller,
|
|
337
337
|
{
|
|
@@ -360,7 +360,6 @@ export default function PaymentForm({
|
|
|
360
360
|
}
|
|
361
361
|
)
|
|
362
362
|
] }) }),
|
|
363
|
-
/* @__PURE__ */ jsx(Stack, { direction: "row", sx: { mb: 1 }, alignItems: "center", justifyContent: "space-between" }),
|
|
364
363
|
/* @__PURE__ */ jsxs(
|
|
365
364
|
Stack,
|
|
366
365
|
{
|
|
@@ -399,6 +399,9 @@ function PaymentForm({
|
|
|
399
399
|
direction: "column",
|
|
400
400
|
alignItems: "flex-start",
|
|
401
401
|
className: "cko-payment-methods",
|
|
402
|
+
sx: {
|
|
403
|
+
mb: 1
|
|
404
|
+
},
|
|
402
405
|
children: [/* @__PURE__ */(0, _jsxRuntime.jsx)(_material.Stack, {
|
|
403
406
|
direction: "row",
|
|
404
407
|
sx: {
|
|
@@ -423,13 +426,6 @@ function PaymentForm({
|
|
|
423
426
|
onCancel: onStripeCancel
|
|
424
427
|
})]
|
|
425
428
|
})
|
|
426
|
-
}), /* @__PURE__ */(0, _jsxRuntime.jsx)(_material.Stack, {
|
|
427
|
-
direction: "row",
|
|
428
|
-
sx: {
|
|
429
|
-
mb: 1
|
|
430
|
-
},
|
|
431
|
-
alignItems: "center",
|
|
432
|
-
justifyContent: "space-between"
|
|
433
429
|
}), /* @__PURE__ */(0, _jsxRuntime.jsxs)(_material.Stack, {
|
|
434
430
|
direction: "column",
|
|
435
431
|
className: "cko-payment-form",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/payment-react",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.32",
|
|
4
4
|
"description": "Reusable react components for payment kit v2",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"@babel/core": "^7.25.2",
|
|
94
94
|
"@babel/preset-env": "^7.25.2",
|
|
95
95
|
"@babel/preset-react": "^7.24.7",
|
|
96
|
-
"@blocklet/payment-types": "1.14.
|
|
96
|
+
"@blocklet/payment-types": "1.14.32",
|
|
97
97
|
"@storybook/addon-essentials": "^7.6.20",
|
|
98
98
|
"@storybook/addon-interactions": "^7.6.20",
|
|
99
99
|
"@storybook/addon-links": "^7.6.20",
|
|
@@ -123,5 +123,5 @@
|
|
|
123
123
|
"vite-plugin-babel": "^1.2.0",
|
|
124
124
|
"vite-plugin-node-polyfills": "^0.21.0"
|
|
125
125
|
},
|
|
126
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "347accd83eb9354f423e06670d53003b4fd40114"
|
|
127
127
|
}
|
|
@@ -416,7 +416,7 @@ export default function PaymentForm({
|
|
|
416
416
|
{t('payment.checkout.paymentDetails')}
|
|
417
417
|
</Typography>
|
|
418
418
|
<Fade in>
|
|
419
|
-
<Stack direction="column" alignItems="flex-start" className="cko-payment-methods">
|
|
419
|
+
<Stack direction="column" alignItems="flex-start" className="cko-payment-methods" sx={{ mb: 1 }}>
|
|
420
420
|
<Stack direction="row" sx={{ width: '100%' }}>
|
|
421
421
|
<Controller
|
|
422
422
|
name="payment_currency"
|
|
@@ -443,10 +443,6 @@ export default function PaymentForm({
|
|
|
443
443
|
)}
|
|
444
444
|
</Stack>
|
|
445
445
|
</Fade>
|
|
446
|
-
<Stack direction="row" sx={{ mb: 1 }} alignItems="center" justifyContent="space-between">
|
|
447
|
-
{/* <Typography sx={{ color: 'text.secondary', fontWeight: 600 }}>{t('payment.checkout.contact')}</Typography> */}
|
|
448
|
-
{/* {isColumnLayout || mode !== 'standalone' ? null : <UserButtons />} */}
|
|
449
|
-
</Stack>
|
|
450
446
|
<Stack
|
|
451
447
|
direction="column"
|
|
452
448
|
className="cko-payment-form"
|