@graphcommerce/hygraph-ui 9.0.3 → 9.0.4-canary.1

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,12 +1,8 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.3
3
+ ## 9.0.4-canary.1
4
4
 
5
- ## 9.0.3-canary.0
6
-
7
- ## 9.0.2
8
-
9
- ## 9.0.2-canary.0
5
+ ## 9.0.4-canary.0
10
6
 
11
7
  ## 9.0.1
12
8
 
@@ -16,14 +12,6 @@
16
12
 
17
13
  - [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`68f2861`](https://github.com/graphcommerce-org/graphcommerce/commit/68f28616fd33aa64cb555e8cf9bf64954ea92383) - Support for new asset system of Hygraph ([@paales](https://github.com/paales))
18
14
 
19
- ## 9.0.1-canary.1
20
-
21
- ### Patch Changes
22
-
23
- - [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`838fe30`](https://github.com/graphcommerce-org/graphcommerce/commit/838fe30a649f8feedbd2a9333430e724b0ebd67f) - Solve issue where the preview mode wouldn't initialize if the hygraphLocales weren't defined ([@paales](https://github.com/paales))
24
-
25
- - [#2461](https://github.com/graphcommerce-org/graphcommerce/pull/2461) [`68f2861`](https://github.com/graphcommerce-org/graphcommerce/commit/68f28616fd33aa64cb555e8cf9bf64954ea92383) - Support for new asset system of Hygraph ([@paales](https://github.com/paales))
26
-
27
15
  ## 9.0.0
28
16
 
29
17
  ### Minor Changes
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/hygraph-ui",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.3",
5
+ "version": "9.0.4-canary.1",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,13 +12,13 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^9.0.3",
16
- "@graphcommerce/eslint-config-pwa": "^9.0.3",
17
- "@graphcommerce/graphql": "^9.0.3",
18
- "@graphcommerce/image": "^9.0.3",
19
- "@graphcommerce/next-ui": "^9.0.3",
20
- "@graphcommerce/prettier-config-pwa": "^9.0.3",
21
- "@graphcommerce/typescript-config-pwa": "^9.0.3",
15
+ "@graphcommerce/ecommerce-ui": "^9.0.4-canary.1",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.4-canary.1",
17
+ "@graphcommerce/graphql": "^9.0.4-canary.1",
18
+ "@graphcommerce/image": "^9.0.4-canary.1",
19
+ "@graphcommerce/next-ui": "^9.0.4-canary.1",
20
+ "@graphcommerce/prettier-config-pwa": "^9.0.4-canary.1",
21
+ "@graphcommerce/typescript-config-pwa": "^9.0.4-canary.1",
22
22
  "@mui/material": "^5.10.16",
23
23
  "next": "*",
24
24
  "react": "^18.2.0",
@@ -1,9 +1,9 @@
1
1
  import {
2
- type PreviewModeToolbarProps,
3
- SelectElement,
4
2
  previewModeDefaults,
3
+ SelectElement,
5
4
  usePreviewModeForm,
6
5
  useWatch,
6
+ type PreviewModeToolbarProps,
7
7
  } from '@graphcommerce/ecommerce-ui'
8
8
  import type { TypedDocumentNode } from '@graphcommerce/graphql'
9
9
  import { gql, useQuery } from '@graphcommerce/graphql'
@@ -9,7 +9,7 @@ export const config: PluginConfig = {
9
9
 
10
10
  declare module '@graphcommerce/graphql/config' {
11
11
  interface PreviewData {
12
- hygraphStage?: string
12
+ hygraphStage: string | null
13
13
  }
14
14
  }
15
15