@storybook/react-native-ui 8.5.3 → 8.5.4

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.js CHANGED
@@ -3071,6 +3071,7 @@ var LeafNode = import_react_native_theming2.styled.TouchableOpacity(
3071
3071
  var LeafNodeText = import_react_native_theming2.styled.Text(({ theme, selected }) => ({
3072
3072
  fontSize: theme.typography.size.s2,
3073
3073
  flexShrink: 1,
3074
+ fontWeight: selected ? "bold" : "normal",
3074
3075
  color: selected ? theme.color.lightest : theme.color.defaultText
3075
3076
  }));
3076
3077
  var Wrapper = import_react_native_theming2.styled.View({
@@ -4016,7 +4017,7 @@ var Input = (0, import_react_native_theming9.styled)(import_react_native3.TextIn
4016
4017
  borderWidth: 1,
4017
4018
  borderColor: theme.appBorderColor,
4018
4019
  backgroundColor: "transparent",
4019
- borderRadius: 4,
4020
+ borderRadius: 6,
4020
4021
  fontSize: theme.typography.size.s1 + 1,
4021
4022
  color: theme.color.defaultText,
4022
4023
  width: "100%"
@@ -5335,7 +5336,7 @@ var Nav = import_react_native_theming17.styled.View({
5335
5336
  justifyContent: "space-between",
5336
5337
  width: "100%",
5337
5338
  height: 40,
5338
- paddingHorizontal: 12
5339
+ paddingHorizontal: 6
5339
5340
  });
5340
5341
  var Container3 = import_react_native_theming17.styled.View(({ theme }) => ({
5341
5342
  alignSelf: "flex-end",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-native-ui",
3
- "version": "8.5.3",
3
+ "version": "8.5.4",
4
4
  "description": "ui components for react native storybook",
5
5
  "keywords": [
6
6
  "react",
@@ -60,7 +60,7 @@
60
60
  "dependencies": {
61
61
  "@storybook/core": "^8.5.1",
62
62
  "@storybook/react": "^8.5.1",
63
- "@storybook/react-native-theming": "^8.5.3",
63
+ "@storybook/react-native-theming": "^8.5.4",
64
64
  "fuse.js": "^7.0.0",
65
65
  "memoizerific": "^1.11.3",
66
66
  "polished": "^4.3.1",
@@ -81,5 +81,5 @@
81
81
  "publishConfig": {
82
82
  "access": "public"
83
83
  },
84
- "gitHead": "2d73f40145234a3ab4bdbabb6d63136fc59a17d9"
84
+ "gitHead": "bd630c52410fd1d6090e9bb52ecb7ea269e556b8"
85
85
  }
@@ -7,7 +7,6 @@ import { BottomSheetModalProvider } from '@gorhom/bottom-sheet';
7
7
  import { LayoutProvider } from './LayoutProvider';
8
8
 
9
9
  const meta = {
10
- title: 'components/Layout',
11
10
  component: Layout,
12
11
  decorators: [
13
12
  (Story) => (
package/src/Layout.tsx CHANGED
@@ -289,7 +289,7 @@ const Nav = styled.View({
289
289
  justifyContent: 'space-between',
290
290
  width: '100%',
291
291
  height: 40,
292
- paddingHorizontal: 12,
292
+ paddingHorizontal: 6,
293
293
  });
294
294
 
295
295
  const Container = styled.View(({ theme }) => ({
package/src/Search.tsx CHANGED
@@ -79,7 +79,7 @@ const Input = styled(TextInput)(({ theme }) => ({
79
79
  borderWidth: 1,
80
80
  borderColor: theme.appBorderColor,
81
81
  backgroundColor: 'transparent',
82
- borderRadius: 4,
82
+ borderRadius: 6,
83
83
  fontSize: theme.typography.size.s1 + 1,
84
84
  color: theme.color.defaultText,
85
85
  width: '100%',
@@ -35,7 +35,7 @@ const meta = {
35
35
  </ScrollView>
36
36
  ),
37
37
  ],
38
- } as Meta<typeof Tree>;
38
+ } satisfies Meta<typeof Tree>;
39
39
 
40
40
  export default meta;
41
41
 
@@ -49,6 +49,10 @@ export const Full: Story = {
49
49
  isBrowsing: true,
50
50
  isMain: true,
51
51
  refId: DEFAULT_REF_ID,
52
+ data: undefined,
53
+ onSelectStoryId: () => {},
54
+ selectedStoryId: storyId,
55
+ status: undefined,
52
56
  },
53
57
  render: function Render(args) {
54
58
  const [selectedId, setSelectedId] = useState(storyId);
@@ -68,6 +72,10 @@ export const SingleStoryComponents: Story = {
68
72
  isBrowsing: true,
69
73
  isMain: true,
70
74
  refId: DEFAULT_REF_ID,
75
+ data: undefined,
76
+ onSelectStoryId: () => {},
77
+ selectedStoryId: storyId,
78
+ status: undefined,
71
79
  },
72
80
  render: function Render(args) {
73
81
  const [selectedId, setSelectedId] = useState('tooltip-tooltipbuildlist--default');
package/src/TreeNode.tsx CHANGED
@@ -74,6 +74,7 @@ const LeafNode = styled.TouchableOpacity<{ depth?: number; selected?: boolean }>
74
74
  const LeafNodeText = styled.Text<{ depth?: number; selected?: boolean }>(({ theme, selected }) => ({
75
75
  fontSize: theme.typography.size.s2,
76
76
  flexShrink: 1,
77
+ fontWeight: selected ? 'bold' : 'normal',
77
78
  color: selected ? theme.color.lightest : theme.color.defaultText,
78
79
  }));
79
80