@storybook/addon-ondevice-notes 9.1.1-alpha.0 → 9.1.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.
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
- export {};
1
+
2
+ export { }
package/dist/index.js CHANGED
@@ -1,6 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const client_logger_1 = require("storybook/internal/client-logger");
1
+ // src/index.ts
2
+ var import_client_logger = require("storybook/internal/client-logger");
4
3
  if (__DEV__) {
5
- client_logger_1.logger.log("import '@storybook/addon-ondevice-notes/register' to register the notes addon");
4
+ import_client_logger.logger.log("import '@storybook/addon-ondevice-notes/register' to register the notes addon");
6
5
  }
@@ -1,19 +1,21 @@
1
- import { type API } from 'storybook/internal/manager-api';
2
- import type { Args, StoryContext } from 'storybook/internal/csf';
3
- import type { ReactRenderer } from '@storybook/react';
4
- import type { Channel } from 'storybook/internal/channels';
5
- export declare const PARAM_KEY = "notes";
6
- export interface Selection {
1
+ import { API } from 'storybook/internal/manager-api';
2
+ import { StoryContext, Args } from 'storybook/internal/csf';
3
+ import { R } from './types-7abe74eb.js';
4
+ import { Channel } from 'storybook/internal/channels';
5
+
6
+ declare const PARAM_KEY = "notes";
7
+ interface Selection {
7
8
  storyId: string;
8
9
  viewMode: 'story';
9
10
  }
10
- export type StoryFromId = StoryContext<ReactRenderer, Args>;
11
+ type StoryFromId = StoryContext<R, Args>;
11
12
  type ApiStore = {
12
13
  fromId: (id: any) => StoryFromId;
13
14
  getSelection: () => Selection;
14
15
  _channel: Channel;
15
16
  };
16
- export type RNAddonApi = API & {
17
+ type RNAddonApi = API & {
17
18
  store: () => ApiStore;
18
19
  };
19
- export {};
20
+
21
+ export { PARAM_KEY, type RNAddonApi, type Selection, type StoryFromId };