@graphcommerce/magento-cart 4.2.0 → 4.2.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1360](https://github.com/graphcommerce-org/graphcommerce/pull/1360) [`829b8690b`](https://github.com/graphcommerce-org/graphcommerce/commit/829b8690bc5d0a46e596299e4120e9837a9f179c) Thanks [@paales](https://github.com/paales)! - Move margins in CartStartCheckout to parent element, for better rendering on the sheet
8
+
9
+ - Updated dependencies [[`829b8690b`](https://github.com/graphcommerce-org/graphcommerce/commit/829b8690bc5d0a46e596299e4120e9837a9f179c), [`49a2d6617`](https://github.com/graphcommerce-org/graphcommerce/commit/49a2d661712e1787fba46c6195f7b559189e23d9), [`c9f7ac026`](https://github.com/graphcommerce-org/graphcommerce/commit/c9f7ac026b49047eca05be208b515f364e21571c), [`f67da3cfb`](https://github.com/graphcommerce-org/graphcommerce/commit/f67da3cfbe2dcf5ea23519d088c5aa0074029182), [`218766869`](https://github.com/graphcommerce-org/graphcommerce/commit/218766869f7468c067a590857c942f3819f8add4), [`0e5ee7ba8`](https://github.com/graphcommerce-org/graphcommerce/commit/0e5ee7ba89698e5e711001e846ed182528060cba), [`829b8690b`](https://github.com/graphcommerce-org/graphcommerce/commit/829b8690bc5d0a46e596299e4120e9837a9f179c), [`829b8690b`](https://github.com/graphcommerce-org/graphcommerce/commit/829b8690bc5d0a46e596299e4120e9837a9f179c)]:
10
+ - @graphcommerce/framer-scroller@2.1.2
11
+ - @graphcommerce/next-ui@4.4.0
12
+ - @graphcommerce/framer-next-pages@3.1.3
13
+ - @graphcommerce/magento-customer@4.1.6
14
+
3
15
  ## 4.2.0
4
16
 
5
17
  ### Minor Changes
@@ -26,7 +26,14 @@ export function CartStartCheckout(props: CartStartCheckoutProps) {
26
26
  return (
27
27
  <Box
28
28
  className={classes.checkoutButtonContainer}
29
- sx={[{ textAlign: 'center' }, ...(Array.isArray(sx) ? sx : [sx])]}
29
+ sx={[
30
+ (theme) => ({
31
+ textAlign: 'center',
32
+ marginTop: theme.spacings.md,
33
+ marginBottom: theme.spacings.md,
34
+ }),
35
+ ...(Array.isArray(sx) ? sx : [sx]),
36
+ ]}
30
37
  >
31
38
  <PageLink href='/checkout' passHref>
32
39
  <Button
@@ -36,10 +43,6 @@ export function CartStartCheckout(props: CartStartCheckoutProps) {
36
43
  className={classes.checkoutButton}
37
44
  endIcon={<IconSvg src={iconChevronRight} />}
38
45
  disabled={!hasTotals}
39
- sx={(theme) => ({
40
- marginTop: theme.spacings.md,
41
- marginBottom: theme.spacings.lg,
42
- })}
43
46
  >
44
47
  <Box
45
48
  component='span'
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.2.0",
5
+ "version": "4.2.1",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,21 +12,21 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.0.5",
15
+ "@graphcommerce/eslint-config-pwa": "^4.1.2",
16
16
  "@graphcommerce/prettier-config-pwa": "^4.0.3",
17
17
  "@graphcommerce/typescript-config-pwa": "^4.0.2",
18
18
  "@playwright/test": "^1.19.2"
19
19
  },
20
20
  "dependencies": {
21
21
  "@graphcommerce/ecommerce-ui": "^1.0.3",
22
- "@graphcommerce/framer-next-pages": "^3.1.2",
23
- "@graphcommerce/framer-scroller": "^2.1.0",
22
+ "@graphcommerce/framer-next-pages": "^3.1.3",
23
+ "@graphcommerce/framer-scroller": "^2.1.2",
24
24
  "@graphcommerce/graphql": "^3.0.4",
25
25
  "@graphcommerce/image": "^3.1.1",
26
- "@graphcommerce/magento-customer": "^4.1.5",
26
+ "@graphcommerce/magento-customer": "^4.1.6",
27
27
  "@graphcommerce/magento-graphql": "^3.0.4",
28
28
  "@graphcommerce/magento-store": "^4.1.3",
29
- "@graphcommerce/next-ui": "^4.3.0",
29
+ "@graphcommerce/next-ui": "^4.4.0",
30
30
  "@graphcommerce/react-hook-form": "^3.0.4"
31
31
  },
32
32
  "peerDependencies": {