@storybook/react-native-ui-lite 10.0.0 → 10.0.1

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 +6 -5
  2. package/package.json +8 -10
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 } from 'react-native';
4
5
  import React, { FC, ComponentProps, ReactNode } from 'react';
@@ -15,7 +16,7 @@ interface NodeProps$1 {
15
16
  isExpanded?: boolean;
16
17
  }
17
18
  declare const BranchNode: _storybook_react_native_theming.StyledComponent<react_native.TouchableOpacityProps & React.RefAttributes<View> & {
18
- theme?: _storybook_react_native_theming.Theme;
19
+ theme?: useTheme;
19
20
  as?: React.ElementType;
20
21
  } & {
21
22
  depth?: number;
@@ -32,7 +33,7 @@ declare const GroupNode: FC<ComponentProps<typeof BranchNode> & {
32
33
  }>;
33
34
  declare const ComponentNode: FC<ComponentProps<typeof BranchNode>>;
34
35
  declare const StoryNode: React.NamedExoticComponent<Omit<react_native.TouchableOpacityProps & React.RefAttributes<View> & {
35
- theme?: _storybook_react_native_theming.Theme;
36
+ theme?: useTheme;
36
37
  as?: React.ElementType;
37
38
  } & {
38
39
  depth?: number;
@@ -58,19 +59,19 @@ interface NodeProps {
58
59
  }
59
60
  declare const Node: React.NamedExoticComponent<NodeProps>;
60
61
  declare const LeafNodeStyleWrapper: _storybook_react_native_theming.StyledComponent<react_native.ViewProps & {
61
- theme?: _storybook_react_native_theming.Theme;
62
+ theme?: Theme;
62
63
  as?: React.ElementType;
63
64
  }, {}, {
64
65
  ref?: React.Ref<View>;
65
66
  }>;
66
67
  declare const RootNode: _storybook_react_native_theming.StyledComponent<react_native.ViewProps & {
67
- theme?: _storybook_react_native_theming.Theme;
68
+ theme?: Theme;
68
69
  as?: React.ElementType;
69
70
  }, {}, {
70
71
  ref?: React.Ref<View>;
71
72
  }>;
72
73
  declare const RootNodeText: _storybook_react_native_theming.StyledComponent<react_native.TextProps & {
73
- theme?: _storybook_react_native_theming.Theme;
74
+ theme?: Theme;
74
75
  as?: React.ElementType;
75
76
  }, {}, {
76
77
  ref?: React.Ref<react_native.Text>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-native-ui-lite",
3
- "version": "10.0.0",
3
+ "version": "10.0.1",
4
4
  "description": "lightweight ui components for react native storybook",
5
5
  "keywords": [
6
6
  "react",
@@ -55,17 +55,15 @@
55
55
  "react-test-renderer": "^19.1.0",
56
56
  "ts-dedent": "^2.2.0",
57
57
  "tsup": "^8.5.0",
58
- "typescript": "~5.9.2"
58
+ "typescript": "~5.9.3"
59
59
  },
60
60
  "dependencies": {
61
- "@storybook/react": "^10.0.0",
62
- "@storybook/react-native-theming": "^10.0.0",
63
- "@storybook/react-native-ui-common": "^10.0.0",
64
- "fuse.js": "^7.0.0",
65
- "memoizerific": "^1.11.3",
61
+ "@storybook/react": "^10.0.1",
62
+ "@storybook/react-native-theming": "^10.0.1",
63
+ "@storybook/react-native-ui-common": "^10.0.1",
64
+ "fuse.js": "^7.1.0",
66
65
  "polished": "^4.3.1",
67
- "react-native-safe-area-context": "^5",
68
- "store2": "^2.14.3"
66
+ "react-native-safe-area-context": "^5"
69
67
  },
70
68
  "peerDependencies": {
71
69
  "react": "*",
@@ -78,5 +76,5 @@
78
76
  "publishConfig": {
79
77
  "access": "public"
80
78
  },
81
- "gitHead": "f2af5e230aac4cd858f2d73909868ae4952eb1c1"
79
+ "gitHead": "7604d1c21f15767940d30d9c5dcf9da73d0a9fe7"
82
80
  }