@storybook/react-native-ui 8.3.1-beta.2 → 8.3.5
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 +12 -12
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ interface NodeProps$1 {
|
|
|
17
17
|
}
|
|
18
18
|
declare const BranchNode: _storybook_react_native_theming.StyledComponent<react_native.TouchableOpacityProps & {
|
|
19
19
|
theme?: _storybook_react_native_theming.Theme;
|
|
20
|
-
as?: React__default.ElementType
|
|
20
|
+
as?: React__default.ElementType;
|
|
21
21
|
} & {
|
|
22
22
|
depth?: number;
|
|
23
23
|
isExpandable?: boolean;
|
|
@@ -29,7 +29,7 @@ declare const BranchNode: _storybook_react_native_theming.StyledComponent<react_
|
|
|
29
29
|
}>;
|
|
30
30
|
declare const LeafNode: _storybook_react_native_theming.StyledComponent<react_native.TouchableOpacityProps & {
|
|
31
31
|
theme?: _storybook_react_native_theming.Theme;
|
|
32
|
-
as?: React__default.ElementType
|
|
32
|
+
as?: React__default.ElementType;
|
|
33
33
|
} & {
|
|
34
34
|
depth?: number;
|
|
35
35
|
selected?: boolean;
|
|
@@ -118,26 +118,26 @@ interface NodeProps {
|
|
|
118
118
|
declare const Node: React__default.NamedExoticComponent<NodeProps>;
|
|
119
119
|
declare const LeafNodeStyleWrapper: _storybook_react_native_theming.StyledComponent<react_native.ViewProps & {
|
|
120
120
|
theme?: _storybook_react_native_theming.Theme;
|
|
121
|
-
as?: React__default.ElementType
|
|
121
|
+
as?: React__default.ElementType;
|
|
122
122
|
}, {}, {
|
|
123
123
|
ref?: React__default.Ref<View>;
|
|
124
124
|
}>;
|
|
125
125
|
declare const RootNode: _storybook_react_native_theming.StyledComponent<react_native.ViewProps & {
|
|
126
126
|
theme?: _storybook_react_native_theming.Theme;
|
|
127
|
-
as?: React__default.ElementType
|
|
127
|
+
as?: React__default.ElementType;
|
|
128
128
|
}, {}, {
|
|
129
129
|
ref?: React__default.Ref<View>;
|
|
130
130
|
}>;
|
|
131
131
|
declare const RootNodeText: _storybook_react_native_theming.StyledComponent<react_native.TextProps & {
|
|
132
132
|
theme?: _storybook_react_native_theming.Theme;
|
|
133
|
-
as?: React__default.ElementType
|
|
133
|
+
as?: React__default.ElementType;
|
|
134
134
|
}, {}, {
|
|
135
135
|
ref?: React__default.Ref<react_native.Text>;
|
|
136
136
|
}>;
|
|
137
137
|
declare const Tree: React__default.NamedExoticComponent<{
|
|
138
138
|
isBrowsing: boolean;
|
|
139
139
|
isMain: boolean;
|
|
140
|
-
status?: State[
|
|
140
|
+
status?: State["status"];
|
|
141
141
|
refId: string;
|
|
142
142
|
data: StoriesHash;
|
|
143
143
|
docsMode: boolean;
|
|
@@ -159,17 +159,17 @@ interface ButtonProps extends TouchableOpacityProps {
|
|
|
159
159
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<TouchableOpacity>>;
|
|
160
160
|
declare const ButtonText: _storybook_react_native_theming.StyledComponent<react_native.TextProps & {
|
|
161
161
|
theme?: _storybook_react_native_theming.Theme;
|
|
162
|
-
as?: React
|
|
162
|
+
as?: React.ElementType;
|
|
163
163
|
} & {
|
|
164
|
-
variant: ButtonProps[
|
|
165
|
-
active: ButtonProps[
|
|
164
|
+
variant: ButtonProps["variant"];
|
|
165
|
+
active: ButtonProps["active"];
|
|
166
166
|
}, {}, {
|
|
167
167
|
ref?: React$1.Ref<react_native.Text>;
|
|
168
168
|
}>;
|
|
169
169
|
declare const ButtonIcon: ({ Icon, active, variant, }: {
|
|
170
170
|
Icon: (props: SvgProps) => ReactElement;
|
|
171
|
-
variant: ButtonProps[
|
|
172
|
-
active: ButtonProps[
|
|
171
|
+
variant: ButtonProps["variant"];
|
|
172
|
+
active: ButtonProps["active"];
|
|
173
173
|
}) => react_jsx_runtime.JSX.Element;
|
|
174
174
|
|
|
175
175
|
declare const IconButton: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<TouchableOpacity>>;
|
|
@@ -190,7 +190,7 @@ interface ExplorerProps {
|
|
|
190
190
|
}
|
|
191
191
|
declare const Explorer: FC<ExplorerProps>;
|
|
192
192
|
|
|
193
|
-
declare const useCombination: (index: SidebarProps[
|
|
193
|
+
declare const useCombination: (index: SidebarProps["index"], indexError: SidebarProps["indexError"], previewInitialized: SidebarProps["previewInitialized"], status: SidebarProps["status"], refs: SidebarProps["refs"]) => CombinedDataset;
|
|
194
194
|
interface SidebarProps extends API_LoadedRefData {
|
|
195
195
|
refs: State['refs'];
|
|
196
196
|
status: State['status'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-native-ui",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.5",
|
|
4
4
|
"description": "ui components for react native storybook",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"jest": "29.7.0",
|
|
55
55
|
"react-test-renderer": "18.2.0",
|
|
56
56
|
"tsup": "^7.2.0",
|
|
57
|
-
"typescript": "
|
|
57
|
+
"typescript": "^5.3.3"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@storybook/core": "^8.3.1",
|
|
61
61
|
"@storybook/react": "^8.3.1",
|
|
62
|
-
"@storybook/react-native-theming": "^8.3.
|
|
62
|
+
"@storybook/react-native-theming": "^8.3.5",
|
|
63
63
|
"fuse.js": "^7.0.0",
|
|
64
64
|
"memoizerific": "^1.11.3",
|
|
65
65
|
"polished": "^4.3.1",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"publishConfig": {
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "44a329c8a0b1f96622d13659200993c8259f834d"
|
|
84
84
|
}
|