@graphcommerce/next-ui 3.14.4 → 3.14.5
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/Row/ColumnTwoWithTop/index.tsx +15 -13
- package/UspList/index.tsx +1 -1
- package/package.json +2 -2
|
@@ -8,12 +8,16 @@ const useStyles = makeStyles(
|
|
|
8
8
|
root: {
|
|
9
9
|
display: 'grid',
|
|
10
10
|
gap: `${theme.spacings.lg} 0`,
|
|
11
|
-
gridTemplateAreas: `
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
gridTemplateAreas: `
|
|
12
|
+
"top"
|
|
13
|
+
"left"
|
|
14
|
+
"right"
|
|
15
|
+
`,
|
|
14
16
|
[theme.breakpoints.up('md')]: {
|
|
15
|
-
gridTemplateAreas: `
|
|
16
|
-
|
|
17
|
+
gridTemplateAreas: `
|
|
18
|
+
"top ."
|
|
19
|
+
"left right"
|
|
20
|
+
`,
|
|
17
21
|
gridTemplateColumns: '1fr auto',
|
|
18
22
|
gap: `${theme.spacings.sm} ${theme.spacings.xl}`,
|
|
19
23
|
},
|
|
@@ -31,15 +35,13 @@ const useStyles = makeStyles(
|
|
|
31
35
|
{ name: 'ColumnTwoWithTop' },
|
|
32
36
|
)
|
|
33
37
|
|
|
34
|
-
export type
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
>
|
|
38
|
+
export type ColumnTwoWithTopProps = UseStyles<typeof useStyles> & {
|
|
39
|
+
top: React.ReactNode
|
|
40
|
+
left: React.ReactNode
|
|
41
|
+
right: React.ReactNode
|
|
42
|
+
}
|
|
41
43
|
|
|
42
|
-
export default function ColumnTwoWithTop(props:
|
|
44
|
+
export default function ColumnTwoWithTop(props: ColumnTwoWithTopProps) {
|
|
43
45
|
const { top, left, right } = props
|
|
44
46
|
const classes = useStyles(props)
|
|
45
47
|
|
package/UspList/index.tsx
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/next-ui",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.5",
|
|
4
4
|
"author": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"project": "./tsconfig.json"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "15fd80e36ef6ebee46e0255872504a72288854de"
|
|
57
57
|
}
|