@storybook/react-native-ui-common 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/dist/index.d.ts +7 -11
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import * as _$react from "react";
|
|
2
1
|
import { DependencyList, Dispatch, FC, PropsWithChildren, ReactElement, ReactNode, SetStateAction, SyntheticEvent } from "react";
|
|
3
|
-
import * as _$react_native0 from "react-native";
|
|
4
2
|
import { ImageStyle, PressableProps, StyleProp, TextStyle, TouchableOpacityProps, ViewStyle } from "react-native";
|
|
5
|
-
import * as _$_storybook_react_native_theming0 from "@storybook/react-native-theming";
|
|
6
|
-
import { Theme } from "@storybook/react-native-theming";
|
|
7
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
8
3
|
import { Args, StoryContext } from "storybook/internal/csf";
|
|
9
4
|
import { ReactRenderer } from "@storybook/react";
|
|
5
|
+
import { Theme } from "@storybook/react-native-theming";
|
|
10
6
|
import { API, IndexHash, State, StoriesHash } from "storybook/manager-api";
|
|
11
7
|
import { API_IndexHash, API_PreparedStoryIndex, API_Provider, DocsOptions, StatusValue, StatusesByStoryIdAndTypeId, StoryIndexV2, StoryIndexV3 } from "storybook/internal/types";
|
|
12
8
|
|
|
@@ -24,15 +20,15 @@ interface ButtonProps extends TouchableOpacityProps {
|
|
|
24
20
|
color: string;
|
|
25
21
|
}) => ReactElement;
|
|
26
22
|
}
|
|
27
|
-
declare const Button:
|
|
28
|
-
declare const ButtonText:
|
|
29
|
-
theme?:
|
|
23
|
+
declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<any>>;
|
|
24
|
+
declare const ButtonText: import("@storybook/react-native-theming").StyledComponent<import("react-native").TextProps & {
|
|
25
|
+
theme?: import("@storybook/react-native-theming").Theme;
|
|
30
26
|
as?: React.ElementType;
|
|
31
27
|
} & {
|
|
32
28
|
variant: ButtonProps["variant"];
|
|
33
29
|
active: ButtonProps["active"];
|
|
34
30
|
}, {}, {
|
|
35
|
-
ref?:
|
|
31
|
+
ref?: import("react").Ref<import("react-native").Text>;
|
|
36
32
|
}>;
|
|
37
33
|
declare const ButtonIcon: ({
|
|
38
34
|
Icon,
|
|
@@ -44,10 +40,10 @@ declare const ButtonIcon: ({
|
|
|
44
40
|
}) => ReactElement;
|
|
45
41
|
variant: ButtonProps["variant"];
|
|
46
42
|
active: ButtonProps["active"];
|
|
47
|
-
}) =>
|
|
43
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
48
44
|
//#endregion
|
|
49
45
|
//#region src/IconButton.d.ts
|
|
50
|
-
declare const IconButton:
|
|
46
|
+
declare const IconButton: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<unknown>>;
|
|
51
47
|
//#endregion
|
|
52
48
|
//#region src/LayoutProvider.d.ts
|
|
53
49
|
type LayoutContextType = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-native-ui-common",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.6",
|
|
4
4
|
"description": "common ui components for react native storybook",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@nozbe/microfuzz": "^1.0.0",
|
|
32
|
-
"@storybook/react": "^10.4.
|
|
33
|
-
"@storybook/react-native-theming": "^10.4.
|
|
34
|
-
"es-toolkit": "^1.
|
|
32
|
+
"@storybook/react": "^10.4.6",
|
|
33
|
+
"@storybook/react-native-theming": "^10.4.6",
|
|
34
|
+
"es-toolkit": "^1.47.1",
|
|
35
35
|
"memoizerific": "^1.11.3",
|
|
36
|
-
"ts-dedent": "^2.
|
|
36
|
+
"ts-dedent": "^2.3.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/react": "~19.2.14",
|
|
40
|
-
"storybook": "^10.4.
|
|
41
|
-
"tsdown": "^0.22.
|
|
40
|
+
"storybook": "^10.4.6",
|
|
41
|
+
"tsdown": "^0.22.3",
|
|
42
42
|
"typescript": "~6.0.3"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|