@graphcommerce/next-ui 9.0.0-canary.76 → 9.0.0-canary.78

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
+ ## 9.0.0-canary.78
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2354](https://github.com/graphcommerce-org/graphcommerce/pull/2354) [`7cd5c1c`](https://github.com/graphcommerce-org/graphcommerce/commit/7cd5c1cadf8dac43de9e5bb19038383be64aa08f) - Fix issues when using non-hex colors in theme ([@bramvanderholst](https://github.com/bramvanderholst))
8
+
9
+ - [#2354](https://github.com/graphcommerce-org/graphcommerce/pull/2354) [`7c10458`](https://github.com/graphcommerce-org/graphcommerce/commit/7c104588ef96b9066b8f91835c29f957b08e4831) - Fix back button transparency on hover ([@bramvanderholst](https://github.com/bramvanderholst))
10
+
11
+ - [#2354](https://github.com/graphcommerce-org/graphcommerce/pull/2354) [`1de9582`](https://github.com/graphcommerce-org/graphcommerce/commit/1de9582967f2a09cc7167a38ada4e50fe0d1b29a) - Properly align cart loading state (and other FullPageMessage usages) ([@bramvanderholst](https://github.com/bramvanderholst))
12
+
13
+ ## 9.0.0-canary.77
14
+
3
15
  ## 9.0.0-canary.76
4
16
 
5
17
  ## 9.0.0-canary.75
@@ -36,6 +36,7 @@ export function FullPageMessage(props: FullPageMessageProps) {
36
36
  }),
37
37
  !disableMargin && {
38
38
  marginTop: responsiveVal(50, 250),
39
+ marginBottom: responsiveVal(50, 250),
39
40
  },
40
41
  ...(Array.isArray(sx) ? sx : [sx]),
41
42
  ]}
@@ -1,4 +1,4 @@
1
- import { ComponentsVariants, Theme } from '@mui/material'
1
+ import { ComponentsVariants, Theme, alpha, darken, lighten } from '@mui/material'
2
2
  import { responsiveVal } from '../Styles/responsiveVal'
3
3
 
4
4
  declare module '@mui/material/Button/Button' {
@@ -126,7 +126,15 @@ export const MuiButtonPill: ButtonVariants = [
126
126
  },
127
127
  {
128
128
  props: { variant: 'pill', color: 'inherit' },
129
- style: ({ theme }) => ({ backgroundColor: theme.palette.background.paper }),
129
+ style: ({ theme }) => ({
130
+ backgroundColor: theme.palette.background.paper,
131
+ '&:hover:not(.Mui-disabled)': {
132
+ backgroundColor:
133
+ theme.palette.mode === 'light'
134
+ ? darken(theme.palette.background.default, 0.05)
135
+ : lighten(theme.palette.background.default, 0.2),
136
+ },
137
+ }),
130
138
  },
131
139
  {
132
140
  props: { variant: 'pill', disabled: true },
@@ -142,7 +150,7 @@ export const MuiButtonInline: ButtonVariants = [
142
150
  props: { variant: 'inline', color: 'primary' },
143
151
  style: ({ theme }) => ({
144
152
  color: theme.palette.primary.main,
145
- '&:hover:not(.Mui-disabled)': { backgroundColor: `${theme.palette.primary.main}30` },
153
+ '&:hover:not(.Mui-disabled)': { backgroundColor: alpha(theme.palette.primary.main, 0.19) },
146
154
  }),
147
155
  },
148
156
  {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/next-ui",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.0-canary.76",
5
+ "version": "9.0.0-canary.78",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -26,13 +26,13 @@
26
26
  "typescript": "5.5.3"
27
27
  },
28
28
  "peerDependencies": {
29
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.76",
30
- "@graphcommerce/framer-next-pages": "^9.0.0-canary.76",
31
- "@graphcommerce/framer-scroller": "^9.0.0-canary.76",
32
- "@graphcommerce/framer-utils": "^9.0.0-canary.76",
33
- "@graphcommerce/image": "^9.0.0-canary.76",
34
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.76",
35
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.76",
29
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.78",
30
+ "@graphcommerce/framer-next-pages": "^9.0.0-canary.78",
31
+ "@graphcommerce/framer-scroller": "^9.0.0-canary.78",
32
+ "@graphcommerce/framer-utils": "^9.0.0-canary.78",
33
+ "@graphcommerce/image": "^9.0.0-canary.78",
34
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.78",
35
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.78",
36
36
  "@lingui/core": "^4.2.1",
37
37
  "@lingui/macro": "^4.2.1",
38
38
  "@lingui/react": "^4.2.1",