@graphcommerce/ecommerce-ui 1.0.1 → 1.0.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
@@ -1,5 +1,20 @@
1
1
  # @graphcommerce/ecommerce-ui
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1292](https://github.com/ho-nl/m2-pwa/pull/1292)
8
+ [`5a1ba9e66`](https://github.com/ho-nl/m2-pwa/commit/5a1ba9e664abbac89c4f5f71f7d6d6ed1aefa5c0)
9
+ Thanks [@paales](https://github.com/paales)! - Renamed SvgIcon to IconSvg to prevent collisions
10
+ with MUI
11
+
12
+ - Updated dependencies
13
+ [[`5a1ba9e66`](https://github.com/ho-nl/m2-pwa/commit/5a1ba9e664abbac89c4f5f71f7d6d6ed1aefa5c0),
14
+ [`990df655b`](https://github.com/ho-nl/m2-pwa/commit/990df655b73b469718d6cb5837ee65dfe2ad6a1d),
15
+ [`63f9b56eb`](https://github.com/ho-nl/m2-pwa/commit/63f9b56eb68ba790567ff1427e599fd2c3c8f1ee)]:
16
+ - @graphcommerce/next-ui@4.2.0
17
+
3
18
  ## 1.0.1
4
19
 
5
20
  ### Patch Changes
@@ -2,7 +2,7 @@ import {
2
2
  iconChevronRight,
3
3
  LinkOrButton,
4
4
  LinkOrButtonProps,
5
- SvgIcon,
5
+ IconSvg,
6
6
  Button,
7
7
  ButtonProps,
8
8
  } from '@graphcommerce/next-ui'
@@ -23,7 +23,7 @@ export const ComposedSubmitButton = forwardRef<HTMLButtonElement, ComposedSubmit
23
23
  ref={ref}
24
24
  color='secondary'
25
25
  variant='pill'
26
- endIcon={<SvgIcon src={iconChevronRight} />}
26
+ endIcon={<IconSvg src={iconChevronRight} />}
27
27
  type='submit'
28
28
  {...otherProps}
29
29
  loading={loading}
@@ -1,4 +1,4 @@
1
- import { iconChevronRight, LinkOrButton, LinkOrButtonProps, SvgIcon } from '@graphcommerce/next-ui'
1
+ import { iconChevronRight, LinkOrButton, LinkOrButtonProps, IconSvg } from '@graphcommerce/next-ui'
2
2
  import { ComposedSubmitRenderComponentProps } from '@graphcommerce/react-hook-form'
3
3
  import { forwardRef } from 'react'
4
4
 
@@ -17,7 +17,7 @@ export const ComposedSubmitLinkOrButton = forwardRef<
17
17
  ref={ref}
18
18
  button={{
19
19
  variant: 'pill',
20
- endIcon: <SvgIcon src={iconChevronRight} />,
20
+ endIcon: <IconSvg src={iconChevronRight} />,
21
21
  ...button,
22
22
  type: 'submit',
23
23
  }}
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.0.1",
5
+ "version": "1.0.2",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,7 +12,7 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
- "@graphcommerce/next-ui": "^4.1.2",
15
+ "@graphcommerce/next-ui": "^4.2.0",
16
16
  "@graphcommerce/react-hook-form": "^3.0.3",
17
17
  "@graphcommerce/graphql": "^3.0.3"
18
18
  },