@blocklet/payment-react 1.18.7 → 1.18.9
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/checkout/donate.d.ts +2 -0
- package/es/checkout/donate.js +188 -89
- package/es/components/livemode.js +1 -1
- package/es/components/table.js +1 -1
- package/es/index.d.ts +2 -2
- package/es/index.js +3 -2
- package/es/libs/util.d.ts +1 -0
- package/es/libs/util.js +10 -1
- package/es/payment/amount.js +1 -1
- package/es/payment/form/index.js +1 -1
- package/es/payment/form/stripe/form.js +1 -1
- package/es/payment/product-card.js +2 -2
- package/es/payment/product-item.js +1 -1
- package/es/payment/product-skeleton.js +2 -2
- package/es/payment/skeleton/donation.js +1 -1
- package/es/payment/skeleton/overview.js +1 -1
- package/es/payment/skeleton/payment.js +1 -1
- package/es/payment/summary.js +1 -1
- package/es/theme/index.js +3 -2
- package/es/theme/typography.js +8 -8
- package/lib/checkout/donate.d.ts +2 -0
- package/lib/checkout/donate.js +194 -129
- package/lib/components/livemode.js +1 -1
- package/lib/components/table.js +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +11 -2
- package/lib/libs/util.d.ts +1 -0
- package/lib/libs/util.js +7 -0
- package/lib/payment/amount.js +1 -1
- package/lib/payment/form/index.js +2 -2
- package/lib/payment/form/stripe/form.js +1 -1
- package/lib/payment/product-card.js +2 -2
- package/lib/payment/product-item.js +1 -1
- package/lib/payment/product-skeleton.js +2 -2
- package/lib/payment/skeleton/donation.js +1 -1
- package/lib/payment/skeleton/overview.js +1 -1
- package/lib/payment/skeleton/payment.js +1 -1
- package/lib/payment/summary.js +1 -1
- package/lib/theme/index.js +3 -2
- package/lib/theme/typography.js +8 -8
- package/package.json +8 -8
- package/src/checkout/donate.tsx +176 -112
- package/src/components/livemode.tsx +1 -1
- package/src/components/table.tsx +1 -1
- package/src/index.ts +2 -1
- package/src/libs/util.ts +11 -1
- package/src/payment/amount.tsx +1 -1
- package/src/payment/form/index.tsx +1 -1
- package/src/payment/form/stripe/form.tsx +1 -1
- package/src/payment/product-card.tsx +2 -2
- package/src/payment/product-item.tsx +1 -1
- package/src/payment/product-skeleton.tsx +2 -2
- package/src/payment/skeleton/donation.tsx +1 -1
- package/src/payment/skeleton/overview.tsx +1 -1
- package/src/payment/skeleton/payment.tsx +1 -1
- package/src/payment/summary.tsx +1 -1
- package/src/theme/index.tsx +2 -1
- package/src/theme/typography.ts +8 -8
package/src/theme/typography.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { TypographyOptions } from '@mui/material/styles/createTypography';
|
|
|
2
2
|
|
|
3
3
|
export const typography: TypographyOptions = {
|
|
4
4
|
h1: {
|
|
5
|
-
fontSize: '1.
|
|
5
|
+
fontSize: '1.5rem',
|
|
6
6
|
lineHeight: 1.2,
|
|
7
7
|
fontWeight: 800,
|
|
8
8
|
letterSpacing: '-.025em',
|
|
@@ -14,38 +14,38 @@ export const typography: TypographyOptions = {
|
|
|
14
14
|
letterSpacing: '-.025em',
|
|
15
15
|
},
|
|
16
16
|
h3: {
|
|
17
|
-
fontSize: '1.
|
|
17
|
+
fontSize: '1.09375rem',
|
|
18
18
|
lineHeight: 1.4,
|
|
19
19
|
fontWeight: 600,
|
|
20
20
|
letterSpacing: '-.025em',
|
|
21
21
|
},
|
|
22
22
|
h4: {
|
|
23
|
-
fontSize: '1.
|
|
23
|
+
fontSize: '1.09375rem',
|
|
24
24
|
lineHeight: 1.5,
|
|
25
25
|
fontWeight: 600,
|
|
26
26
|
},
|
|
27
27
|
h5: {
|
|
28
|
-
fontSize: '
|
|
28
|
+
fontSize: '0.875rem',
|
|
29
29
|
lineHeight: 1.75,
|
|
30
30
|
fontWeight: 400,
|
|
31
31
|
},
|
|
32
32
|
h6: {
|
|
33
|
-
fontSize: '
|
|
33
|
+
fontSize: '0.875rem',
|
|
34
34
|
lineHeight: 1.75,
|
|
35
35
|
fontWeight: 400,
|
|
36
36
|
},
|
|
37
37
|
subtitle1: {
|
|
38
|
-
fontSize: '
|
|
38
|
+
fontSize: '0.875rem',
|
|
39
39
|
lineHeight: 1.75,
|
|
40
40
|
fontWeight: 400,
|
|
41
41
|
},
|
|
42
42
|
subtitle2: {
|
|
43
|
-
fontSize: '
|
|
43
|
+
fontSize: '0.875rem',
|
|
44
44
|
lineHeight: 1.75,
|
|
45
45
|
fontWeight: 400,
|
|
46
46
|
},
|
|
47
47
|
body1: {
|
|
48
|
-
fontSize: '
|
|
48
|
+
fontSize: '0.875rem',
|
|
49
49
|
lineHeight: 1.75,
|
|
50
50
|
},
|
|
51
51
|
|