@storybook/react-native-ui 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +14 -17
  2. package/package.json +6 -6
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 { State, StoriesHash } from "storybook/manager-api";
6
4
  import { CombinedDataset, ExpandAction, Item, SBUI, Selection } from "@storybook/react-native-ui-common";
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;
@@ -117,7 +114,7 @@ declare const Sidebar: React.MemoExoticComponent<({
117
114
  previewInitialized,
118
115
  refs,
119
116
  setSelection
120
- }: SidebarProps) => _$react_jsx_runtime0.JSX.Element>;
117
+ }: SidebarProps) => import("react/jsx-runtime").JSX.Element>;
121
118
  //#endregion
122
119
  //#region src/Layout.d.ts
123
120
  declare const FullUI: SBUI;
@@ -131,6 +128,6 @@ declare const Layout: ({
131
128
  story?: StoryContext<ReactRenderer, Args>;
132
129
  storyBackgroundColor?: string;
133
130
  children: ReactNode | ReactNode[];
134
- }) => _$react_jsx_runtime0.JSX.Element;
131
+ }) => import("react/jsx-runtime").JSX.Element;
135
132
  //#endregion
136
133
  export { ComponentNode, Explorer, ExplorerProps, FullUI, GroupNode, Layout, LeafNodeStyleWrapper, Node, NodeProps, RootNode, RootNodeText, Sidebar, SidebarProps, StoryNode, Tree, useCombination };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-native-ui",
3
- "version": "10.4.5",
3
+ "version": "10.4.6",
4
4
  "description": "ui components for react native storybook",
5
5
  "keywords": [
6
6
  "react",
@@ -30,15 +30,15 @@
30
30
  "dependencies": {
31
31
  "@gorhom/portal": "^1.0.14",
32
32
  "@nozbe/microfuzz": "^1.0.0",
33
- "@storybook/react": "^10.4.4",
34
- "@storybook/react-native-theming": "^10.4.5",
35
- "@storybook/react-native-ui-common": "^10.4.5",
33
+ "@storybook/react": "^10.4.6",
34
+ "@storybook/react-native-theming": "^10.4.6",
35
+ "@storybook/react-native-ui-common": "^10.4.6",
36
36
  "polished": "^4.3.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/react": "~19.2.14",
40
- "storybook": "^10.4.4",
41
- "tsdown": "^0.22.0",
40
+ "storybook": "^10.4.6",
41
+ "tsdown": "^0.22.3",
42
42
  "typescript": "~6.0.3"
43
43
  },
44
44
  "peerDependencies": {