@graphcommerce/next-ui 3.6.0 → 3.8.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/AspectRatioContainer/index.tsx +1 -1
- package/Button/index.tsx +6 -2
- package/CHANGELOG.md +27 -0
- package/FramerNextPagesSlider/Slider.tsx +1 -1
- package/FramerScroller/components/SidebarGallery.tsx +1 -3
- package/FramerScroller/components/SidebarSlider.tsx +2 -7
- package/Row/ButtonLinkList/index.tsx +1 -2
- package/Row/ContentLinks/index.tsx +1 -5
- package/Row/HeroBanner/index.tsx +1 -2
- package/StyledBadge/index.tsx +1 -2
- package/package.json +10 -11
- package/.babelrc +0 -3
package/Button/index.tsx
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
Button as MuiButton,
|
|
3
|
+
ButtonClassKey as MuiButtonClassKey,
|
|
4
|
+
Theme,
|
|
5
|
+
makeStyles,
|
|
6
|
+
} from '@material-ui/core'
|
|
3
7
|
import clsx from 'clsx'
|
|
4
8
|
import React from 'react'
|
|
5
9
|
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.8.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.7.1...@graphcommerce/next-ui@3.8.0) (2021-10-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **graphql-mesh:** remove the api project and use a single project 🎉👩👩👦👦 ([ea4ad03](https://github.com/ho-nl/m2-pwa/commit/ea4ad0397d4ff289ef3b3253593fb0914c8c5246))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.7.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.6.0...@graphcommerce/next-ui@3.7.0) (2021-10-19)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* solve import issue where @material-ui/styles couldn't be found ([efb3771](https://github.com/ho-nl/m2-pwa/commit/efb3771e8c173799779691d4d52857678dab4c15))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **framer-scroller:** better defaults so the Scroller doesn't look broken when providing no props ([b177ce9](https://github.com/ho-nl/m2-pwa/commit/b177ce9570abb9ccfd4eb5cc34e43d157bb4e81a))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.6.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.5.0...@graphcommerce/next-ui@3.6.0) (2021-10-18)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { usePageContext, usePageRouter } from '@graphcommerce/framer-next-pages'
|
|
2
|
-
import { makeStyles } from '@material-ui/
|
|
2
|
+
import { makeStyles } from '@material-ui/core'
|
|
3
3
|
import { AnimatePresence } from 'framer-motion'
|
|
4
4
|
import React, { useRef } from 'react'
|
|
5
5
|
import RouterSlide from './Slide'
|
|
@@ -4,8 +4,7 @@ import {
|
|
|
4
4
|
ScrollerPageCounter,
|
|
5
5
|
ScrollerProvider,
|
|
6
6
|
} from '@graphcommerce/framer-scroller'
|
|
7
|
-
import { Theme } from '@material-ui/core'
|
|
8
|
-
import { makeStyles } from '@material-ui/styles'
|
|
7
|
+
import { Theme, makeStyles } from '@material-ui/core'
|
|
9
8
|
import React, { ReactNode } from 'react'
|
|
10
9
|
import { UseStyles } from '../../Styles'
|
|
11
10
|
import responsiveVal from '../../Styles/responsiveVal'
|
|
@@ -31,15 +30,11 @@ const useStyles = makeStyles(
|
|
|
31
30
|
},
|
|
32
31
|
scroller: {
|
|
33
32
|
width: '100%',
|
|
34
|
-
display: 'grid',
|
|
35
|
-
gridAutoFlow: 'column',
|
|
36
33
|
gridColumnGap: theme.spacings.md,
|
|
37
34
|
gridRowGap: theme.spacings.lg,
|
|
38
35
|
alignContent: 'space-around',
|
|
39
36
|
paddingRight: theme.page.horizontal,
|
|
40
|
-
|
|
41
|
-
minWidth: responsiveVal(200, 400),
|
|
42
|
-
},
|
|
37
|
+
gridAutoColumns: responsiveVal(200, 400),
|
|
43
38
|
},
|
|
44
39
|
sliderButtons: {
|
|
45
40
|
[theme.breakpoints.down('sm')]: {
|
|
@@ -8,14 +8,10 @@ const useStyles = makeStyles(
|
|
|
8
8
|
root: {},
|
|
9
9
|
scroller: {
|
|
10
10
|
marginBottom: `${theme.spacings.lg}`,
|
|
11
|
-
display: 'grid',
|
|
12
|
-
gridAutoFlow: 'column',
|
|
13
11
|
justifyContent: 'start',
|
|
14
12
|
gap: `${theme.spacings.md}`,
|
|
15
13
|
alignContent: 'center',
|
|
16
|
-
|
|
17
|
-
minWidth: 'max-content',
|
|
18
|
-
},
|
|
14
|
+
gridAutoColumns: `max-content`,
|
|
19
15
|
},
|
|
20
16
|
title: {
|
|
21
17
|
fontWeight: 600,
|
package/Row/HeroBanner/index.tsx
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ContainerProps, Theme } from '@material-ui/core'
|
|
2
|
-
import { makeStyles } from '@material-ui/styles'
|
|
1
|
+
import { ContainerProps, Theme, makeStyles } from '@material-ui/core'
|
|
3
2
|
import { m, useTransform, useViewportScroll } from 'framer-motion'
|
|
4
3
|
import React from 'react'
|
|
5
4
|
import Row from '..'
|
package/StyledBadge/index.tsx
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/next-ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.1",
|
|
4
4
|
"author": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@apollo/client": "^3.4.16",
|
|
13
|
-
"@graphcommerce/framer-next-pages": "^2.106.
|
|
14
|
-
"@graphcommerce/framer-scroller": "^0.2
|
|
15
|
-
"@graphcommerce/framer-sheet": "^2.105.
|
|
16
|
-
"@graphcommerce/framer-utils": "^2.103.
|
|
17
|
-
"@graphcommerce/graphql": "^2.
|
|
18
|
-
"@graphcommerce/image": "^2.104.
|
|
13
|
+
"@graphcommerce/framer-next-pages": "^2.106.11",
|
|
14
|
+
"@graphcommerce/framer-scroller": "^0.3.2",
|
|
15
|
+
"@graphcommerce/framer-sheet": "^2.105.11",
|
|
16
|
+
"@graphcommerce/framer-utils": "^2.103.10",
|
|
17
|
+
"@graphcommerce/graphql": "^2.104.0",
|
|
18
|
+
"@graphcommerce/image": "^2.104.12",
|
|
19
19
|
"@graphql-typed-document-node/core": "^3.1.0",
|
|
20
20
|
"@material-ui/core": "^4.12.3",
|
|
21
21
|
"@material-ui/lab": "^4.0.0-alpha.60",
|
|
@@ -31,15 +31,14 @@
|
|
|
31
31
|
"react-is": "^17.0.2",
|
|
32
32
|
"react-schemaorg": "^2.0.0",
|
|
33
33
|
"schema-dts": "^1.0.0",
|
|
34
|
-
"type-fest": "^2.5.
|
|
34
|
+
"type-fest": "^2.5.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@graphcommerce/browserslist-config-pwa": "^3.0.2",
|
|
38
|
-
"@graphcommerce/eslint-config-pwa": "^3.0
|
|
38
|
+
"@graphcommerce/eslint-config-pwa": "^3.1.0",
|
|
39
39
|
"@graphcommerce/prettier-config-pwa": "^3.0.3",
|
|
40
40
|
"@graphcommerce/typescript-config-pwa": "^3.1.1",
|
|
41
41
|
"@playwright/test": "^1.15.2",
|
|
42
|
-
"@types/react-dom": "^17.0.9",
|
|
43
42
|
"@types/react-is": "^17.0.2",
|
|
44
43
|
"graphql-tag": "2.12.5",
|
|
45
44
|
"typescript": "^4.4.4"
|
|
@@ -55,5 +54,5 @@
|
|
|
55
54
|
"project": "./tsconfig.json"
|
|
56
55
|
}
|
|
57
56
|
},
|
|
58
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "988def3b35a2a9ae0f280da7f9d9aa9717d1e2da"
|
|
59
58
|
}
|
package/.babelrc
DELETED