@graphcommerce/ecommerce-ui 1.0.0 → 1.0.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,42 +1,60 @@
1
1
  # @graphcommerce/ecommerce-ui
2
2
 
3
- ## 1.0.0
4
- ### Major Changes
3
+ ## 1.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655) Thanks [@paales](https://github.com/paales)! - All default exports are now named exports internally and all `index.tsx` are renamed to the component name.
8
+
9
+ * [#1307](https://github.com/ho-nl/m2-pwa/pull/1307) [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef) Thanks [@paales](https://github.com/paales)! - upgrade dependencies
10
+
11
+ * Updated dependencies [[`3d63b39f7`](https://github.com/ho-nl/m2-pwa/commit/3d63b39f7e330d1827a32dba782667d7b21adaba), [`bd10506d3`](https://github.com/ho-nl/m2-pwa/commit/bd10506d32fdbc91d01dadc29a12ebd1e0943655), [`27cb1f2d8`](https://github.com/ho-nl/m2-pwa/commit/27cb1f2d8dbfb8f1b301ce56fb6a2b6c1fc6a5ef)]:
12
+ - @graphcommerce/next-ui@4.2.4
13
+ - @graphcommerce/graphql@3.0.4
14
+ - @graphcommerce/react-hook-form@3.0.4
15
+
16
+ ## 1.0.2
17
+
18
+ ### Patch Changes
5
19
 
20
+ - [#1292](https://github.com/ho-nl/m2-pwa/pull/1292) [`5a1ba9e66`](https://github.com/ho-nl/m2-pwa/commit/5a1ba9e664abbac89c4f5f71f7d6d6ed1aefa5c0) Thanks [@paales](https://github.com/paales)! - Renamed SvgIcon to IconSvg to prevent collisions with MUI
6
21
 
22
+ - Updated dependencies [[`5a1ba9e66`](https://github.com/ho-nl/m2-pwa/commit/5a1ba9e664abbac89c4f5f71f7d6d6ed1aefa5c0), [`990df655b`](https://github.com/ho-nl/m2-pwa/commit/990df655b73b469718d6cb5837ee65dfe2ad6a1d), [`63f9b56eb`](https://github.com/ho-nl/m2-pwa/commit/63f9b56eb68ba790567ff1427e599fd2c3c8f1ee)]:
23
+ - @graphcommerce/next-ui@4.2.0
7
24
 
8
- - [#1274](https://github.com/ho-nl/m2-pwa/pull/1274) [`351347afe`](https://github.com/ho-nl/m2-pwa/commit/351347afeae5bd837408d46c7593bcf5473dc621) Thanks [@paales](https://github.com/paales)! - Created new `@graphcommerce/ecommerce-ui` package to connect generic components
9
- from `@graphcommerce/next-ui` to `@graphcommerce/react-hook-form` and
10
- `@graphcommerce/graphql`
25
+ ## 1.0.1
11
26
 
12
27
  ### Patch Changes
13
28
 
29
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96) Thanks [@paales](https://github.com/paales)! - made packages public
30
+
31
+ - Updated dependencies [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96), [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20), [`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d), [`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
32
+ - @graphcommerce/graphql@3.0.3
33
+ - @graphcommerce/next-ui@4.1.2
34
+ - @graphcommerce/react-hook-form@3.0.3
35
+
36
+ ## 1.0.0
37
+
38
+ ### Major Changes
39
+
40
+ - [#1274](https://github.com/ho-nl/m2-pwa/pull/1274) [`351347afe`](https://github.com/ho-nl/m2-pwa/commit/351347afeae5bd837408d46c7593bcf5473dc621) Thanks [@paales](https://github.com/paales)! - Created new `@graphcommerce/ecommerce-ui` package to connect generic components from `@graphcommerce/next-ui` to `@graphcommerce/react-hook-form` and `@graphcommerce/graphql`
41
+
42
+ ### Patch Changes
43
+
44
+ - [#1274](https://github.com/ho-nl/m2-pwa/pull/1274) [`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7) Thanks [@paales](https://github.com/paales)! - Moved `ApolloErrorAlert`, `ApolloErrorFullPage` and `ApolloErrorSnackbar` to the ecommerce-ui package.
45
+
46
+ Created `ComposedSubmitButton` and `ComposedSubmitLinkOrButton` to reduce complexity from `magento-graphcms` example.
14
47
 
48
+ Removed dependency an `@graphcommerce/react-hook-form` from `magento-graphcms` example.
15
49
 
16
- - [#1274](https://github.com/ho-nl/m2-pwa/pull/1274) [`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7) Thanks [@paales](https://github.com/paales)! - Moved `ApolloErrorAlert`, `ApolloErrorFullPage` and `ApolloErrorSnackbar` to the
17
- ecommerce-ui package.
18
-
19
- Created `ComposedSubmitButton` and `ComposedSubmitLinkOrButton` to reduce
20
- complexity from `magento-graphcms` example.
21
-
22
- Removed dependency an `@graphcommerce/react-hook-form` from `magento-graphcms`
23
- example.
24
-
25
50
  Added dependency `@graphcommerce/ecommerce-ui` from `magento-graphcms` example.
26
51
 
52
+ * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2) Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from `dependencies` to `peerDependencies`. The result of this is that there will be significantly less duplicate packages in the node_modules folders.
27
53
 
28
- - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2) Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from `dependencies` to `peerDependencies`.
29
- The result of this is that there will be significantly less duplicate packages
30
- in the node_modules folders.
54
+ - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d) Thanks [@paales](https://github.com/paales)! - Upgraded to [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be implementing [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta) soon.
31
55
 
56
+ This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the frontend to be able to revalidate pages manually.
32
57
 
33
- - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276) [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d) Thanks [@paales](https://github.com/paales)! - Upgraded to [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for
34
- compatibility, but we'll be implementing
35
- [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
36
- soon.
37
-
38
- This will greatly reduce the requirement to rebuid stuff and we'll add a
39
- management UI on the frontend to be able to revalidate pages manually.
40
58
  - Updated dependencies [[`381e4c86a`](https://github.com/ho-nl/m2-pwa/commit/381e4c86a8321ce96e1fa5c7d3c0a0c0ff3e02c7), [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2), [`e7c8e2756`](https://github.com/ho-nl/m2-pwa/commit/e7c8e2756d637cbcd2e793d62ef5721d35d9fa7b), [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)]:
41
59
  - @graphcommerce/next-ui@4.1.1
42
60
  - @graphcommerce/react-hook-form@3.0.2
@@ -1,5 +1,5 @@
1
1
  import { ApolloError } from '@graphcommerce/graphql'
2
- import { AnimatedRow } from '@graphcommerce/next-ui/AnimatedRow'
2
+ import { AnimatedRow } from '@graphcommerce/next-ui'
3
3
  import { extendableComponent } from '@graphcommerce/next-ui/Styles/extendableComponent'
4
4
  import { AlertProps, Alert, Box, SxProps, Theme } from '@mui/material'
5
5
  import { AnimatePresence } from 'framer-motion'
@@ -1,5 +1,5 @@
1
1
  import { ApolloError } from '@graphcommerce/graphql'
2
- import { FullPageMessage, FullPageMessageProps } from '@graphcommerce/next-ui/FullPageMessage'
2
+ import { FullPageMessage, FullPageMessageProps } from '@graphcommerce/next-ui'
3
3
  import { AlertProps } from '@mui/material'
4
4
  import { ApolloErrorAlert } from './ApolloErrorAlert'
5
5
 
@@ -1,11 +1,4 @@
1
- import {
2
- iconChevronRight,
3
- LinkOrButton,
4
- LinkOrButtonProps,
5
- SvgIcon,
6
- Button,
7
- ButtonProps,
8
- } from '@graphcommerce/next-ui'
1
+ import { iconChevronRight, IconSvg, Button, ButtonProps } from '@graphcommerce/next-ui'
9
2
  import { ComposedSubmitRenderComponentProps } from '@graphcommerce/react-hook-form'
10
3
  import { forwardRef } from 'react'
11
4
 
@@ -23,7 +16,7 @@ export const ComposedSubmitButton = forwardRef<HTMLButtonElement, ComposedSubmit
23
16
  ref={ref}
24
17
  color='secondary'
25
18
  variant='pill'
26
- endIcon={<SvgIcon src={iconChevronRight} />}
19
+ endIcon={<IconSvg src={iconChevronRight} />}
27
20
  type='submit'
28
21
  {...otherProps}
29
22
  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.0",
5
+ "version": "1.0.3",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,15 +12,15 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
- "@graphcommerce/next-ui": "^4.1.1",
16
- "@graphcommerce/react-hook-form": "^3.0.2",
17
- "@graphcommerce/graphql": "^3.0.2"
15
+ "@graphcommerce/next-ui": "^4.2.4",
16
+ "@graphcommerce/react-hook-form": "^3.0.4",
17
+ "@graphcommerce/graphql": "^3.0.4"
18
18
  },
19
19
  "devDependencies": {
20
- "@graphcommerce/eslint-config-pwa": "^4.0.2",
21
- "@graphcommerce/prettier-config-pwa": "^4.0.1",
22
- "@graphcommerce/typescript-config-pwa": "^4.0.1",
23
- "@playwright/test": "^1.19.1"
20
+ "@graphcommerce/eslint-config-pwa": "^4.0.5",
21
+ "@graphcommerce/prettier-config-pwa": "^4.0.3",
22
+ "@graphcommerce/typescript-config-pwa": "^4.0.2",
23
+ "@playwright/test": "^1.19.2"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@mui/material": "^5.4.1",