@graphcommerce/next-ui 8.0.0-canary.91 → 8.0.0-canary.92

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,7 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.0.0-canary.92
4
+
3
5
  ## 8.0.0-canary.91
4
6
 
5
7
  ## 8.0.0-canary.90
@@ -1,4 +1,4 @@
1
- import { ComponentsVariants } from '@mui/material'
1
+ import { ComponentsVariants, Theme } from '@mui/material'
2
2
  import { responsiveVal } from '../Styles/responsiveVal'
3
3
 
4
4
  declare module '@mui/material/Button/Button' {
@@ -8,7 +8,7 @@ declare module '@mui/material/Button/Button' {
8
8
  }
9
9
  }
10
10
 
11
- type ButtonVariants = NonNullable<ComponentsVariants['MuiButton']>
11
+ type ButtonVariants = NonNullable<ComponentsVariants<Theme>['MuiButton']>
12
12
 
13
13
  export const MuiButtonResponsive: ButtonVariants = [
14
14
  {
package/Theme/MuiChip.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ComponentsVariants, darken } from '@mui/material'
1
+ import { ComponentsVariants, Theme, darken } from '@mui/material'
2
2
  import { responsiveVal } from '../Styles'
3
3
 
4
4
  declare module '@mui/material/Chip/Chip' {
@@ -10,7 +10,7 @@ declare module '@mui/material/Chip/Chip' {
10
10
  }
11
11
  }
12
12
 
13
- type ChipVariants = NonNullable<ComponentsVariants['MuiChip']>
13
+ type ChipVariants = NonNullable<ComponentsVariants<Theme>['MuiChip']>
14
14
 
15
15
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
16
16
  export const MuiChip: ChipVariants = [
package/Theme/MuiFab.ts CHANGED
@@ -64,7 +64,7 @@ function fabWidthHeight(size: FabSize, theme: Theme) {
64
64
  }
65
65
  }
66
66
 
67
- type FabVariants = NonNullable<ComponentsVariants['MuiFab']>
67
+ type FabVariants = NonNullable<ComponentsVariants<Theme>['MuiFab']>
68
68
 
69
69
  const sizes: FabSize[] = [
70
70
  'smaller',
@@ -1,11 +1,11 @@
1
- import { ComponentsVariants } from '@mui/material'
1
+ import { ComponentsVariants, Theme } from '@mui/material'
2
2
 
3
3
  declare module '@mui/material/Slider/Slider' {
4
4
  interface SliderPropsSizeOverrides {
5
5
  large: true
6
6
  }
7
7
  }
8
- type SliderVariants = NonNullable<ComponentsVariants['MuiSlider']>
8
+ type SliderVariants = NonNullable<ComponentsVariants<Theme>['MuiSlider']>
9
9
 
10
10
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
11
11
  export const MuiSlider: SliderVariants = [
@@ -1,6 +1,6 @@
1
- import { ComponentsVariants } from '@mui/material'
1
+ import { ComponentsVariants, Theme } from '@mui/material'
2
2
 
3
- type SnackbarVariants = NonNullable<ComponentsVariants['MuiSnackbar']>
3
+ type SnackbarVariants = NonNullable<ComponentsVariants<Theme>['MuiSnackbar']>
4
4
 
5
5
  /**
6
6
  * The current implementation of the MuiSnackbar will only be 50% wide if no width is specificed,
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": "8.0.0-canary.91",
5
+ "version": "8.0.0-canary.92",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "@emotion/cache": "^11.11.0",
16
- "@emotion/react": "^11.11.1",
16
+ "@emotion/react": "^11.11.3",
17
17
  "@emotion/server": "^11.11.0",
18
18
  "@emotion/styled": "^11.11.0",
19
19
  "cookie": "^0.6.0",
@@ -25,14 +25,14 @@
25
25
  "typescript": "5.3.3"
26
26
  },
27
27
  "peerDependencies": {
28
- "@graphcommerce/eslint-config-pwa": "^8.0.0-canary.91",
29
- "@graphcommerce/framer-next-pages": "^8.0.0-canary.91",
30
- "@graphcommerce/framer-scroller": "^8.0.0-canary.91",
31
- "@graphcommerce/framer-utils": "^8.0.0-canary.91",
32
- "@graphcommerce/image": "^8.0.0-canary.91",
33
- "@graphcommerce/lingui-next": "^8.0.0-canary.91",
34
- "@graphcommerce/prettier-config-pwa": "^8.0.0-canary.91",
35
- "@graphcommerce/typescript-config-pwa": "^8.0.0-canary.91",
28
+ "@graphcommerce/eslint-config-pwa": "^8.0.0-canary.92",
29
+ "@graphcommerce/framer-next-pages": "^8.0.0-canary.92",
30
+ "@graphcommerce/framer-scroller": "^8.0.0-canary.92",
31
+ "@graphcommerce/framer-utils": "^8.0.0-canary.92",
32
+ "@graphcommerce/image": "^8.0.0-canary.92",
33
+ "@graphcommerce/lingui-next": "^8.0.0-canary.92",
34
+ "@graphcommerce/prettier-config-pwa": "^8.0.0-canary.92",
35
+ "@graphcommerce/typescript-config-pwa": "^8.0.0-canary.92",
36
36
  "@lingui/core": "^4.2.1",
37
37
  "@lingui/macro": "^4.2.1",
38
38
  "@lingui/react": "^4.2.1",