@blocklet/payment-react 1.19.12 → 1.19.13

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.
@@ -81,12 +81,12 @@ export function DonateDetails({ supporters = [], currency, method }) {
81
81
  sx: {
82
82
  padding: "6px",
83
83
  "&:hover": {
84
- backgroundColor: (theme) => theme.palette.grey[100],
84
+ backgroundColor: (theme) => theme.palette.divider,
85
85
  transition: "background-color 200ms linear",
86
86
  cursor: "pointer"
87
87
  },
88
88
  borderBottom: "1px solid",
89
- borderColor: "grey.100",
89
+ borderColor: "divider",
90
90
  display: "flex",
91
91
  justifyContent: "space-between",
92
92
  alignItems: "center"
@@ -616,7 +616,7 @@ function CheckoutDonateInner({
616
616
  sx: {
617
617
  ...!donateSettings.appearance?.button?.variant ? {
618
618
  color: "primary.main",
619
- borderColor: "grey.200"
619
+ borderColor: "divider"
620
620
  } : {},
621
621
  // @ts-ignore
622
622
  ...donateSettings.appearance?.button?.sx || {}
@@ -747,7 +747,7 @@ function CheckoutDonateInner({
747
747
  ".MuiDialogContent-root": {
748
748
  padding: "16px 24px",
749
749
  borderTop: "1px solid",
750
- borderColor: "grey.100",
750
+ borderColor: "divider",
751
751
  width: "100%"
752
752
  },
753
753
  ".ux-dialog_header": {
@@ -459,7 +459,7 @@ function OverdueInvoicePayment({
459
459
  py: 1,
460
460
  px: 0.5,
461
461
  borderBottom: "1px solid",
462
- borderColor: "grey.200",
462
+ borderColor: "divider",
463
463
  "&:hover": {
464
464
  backgroundColor: () => theme.palette.grey[100]
465
465
  },
@@ -314,12 +314,12 @@ export default function PricingTable({
314
314
  cursor: "pointer",
315
315
  borderWidth: "1px",
316
316
  borderStyle: "solid",
317
- borderColor: mode === "select" && x.is_selected ? "primary.main" : "grey.100",
317
+ borderColor: mode === "select" && x.is_selected ? "primary.main" : "divider",
318
318
  borderRadius: 2,
319
319
  transition: "border-color 0.3s ease 0s, box-shadow 0.3s ease 0s",
320
320
  boxShadow: 2,
321
321
  "&:hover": {
322
- borderColor: mode === "select" && x.is_selected ? "primary.main" : "grey.200",
322
+ borderColor: mode === "select" && x.is_selected ? "primary.main" : "divider",
323
323
  boxShadow: 2
324
324
  },
325
325
  width: {
@@ -60,13 +60,13 @@ const Wrapped = styled(Datatable)`
60
60
  }
61
61
  table.MuiTable-root {
62
62
  outline: 1px solid;
63
- outline-color: ${({ theme }) => theme.palette.grey[100]};
63
+ outline-color: ${({ theme }) => theme.palette.divider};
64
64
  border-radius: ${({ theme }) => `${2 * theme.shape.borderRadius}px`};
65
65
  overflow: hidden;
66
66
  }
67
67
  [class*='MUIDataTable-responsiveBase'] {
68
68
  outline: 1px solid;
69
- outline-color: ${({ theme }) => theme.palette.grey[100]};
69
+ outline-color: ${({ theme }) => theme.palette.divider};
70
70
  border-radius: ${({ theme }) => `${2 * theme.shape.borderRadius}px`};
71
71
  }
72
72
 
@@ -92,7 +92,7 @@ const TransactionsTable = React.memo((props) => {
92
92
  }, [data]);
93
93
  const columns = [
94
94
  {
95
- label: t("common.creditAmount"),
95
+ label: t("common.amount"),
96
96
  name: "credit_amount",
97
97
  align: "right",
98
98
  options: {
@@ -157,7 +157,7 @@ const TransactionsTable = React.memo((props) => {
157
157
  }
158
158
  ] : [],
159
159
  {
160
- label: t("admin.creditTransactions.transactionDate"),
160
+ label: t("common.date"),
161
161
  name: "created_at",
162
162
  options: {
163
163
  customBodyRenderLite: (_, index) => {
@@ -557,7 +557,7 @@ export default function DonationForm({
557
557
  theme: void 0,
558
558
  hideNavMenu: void 0,
559
559
  maxWidth: false,
560
- sx: { borderBottom: "1px solid", borderColor: "grey.100" }
560
+ sx: { borderBottom: "1px solid", borderColor: "divider" }
561
561
  }
562
562
  ) : null,
563
563
  /* @__PURE__ */ jsxs(
@@ -85,7 +85,7 @@ const Root = styled("section")`
85
85
 
86
86
  .cko-payment-card-unselect {
87
87
  border: 1px solid;
88
- border-color: ${({ theme }) => theme.palette.grey[100]};
88
+ border-color: ${({ theme }) => theme.palette.divider};
89
89
  padding: 4px 8px;
90
90
  cursor: pointer;
91
91
  background: ${({ theme }) => theme.palette.grey[50]};
@@ -389,7 +389,7 @@ export default function Payment({
389
389
  theme: void 0,
390
390
  hideNavMenu: void 0,
391
391
  maxWidth: false,
392
- sx: { borderBottom: "1px solid", borderColor: "grey.100" }
392
+ sx: { borderBottom: "1px solid", borderColor: "divider" }
393
393
  }
394
394
  ) : null,
395
395
  /* @__PURE__ */ jsxs(
@@ -570,7 +570,7 @@ export const Root = styled(Box)`
570
570
  .product-item {
571
571
  border-radius: ${({ theme }) => `${2 * theme.shape.borderRadius}px`};
572
572
  border: 1px solid;
573
- border-color: ${({ theme }) => theme.palette.grey[100]};
573
+ border-color: ${({ theme }) => theme.palette.divider};
574
574
  .product-item-content {
575
575
  padding: 16px;
576
576
  background: ${({ theme }) => theme.palette.grey[50]};
@@ -584,6 +584,9 @@ export const Root = styled(Box)`
584
584
  border-bottom-left-radius: ${({ theme }) => `${2 * theme.shape.borderRadius}px`};
585
585
  border-bottom-right-radius: ${({ theme }) => `${2 * theme.shape.borderRadius}px`};
586
586
  }
587
+ .product-item-content:only-child {
588
+ border-radius: ${({ theme }) => `${2 * theme.shape.borderRadius}px`};
589
+ }
587
590
  }
588
591
 
589
592
  @media (max-width: ${({ theme }) => theme.breakpoints.values.md}px) {
@@ -610,7 +613,7 @@ export const Root = styled(Box)`
610
613
  height: fit-content;
611
614
  flex: none;
612
615
  border-top: 1px solid;
613
- border-color: ${({ theme }) => theme.palette.grey[100]};
616
+ border-color: ${({ theme }) => theme.palette.divider};
614
617
  &:before {
615
618
  display: none;
616
619
  }
@@ -11,7 +11,7 @@ export default function ProductSkeleton({ count }) {
11
11
  padding: 4,
12
12
  width: 320,
13
13
  border: "1px solid",
14
- borderColor: "grey.100",
14
+ borderColor: "divider",
15
15
  borderRadius: 1,
16
16
  transition: "border-color 0.3s ease 0s, box-shadow 0.3s ease 0s",
17
17
  boxShadow: "0 4px 8px rgba(0, 0, 0, 20%)",
package/es/theme/index.js CHANGED
@@ -77,9 +77,6 @@ export function PaymentThemeProvider({
77
77
  "&.Mui-disabled": {
78
78
  backgroundColor: palette.grey[100]
79
79
  },
80
- ".MuiOutlinedInput-notchedOutline": {
81
- borderColor: palette.grey[100]
82
- },
83
80
  ".MuiInputBase-input": {
84
81
  fontSize: "14px",
85
82
  minHeight: "1.65em",
@@ -87,9 +84,6 @@ export function PaymentThemeProvider({
87
84
  },
88
85
  "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
89
86
  borderWidth: "1px"
90
- },
91
- "&.MuiInputBase-root:hover .MuiOutlinedInput-notchedOutline": {
92
- borderColor: `${palette.primary.main}`
93
87
  }
94
88
  }
95
89
  }
@@ -109,9 +103,9 @@ export function PaymentThemeProvider({
109
103
  height: 32
110
104
  },
111
105
  outlinedPrimary: {
112
- borderColor: palette.grey[100],
106
+ borderColor: palette.divider,
113
107
  "&:hover": {
114
- borderColor: palette.grey[100]
108
+ borderColor: palette.divider
115
109
  }
116
110
  }
117
111
  }
@@ -214,13 +208,6 @@ export function PaymentThemeProvider({
214
208
  }
215
209
  }
216
210
  },
217
- MuiDivider: {
218
- styleOverrides: {
219
- root: {
220
- borderColor: palette.grey[100]
221
- }
222
- }
223
- },
224
211
  MuiInputBase: {
225
212
  defaultProps: {
226
213
  size: "small"
@@ -77,12 +77,12 @@ function DonateDetails({
77
77
  sx: {
78
78
  padding: "6px",
79
79
  "&:hover": {
80
- backgroundColor: theme => theme.palette.grey[100],
80
+ backgroundColor: theme => theme.palette.divider,
81
81
  transition: "background-color 200ms linear",
82
82
  cursor: "pointer"
83
83
  },
84
84
  borderBottom: "1px solid",
85
- borderColor: "grey.100",
85
+ borderColor: "divider",
86
86
  display: "flex",
87
87
  justifyContent: "space-between",
88
88
  alignItems: "center"
@@ -586,7 +586,7 @@ function CheckoutDonateInner({
586
586
  sx: {
587
587
  ...(!donateSettings.appearance?.button?.variant ? {
588
588
  color: "primary.main",
589
- borderColor: "grey.200"
589
+ borderColor: "divider"
590
590
  } : {}),
591
591
  // @ts-ignore
592
592
  ...(donateSettings.appearance?.button?.sx || {})
@@ -711,7 +711,7 @@ function CheckoutDonateInner({
711
711
  ".MuiDialogContent-root": {
712
712
  padding: "16px 24px",
713
713
  borderTop: "1px solid",
714
- borderColor: "grey.100",
714
+ borderColor: "divider",
715
715
  width: "100%"
716
716
  },
717
717
  ".ux-dialog_header": {
@@ -476,7 +476,7 @@ function OverdueInvoicePayment({
476
476
  py: 1,
477
477
  px: 0.5,
478
478
  borderBottom: "1px solid",
479
- borderColor: "grey.200",
479
+ borderColor: "divider",
480
480
  "&:hover": {
481
481
  backgroundColor: () => theme.palette.grey[100]
482
482
  },
@@ -331,12 +331,12 @@ function PricingTable({
331
331
  cursor: "pointer",
332
332
  borderWidth: "1px",
333
333
  borderStyle: "solid",
334
- borderColor: mode === "select" && x.is_selected ? "primary.main" : "grey.100",
334
+ borderColor: mode === "select" && x.is_selected ? "primary.main" : "divider",
335
335
  borderRadius: 2,
336
336
  transition: "border-color 0.3s ease 0s, box-shadow 0.3s ease 0s",
337
337
  boxShadow: 2,
338
338
  "&:hover": {
339
- borderColor: mode === "select" && x.is_selected ? "primary.main" : "grey.200",
339
+ borderColor: mode === "select" && x.is_selected ? "primary.main" : "divider",
340
340
  boxShadow: 2
341
341
  },
342
342
  width: {
@@ -82,7 +82,7 @@ const Wrapped = (0, _system.styled)(_Datatable.default)`
82
82
  outline: 1px solid;
83
83
  outline-color: ${({
84
84
  theme
85
- }) => theme.palette.grey[100]};
85
+ }) => theme.palette.divider};
86
86
  border-radius: ${({
87
87
  theme
88
88
  }) => `${2 * theme.shape.borderRadius}px`};
@@ -92,7 +92,7 @@ const Wrapped = (0, _system.styled)(_Datatable.default)`
92
92
  outline: 1px solid;
93
93
  outline-color: ${({
94
94
  theme
95
- }) => theme.palette.grey[100]};
95
+ }) => theme.palette.divider};
96
96
  border-radius: ${({
97
97
  theme
98
98
  }) => `${2 * theme.shape.borderRadius}px`};
@@ -108,7 +108,7 @@ const TransactionsTable = _react.default.memo(props => {
108
108
  }
109
109
  }, [data]);
110
110
  const columns = [{
111
- label: t("common.creditAmount"),
111
+ label: t("common.amount"),
112
112
  name: "credit_amount",
113
113
  align: "right",
114
114
  options: {
@@ -184,7 +184,7 @@ const TransactionsTable = _react.default.memo(props => {
184
184
  }
185
185
  }
186
186
  }] : []), {
187
- label: t("admin.creditTransactions.transactionDate"),
187
+ label: t("common.date"),
188
188
  name: "created_at",
189
189
  options: {
190
190
  customBodyRenderLite: (_, index) => {
@@ -551,7 +551,7 @@ function DonationForm({
551
551
  maxWidth: false,
552
552
  sx: {
553
553
  borderBottom: "1px solid",
554
- borderColor: "grey.100"
554
+ borderColor: "divider"
555
555
  }
556
556
  }) : null, /* @__PURE__ */(0, _jsxRuntime.jsxs)(Root, {
557
557
  mode,
@@ -89,7 +89,7 @@ const Root = (0, _system.styled)("section")`
89
89
  border: 1px solid;
90
90
  border-color: ${({
91
91
  theme
92
- }) => theme.palette.grey[100]};
92
+ }) => theme.palette.divider};
93
93
  padding: 4px 8px;
94
94
  cursor: pointer;
95
95
  background: ${({
@@ -451,7 +451,7 @@ function Payment({
451
451
  maxWidth: false,
452
452
  sx: {
453
453
  borderBottom: "1px solid",
454
- borderColor: "grey.100"
454
+ borderColor: "divider"
455
455
  }
456
456
  }) : null, /* @__PURE__ */(0, _jsxRuntime.jsxs)(Root, {
457
457
  mode,
@@ -642,7 +642,7 @@ const Root = exports.Root = (0, _system.styled)(_material.Box)`
642
642
  border: 1px solid;
643
643
  border-color: ${({
644
644
  theme
645
- }) => theme.palette.grey[100]};
645
+ }) => theme.palette.divider};
646
646
  .product-item-content {
647
647
  padding: 16px;
648
648
  background: ${({
@@ -666,6 +666,11 @@ const Root = exports.Root = (0, _system.styled)(_material.Box)`
666
666
  }) => `${2 * theme.shape.borderRadius}px`};
667
667
  border-bottom-right-radius: ${({
668
668
  theme
669
+ }) => `${2 * theme.shape.borderRadius}px`};
670
+ }
671
+ .product-item-content:only-child {
672
+ border-radius: ${({
673
+ theme
669
674
  }) => `${2 * theme.shape.borderRadius}px`};
670
675
  }
671
676
  }
@@ -698,7 +703,7 @@ const Root = exports.Root = (0, _system.styled)(_material.Box)`
698
703
  border-top: 1px solid;
699
704
  border-color: ${({
700
705
  theme
701
- }) => theme.palette.grey[100]};
706
+ }) => theme.palette.divider};
702
707
  &:before {
703
708
  display: none;
704
709
  }
@@ -19,7 +19,7 @@ function ProductSkeleton({
19
19
  padding: 4,
20
20
  width: 320,
21
21
  border: "1px solid",
22
- borderColor: "grey.100",
22
+ borderColor: "divider",
23
23
  borderRadius: 1,
24
24
  transition: "border-color 0.3s ease 0s, box-shadow 0.3s ease 0s",
25
25
  boxShadow: "0 4px 8px rgba(0, 0, 0, 20%)",
@@ -93,9 +93,6 @@ function PaymentThemeProvider({
93
93
  "&.Mui-disabled": {
94
94
  backgroundColor: palette.grey[100]
95
95
  },
96
- ".MuiOutlinedInput-notchedOutline": {
97
- borderColor: palette.grey[100]
98
- },
99
96
  ".MuiInputBase-input": {
100
97
  fontSize: "14px",
101
98
  minHeight: "1.65em",
@@ -103,9 +100,6 @@ function PaymentThemeProvider({
103
100
  },
104
101
  "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
105
102
  borderWidth: "1px"
106
- },
107
- "&.MuiInputBase-root:hover .MuiOutlinedInput-notchedOutline": {
108
- borderColor: `${palette.primary.main}`
109
103
  }
110
104
  }
111
105
  }
@@ -125,9 +119,9 @@ function PaymentThemeProvider({
125
119
  height: 32
126
120
  },
127
121
  outlinedPrimary: {
128
- borderColor: palette.grey[100],
122
+ borderColor: palette.divider,
129
123
  "&:hover": {
130
- borderColor: palette.grey[100]
124
+ borderColor: palette.divider
131
125
  }
132
126
  }
133
127
  }
@@ -230,13 +224,6 @@ function PaymentThemeProvider({
230
224
  }
231
225
  }
232
226
  },
233
- MuiDivider: {
234
- styleOverrides: {
235
- root: {
236
- borderColor: palette.grey[100]
237
- }
238
- }
239
- },
240
227
  MuiInputBase: {
241
228
  defaultProps: {
242
229
  size: "small"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/payment-react",
3
- "version": "1.19.12",
3
+ "version": "1.19.13",
4
4
  "description": "Reusable react components for payment kit v2",
5
5
  "keywords": [
6
6
  "react",
@@ -54,11 +54,11 @@
54
54
  }
55
55
  },
56
56
  "dependencies": {
57
- "@arcblock/did-connect": "^3.0.39",
58
- "@arcblock/ux": "^3.0.39",
57
+ "@arcblock/did-connect": "^3.0.41",
58
+ "@arcblock/ux": "^3.0.41",
59
59
  "@arcblock/ws": "^1.21.1",
60
- "@blocklet/theme": "^3.0.39",
61
- "@blocklet/ui-react": "^3.0.39",
60
+ "@blocklet/theme": "^3.0.41",
61
+ "@blocklet/ui-react": "^3.0.41",
62
62
  "@mui/icons-material": "^7.1.2",
63
63
  "@mui/lab": "7.0.0-beta.14",
64
64
  "@mui/material": "^7.1.2",
@@ -94,7 +94,7 @@
94
94
  "@babel/core": "^7.27.4",
95
95
  "@babel/preset-env": "^7.27.2",
96
96
  "@babel/preset-react": "^7.27.1",
97
- "@blocklet/payment-types": "1.19.12",
97
+ "@blocklet/payment-types": "1.19.13",
98
98
  "@storybook/addon-essentials": "^7.6.20",
99
99
  "@storybook/addon-interactions": "^7.6.20",
100
100
  "@storybook/addon-links": "^7.6.20",
@@ -125,5 +125,5 @@
125
125
  "vite-plugin-babel": "^1.3.1",
126
126
  "vite-plugin-node-polyfills": "^0.23.0"
127
127
  },
128
- "gitHead": "2496138990f95bb979125127a06c5e9d731877c9"
128
+ "gitHead": "07c6878eb9d455f3898adfda7d07ca9e321e866c"
129
129
  }
@@ -165,12 +165,12 @@ export function DonateDetails({ supporters = [], currency, method }: DonateHisto
165
165
  sx={{
166
166
  padding: '6px',
167
167
  '&:hover': {
168
- backgroundColor: (theme) => theme.palette.grey[100],
168
+ backgroundColor: (theme) => theme.palette.divider,
169
169
  transition: 'background-color 200ms linear',
170
170
  cursor: 'pointer',
171
171
  },
172
172
  borderBottom: '1px solid',
173
- borderColor: 'grey.100',
173
+ borderColor: 'divider',
174
174
  display: 'flex',
175
175
  justifyContent: 'space-between',
176
176
  alignItems: 'center',
@@ -671,7 +671,7 @@ function CheckoutDonateInner({
671
671
  ...(!donateSettings.appearance?.button?.variant
672
672
  ? {
673
673
  color: 'primary.main',
674
- borderColor: 'grey.200',
674
+ borderColor: 'divider',
675
675
  }
676
676
  : {}),
677
677
  // @ts-ignore
@@ -814,7 +814,7 @@ function CheckoutDonateInner({
814
814
  '.MuiDialogContent-root': {
815
815
  padding: '16px 24px',
816
816
  borderTop: '1px solid',
817
- borderColor: 'grey.100',
817
+ borderColor: 'divider',
818
818
  width: '100%',
819
819
  },
820
820
  '.ux-dialog_header': {
@@ -565,7 +565,7 @@ function OverdueInvoicePayment({
565
565
  py: 1,
566
566
  px: 0.5,
567
567
  borderBottom: '1px solid',
568
- borderColor: 'grey.200',
568
+ borderColor: 'divider',
569
569
 
570
570
  '&:hover': {
571
571
  backgroundColor: () => theme.palette.grey[100],
@@ -350,12 +350,12 @@ export default function PricingTable({
350
350
  cursor: 'pointer',
351
351
  borderWidth: '1px',
352
352
  borderStyle: 'solid',
353
- borderColor: mode === 'select' && x.is_selected ? 'primary.main' : 'grey.100',
353
+ borderColor: mode === 'select' && x.is_selected ? 'primary.main' : 'divider',
354
354
  borderRadius: 2,
355
355
  transition: 'border-color 0.3s ease 0s, box-shadow 0.3s ease 0s',
356
356
  boxShadow: 2,
357
357
  '&:hover': {
358
- borderColor: mode === 'select' && x.is_selected ? 'primary.main' : 'grey.200',
358
+ borderColor: mode === 'select' && x.is_selected ? 'primary.main' : 'divider',
359
359
  boxShadow: 2,
360
360
  },
361
361
  width: {
@@ -80,13 +80,13 @@ const Wrapped = styled(Datatable)`
80
80
  }
81
81
  table.MuiTable-root {
82
82
  outline: 1px solid;
83
- outline-color: ${({ theme }) => theme.palette.grey[100]};
83
+ outline-color: ${({ theme }) => theme.palette.divider};
84
84
  border-radius: ${({ theme }) => `${2 * (theme.shape.borderRadius as number)}px`};
85
85
  overflow: hidden;
86
86
  }
87
87
  [class*='MUIDataTable-responsiveBase'] {
88
88
  outline: 1px solid;
89
- outline-color: ${({ theme }) => theme.palette.grey[100]};
89
+ outline-color: ${({ theme }) => theme.palette.divider};
90
90
  border-radius: ${({ theme }) => `${2 * (theme.shape.borderRadius as number)}px`};
91
91
  }
92
92
 
@@ -138,7 +138,7 @@ const TransactionsTable = React.memo((props: Props) => {
138
138
 
139
139
  const columns = [
140
140
  {
141
- label: t('common.creditAmount'),
141
+ label: t('common.amount'),
142
142
  name: 'credit_amount',
143
143
  align: 'right',
144
144
  options: {
@@ -214,7 +214,7 @@ const TransactionsTable = React.memo((props: Props) => {
214
214
  ]
215
215
  : []),
216
216
  {
217
- label: t('admin.creditTransactions.transactionDate'),
217
+ label: t('common.date'),
218
218
  name: 'created_at',
219
219
  options: {
220
220
  customBodyRenderLite: (_: string, index: number) => {
@@ -573,7 +573,7 @@ export default function DonationForm({
573
573
  theme={undefined}
574
574
  hideNavMenu={undefined}
575
575
  maxWidth={false}
576
- sx={{ borderBottom: '1px solid', borderColor: 'grey.100' }}
576
+ sx={{ borderBottom: '1px solid', borderColor: 'divider' }}
577
577
  />
578
578
  ) : null}
579
579
  <Root
@@ -77,7 +77,7 @@ const Root = styled<any>('section')`
77
77
 
78
78
  .cko-payment-card-unselect {
79
79
  border: 1px solid;
80
- border-color: ${({ theme }) => theme.palette.grey[100]};
80
+ border-color: ${({ theme }) => theme.palette.divider};
81
81
  padding: 4px 8px;
82
82
  cursor: pointer;
83
83
  background: ${({ theme }) => theme.palette.grey[50]};
@@ -455,7 +455,7 @@ export default function Payment({
455
455
  theme={undefined}
456
456
  hideNavMenu={undefined}
457
457
  maxWidth={false}
458
- sx={{ borderBottom: '1px solid', borderColor: 'grey.100' }}
458
+ sx={{ borderBottom: '1px solid', borderColor: 'divider' }}
459
459
  />
460
460
  ) : null}
461
461
  <Root
@@ -637,7 +637,7 @@ export const Root: React.FC<RootProps> = styled(Box)<RootProps>`
637
637
  .product-item {
638
638
  border-radius: ${({ theme }) => `${2 * (theme.shape.borderRadius as number)}px`};
639
639
  border: 1px solid;
640
- border-color: ${({ theme }) => theme.palette.grey[100]};
640
+ border-color: ${({ theme }) => theme.palette.divider};
641
641
  .product-item-content {
642
642
  padding: 16px;
643
643
  background: ${({ theme }) => theme.palette.grey[50]};
@@ -651,6 +651,9 @@ export const Root: React.FC<RootProps> = styled(Box)<RootProps>`
651
651
  border-bottom-left-radius: ${({ theme }) => `${2 * (theme.shape.borderRadius as number)}px`};
652
652
  border-bottom-right-radius: ${({ theme }) => `${2 * (theme.shape.borderRadius as number)}px`};
653
653
  }
654
+ .product-item-content:only-child {
655
+ border-radius: ${({ theme }) => `${2 * (theme.shape.borderRadius as number)}px`};
656
+ }
654
657
  }
655
658
 
656
659
  @media (max-width: ${({ theme }) => theme.breakpoints.values.md}px) {
@@ -677,7 +680,7 @@ export const Root: React.FC<RootProps> = styled(Box)<RootProps>`
677
680
  height: fit-content;
678
681
  flex: none;
679
682
  border-top: 1px solid;
680
- border-color: ${({ theme }) => theme.palette.grey[100]};
683
+ border-color: ${({ theme }) => theme.palette.divider};
681
684
  &:before {
682
685
  display: none;
683
686
  }
@@ -11,7 +11,7 @@ export default function ProductSkeleton({ count }: { count: number }) {
11
11
  padding: 4,
12
12
  width: 320,
13
13
  border: '1px solid',
14
- borderColor: 'grey.100',
14
+ borderColor: 'divider',
15
15
  borderRadius: 1,
16
16
  transition: 'border-color 0.3s ease 0s, box-shadow 0.3s ease 0s',
17
17
  boxShadow: '0 4px 8px rgba(0, 0, 0, 20%)',
@@ -91,9 +91,6 @@ export function PaymentThemeProvider({
91
91
  '&.Mui-disabled': {
92
92
  backgroundColor: palette.grey[100],
93
93
  },
94
- '.MuiOutlinedInput-notchedOutline': {
95
- borderColor: palette.grey[100],
96
- },
97
94
  '.MuiInputBase-input': {
98
95
  fontSize: '14px',
99
96
  minHeight: '1.65em',
@@ -102,9 +99,6 @@ export function PaymentThemeProvider({
102
99
  '&.Mui-focused .MuiOutlinedInput-notchedOutline': {
103
100
  borderWidth: '1px',
104
101
  },
105
- '&.MuiInputBase-root:hover .MuiOutlinedInput-notchedOutline': {
106
- borderColor: `${palette.primary.main}`,
107
- },
108
102
  },
109
103
  },
110
104
  },
@@ -123,9 +117,9 @@ export function PaymentThemeProvider({
123
117
  height: 32,
124
118
  },
125
119
  outlinedPrimary: {
126
- borderColor: palette.grey[100],
120
+ borderColor: palette.divider,
127
121
  '&:hover': {
128
- borderColor: palette.grey[100],
122
+ borderColor: palette.divider,
129
123
  },
130
124
  },
131
125
  },
@@ -227,13 +221,6 @@ export function PaymentThemeProvider({
227
221
  },
228
222
  },
229
223
  },
230
- MuiDivider: {
231
- styleOverrides: {
232
- root: {
233
- borderColor: palette.grey[100],
234
- },
235
- },
236
- },
237
224
  MuiInputBase: {
238
225
  defaultProps: {
239
226
  size: 'small',