Skip to content

Commit

Permalink
chore: bump v4.0.0-rc.4 (#3542)
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitBhalla committed May 21, 2022
1 parent bf30566 commit 570e513
Show file tree
Hide file tree
Showing 107 changed files with 7,817 additions and 4 deletions.
97 changes: 97 additions & 0 deletions packages/base/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,103 @@
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.4 (2022-05-21)


### Bug Fixes

* **ButtonGroup:** add and improve types and add tests ([#3220](https://github.com/react-native-elements/react-native-elements/issues/3220)) ([9f08153](https://github.com/react-native-elements/react-native-elements/commit/9f08153cf25a067880c74913a1355d1cf530d414))
* **Dialog:** Action button on web ([#3514](https://github.com/react-native-elements/react-native-elements/issues/3514)) ([d835acc](https://github.com/react-native-elements/react-native-elements/commit/d835acc4457e7108cfc6008f6b49fb66c3f1af42))
* **ListItem:** Accordion children areas were not hidden ([#3517](https://github.com/react-native-elements/react-native-elements/issues/3517)) ([dc1d369](https://github.com/react-native-elements/react-native-elements/commit/dc1d369e125cfbac936d4ffe034210915a0e79aa))
* **ListItem:** left & right content width onRelease in Swipeable ([#3534](https://github.com/react-native-elements/react-native-elements/issues/3534)) ([7816555](https://github.com/react-native-elements/react-native-elements/commit/7816555f2483bc2103b85094cfbb3c87f7f98dca))
* **Tab:** inputRange using Array.from ([#3538](https://github.com/react-native-elements/react-native-elements/issues/3538)) ([65a1fa9](https://github.com/react-native-elements/react-native-elements/commit/65a1fa9f72a07ff371552cb65b92df864fb0cfe7))



# 4.0.0-rc.3 (2022-05-09)


### Bug Fixes

* **Icon:** raised ios shadow issue ([#3491](https://github.com/react-native-elements/react-native-elements/issues/3491)) ([6224af4](https://github.com/react-native-elements/react-native-elements/commit/6224af4aa83979f531c160d18f81786c41c19bfa))
* **ListItem:** custom Icon for Accordion ([#3504](https://github.com/react-native-elements/react-native-elements/issues/3504)) ([fd0bbb6](https://github.com/react-native-elements/react-native-elements/commit/fd0bbb63b924c48964ba91f52d056a8aaf87af29))
* **Tab:** indicator on first render ([#3505](https://github.com/react-native-elements/react-native-elements/issues/3505)) ([974d344](https://github.com/react-native-elements/react-native-elements/commit/974d344f38ca12895711f87e2103b94479193612))


### Features

* **base:** add makeStyles ([#3510](https://github.com/react-native-elements/react-native-elements/issues/3510)) ([2ba0764](https://github.com/react-native-elements/react-native-elements/commit/2ba07640635fe5f4456fc6d45844ced986a511c5))
* **Button:** add title as children,`size`, `color`, `radius` prop ([#3494](https://github.com/react-native-elements/react-native-elements/issues/3494)) ([4774fae](https://github.com/react-native-elements/react-native-elements/commit/4774fae98968d532f2f1e1ab43793ccb71c24b37))
* **theming:** add `spacing` to theme ([#3495](https://github.com/react-native-elements/react-native-elements/issues/3495)) ([f71f16e](https://github.com/react-native-elements/react-native-elements/commit/f71f16eae0279baa183009799f5ecfa0a96b714d))
* **Tooltip:** add `animationType` prop ([#3487](https://github.com/react-native-elements/react-native-elements/issues/3487)) ([52d2f27](https://github.com/react-native-elements/react-native-elements/commit/52d2f2705f973d2a3a15d3acb6260a3fc3a58351))



# 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.3 (2022-05-09)


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.3",
"version": "4.0.0-rc.4",
"description": "Cross Platform React Native UI Toolkit",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
64 changes: 64 additions & 0 deletions packages/themed/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,70 @@
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.4 (2022-05-21)


### Bug Fixes

* **makeStyles:** add `Theme` in makeStyle interface ([#3526](https://github.com/react-native-elements/react-native-elements/issues/3526)) ([9d392bd](https://github.com/react-native-elements/react-native-elements/commit/9d392bd12344ffe42f2a8fdaa806db74a09965e0))
* **withTheme:** add `spacing` to non-ThemeProvider components ([#3525](https://github.com/react-native-elements/react-native-elements/issues/3525)) ([2ec13f9](https://github.com/react-native-elements/react-native-elements/commit/2ec13f953d12793e7b78dccfa329f6eba3ba5689))



# 4.0.0-rc.3 (2022-05-09)


### Bug Fixes

* **makeStyles:** theme param type ([3f479a6](https://github.com/react-native-elements/react-native-elements/commit/3f479a66c3569e4e2a6a200bd58595becc0c5575))


### Features

* **Button:** add title as children,`size`, `color`, `radius` prop ([#3494](https://github.com/react-native-elements/react-native-elements/issues/3494)) ([4774fae](https://github.com/react-native-elements/react-native-elements/commit/4774fae98968d532f2f1e1ab43793ccb71c24b37))
* **theming:** add `spacing` to theme ([#3495](https://github.com/react-native-elements/react-native-elements/issues/3495)) ([f71f16e](https://github.com/react-native-elements/react-native-elements/commit/f71f16eae0279baa183009799f5ecfa0a96b714d))



# 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.3 (2022-05-09)


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.3",
"version": "4.0.0-rc.4",
"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.3"
"@rneui/base": "4.0.0-rc.4"
},
"devDependencies": {
"@rneui/base": "4.0.0-rc.3"
"@rneui/base": "4.0.0-rc.4"
},
"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 570e513

Please sign in to comment.