@graphcommerce/hygraph-dynamic-rows-ui 10.0.0-canary.67 → 10.0.0-canary.72

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,19 @@
1
1
  # @graphcommerce/hygraph-dynamic-rows-ui
2
2
 
3
+ ## 10.0.0-canary.72
4
+
5
+ ## 10.0.0-canary.71
6
+
7
+ ## 10.0.0-canary.70
8
+
9
+ ### Major Changes
10
+
11
+ - [#2565](https://github.com/graphcommerce-org/graphcommerce/pull/2565) [`c96dfcd`](https://github.com/graphcommerce-org/graphcommerce/commit/c96dfcdca981baca387c270ad9e2b9515cdd00cc) - Updated to Apollo Client 4 ([@paales](https://github.com/paales))
12
+
13
+ ## 10.0.0-canary.69
14
+
15
+ ## 10.0.0-canary.68
16
+
3
17
  ## 10.0.0-canary.67
4
18
 
5
19
  ## 10.0.0-canary.66
@@ -1,4 +1,5 @@
1
- import { ApolloClient, gql, InMemoryCache, useQuery } from '@apollo/client'
1
+ import { ApolloClient, gql, HttpLink, InMemoryCache } from '@apollo/client'
2
+ import { useQuery } from '@apollo/client/react'
2
3
  import type { FieldExtensionProps } from '@hygraph/app-sdk-react'
3
4
  import { useFieldExtension } from '@hygraph/app-sdk-react'
4
5
  import { TextField } from '@mui/material'
@@ -11,11 +12,15 @@ function useClient(extension: FieldExtensionProps['extension']) {
11
12
  return useMemo(
12
13
  () =>
13
14
  new ApolloClient({
14
- uri:
15
- typeof extension.config.backend === 'string'
16
- ? extension.config.backend
17
- : 'https://graphcommerce.vercel.app/api/graphql', // fallback on the standard GraphCommerce Schema
18
15
  cache: new InMemoryCache(),
16
+
17
+ link: new HttpLink({
18
+ // fallback on the standard GraphCommerce Schema
19
+ uri:
20
+ typeof extension.config.backend === 'string'
21
+ ? extension.config.backend
22
+ : 'https://graphcommerce.vercel.app/api/graphql',
23
+ }),
19
24
  }),
20
25
  [extension.config.backend],
21
26
  )
@@ -54,9 +59,6 @@ export function PropertyPicker() {
54
59
  select={!!fieldPaths.length}
55
60
  variant='outlined'
56
61
  size='small'
57
- SelectProps={{
58
- native: true,
59
- }}
60
62
  value={localValue}
61
63
  onChange={(v) => {
62
64
  const val = v.target.value
@@ -89,6 +91,11 @@ export function PropertyPicker() {
89
91
  color: { xs: 'rgb(90, 92, 236)' },
90
92
  },
91
93
  }}
94
+ slotProps={{
95
+ select: {
96
+ native: true,
97
+ },
98
+ }}
92
99
  >
93
100
  {fieldPaths.length > 0 ? (
94
101
  <>
package/next-env.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="next" />
2
2
  /// <reference types="next/image-types/global" />
3
- import "./.next/types/routes.d.ts";
3
+ import './.next/types/routes.d.ts'
4
4
 
5
5
  // NOTE: This file should not be edited
6
6
  // see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/hygraph-dynamic-rows-ui",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "10.0.0-canary.67",
5
+ "version": "10.0.0-canary.72",
6
6
  "sideEffects": false,
7
7
  "type": "module",
8
8
  "prettier": "@graphcommerce/prettier-config-pwa",
@@ -19,33 +19,33 @@
19
19
  "node": ">=20 <24.0.0"
20
20
  },
21
21
  "dependencies": {
22
- "@apollo/client": "^3.14.0",
23
- "@graphcommerce/next-config": "10.0.0-canary.67",
22
+ "@apollo/client": "^4.0.11",
23
+ "@graphcommerce/next-config": "10.0.0-canary.72",
24
24
  "@hygraph/app-sdk-react": "^0.0.6",
25
- "@lingui/conf": "5.6.1",
26
- "@lingui/core": "5.6.1",
27
- "@lingui/format-po": "5.6.1",
28
- "@lingui/loader": "5.6.1",
29
- "@lingui/macro": "5.6.1",
30
- "@lingui/react": "5.6.1",
31
- "@lingui/swc-plugin": "5.6.1",
32
- "@mui/material": "5.18.0",
25
+ "@lingui/conf": "5.7.0",
26
+ "@lingui/core": "5.7.0",
27
+ "@lingui/format-po": "5.7.0",
28
+ "@lingui/loader": "5.7.0",
29
+ "@lingui/macro": "5.7.0",
30
+ "@lingui/react": "5.7.0",
31
+ "@lingui/swc-plugin": "5.10.0",
32
+ "@mui/material": "^7.3.6",
33
33
  "cross-env": "^7.0.3",
34
34
  "dotenv": "16.6.1",
35
35
  "graphql": "^16.12.0",
36
- "next": "16.0.7",
36
+ "next": "16.1.1",
37
37
  "react": "^19.2.0",
38
38
  "react-dom": "^19.2.0",
39
39
  "webpack": "^5.103.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@graphcommerce/eslint-config-pwa": "10.0.0-canary.67",
43
- "@graphcommerce/prettier-config-pwa": "10.0.0-canary.67",
44
- "@graphcommerce/typescript-config-pwa": "10.0.0-canary.67",
42
+ "@graphcommerce/eslint-config-pwa": "10.0.0-canary.72",
43
+ "@graphcommerce/prettier-config-pwa": "10.0.0-canary.72",
44
+ "@graphcommerce/typescript-config-pwa": "10.0.0-canary.72",
45
45
  "@types/react": "^19.2.7",
46
46
  "@types/react-dom": "^19.2.3",
47
47
  "@types/react-is": "^19.2.0",
48
- "eslint": "^9.39.1",
48
+ "eslint": "^9.39.2",
49
49
  "prettier": "^3.7.4",
50
50
  "typescript": "5.9.3"
51
51
  },