@graphcommerce/next-ui 3.25.0 → 3.25.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.
@@ -1,5 +1,6 @@
1
1
  import { makeStyles, Theme } from '@material-ui/core'
2
2
  import React from 'react'
3
+ import { UseStyles } from '../Styles'
3
4
 
4
5
  const useStyles = makeStyles(
5
6
  (theme: Theme) => ({
@@ -20,8 +21,12 @@ const useStyles = makeStyles(
20
21
  { name: 'DesktopNavActions' },
21
22
  )
22
23
 
23
- export default function DesktopNavActions(props: { children?: React.ReactNode }) {
24
+ export default function DesktopNavActions(
25
+ props: {
26
+ children?: React.ReactNode
27
+ } & UseStyles<typeof useStyles>,
28
+ ) {
24
29
  const { children } = props
25
- const classes = useStyles()
30
+ const classes = useStyles(props)
26
31
  return <div className={classes.actions}>{children}</div>
27
32
  }
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
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.25.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.25.0...@graphcommerce/next-ui@3.25.1) (2022-02-01)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * make DesktopNavActions stylable ([db31369](https://github.com/ho-nl/m2-pwa/commit/db3136931d2ace1bfb6e7fecad0e01758aa2b397))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.25.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.24.3...@graphcommerce/next-ui@3.25.0) (2022-01-25)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/next-ui",
3
- "version": "3.25.0",
3
+ "version": "3.25.1",
4
4
  "author": "",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -11,7 +11,7 @@
11
11
  "dependencies": {
12
12
  "@apollo/client": "^3.5.6",
13
13
  "@graphcommerce/framer-next-pages": "^2.109.2",
14
- "@graphcommerce/framer-scroller": "^1.2.9",
14
+ "@graphcommerce/framer-scroller": "^1.2.10",
15
15
  "@graphcommerce/framer-utils": "^2.103.21",
16
16
  "@graphcommerce/graphql": "^2.105.13",
17
17
  "@graphcommerce/image": "^2.105.13",
@@ -51,5 +51,5 @@
51
51
  "project": "./tsconfig.json"
52
52
  }
53
53
  },
54
- "gitHead": "64e5665f27e32fde21e5bc3a6d1b322e065d7718"
54
+ "gitHead": "4f7fd2440fa20b9ad619b1172bc12deaaf8b2456"
55
55
  }