@graphcommerce/next-ui 4.29.2 → 4.30.0-canary.0

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
  # Change Log
2
2
 
3
+ ## 4.30.0-canary.0
4
+
5
+ ## 4.29.3
6
+
7
+ ### Patch Changes
8
+
9
+ - [#1688](https://github.com/graphcommerce-org/graphcommerce/pull/1688) [`8393cb266`](https://github.com/graphcommerce-org/graphcommerce/commit/8393cb2662860be0c2aa5df432447bb73c427d8e) Thanks [@paales](https://github.com/paales)! - Add missing icons for payment methods
10
+
11
+ - [#1688](https://github.com/graphcommerce-org/graphcommerce/pull/1688) [`f544401c7`](https://github.com/graphcommerce-org/graphcommerce/commit/f544401c7b653fda39c7c260ad0dcfb3bf543b65) Thanks [@paales](https://github.com/paales)! - Return the promise when changing the URL
12
+
13
+ - [#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
14
+
15
+ - Updated dependencies []:
16
+ - @graphcommerce/framer-scroller@2.1.45
17
+
3
18
  ## 4.29.2
4
19
 
5
20
  ### Patch Changes
@@ -14,7 +14,7 @@ export function ErrorSnackbar(props: ErrorSnackbarProps) {
14
14
  {...passedProps}
15
15
  action={
16
16
  action ?? (
17
- <Button size='medium' variant='pill' color='secondary'>
17
+ <Button size='medium' variant='pill' color='secondary' fullWidth>
18
18
  <Trans id='Ok' />
19
19
  </Button>
20
20
  )
@@ -11,10 +11,9 @@ export function useUrlQuery<T extends Record<string, string | null>>() {
11
11
  Object.entries({ ...current, ...incomming }).filter(([, value]) => value !== null),
12
12
  )
13
13
 
14
- if (JSON.stringify(current) === JSON.stringify(newQuery)) return
14
+ if (JSON.stringify(current) === JSON.stringify(newQuery)) return undefined
15
15
 
16
- // eslint-disable-next-line @typescript-eslint/no-floating-promises
17
- replace({ query: newQuery }, undefined, { shallow: true })
16
+ return replace({ query: newQuery }, undefined, { shallow: true })
18
17
  },
19
18
  [replace],
20
19
  )
package/icons/index.ts CHANGED
@@ -14,7 +14,7 @@ export { default as iconChevronBack, default as iconChevronLeft } from './chevro
14
14
  export { default as iconChevronRight } from './chevron-right.svg'
15
15
  export { default as iconChevronUp } from './chevron-up.svg'
16
16
  export { default as iconClose } from './close.svg'
17
- export { default as iconId } from './credit-card.svg'
17
+ export { default as iconCreditCard, default as iconId } from './credit-card.svg'
18
18
  export { default as iconEllypsis } from './ellypsis.svg'
19
19
  export { default as iconEmail, default as iconEmailOutline } from './envelope-alt.svg'
20
20
  export { default as icon404 } from './explore.svg'
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.29.2",
5
+ "version": "4.30.0-canary.0",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "sideEffects": false,
@@ -19,10 +19,10 @@
19
19
  "@emotion/react": "^11.9.3",
20
20
  "@emotion/server": "^11.4.0",
21
21
  "@emotion/styled": "^11.9.3",
22
- "@graphcommerce/framer-next-pages": "3.3.2",
23
- "@graphcommerce/framer-scroller": "2.1.44",
24
- "@graphcommerce/framer-utils": "3.2.1",
25
- "@graphcommerce/image": "3.1.10",
22
+ "@graphcommerce/framer-next-pages": "4.30.0-canary.0",
23
+ "@graphcommerce/framer-scroller": "4.30.0-canary.0",
24
+ "@graphcommerce/framer-utils": "4.30.0-canary.0",
25
+ "@graphcommerce/image": "4.30.0-canary.0",
26
26
  "cookie": "^0.5.0",
27
27
  "react-is": "^18.2.0",
28
28
  "schema-dts": "^1.1.0"