@storybook/addon-ondevice-notes 8.6.1 → 9.0.0-alpha.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.
@@ -5,12 +5,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Notes = exports.PARAM_KEY = void 0;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
- const core_events_1 = require("@storybook/core/core-events");
8
+ const core_events_1 = require("storybook/internal/core-events");
9
9
  const react_1 = require("react");
10
10
  const react_native_1 = require("react-native");
11
11
  const react_native_markdown_display_1 = __importDefault(require("react-native-markdown-display"));
12
12
  const ErrorBoundary_1 = require("../ErrorBoundary");
13
- const manager_api_1 = require("@storybook/core/manager-api");
13
+ const manager_api_1 = require("storybook/internal/manager-api");
14
14
  const react_native_theming_1 = require("@storybook/react-native-theming");
15
15
  exports.PARAM_KEY = 'notes';
16
16
  const Notes = ({ active, api }) => {
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const client_logger_1 = require("@storybook/core/client-logger");
3
+ const client_logger_1 = require("storybook/internal/client-logger");
4
4
  if (__DEV__) {
5
5
  client_logger_1.logger.log("import '@storybook/addon-ondevice-notes/register' to register the notes addon");
6
6
  }
@@ -1,9 +1,9 @@
1
- import { API } from '@storybook/core/manager-api';
1
+ import { API } from 'storybook/internal/manager-api';
2
2
  import { ComponentType, ReactElement } from 'react';
3
- import type { Args, StoryContextForLoaders } from '@storybook/csf';
4
- import type { Renderer } from '@storybook/core/types';
3
+ import type { Args, StoryContextForLoaders } from 'storybook/internal/csf';
4
+ import type { Renderer } from 'storybook/internal/types';
5
5
  export declare const PARAM_KEY = "notes";
6
- import type { Channel } from '@storybook/core/channels';
6
+ import type { Channel } from 'storybook/internal/channels';
7
7
  export interface Selection {
8
8
  storyId: string;
9
9
  viewMode: 'story';
package/dist/register.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PARAM_KEY = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const manager_api_1 = require("@storybook/core/manager-api");
5
+ const manager_api_1 = require("storybook/internal/manager-api");
6
6
  const Notes_1 = require("./components/Notes");
7
7
  exports.PARAM_KEY = 'notes';
8
8
  manager_api_1.addons.register('storybook/notes', (api) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-ondevice-notes",
3
- "version": "8.6.1",
3
+ "version": "9.0.0-alpha.1",
4
4
  "description": "Write notes for your react-native Storybook stories.",
5
5
  "keywords": [
6
6
  "addon",
@@ -29,8 +29,7 @@
29
29
  "dev": "tsc --watch"
30
30
  },
31
31
  "dependencies": {
32
- "@storybook/core": "^8.6.6",
33
- "@storybook/react-native-theming": "^8.6.1",
32
+ "@storybook/react-native-theming": "^9.0.0-alpha.1",
34
33
  "react-native-markdown-display": "^7.0.2"
35
34
  },
36
35
  "devDependencies": {
@@ -43,5 +42,5 @@
43
42
  "publishConfig": {
44
43
  "access": "public"
45
44
  },
46
- "gitHead": "3408db3fae500345fdf4913d87c7d31330bc8437"
45
+ "gitHead": "ec42eef3ebdf389ebf9cf669d425712db99f9e37"
47
46
  }