@storybook/react-native-ui 9.0.0-alpha.2 → 9.0.0-beta.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
@@ -4,7 +4,7 @@ import { View, PressableProps, TouchableOpacityProps } from 'react-native';
4
4
  import * as React$1 from 'react';
5
5
  import React__default, { FC, ComponentProps, ReactElement, PropsWithChildren, ReactNode } from 'react';
6
6
  import { State, StoriesHash, API } from 'storybook/internal/manager-api';
7
- import { API_StatusState, API_StatusValue, API_LoadedRefData, Addon_SidebarTopType, Addon_SidebarBottomType, API_IndexHash, StoryContext, Args, API_PreparedStoryIndex, StoryIndexV2, StoryIndexV3, API_Provider, DocsOptions } from 'storybook/internal/types';
7
+ import { StatusesByStoryIdAndTypeId, StatusValue, API_LoadedRefData, API_IndexHash, StoryContext, Args, API_PreparedStoryIndex, StoryIndexV2, StoryIndexV3, API_Provider, DocsOptions } from 'storybook/internal/types';
8
8
  import * as Fuse from 'fuse.js';
9
9
  import * as react_jsx_runtime from 'react/jsx-runtime';
10
10
  import { SvgProps } from 'react-native-svg';
@@ -44,7 +44,7 @@ declare const StoryNode: React__default.MemoExoticComponent<React__default.Forwa
44
44
 
45
45
  type Refs = State['refs'];
46
46
  type RefType = Refs[keyof Refs] & {
47
- status?: API_StatusState;
47
+ allStatuses?: StatusesByStoryIdAndTypeId;
48
48
  };
49
49
  type Item = StoriesHash[keyof StoriesHash];
50
50
  type Dataset = Record<string, Item>;
@@ -71,7 +71,7 @@ interface ExpandType {
71
71
  type SearchItem = Item & {
72
72
  refId: string;
73
73
  path: string[];
74
- status?: API_StatusValue;
74
+ status?: StatusValue;
75
75
  showAll?: () => void;
76
76
  };
77
77
  type SearchResult = Fuse.FuseResult<SearchItem>;
@@ -193,8 +193,6 @@ declare const useCombination: (index: SidebarProps["index"], indexError: Sidebar
193
193
  interface SidebarProps extends API_LoadedRefData {
194
194
  refs: State['refs'];
195
195
  status: State['status'];
196
- extra: Addon_SidebarTopType[];
197
- bottom?: Addon_SidebarBottomType[];
198
196
  storyId?: string;
199
197
  refId?: string;
200
198
  menuHighlighted?: boolean;