@anansi/storybook 1.0.15 → 2.0.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
@@ -3,6 +3,23 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.0](https://github.com/ntucker/anansi/compare/@anansi/storybook@1.0.15...@anansi/storybook@2.0.0) (2023-07-06)
7
+
8
+ ### ⚠ 💥 BREAKING CHANGES
9
+
10
+ * This library now depends on @data-client, rather than
11
+ @rest-hooks. Version 0.1.0 is fully compatible with @rest-hooks/react@7
12
+
13
+ ### 💅 Enhancement
14
+
15
+ * Move from rest-hooks to data-client ([0d8f6b7](https://github.com/ntucker/anansi/commit/0d8f6b7ad78cd712b1fa4f2c16a0d64ace4be135))
16
+ * Support 0.4 of data-client ([68e3452](https://github.com/ntucker/anansi/commit/68e34520e727d7948a26b2dec73918f2738ae372))
17
+
18
+ ### 📦 Package
19
+
20
+ * Update `@rest-hooks/react` to v8 ([#2073](https://github.com/ntucker/anansi/issues/2073)) ([a2d47ac](https://github.com/ntucker/anansi/commit/a2d47ac99605b2751e447844942b0dcf3575cf58))
21
+ * Update storybook monorepo to v7.0.26 ([#2078](https://github.com/ntucker/anansi/issues/2078)) ([ef8c033](https://github.com/ntucker/anansi/commit/ef8c033f91461530549d6fdc83d55e7e9c634275))
22
+
6
23
  ### [1.0.15](https://github.com/ntucker/anansi/compare/@anansi/storybook@1.0.14...@anansi/storybook@1.0.15) (2023-07-04)
7
24
 
8
25
  ### 📦 Package
package/dist/preview.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import _jsx from "@babel/runtime/helpers/jsx";
2
2
  import React from "react";
3
- import { CacheProvider, AsyncBoundary } from '@rest-hooks/react';
3
+ import { CacheProvider, AsyncBoundary } from '@data-client/react';
4
4
  export const decorators = [Story => /*#__PURE__*/_jsx(CacheProvider, {}, void 0, /*#__PURE__*/_jsx(AsyncBoundary, {}, void 0, /*#__PURE__*/_jsx(Story, {})))];
5
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJDYWNoZVByb3ZpZGVyIiwiQXN5bmNCb3VuZGFyeSIsImRlY29yYXRvcnMiLCJTdG9yeSIsIl9qc3giXSwic291cmNlcyI6WyIuLi9zcmMvcHJldmlldy50c3giXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ2FjaGVQcm92aWRlciwgQXN5bmNCb3VuZGFyeSB9IGZyb20gJ0ByZXN0LWhvb2tzL3JlYWN0JztcblxuZXhwb3J0IGNvbnN0IGRlY29yYXRvcnMgPSBbXG4gIChTdG9yeTogUmVhY3QuRkMpID0+IChcbiAgICA8Q2FjaGVQcm92aWRlcj5cbiAgICAgIDxBc3luY0JvdW5kYXJ5PlxuICAgICAgICA8U3RvcnkgLz5cbiAgICAgIDwvQXN5bmNCb3VuZGFyeT5cbiAgICA8L0NhY2hlUHJvdmlkZXI+XG4gICksXG5dO1xuIl0sIm1hcHBpbmdzIjoiOztBQUFBLFNBQVNBLGFBQWEsRUFBRUMsYUFBYSxRQUFRLG1CQUFtQjtBQUVoRSxPQUFPLE1BQU1DLFVBQVUsR0FBRyxDQUN2QkMsS0FBZSxpQkFDZEMsSUFBQSxDQUFDSixhQUFhLDJCQUNaSSxJQUFBLENBQUNILGFBQWEsMkJBQ1pHLElBQUEsQ0FBQ0QsS0FBSyxJQUFFLENBQ0ssQ0FDRixDQUNoQixDQUNGIn0=
5
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJDYWNoZVByb3ZpZGVyIiwiQXN5bmNCb3VuZGFyeSIsImRlY29yYXRvcnMiLCJTdG9yeSIsIl9qc3giXSwic291cmNlcyI6WyIuLi9zcmMvcHJldmlldy50c3giXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ2FjaGVQcm92aWRlciwgQXN5bmNCb3VuZGFyeSB9IGZyb20gJ0BkYXRhLWNsaWVudC9yZWFjdCc7XG5cbmV4cG9ydCBjb25zdCBkZWNvcmF0b3JzID0gW1xuICAoU3Rvcnk6IFJlYWN0LkZDKSA9PiAoXG4gICAgPENhY2hlUHJvdmlkZXI+XG4gICAgICA8QXN5bmNCb3VuZGFyeT5cbiAgICAgICAgPFN0b3J5IC8+XG4gICAgICA8L0FzeW5jQm91bmRhcnk+XG4gICAgPC9DYWNoZVByb3ZpZGVyPlxuICApLFxuXTtcbiJdLCJtYXBwaW5ncyI6Ijs7QUFBQSxTQUFTQSxhQUFhLEVBQUVDLGFBQWEsUUFBUSxvQkFBb0I7QUFFakUsT0FBTyxNQUFNQyxVQUFVLEdBQUcsQ0FDdkJDLEtBQWUsaUJBQ2RDLElBQUEsQ0FBQ0osYUFBYSwyQkFDWkksSUFBQSxDQUFDSCxhQUFhLDJCQUNaRyxJQUFBLENBQUNELEtBQUssSUFBRSxDQUNLLENBQ0YsQ0FDaEIsQ0FDRiJ9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anansi/storybook",
3
- "version": "1.0.15",
3
+ "version": "2.0.0",
4
4
  "description": "Storybook framework for anansi",
5
5
  "homepage": "https://github.com/ntucker/anansi/tree/master/packages/storybook#readme",
6
6
  "repository": {
@@ -37,16 +37,16 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@babel/runtime": "^7.17.0",
40
- "@storybook/builder-webpack5": "^7.0.25",
41
- "@storybook/preset-react-webpack": "^7.0.25",
42
- "@storybook/react": "^7.0.25",
43
- "@storybook/types": "^7.0.25",
40
+ "@storybook/builder-webpack5": "^7.0.26",
41
+ "@storybook/preset-react-webpack": "^7.0.26",
42
+ "@storybook/react": "^7.0.26",
43
+ "@storybook/types": "^7.0.26",
44
44
  "@types/node": "^20.3.3"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@anansi/babel-preset": "^3.0.0 || ^4.0.0",
48
48
  "@anansi/webpack-config": "^13.0.0 || ^14.0.0 || ^15.0.0",
49
- "@rest-hooks/react": "^6.0.0 || ^7.0.0",
49
+ "@data-client/react": "^0.1.0 || ^0.2.0 || ^0.3.0 || ^0.4.0 || ^1.0.0",
50
50
  "@types/react": "^17.0.40 || ^18.0.0",
51
51
  "@types/react-dom": "^17.0.40 || ^18.0.0",
52
52
  "react": "^18.0.0",
package/src/preview.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import { CacheProvider, AsyncBoundary } from '@rest-hooks/react';
1
+ import { CacheProvider, AsyncBoundary } from '@data-client/react';
2
2
 
3
3
  export const decorators = [
4
4
  (Story: React.FC) => (