@storybook/react-native-ui 9.0.0-beta.10 → 9.0.0-beta.12
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 -6
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as _storybook_react_native_theming from '@storybook/react-native-theming';
|
|
2
|
+
import { useTheme } from '@storybook/react-native-theming';
|
|
2
3
|
import * as react_native from 'react-native';
|
|
3
4
|
import { View, PressableProps, TouchableOpacityProps } from 'react-native';
|
|
4
5
|
import * as React$1 from 'react';
|
|
@@ -16,7 +17,7 @@ interface NodeProps$1 {
|
|
|
16
17
|
isExpanded?: boolean;
|
|
17
18
|
}
|
|
18
19
|
declare const BranchNode: _storybook_react_native_theming.StyledComponent<react_native.TouchableOpacityProps & React__default.RefAttributes<View> & {
|
|
19
|
-
theme?:
|
|
20
|
+
theme?: useTheme;
|
|
20
21
|
as?: React__default.ElementType;
|
|
21
22
|
} & {
|
|
22
23
|
depth?: number;
|
|
@@ -33,7 +34,7 @@ declare const GroupNode: FC<ComponentProps<typeof BranchNode> & {
|
|
|
33
34
|
}>;
|
|
34
35
|
declare const ComponentNode: FC<ComponentProps<typeof BranchNode>>;
|
|
35
36
|
declare const StoryNode: React__default.NamedExoticComponent<Omit<react_native.TouchableOpacityProps & React__default.RefAttributes<View> & {
|
|
36
|
-
theme?:
|
|
37
|
+
theme?: useTheme;
|
|
37
38
|
as?: React__default.ElementType;
|
|
38
39
|
} & {
|
|
39
40
|
depth?: number;
|
|
@@ -116,19 +117,19 @@ interface NodeProps {
|
|
|
116
117
|
}
|
|
117
118
|
declare const Node: React__default.NamedExoticComponent<NodeProps>;
|
|
118
119
|
declare const LeafNodeStyleWrapper: _storybook_react_native_theming.StyledComponent<react_native.ViewProps & {
|
|
119
|
-
theme?:
|
|
120
|
+
theme?: Theme$1;
|
|
120
121
|
as?: React__default.ElementType;
|
|
121
122
|
}, {}, {
|
|
122
123
|
ref?: React__default.Ref<View>;
|
|
123
124
|
}>;
|
|
124
125
|
declare const RootNode: _storybook_react_native_theming.StyledComponent<react_native.ViewProps & {
|
|
125
|
-
theme?:
|
|
126
|
+
theme?: Theme$1;
|
|
126
127
|
as?: React__default.ElementType;
|
|
127
128
|
}, {}, {
|
|
128
129
|
ref?: React__default.Ref<View>;
|
|
129
130
|
}>;
|
|
130
131
|
declare const RootNodeText: _storybook_react_native_theming.StyledComponent<react_native.TextProps & {
|
|
131
|
-
theme?:
|
|
132
|
+
theme?: Theme$1;
|
|
132
133
|
as?: React__default.ElementType;
|
|
133
134
|
}, {}, {
|
|
134
135
|
ref?: React__default.Ref<react_native.Text>;
|
|
@@ -157,7 +158,7 @@ interface ButtonProps extends TouchableOpacityProps {
|
|
|
157
158
|
}
|
|
158
159
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<any>>;
|
|
159
160
|
declare const ButtonText: _storybook_react_native_theming.StyledComponent<react_native.TextProps & {
|
|
160
|
-
theme?:
|
|
161
|
+
theme?: useTheme;
|
|
161
162
|
as?: React.ElementType;
|
|
162
163
|
} & {
|
|
163
164
|
variant: ButtonProps["variant"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-native-ui",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.12",
|
|
4
4
|
"description": "ui components for react native storybook",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@storybook/react": "9.0.0-beta.10",
|
|
62
|
-
"@storybook/react-native-theming": "^9.0.0-beta.
|
|
62
|
+
"@storybook/react-native-theming": "^9.0.0-beta.12",
|
|
63
63
|
"fuse.js": "^7.0.0",
|
|
64
64
|
"memoizerific": "^1.11.3",
|
|
65
65
|
"polished": "^4.3.1",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "17adc32f6748dc2db35bfaa0b7662ba784c78a95"
|
|
85
85
|
}
|