Skip to content

Commit a220a92

Browse files
committed
Merge branch 'next' into 5.x
2 parents 3f885a5 + 1f374f2 commit a220a92

121 files changed

Lines changed: 939 additions & 510 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

example/src/views/inputs.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ const Inputs: React.FunctionComponent<InputsComponentProps> = () => {
6363
</View>
6464
<SearchBarCustom
6565
placeholder="iOS searchbar"
66+
value="Search"
6667
platform="ios"
6768
style={InputFieldsStyle}
6869
{...dummySearchBarProps}

packages/base/CHANGELOG.md

Lines changed: 242 additions & 0 deletions
Large diffs are not rendered by default.

packages/base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rn-vui/base",
3-
"version": "5.1.7",
3+
"version": "5.1.8",
44
"description": "Cross Platform React Native UI Toolkit",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

packages/base/src/SearchBar/SearchBar-android.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ const SearchBarAndroid = forwardRef<SearchBarRef, SearchBarAndroidProps>(
136136
>
137137
<Input
138138
testID="RNE__SearchBar"
139+
value={value}
139140
renderErrorMessage={false}
140141
{...attributes}
141142
onFocus={handleFocus}

packages/base/src/SearchBar/SearchBar-default.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ const SearchBarDefault = forwardRef<SearchBarRef, SearchBarDefaultProps>(
111111
<Input
112112
testID="RNE__SearchBar"
113113
renderErrorMessage={false}
114+
value={value}
114115
{...attributes}
115116
onFocus={handleFocus}
116117
onBlur={handleBlur}

packages/base/src/SearchBar/SearchBar-ios.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ const SearchBarIOS = forwardRef<SearchBarRef, SearchBarIosProps>(
152152
<Input
153153
testID="RNE__SearchBar"
154154
renderErrorMessage={false}
155+
value={value}
155156
{...attributes}
156157
onFocus={handleFocus}
157158
onBlur={handleBlur}

packages/base/src/SearchBar/__tests__/__snapshots__/SearchBar-android.test.tsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ exports[`Android SearchBar component should match snapshot 1`] = `
128128
}
129129
testID="RNE__SearchBar"
130130
underlineColorAndroid="transparent"
131+
value=""
131132
/>
132133
<View
133134
style={

packages/base/src/SearchBar/__tests__/__snapshots__/SearchBar-default.test.tsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ exports[`Default SearchBar component should match snapshot 1`] = `
133133
}
134134
testID="RNE__SearchBar"
135135
underlineColorAndroid="transparent"
136+
value=""
136137
/>
137138
<View
138139
style={

packages/base/src/SearchBar/__tests__/__snapshots__/SearchBar-ios.test.tsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ exports[`iOS SearchBar component should match snapshot 1`] = `
135135
}
136136
testID="RNE__SearchBar"
137137
underlineColorAndroid="transparent"
138+
value=""
138139
/>
139140
<View
140141
style={

packages/base/src/SearchBar/__tests__/__snapshots__/SearchBar.test.tsx.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ exports[`SearchBar wrapper component should match snapshot 1`] = `
133133
}
134134
testID="RNE__SearchBar"
135135
underlineColorAndroid="transparent"
136+
value=""
136137
/>
137138
<View
138139
style={
@@ -300,6 +301,7 @@ exports[`SearchBar wrapper component should render an Android SearchBar 1`] = `
300301
}
301302
testID="RNE__SearchBar"
302303
underlineColorAndroid="transparent"
304+
value=""
303305
/>
304306
<View
305307
style={
@@ -474,6 +476,7 @@ exports[`SearchBar wrapper component should render an iOS SearchBar 1`] = `
474476
}
475477
testID="RNE__SearchBar"
476478
underlineColorAndroid="transparent"
479+
value=""
477480
/>
478481
<View
479482
style={

0 commit comments

Comments
 (0)