@graphcommerce/next-ui 4.31.0-canary.1 → 4.31.0-canary.3
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.
|
@@ -214,13 +214,9 @@ export function ActionCard(props: ActionCardProps) {
|
|
|
214
214
|
zIndex: 1,
|
|
215
215
|
},
|
|
216
216
|
'&.disabled': {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
background: alpha(
|
|
221
|
-
theme.palette.action.disabledBackground,
|
|
222
|
-
theme.palette.action.disabledOpacity / 10,
|
|
223
|
-
),
|
|
217
|
+
background: theme.palette.action.disabledBackground,
|
|
218
|
+
opacity: theme.palette.action.disabledOpacity,
|
|
219
|
+
color: theme.palette.action.disabled,
|
|
224
220
|
},
|
|
225
221
|
}),
|
|
226
222
|
...(Array.isArray(sx) ? sx : [sx]),
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.31.0-canary.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1733](https://github.com/graphcommerce-org/graphcommerce/pull/1733) [`a0eefa762`](https://github.com/graphcommerce-org/graphcommerce/commit/a0eefa762f93f817f506b87753dfe0b92e3318f8) - Added better disabled state for an ActionCard ([@paales](https://github.com/paales))
|
|
8
|
+
|
|
9
|
+
## 4.31.0-canary.2
|
|
10
|
+
|
|
3
11
|
## 4.31.0-canary.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import styled from '@emotion/styled'
|
|
2
1
|
import { useMotionValueValue, useMotionSelector } from '@graphcommerce/framer-utils'
|
|
3
2
|
import { i18n } from '@lingui/core'
|
|
4
|
-
import { Box, Fab, SxProps, Theme, useEventCallback,
|
|
3
|
+
import { Box, Fab, SxProps, Theme, useEventCallback, styled } from '@mui/material'
|
|
5
4
|
import { m } from 'framer-motion'
|
|
6
5
|
import React, { useEffect } from 'react'
|
|
7
6
|
import type { LiteralUnion } from 'type-fest'
|
|
@@ -37,7 +36,7 @@ type NavigationOverlayProps = {
|
|
|
37
36
|
itemPadding?: ItemPadding
|
|
38
37
|
} & mouseEventPref
|
|
39
38
|
|
|
40
|
-
const MotionDiv = styled(m.div)()
|
|
39
|
+
const MotionDiv = styled(m.div)({})
|
|
41
40
|
|
|
42
41
|
const componentName = 'Navigation'
|
|
43
42
|
const parts = ['root', 'navigation', 'header', 'column'] as const
|
|
@@ -124,7 +123,7 @@ export const NavigationOverlay = React.memo<NavigationOverlayProps>((props) => {
|
|
|
124
123
|
},
|
|
125
124
|
}}
|
|
126
125
|
>
|
|
127
|
-
<MotionDiv layout
|
|
126
|
+
<MotionDiv layout sx={{ display: 'grid' }}>
|
|
128
127
|
<Box
|
|
129
128
|
className={classes.header}
|
|
130
129
|
sx={(theme) => ({
|
|
@@ -179,7 +178,7 @@ export const NavigationOverlay = React.memo<NavigationOverlayProps>((props) => {
|
|
|
179
178
|
</Box>
|
|
180
179
|
</MotionDiv>
|
|
181
180
|
|
|
182
|
-
<MotionDiv layout='position'
|
|
181
|
+
<MotionDiv layout='position' sx={{ display: 'grid' }}>
|
|
183
182
|
<Box
|
|
184
183
|
sx={[
|
|
185
184
|
(theme) => ({
|
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": "4.31.0-canary.
|
|
5
|
+
"version": "4.31.0-canary.3",
|
|
6
6
|
"author": "",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"sideEffects": false,
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"@emotion/react": "^11.9.3",
|
|
20
20
|
"@emotion/server": "^11.4.0",
|
|
21
21
|
"@emotion/styled": "^11.9.3",
|
|
22
|
-
"@graphcommerce/framer-next-pages": "4.31.0-canary.
|
|
23
|
-
"@graphcommerce/framer-scroller": "4.31.0-canary.
|
|
24
|
-
"@graphcommerce/framer-utils": "4.31.0-canary.
|
|
25
|
-
"@graphcommerce/image": "4.31.0-canary.
|
|
22
|
+
"@graphcommerce/framer-next-pages": "4.31.0-canary.3",
|
|
23
|
+
"@graphcommerce/framer-scroller": "4.31.0-canary.3",
|
|
24
|
+
"@graphcommerce/framer-utils": "4.31.0-canary.3",
|
|
25
|
+
"@graphcommerce/image": "4.31.0-canary.3",
|
|
26
26
|
"cookie": "^0.5.0",
|
|
27
27
|
"react-is": "^18.2.0",
|
|
28
28
|
"schema-dts": "^1.1.0"
|