@graphcommerce/next-ui 4.2.2 → 4.2.3

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,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1299](https://github.com/ho-nl/m2-pwa/pull/1299)
8
+ [`e37caf437`](https://github.com/ho-nl/m2-pwa/commit/e37caf4376b304ab733d41f2b4fa8be2c35fd807)
9
+ Thanks [@paales](https://github.com/paales)! - Make sure Buttons and Fabs can have custom variants
10
+
3
11
  ## 4.2.2
4
12
 
5
13
  ### Patch Changes
@@ -97,6 +97,7 @@ export function MenuFab(props: MenuFabProps) {
97
97
  open={!!openEl}
98
98
  onClose={() => setOpenEl(null)}
99
99
  disableScrollLock
100
+ disablePortal
100
101
  transitionDuration={{ appear: 175, enter: 175, exit: 175 }}
101
102
  PaperProps={{
102
103
  sx: (theme) => ({
@@ -1,7 +1,7 @@
1
1
  import { ComponentsVariants } from '@mui/material'
2
2
  import { responsiveVal } from '../Styles/responsiveVal'
3
3
 
4
- declare module '@mui/material/Button' {
4
+ declare module '@mui/material/Button/Button' {
5
5
  interface ButtonPropsVariantOverrides {
6
6
  pill: true
7
7
  }
package/Theme/MuiFab.ts CHANGED
@@ -40,7 +40,7 @@ export const useFabSize = (size: FabSize) => {
40
40
  return fabSize(size, theme)
41
41
  }
42
42
 
43
- declare module '@mui/material/Fab' {
43
+ declare module '@mui/material/Fab/Fab' {
44
44
  interface FabPropsSizeOverrides {
45
45
  responsive: true
46
46
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/next-ui",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.2.2",
5
+ "version": "4.2.3",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "sideEffects": false,