@graphcommerce/magento-cart-coupon 2.105.13 → 2.105.17

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.
@@ -14,51 +14,54 @@ import ApplyCouponForm from '../ApplyCouponForm/ApplyCouponForm'
14
14
  import RemoveCouponForm from '../RemoveCouponForm/RemoveCouponForm'
15
15
  import { GetCouponDocument } from './GetCoupon.gql'
16
16
 
17
- const useStyles = makeStyles((theme: Theme) => ({
18
- accordion: {
19
- '&:before': {
20
- background: 'none',
17
+ const useStyles = makeStyles(
18
+ (theme: Theme) => ({
19
+ accordion: {
20
+ '&:before': {
21
+ background: 'none',
22
+ },
23
+ boxShadow: 'none',
24
+ border: '1px solid #ededed',
25
+ borderRadius: 8,
26
+ overflow: 'hidden',
21
27
  },
22
- boxShadow: 'none',
23
- border: '1px solid #ededed',
24
- borderRadius: 8,
25
- overflow: 'hidden',
26
- },
27
- button: {
28
- padding: `${theme.spacings.xs} ${theme.spacings.sm}`,
29
- width: '100%',
28
+ button: {
29
+ padding: `${theme.spacings.xs} ${theme.spacings.sm}`,
30
+ width: '100%',
30
31
 
31
- '& .MuiButton-label': {
32
- display: 'flex',
33
- justifyContent: 'flex-start',
34
- '& span:last-child': {
35
- marginLeft: 'auto',
32
+ '& .MuiButton-label': {
33
+ display: 'flex',
34
+ justifyContent: 'flex-start',
35
+ '& span:last-child': {
36
+ marginLeft: 'auto',
37
+ },
36
38
  },
37
- },
38
- '& > span': {
39
- display: 'inline',
40
- '& > h6': {
41
- textAlign: 'left',
42
- marginRight: theme.spacings.sm,
39
+ '& > span': {
40
+ display: 'inline',
41
+ '& > h6': {
42
+ textAlign: 'left',
43
+ marginRight: theme.spacings.sm,
44
+ },
43
45
  },
44
46
  },
45
- },
46
- couponFormWrap: {
47
- background: 'rgba(0,0,0,0.04)',
48
- padding: `0 ${theme.spacings.sm} ${theme.spacings.xs}`,
49
- },
50
- buttonOpen: {
51
- background: 'rgba(0,0,0,0.04)',
52
- borderBottomLeftRadius: 0,
53
- borderBottomRightRadius: 0,
54
- },
55
- disabled: {
56
- cursor: 'default',
57
- '&:hover': {
58
- background: 'transparent',
47
+ couponFormWrap: {
48
+ background: 'rgba(0,0,0,0.04)',
49
+ padding: `0 ${theme.spacings.sm} ${theme.spacings.xs}`,
50
+ },
51
+ buttonOpen: {
52
+ background: 'rgba(0,0,0,0.04)',
53
+ borderBottomLeftRadius: 0,
54
+ borderBottomRightRadius: 0,
55
+ },
56
+ disabled: {
57
+ cursor: 'default',
58
+ '&:hover': {
59
+ background: 'transparent',
60
+ },
59
61
  },
60
- },
61
- }))
62
+ }),
63
+ { name: 'CouponAccordion' },
64
+ )
62
65
 
63
66
  export type CouponAccordionProps = UseStyles<typeof useStyles>
64
67
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-cart-coupon",
3
- "version": "2.105.13",
3
+ "version": "2.105.17",
4
4
  "sideEffects": false,
5
5
  "prettier": "@graphcommerce/prettier-config-pwa",
6
6
  "browserslist": [
@@ -14,19 +14,19 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@graphcommerce/browserslist-config-pwa": "^3.0.1",
17
- "@graphcommerce/eslint-config-pwa": "^3.0.4",
17
+ "@graphcommerce/eslint-config-pwa": "^3.0.5",
18
18
  "@graphcommerce/prettier-config-pwa": "^3.0.2",
19
19
  "@graphcommerce/typescript-config-pwa": "^3.1.0",
20
20
  "@playwright/test": "^1.15.0"
21
21
  },
22
22
  "dependencies": {
23
- "@apollo/client": "^3.3.21",
24
- "@graphcommerce/graphql": "^2.103.4",
25
- "@graphcommerce/image": "^2.104.5",
26
- "@graphcommerce/magento-cart": "^3.1.0",
27
- "@graphcommerce/magento-store": "^3.0.11",
28
- "@graphcommerce/next-ui": "^3.1.3",
29
- "@graphcommerce/react-hook-form": "^2.102.4",
23
+ "@apollo/client": "^3.4.16",
24
+ "@graphcommerce/graphql": "^2.103.5",
25
+ "@graphcommerce/image": "^2.104.6",
26
+ "@graphcommerce/magento-cart": "^3.1.4",
27
+ "@graphcommerce/magento-store": "^3.0.15",
28
+ "@graphcommerce/next-ui": "^3.1.7",
29
+ "@graphcommerce/react-hook-form": "^2.102.6",
30
30
  "@graphql-typed-document-node/core": "^3.1.0",
31
31
  "@material-ui/core": "^4.12.3",
32
32
  "@material-ui/lab": "^4.0.0-alpha.60",
@@ -36,5 +36,5 @@
36
36
  "react": "^17.0.2",
37
37
  "react-dom": "^17.0.2"
38
38
  },
39
- "gitHead": "bffc2d42dc3f1e6a95cbff7025ede389693f8a54"
39
+ "gitHead": "7c6ad9b6fdf91e48b33013218d962ad15f931db8"
40
40
  }