@graphcommerce/next-ui 7.1.0-canary.38 → 7.1.0-canary.41
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,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 7.1.0-canary.41
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2077](https://github.com/graphcommerce-org/graphcommerce/pull/2077) [`727d1004d`](https://github.com/graphcommerce-org/graphcommerce/commit/727d1004dfcb7dddf6e35b6b157a34491bb05cc6) - Fixed ItemScroller component className. Changed from SidebarSlider to ItemScroller ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
8
|
+
|
|
3
9
|
## 7.1.0-canary.38
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -10,7 +10,7 @@ import { extendableComponent, responsiveVal } from '../Styles'
|
|
|
10
10
|
import { useFabSize } from '../Theme'
|
|
11
11
|
import { iconChevronLeft, iconChevronRight } from '../icons'
|
|
12
12
|
|
|
13
|
-
const { classes } = extendableComponent('
|
|
13
|
+
const { classes } = extendableComponent('ItemScroller', [
|
|
14
14
|
'root',
|
|
15
15
|
'grid',
|
|
16
16
|
'sidebar',
|
|
@@ -21,13 +21,13 @@ const { classes } = extendableComponent('SidebarSlider', [
|
|
|
21
21
|
'centerRight',
|
|
22
22
|
] as const)
|
|
23
23
|
|
|
24
|
-
type
|
|
24
|
+
export type ItemScrollerProps = {
|
|
25
25
|
children: React.ReactNode
|
|
26
26
|
sx?: SxProps<Theme>
|
|
27
27
|
buttonSize?: ScrollerButtonProps['size']
|
|
28
28
|
} & Pick<ScrollerButtonProps, 'showButtons'>
|
|
29
29
|
|
|
30
|
-
export function ItemScroller(props:
|
|
30
|
+
export function ItemScroller(props: ItemScrollerProps) {
|
|
31
31
|
const { children, sx, buttonSize = 'responsive', showButtons } = props
|
|
32
32
|
|
|
33
33
|
const size = useFabSize(buttonSize)
|
package/PageMeta/PageMeta.tsx
CHANGED
|
@@ -2,8 +2,8 @@ import { usePageContext } from '@graphcommerce/framer-next-pages'
|
|
|
2
2
|
import { addBasePath } from 'next/dist/client/add-base-path'
|
|
3
3
|
import { addLocale } from 'next/dist/client/add-locale'
|
|
4
4
|
import { getDomainLocale } from 'next/dist/client/get-domain-locale'
|
|
5
|
+
import { resolveHref } from 'next/dist/client/resolve-href'
|
|
5
6
|
import { NextRouter } from 'next/dist/shared/lib/router/router'
|
|
6
|
-
import { resolveHref } from 'next/dist/shared/lib/router/utils/resolve-href'
|
|
7
7
|
import Head from 'next/head'
|
|
8
8
|
import { useRouter } from 'next/router'
|
|
9
9
|
import type {} from '@graphcommerce/next-config'
|
package/package.json
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/next-ui",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "7.1.0-canary.
|
|
6
|
-
"author": "",
|
|
7
|
-
"license": "MIT",
|
|
5
|
+
"version": "7.1.0-canary.41",
|
|
8
6
|
"sideEffects": false,
|
|
9
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
10
8
|
"eslintConfig": {
|
|
@@ -18,30 +16,30 @@
|
|
|
18
16
|
"@emotion/react": "^11.11.1",
|
|
19
17
|
"@emotion/server": "^11.11.0",
|
|
20
18
|
"@emotion/styled": "^11.11.0",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"@graphcommerce/framer-utils": "7.1.0-canary.38",
|
|
24
|
-
"@graphcommerce/image": "7.1.0-canary.38",
|
|
25
|
-
"cookie": "^0.5.0",
|
|
26
|
-
"react-is": "^18.2.0",
|
|
27
|
-
"schema-dts": "^1.1.0"
|
|
19
|
+
"cookie": "^0.6.0",
|
|
20
|
+
"react-is": "^18.2.0"
|
|
28
21
|
},
|
|
29
22
|
"devDependencies": {
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
32
|
-
"
|
|
33
|
-
"@types/cookie": "^0.5.2",
|
|
34
|
-
"@types/react-is": "^18.2.1",
|
|
23
|
+
"@types/cookie": "^0.5.4",
|
|
24
|
+
"@types/react-is": "^18.2.4",
|
|
25
|
+
"schema-dts": "^1.1.2",
|
|
35
26
|
"typescript": "5.2.2"
|
|
36
27
|
},
|
|
37
28
|
"peerDependencies": {
|
|
29
|
+
"@graphcommerce/eslint-config-pwa": "7.1.0-canary.41",
|
|
30
|
+
"@graphcommerce/framer-next-pages": "7.1.0-canary.41",
|
|
31
|
+
"@graphcommerce/framer-scroller": "7.1.0-canary.41",
|
|
32
|
+
"@graphcommerce/framer-utils": "7.1.0-canary.41",
|
|
33
|
+
"@graphcommerce/image": "7.1.0-canary.41",
|
|
34
|
+
"@graphcommerce/prettier-config-pwa": "7.1.0-canary.41",
|
|
35
|
+
"@graphcommerce/typescript-config-pwa": "7.1.0-canary.41",
|
|
38
36
|
"@lingui/core": "^4.2.1",
|
|
39
37
|
"@lingui/macro": "^4.2.1",
|
|
40
38
|
"@lingui/react": "^4.2.1",
|
|
41
39
|
"@mui/lab": "^5.0.0-alpha.68",
|
|
42
40
|
"@mui/material": "^5.10.16",
|
|
43
41
|
"framer-motion": "^10.0.0",
|
|
44
|
-
"next": "
|
|
42
|
+
"next": "*",
|
|
45
43
|
"react": "^18.2.0",
|
|
46
44
|
"react-dom": "^18.2.0"
|
|
47
45
|
}
|