Skip to content

Commit

Permalink
chore: release v4.0.0-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitBhalla committed Apr 27, 2022
1 parent 6de7aa0 commit d1ac3fc
Show file tree
Hide file tree
Showing 111 changed files with 7,443 additions and 7 deletions.
65 changes: 65 additions & 0 deletions packages/base/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,71 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# 4.0.0-rc.2 (2022-04-27)


### Bug Fixes

* **Chip:** border radius on tap ([#3442](https://github.com/react-native-elements/react-native-elements/issues/3442)) ([2720463](https://github.com/react-native-elements/react-native-elements/commit/2720463439f08c5af9553476ecea00f14424b29e))
* **ListItem:** isExpanded set default false for Accordion ([#3475](https://github.com/react-native-elements/react-native-elements/issues/3475)) ([3a66591](https://github.com/react-native-elements/react-native-elements/commit/3a66591fd3d770c0e77731da8748c84534f7d20d))
* **ListItem:** Swipeable panresponders ([#3449](https://github.com/react-native-elements/react-native-elements/issues/3449)) ([eca3f2e](https://github.com/react-native-elements/react-native-elements/commit/eca3f2efcc50e7dcf158323bce7da7e938aaa9f0))
* **Overlay:** custom backgroundColor override ([#3471](https://github.com/react-native-elements/react-native-elements/issues/3471)) ([2ad403a](https://github.com/react-native-elements/react-native-elements/commit/2ad403ac8b241420892b2b680ae9f5d7ead4ed6a))
* **SearchBar:** typescript errors ([#3437](https://github.com/react-native-elements/react-native-elements/issues/3437)) ([ec01b65](https://github.com/react-native-elements/react-native-elements/commit/ec01b65cbbb3a3795e0450a4c744acffa2b31d56))
* **Skeleton:** remove `type` from import ([#3476](https://github.com/react-native-elements/react-native-elements/issues/3476)) ([455276a](https://github.com/react-native-elements/react-native-elements/commit/455276a21eacd864883a4e7b90bec0aafba1ff35))
* **SpeedDial.Action:** wrap with pressable ([#3480](https://github.com/react-native-elements/react-native-elements/issues/3480)) ([6de7aa0](https://github.com/react-native-elements/react-native-elements/commit/6de7aa0985edc90a0325244227eda9e4aab71b60))
* **SpeedDial:** add themed FAB ([#3436](https://github.com/react-native-elements/react-native-elements/issues/3436)) ([e70d40b](https://github.com/react-native-elements/react-native-elements/commit/e70d40b262f199b31e533e42c57c2c18c6ccdfde))
* **SpeedDial:** Left placement for Actions ([#3479](https://github.com/react-native-elements/react-native-elements/issues/3479)) ([d006fe9](https://github.com/react-native-elements/react-native-elements/commit/d006fe9f532430a00931877be8a5cda4b4027942))
* **ThemeProvider:** add `children` prop explicitly ([#3477](https://github.com/react-native-elements/react-native-elements/issues/3477)) ([45f9523](https://github.com/react-native-elements/react-native-elements/commit/45f9523300d9bcc74837ddc01dc6b787cb4be54b))
* **Tooltip:** removeEventListener deprecated warning ([#3440](https://github.com/react-native-elements/react-native-elements/issues/3440)) ([f4db70d](https://github.com/react-native-elements/react-native-elements/commit/f4db70d862f906ce714ba3226dd9936e11cddc85))


### Features

* **CheckBox:** add disabled, disabledTitleStyle, disabledStyle props ([#3430](https://github.com/react-native-elements/react-native-elements/issues/3430)) ([d35df60](https://github.com/react-native-elements/react-native-elements/commit/d35df60071b4d8ab6d6eb7724147a5eac9eeebec))



# 4.0.0-rc.1 (2022-03-28)


### Bug Fixes

* pkg entry point for react-native cli ([#3403](https://github.com/react-native-elements/react-native-elements/issues/3403)) ([2c4bf8a](https://github.com/react-native-elements/react-native-elements/commit/2c4bf8a4a31498ce4dd2aefe22cff5cfc13363f1))
* remove Partial Color Type ([#3418](https://github.com/react-native-elements/react-native-elements/issues/3418)) ([c9c2bdc](https://github.com/react-native-elements/react-native-elements/commit/c9c2bdc58198392727c1b6affccf6201724a2391))
* **Tab, TabView:** conditional rendering ([#3397](https://github.com/react-native-elements/react-native-elements/issues/3397)) ([781e47a](https://github.com/react-native-elements/react-native-elements/commit/781e47adbedb4b93daa37ee659d3e9ef7b9ed5aa))
* **TabView:** swipe issue ([#3380](https://github.com/react-native-elements/react-native-elements/issues/3380)) ([fc3bb93](https://github.com/react-native-elements/react-native-elements/commit/fc3bb9365ef9cc1d8ba512ad38c5cc4ce83dc311))



# 4.0.0-rc.0 (2022-03-16)


### Bug Fixes

* **AirbnbRating:** add props to parent component ([#3335](https://github.com/react-native-elements/react-native-elements/issues/3335)) ([f859d68](https://github.com/react-native-elements/react-native-elements/commit/f859d685f6415558f26b406cf05741aca84accd6))
* change TextProps from type to interface to enable declaration me… ([#3198](https://github.com/react-native-elements/react-native-elements/issues/3198)) ([c850731](https://github.com/react-native-elements/react-native-elements/commit/c8507312644c1e5bd4228f04a3f09b0f3e8c866e))
* **Dialog:** remove container view ([#3384](https://github.com/react-native-elements/react-native-elements/issues/3384)) ([bcff691](https://github.com/react-native-elements/react-native-elements/commit/bcff691f733aae5b003126575f5e3e55d0500d31))
* **docs:** broken props and links ([29fe60b](https://github.com/react-native-elements/react-native-elements/commit/29fe60b6147fb12169c978e3827d693c4e51b161))
* **FAB:** add small size style ([#3322](https://github.com/react-native-elements/react-native-elements/issues/3322)) ([b4a7296](https://github.com/react-native-elements/react-native-elements/commit/b4a729645b064ae7854eb32eeb060b8c0ac18cc2))
* **Icon:** preserve custom testID property ([#3376](https://github.com/react-native-elements/react-native-elements/issues/3376)) ([9f713f1](https://github.com/react-native-elements/react-native-elements/commit/9f713f158b41e8a40fae92bb5d168d38c7502cc3))
* **ListItem:** remove Accordion height animation ([#3352](https://github.com/react-native-elements/react-native-elements/issues/3352)) ([217f623](https://github.com/react-native-elements/react-native-elements/commit/217f6235cbab43710d0e0cc045d24f9dc3505f6f))
* **Slider:** Fix issues with scrub and allowTouchTrack ([#3203](https://github.com/react-native-elements/react-native-elements/issues/3203)) ([74de9ea](https://github.com/react-native-elements/react-native-elements/commit/74de9ea3b3f0b02f40435aa7367fa602d8150650))
* **themeColors:** add support for dark mode ([#3078](https://github.com/react-native-elements/react-native-elements/issues/3078)) ([8a7743e](https://github.com/react-native-elements/react-native-elements/commit/8a7743ebe6ade1cbab9bd5b0b896d05c65976b20))


### Features

* Add style props to TabView component ([#3191](https://github.com/react-native-elements/react-native-elements/issues/3191)) ([efb76aa](https://github.com/react-native-elements/react-native-elements/commit/efb76aab455b2c93e875f691b82227b838b97ab2))
* **BottomSheet:** add onBackdropPress handler ([#3074](https://github.com/react-native-elements/react-native-elements/issues/3074)) ([de1a02b](https://github.com/react-native-elements/react-native-elements/commit/de1a02b551cd1ef8ea33d164b4bea6d434e5a914))
* **ListItem:** add `onSwipeBegin`,`onSwipeEnd`, resetCallback ([#3180](https://github.com/react-native-elements/react-native-elements/issues/3180)) ([2a5a8b0](https://github.com/react-native-elements/react-native-elements/commit/2a5a8b039da3a6b62d82445815229e244dacde83))
* **Skeleton:** new universal component package ([#3357](https://github.com/react-native-elements/react-native-elements/issues/3357)) ([1cca2db](https://github.com/react-native-elements/react-native-elements/commit/1cca2db1967330ef42a67c9b885a460ed27a4762))
* **Tab:** add horizontally scrollable Tab.Items ([#3336](https://github.com/react-native-elements/react-native-elements/issues/3336)) ([a0a919b](https://github.com/react-native-elements/react-native-elements/commit/a0a919bbda0888bb57fb94c329a59fd6f325cc2d))
* **TabView:** add `disableSwipe` & `disableTransition` prop ([#3372](https://github.com/react-native-elements/react-native-elements/issues/3372)) ([b45e1a9](https://github.com/react-native-elements/react-native-elements/commit/b45e1a9555fb061ca6f7e6102d3c04f9b7cc78e8))





# 4.0.0-rc.1 (2022-03-28)


Expand Down
2 changes: 1 addition & 1 deletion packages/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</p>

<div align="center">
<a href="https://twitter.com/rne_org"><img src="https://img.shields.io/twitter/follow/rne_org?style=flat-square&label=Follow%20%40rne_org&logo=TWITTER&logoColor=FFFFFF&labelColor=00aced&logoWidth=15&color=lightgray"></a>
<a href="https://twitter.com/rn_elements"><img src="https://img.shields.io/twitter/follow/rne_org?style=flat-square&label=Follow%20%40rn_elements&logo=TWITTER&logoColor=FFFFFF&labelColor=00aced&logoWidth=15&color=lightgray"></a>
<a href="https://github.com/react-native-elements/react-native-elements/discussions"><img src="https://img.shields.io/github/discussions/react-native-elements/react-native-elements?label=Discussions&logo=github&style=flat-square"></a>
<a href="https://react-native-elements-slack.herokuapp.com"><img src="https://img.shields.io/badge/Join-Slack-4A154B?style=flat-square&logo=slack&color=0089E3&"></a>

Expand Down
2 changes: 1 addition & 1 deletion packages/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rneui/base",
"version": "4.0.0-rc.1",
"version": "4.0.0-rc.2",
"description": "Cross Platform React Native UI Toolkit",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
39 changes: 39 additions & 0 deletions packages/themed/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,45 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# 4.0.0-rc.2 (2022-04-27)


### Bug Fixes

* **SearchBar:** typescript errors ([#3437](https://github.com/react-native-elements/react-native-elements/issues/3437)) ([ec01b65](https://github.com/react-native-elements/react-native-elements/commit/ec01b65cbbb3a3795e0450a4c744acffa2b31d56))
* **SpeedDial.Action:** wrap with pressable ([#3480](https://github.com/react-native-elements/react-native-elements/issues/3480)) ([6de7aa0](https://github.com/react-native-elements/react-native-elements/commit/6de7aa0985edc90a0325244227eda9e4aab71b60))
* **SpeedDial:** Left placement for Actions ([#3479](https://github.com/react-native-elements/react-native-elements/issues/3479)) ([d006fe9](https://github.com/react-native-elements/react-native-elements/commit/d006fe9f532430a00931877be8a5cda4b4027942))
* **ThemeProvider:** add `children` prop explicitly ([#3477](https://github.com/react-native-elements/react-native-elements/issues/3477)) ([45f9523](https://github.com/react-native-elements/react-native-elements/commit/45f9523300d9bcc74837ddc01dc6b787cb4be54b))
* **Theming:** extend default theme ([#3450](https://github.com/react-native-elements/react-native-elements/issues/3450)) ([587d8db](https://github.com/react-native-elements/react-native-elements/commit/587d8dbf8aef0beb9cd42683f16e52bbbe3b99c1))



# 4.0.0-rc.1 (2022-03-28)


### Bug Fixes

* pkg entry point for react-native cli ([#3403](https://github.com/react-native-elements/react-native-elements/issues/3403)) ([2c4bf8a](https://github.com/react-native-elements/react-native-elements/commit/2c4bf8a4a31498ce4dd2aefe22cff5cfc13363f1))
* remove Partial Color Type ([#3418](https://github.com/react-native-elements/react-native-elements/issues/3418)) ([c9c2bdc](https://github.com/react-native-elements/react-native-elements/commit/c9c2bdc58198392727c1b6affccf6201724a2391))



# 4.0.0-rc.0 (2022-03-16)


### Bug Fixes

* collectCoverage ([483af88](https://github.com/react-native-elements/react-native-elements/commit/483af88803a48f343ff2965d9770f9a5ea71a033))


### Features

* **Skeleton:** new universal component package ([#3357](https://github.com/react-native-elements/react-native-elements/issues/3357)) ([1cca2db](https://github.com/react-native-elements/react-native-elements/commit/1cca2db1967330ef42a67c9b885a460ed27a4762))





# 4.0.0-rc.1 (2022-03-28)


Expand Down
2 changes: 1 addition & 1 deletion packages/themed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</p>

<div align="center">
<a href="https://twitter.com/rne_org"><img src="https://img.shields.io/twitter/follow/rne_org?style=flat-square&label=Follow%20%40rne_org&logo=TWITTER&logoColor=FFFFFF&labelColor=00aced&logoWidth=15&color=lightgray"></a>
<a href="https://twitter.com/rn_elements"><img src="https://img.shields.io/twitter/follow/rne_org?style=flat-square&label=Follow%20%40rn_elements&logo=TWITTER&logoColor=FFFFFF&labelColor=00aced&logoWidth=15&color=lightgray"></a>
<a href="https://github.com/react-native-elements/react-native-elements/discussions"><img src="https://img.shields.io/github/discussions/react-native-elements/react-native-elements?label=Discussions&logo=github&style=flat-square"></a>
<a href="https://react-native-elements-slack.herokuapp.com"><img src="https://img.shields.io/badge/Join-Slack-4A154B?style=flat-square&logo=slack&color=0089E3&"></a>

Expand Down
6 changes: 3 additions & 3 deletions packages/themed/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rneui/themed",
"version": "4.0.0-rc.1",
"version": "4.0.0-rc.2",
"description": "Cross Platform React Native UI Toolkit",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -50,10 +50,10 @@
"logo": "https://opencollective.com/react-native-elements/logo.txt"
},
"peerDependencies": {
"@rneui/base": "4.0.0-rc.1"
"@rneui/base": "4.0.0-rc.2"
},
"devDependencies": {
"@rneui/base": "4.0.0-rc.1"
"@rneui/base": "4.0.0-rc.2"
},
"jest": {
"displayName": "@rneui/themed",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
```SnackPlayer name=RNE AirbnbRating
import React from 'react';
import { StyleSheet, Text, View, Platform, ScrollView } from 'react-native';
import { AirbnbRating } from '@rneui/themed';
type RatingsComponentProps = {};
const Ratings: React.FunctionComponent<RatingsComponentProps> = () => {
const ratingCompleted = (rating: number) => {
console.log('Rating is: ' + rating);
};
const ratingProps = {};
return (
<View style={styles.container}>
<ScrollView style={styles.viewContainer}>
<View
style={{
justifyContent: 'center',
alignItems: 'center',
marginBottom: 30,
}}
>
<AirbnbRating />
<AirbnbRating isDisabled={true}/>
<AirbnbRating
count={11}
reviews={[
'Terrible',
'Bad',
'Meh',
'OK',
'Good',
'Hmm...',
'Very Good',
'Wow',
'Amazing',
'Unbelievable',
'Jesus',
]}
defaultRating={11}
size={20}
/>
</View>
</ScrollView>
</View>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
},
headingContainer: {
paddingTop: 50,
},
titleText: {
fontSize: 25,
fontWeight: 'bold',
textAlign: 'center',
paddingVertical: 5,
fontFamily: Platform.OS === 'ios' ? 'Menlo-Bold' : '',
color: '#27ae60',
},
subtitleText: {
fontSize: 18,
fontWeight: '400',
textAlign: 'center',
fontFamily: Platform.OS === 'ios' ? 'Trebuchet MS' : '',
color: '#34495e',
},
viewContainer: {
flex: 1,
},
rating: {
paddingVertical: 10,
},
});
export default Ratings;
```

0 comments on commit d1ac3fc

Please sign in to comment.