@storybook/react-native-ui-lite 10.4.5 → 10.4.6

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/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # @storybook/react-native-ui-lite
2
+
3
+ Lightweight UI components for React Native Storybook.
4
+
5
+ ## Dependencies
6
+
7
+ `@storybook/react-native-ui-lite` uses Legend List 3 for virtualized story lists.
package/dist/index.d.ts CHANGED
@@ -1,10 +1,7 @@
1
- import * as _$react_native0 from "react-native";
2
- import { View } from "react-native";
3
- import * as _$_storybook_react_native_theming0 from "@storybook/react-native-theming";
4
1
  import React, { ComponentProps, FC, ReactNode } from "react";
2
+ import { View } from "react-native";
5
3
  import { CombinedDataset, ExpandAction, Item, SBUI, Selection } from "@storybook/react-native-ui-common";
6
4
  import { State, StoriesHash } from "storybook/manager-api";
7
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
8
5
  import { API_IndexHash, API_LoadedRefData } from "storybook/internal/types";
9
6
  import { ReactRenderer } from "@storybook/react";
10
7
  import { Args, StoryContext } from "storybook/internal/csf";
@@ -15,8 +12,8 @@ interface NodeProps {
15
12
  isExpandable?: boolean;
16
13
  isExpanded?: boolean;
17
14
  }
18
- declare const BranchNode: _$_storybook_react_native_theming0.StyledComponent<_$react_native0.TouchableOpacityProps & React.RefAttributes<View> & {
19
- theme?: _$_storybook_react_native_theming0.Theme;
15
+ declare const BranchNode: import("@storybook/react-native-theming").StyledComponent<import("react-native").TouchableOpacityProps & React.RefAttributes<View> & {
16
+ theme?: import("@storybook/react-native-theming").Theme;
20
17
  as?: React.ElementType;
21
18
  } & {
22
19
  depth?: number;
@@ -32,8 +29,8 @@ declare const GroupNode: FC<ComponentProps<typeof BranchNode> & {
32
29
  isExpandable?: boolean;
33
30
  }>;
34
31
  declare const ComponentNode: FC<ComponentProps<typeof BranchNode>>;
35
- declare const StoryNode: React.NamedExoticComponent<Omit<_$react_native0.TouchableOpacityProps & React.RefAttributes<View> & {
36
- theme?: _$_storybook_react_native_theming0.Theme;
32
+ declare const StoryNode: React.NamedExoticComponent<Omit<import("react-native").TouchableOpacityProps & React.RefAttributes<View> & {
33
+ theme?: import("@storybook/react-native-theming").Theme;
37
34
  as?: React.ElementType;
38
35
  } & {
39
36
  depth?: number;
@@ -59,23 +56,23 @@ interface NodeProps$1 {
59
56
  status: State['status'][keyof State['status']];
60
57
  }
61
58
  declare const Node: React.NamedExoticComponent<NodeProps$1>;
62
- declare const LeafNodeStyleWrapper: _$_storybook_react_native_theming0.StyledComponent<_$react_native0.ViewProps & {
63
- theme?: _$_storybook_react_native_theming0.Theme;
59
+ declare const LeafNodeStyleWrapper: import("@storybook/react-native-theming").StyledComponent<import("react-native").ViewProps & {
60
+ theme?: import("@storybook/react-native-theming").Theme;
64
61
  as?: React.ElementType;
65
62
  }, {}, {
66
63
  ref?: React.Ref<View>;
67
64
  }>;
68
- declare const RootNode: _$_storybook_react_native_theming0.StyledComponent<_$react_native0.ViewProps & {
69
- theme?: _$_storybook_react_native_theming0.Theme;
65
+ declare const RootNode: import("@storybook/react-native-theming").StyledComponent<import("react-native").ViewProps & {
66
+ theme?: import("@storybook/react-native-theming").Theme;
70
67
  as?: React.ElementType;
71
68
  }, {}, {
72
69
  ref?: React.Ref<View>;
73
70
  }>;
74
- declare const RootNodeText: _$_storybook_react_native_theming0.StyledComponent<_$react_native0.TextProps & {
75
- theme?: _$_storybook_react_native_theming0.Theme;
71
+ declare const RootNodeText: import("@storybook/react-native-theming").StyledComponent<import("react-native").TextProps & {
72
+ theme?: import("@storybook/react-native-theming").Theme;
76
73
  as?: React.ElementType;
77
74
  }, {}, {
78
- ref?: React.Ref<_$react_native0.Text>;
75
+ ref?: React.Ref<import("react-native").Text>;
79
76
  }>;
80
77
  declare const Tree: React.NamedExoticComponent<{
81
78
  isBrowsing: boolean;
@@ -119,7 +116,7 @@ declare const Sidebar: React.MemoExoticComponent<({
119
116
  refs,
120
117
  setSelection,
121
118
  onSearchActiveChange
122
- }: SidebarProps) => _$react_jsx_runtime0.JSX.Element>;
119
+ }: SidebarProps) => import("react/jsx-runtime").JSX.Element>;
123
120
  //#endregion
124
121
  //#region src/Layout.d.ts
125
122
  declare const LiteUI: SBUI;
@@ -133,6 +130,6 @@ declare const Layout: ({
133
130
  story?: StoryContext<ReactRenderer, Args>;
134
131
  storyBackgroundColor?: string;
135
132
  children: ReactNode | ReactNode[];
136
- }) => _$react_jsx_runtime0.JSX.Element;
133
+ }) => import("react/jsx-runtime").JSX.Element;
137
134
  //#endregion
138
135
  export { ComponentNode, Explorer, ExplorerProps, GroupNode, Layout, LeafNodeStyleWrapper, LiteUI, Node, NodeProps, RootNode, RootNodeText, Sidebar, SidebarProps, StoryNode, Tree, useCombination };