@graphcommerce/ecommerce-ui 1.5.7 → 1.5.8

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,14 @@
1
1
  # @graphcommerce/ecommerce-ui
2
2
 
3
+ ## 1.5.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1688](https://github.com/graphcommerce-org/graphcommerce/pull/1688) [`f105d4223`](https://github.com/graphcommerce-org/graphcommerce/commit/f105d4223aa68df30970149e51ae72897e489bf9) Thanks [@paales](https://github.com/paales)! - Remove redunant confirmation button on ErrorSnackbar implementations
8
+
9
+ - Updated dependencies [[`8393cb266`](https://github.com/graphcommerce-org/graphcommerce/commit/8393cb2662860be0c2aa5df432447bb73c427d8e), [`f544401c7`](https://github.com/graphcommerce-org/graphcommerce/commit/f544401c7b653fda39c7c260ad0dcfb3bf543b65), [`f105d4223`](https://github.com/graphcommerce-org/graphcommerce/commit/f105d4223aa68df30970149e51ae72897e489bf9)]:
10
+ - @graphcommerce/next-ui@4.29.3
11
+
3
12
  ## 1.5.7
4
13
 
5
14
  ### Patch Changes
@@ -13,19 +13,7 @@ export function ApolloErrorSnackbar(props: ApolloErrorSnackbarProps) {
13
13
  if (!error) return null
14
14
 
15
15
  return (
16
- <ErrorSnackbar
17
- variant='pill'
18
- severity='error'
19
- {...passedProps}
20
- open={!!error}
21
- action={
22
- action ?? (
23
- <Button size='medium' variant='pill' color='secondary'>
24
- <Trans id='Ok' />
25
- </Button>
26
- )
27
- }
28
- >
16
+ <ErrorSnackbar variant='pill' severity='error' {...passedProps} open={!!error}>
29
17
  <>
30
18
  {error.graphQLErrors.map((e) => e.message).join(', ')}
31
19
  {error.networkError && <>Network Error: {error.networkError.message}</>}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/ecommerce-ui",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "1.5.7",
5
+ "version": "1.5.8",
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
  "@graphcommerce/graphql": "3.5.0",
16
- "@graphcommerce/next-ui": "4.29.2",
16
+ "@graphcommerce/next-ui": "4.29.3",
17
17
  "@graphcommerce/react-hook-form": "3.3.5",
18
18
  "@mui/icons-material": "^5.10.3",
19
19
  "@mui/x-date-pickers": "^5.0.0",