@nulogy/components 16.0.3 → 16.0.4

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.
@@ -1,6 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { gql, useLazyQuery } from "@apollo/client";
3
- import { MockedProvider } from "@apollo/client/testing";
2
+ import { gql } from "@apollo/client";
3
+ import { useLazyQuery } from "@apollo/client/react";
4
+ import { MockedProvider } from "@apollo/client/testing/react";
4
5
  import { useCallback } from "react";
5
6
  import { AsyncSelect } from "../index";
6
7
  export default {
@@ -49,4 +50,4 @@ const AsyncSelectWithApollo = () => {
49
50
  }, [data, getCountries]);
50
51
  return _jsx(AsyncSelect, { placeholder: "Search for a country", loadOptions: loadOptions, labelText: "Country" });
51
52
  };
52
- export const WithApolloClientExample = () => (_jsx(MockedProvider, { mocks: mocks, addTypename: false, children: _jsx(AsyncSelectWithApollo, {}) }));
53
+ export const WithApolloClientExample = () => (_jsx(MockedProvider, { mocks: mocks, children: _jsx(AsyncSelectWithApollo, {}) }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nulogy/components",
3
- "version": "16.0.3",
3
+ "version": "16.0.4",
4
4
  "type": "module",
5
5
  "description": "Component library for the Nulogy Design System - http://nulogy.design",
6
6
  "private": false,
@@ -68,7 +68,7 @@
68
68
  "typescript": ">=4.9.5"
69
69
  },
70
70
  "devDependencies": {
71
- "@apollo/client": "^3.11.8",
71
+ "@apollo/client": "^4.1.6",
72
72
  "@eslint/js": "^9.0.0",
73
73
  "@nulogy/icons": "^4.37.2",
74
74
  "@semantic-release/changelog": "^6.0.2",