@storybook/addon-ondevice-notes 9.0.0-beta.7 → 9.0.0-rc.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.
Files changed (2) hide show
  1. package/dist/register.d.ts +5 -10
  2. package/package.json +4 -4
@@ -1,18 +1,13 @@
1
- import { API } from 'storybook/internal/manager-api';
2
- import { ComponentType, ReactElement } from 'react';
3
- import type { Args, StoryContextForLoaders } from 'storybook/internal/csf';
4
- import type { Renderer } from 'storybook/internal/types';
5
- export declare const PARAM_KEY = "notes";
1
+ import { type API } from 'storybook/internal/manager-api';
2
+ import type { Args, StoryContext } from '@storybook/csf';
3
+ import type { ReactRenderer } from '@storybook/react';
6
4
  import type { Channel } from 'storybook/internal/channels';
5
+ export declare const PARAM_KEY = "notes";
7
6
  export interface Selection {
8
7
  storyId: string;
9
8
  viewMode: 'story';
10
9
  }
11
- export interface ReactNativeFramework extends Renderer {
12
- component: ComponentType<any>;
13
- storyResult: ReactElement<unknown>;
14
- }
15
- export type StoryFromId = Omit<StoryContextForLoaders<ReactNativeFramework, Args>, 'viewMode'>;
10
+ export type StoryFromId = StoryContext<ReactRenderer, Args>;
16
11
  type ApiStore = {
17
12
  fromId: (id: any) => StoryFromId;
18
13
  getSelection: () => Selection;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-ondevice-notes",
3
- "version": "9.0.0-beta.7",
3
+ "version": "9.0.0-rc.4",
4
4
  "description": "Write notes for your react-native Storybook stories.",
5
5
  "keywords": [
6
6
  "addon",
@@ -29,7 +29,7 @@
29
29
  "dev": "tsc --watch"
30
30
  },
31
31
  "dependencies": {
32
- "@storybook/react-native-theming": "^9.0.0-beta.7",
32
+ "@storybook/react-native-theming": "^9.0.0-rc.4",
33
33
  "react-native-markdown-display": "^7.0.2"
34
34
  },
35
35
  "devDependencies": {
@@ -38,10 +38,10 @@
38
38
  "peerDependencies": {
39
39
  "react": "*",
40
40
  "react-native": "*",
41
- "storybook": "9.0.0-beta.7"
41
+ "storybook": "9.0.0-rc.4"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "032d8572f55e61fe7870e383b7bcd5206be0206c"
46
+ "gitHead": "1d0249371caed6a6a90f42530d722040eb18c9dc"
47
47
  }