@graphcommerce/next-ui 3.12.1 → 3.12.2

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
@@ -3,6 +3,18 @@
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.12.2](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.12.1...@graphcommerce/next-ui@3.12.2) (2021-11-02)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **message-snackbar:** children alignment ([02051df](https://github.com/ho-nl/m2-pwa/commit/02051df0f09945218117c6ba2c761e4dca3872a3))
12
+ * **message-snackbar:** children alignment ([9b9ac09](https://github.com/ho-nl/m2-pwa/commit/9b9ac094e10ec3e57155014366f39a22f07a7f52))
13
+
14
+
15
+
16
+
17
+
6
18
  ## [3.12.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/next-ui@3.12.0...@graphcommerce/next-ui@3.12.1) (2021-11-02)
7
19
 
8
20
 
@@ -1,5 +1,5 @@
1
1
  import { makeStyles, Theme, Typography } from '@material-ui/core'
2
- import React, { useRef } from 'react'
2
+ import React from 'react'
3
3
  import Button from '../../../Button'
4
4
  import { UseStyles } from '../../../Styles'
5
5
 
@@ -86,7 +86,7 @@ export type SpecialBannerProps = UseStyles<typeof useStyles> &
86
86
 
87
87
  export default function SpecialBanner(props: SpecialBannerProps) {
88
88
  const { asset, topic, pageLinks, children, ...containerProps } = props
89
- const classes = useStyles()
89
+ const classes = useStyles(props)
90
90
 
91
91
  return (
92
92
  <Row maxWidth={false} {...containerProps}>
@@ -58,14 +58,11 @@ const useStyles = makeStyles(
58
58
  },
59
59
  },
60
60
  children: {
61
+ display: 'flex',
62
+ columnGap: 10,
61
63
  gridArea: 'children',
62
64
  ...theme.typography.subtitle1,
63
65
  fontWeight: 400,
64
- display: 'grid',
65
- alignItems: 'center',
66
- justifyContent: 'start',
67
- gridAutoFlow: 'column',
68
- gap: 10,
69
66
  },
70
67
  actionButton: {
71
68
  gridArea: 'action',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/next-ui",
3
- "version": "3.12.1",
3
+ "version": "3.12.2",
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": "034145dd36551a6c71be6c51f0f1560ef50cb77a"
56
+ "gitHead": "afae9da3ec938f2c088c254bcde22e1db2636ace"
57
57
  }