diff --git a/packages/base/CHANGELOG.md b/packages/base/CHANGELOG.md index f809488da2..571a2682d5 100644 --- a/packages/base/CHANGELOG.md +++ b/packages/base/CHANGELOG.md @@ -3,122 +3,21 @@ 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.6 (2022-07-31) +# 4.0.0-rc.7 (2022-10-28) ### Bug Fixes * add children as prop ([#3583](https://github.com/react-native-elements/react-native-elements/issues/3583)) ([d7fd4e2](https://github.com/react-native-elements/react-native-elements/commit/d7fd4e23c05990e645b4c2c923e690e65dd179d4)) +* rename `white` theme color to `background` ([#3664](https://github.com/react-native-elements/react-native-elements/issues/3664)) ([48795ec](https://github.com/react-native-elements/react-native-elements/commit/48795eca211a55d447dcfdf4d17a3e1456d03ebc)) * **Switch:** Android throws an error when setting it to false ([#3601](https://github.com/react-native-elements/react-native-elements/issues/3601)) ([1246628](https://github.com/react-native-elements/react-native-elements/commit/1246628825d925f147dcde260047e8e2c614ec6e)) - - - -# 4.0.0-rc.5 (2022-06-25) - - -### Bug Fixes - -* **Button:** theme spacing xs error ([#3563](https://github.com/react-native-elements/react-native-elements/issues/3563)) ([172499f](https://github.com/react-native-elements/react-native-elements/commit/172499fb44d0e99210a670eaa97990bbc8b3e53f)) -* fix peerDependency compatibility ([#3545](https://github.com/react-native-elements/react-native-elements/issues/3545)) ([7a811f9](https://github.com/react-native-elements/react-native-elements/commit/7a811f9b3b8e674a74b173d75c657dd7fabb817a)) -* **Tab:** indicator with initial index ([#3564](https://github.com/react-native-elements/react-native-elements/issues/3564)) ([8a44601](https://github.com/react-native-elements/react-native-elements/commit/8a44601650c2a141ba249cd6874d75b1c2e60452)) -* **Tooltip:** add default value in measure component ([#3550](https://github.com/react-native-elements/react-native-elements/issues/3550)) ([dd72676](https://github.com/react-native-elements/react-native-elements/commit/dd72676964d4ffdc71c11d14709d19e839d94c40)) - - - -# 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)) +* **TabView:** iOS TabView issue ([#3635](https://github.com/react-native-elements/react-native-elements/issues/3635)) ([b3fc37e](https://github.com/react-native-elements/react-native-elements/commit/b3fc37ed169e25ebcde99c5d21814d28e36b474d)) ### 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)) - - +* **SeachBar:** add `onKeyboardHide` for android ([#3657](https://github.com/react-native-elements/react-native-elements/issues/3657)) ([7960f47](https://github.com/react-native-elements/react-native-elements/commit/7960f4739e094b76ae342f3bb23aab6443b709a9)) +* update Tab component ([#3658](https://github.com/react-native-elements/react-native-elements/issues/3658)) ([67eb98b](https://github.com/react-native-elements/react-native-elements/commit/67eb98b82b035eb554d87b40988077b169c0d571)) @@ -229,313 +128,3 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - - -# 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) - - -### 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)) -* **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.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) - - -### 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.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)) diff --git a/packages/base/package.json b/packages/base/package.json index bd4eb9e878..50330893d7 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -1,6 +1,6 @@ { "name": "@rneui/base", - "version": "4.0.0-rc.6", + "version": "4.0.0-rc.7", "description": "Cross Platform React Native UI Toolkit", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/themed/CHANGELOG.md b/packages/themed/CHANGELOG.md index b4b2d01e90..1d914ee40c 100644 --- a/packages/themed/CHANGELOG.md +++ b/packages/themed/CHANGELOG.md @@ -3,85 +3,28 @@ 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.6 (2022-07-31) +# 4.0.0-rc.7 (2022-10-28) ### Bug Fixes -* typo when exporting colors types ([#3580](https://github.com/react-native-elements/react-native-elements/issues/3580)) ([32e1136](https://github.com/react-native-elements/react-native-elements/commit/32e113640ceec81f5e583137c6d5c0c35f6efe73)), closes [#3579](https://github.com/react-native-elements/react-native-elements/issues/3579) -* **Button:** theme spacing xs error ([#3563](https://github.com/react-native-elements/react-native-elements/issues/3563)) ([172499f](https://github.com/react-native-elements/react-native-elements/commit/172499fb44d0e99210a670eaa97990bbc8b3e53f)) - - - -# 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)) +* property 'children' does not exist in React 18 ([#3663](https://github.com/react-native-elements/react-native-elements/issues/3663)) ([4b859e5](https://github.com/react-native-elements/react-native-elements/commit/4b859e5da5346743d5d5d09a3cd8d6459b70fc29)) +* undefined `components` in useTheme hook ([#3643](https://github.com/react-native-elements/react-native-elements/issues/3643)) ([64a1160](https://github.com/react-native-elements/react-native-elements/commit/64a116095c969d15b562ce0fd69a450becaa1379)) ### 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)) - +* add theme to `ComponentFunctionProps` ([#3645](https://github.com/react-native-elements/react-native-elements/issues/3645)) ([4caef0c](https://github.com/react-native-elements/react-native-elements/commit/4caef0c74518fd6e3e501df79f8e97eeff7cbec3)) +* update Tab component ([#3658](https://github.com/react-native-elements/react-native-elements/issues/3658)) ([67eb98b](https://github.com/react-native-elements/react-native-elements/commit/67eb98b82b035eb554d87b40988077b169c0d571)) -# 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.5 (2022-06-25) +# 4.0.0-rc.6 (2022-07-31) ### Bug Fixes +* typo when exporting colors types ([#3580](https://github.com/react-native-elements/react-native-elements/issues/3580)) ([32e1136](https://github.com/react-native-elements/react-native-elements/commit/32e113640ceec81f5e583137c6d5c0c35f6efe73)), closes [#3579](https://github.com/react-native-elements/react-native-elements/issues/3579) * **Button:** theme spacing xs error ([#3563](https://github.com/react-native-elements/react-native-elements/issues/3563)) ([172499f](https://github.com/react-native-elements/react-native-elements/commit/172499fb44d0e99210a670eaa97990bbc8b3e53f)) @@ -145,199 +88,3 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### 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.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) - - -### Bug Fixes - -* **makeStyles:** theme param type ([3f479a6](https://github.com/react-native-elements/react-native-elements/commit/3f479a66c3569e4e2a6a200bd58595becc0c5575)) - - -### Features - -* **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.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) - - -### 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.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)) diff --git a/packages/themed/package.json b/packages/themed/package.json index a8bdff6a43..0ce1034548 100644 --- a/packages/themed/package.json +++ b/packages/themed/package.json @@ -1,6 +1,6 @@ { "name": "@rneui/themed", - "version": "4.0.0-rc.6", + "version": "4.0.0-rc.7", "description": "Cross Platform React Native UI Toolkit", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -50,10 +50,10 @@ "logo": "https://opencollective.com/react-native-elements/logo.txt" }, "peerDependencies": { - "@rneui/base": "4.0.0-rc.6" + "@rneui/base": "4.0.0-rc.7" }, "devDependencies": { - "@rneui/base": "4.0.0-rc.6" + "@rneui/base": "4.0.0-rc.7" }, "jest": { "displayName": "@rneui/themed", diff --git a/website/versioned_docs/version-4.0.0-rc.7/component_usage/AirbnbRating.mdx b/website/versioned_docs/version-4.0.0-rc.7/component_usage/AirbnbRating.mdx new file mode 100644 index 0000000000..b8f0cceb77 --- /dev/null +++ b/website/versioned_docs/version-4.0.0-rc.7/component_usage/AirbnbRating.mdx @@ -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 = () => { +const ratingCompleted = (rating: number) => { + console.log('Rating is: ' + rating); +}; + +const ratingProps = {}; +return ( + + + + + + + + + +); +}; + +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; +``` diff --git a/website/versioned_docs/version-4.0.0-rc.7/component_usage/Avatar.mdx b/website/versioned_docs/version-4.0.0-rc.7/component_usage/Avatar.mdx new file mode 100644 index 0000000000..a61f5c23dd --- /dev/null +++ b/website/versioned_docs/version-4.0.0-rc.7/component_usage/Avatar.mdx @@ -0,0 +1,210 @@ +```SnackPlayer name=RNE Avatar +import React, { useState } from 'react'; +import { View, ScrollView, Text, StyleSheet } from 'react-native'; +import { Avatar } from '@rneui/themed'; + +type AvatarData = { +image_url: string; +}; + +const dataList: AvatarData[] = [ +{ + image_url: 'https://uifaces.co/our-content/donated/6MWH9Xi_.jpg', +}, +{ + image_url: 'https://randomuser.me/api/portraits/men/36.jpg', +}, +{ + image_url: + 'https://cdn.pixabay.com/photo/2019/11/03/20/11/portrait-4599553__340.jpg', +}, +{ + image_url: + 'https://cdn.pixabay.com/photo/2014/09/17/20/03/profile-449912__340.jpg', +}, +{ + image_url: + 'https://cdn.pixabay.com/photo/2020/09/18/05/58/lights-5580916__340.jpg', +}, +{ + image_url: + 'https://cdn.pixabay.com/photo/2016/11/21/12/42/beard-1845166_1280.jpg', +}, +]; + +type AvatarComponentProps = {}; + +Array.prototype.chunk = function ( n ) { + if ( !this.length ) { + return []; + } + return [ this.slice( 0, n ) ].concat( this.slice(n).chunk(n) ); +}; + +const Avatars: React.FunctionComponent = () => { +return ( + <> + + Image Avatars + {dataList.chunk(3).map((chunk, chunkIndex) => ( + + {chunk.map((l, i) => ( + + ))} + + ))} + Icon Avatars + + + + + + + + + + + + Letter Avatars + + + + + + + + Badged Avatars + + + + + + + + + + + +); +}; + +const styles = StyleSheet.create({ +subHeader: { + backgroundColor : "#2089dc", + color : "white", + textAlign : "center", + paddingVertical : 5, + marginBottom : 10 +} +}) + +export default Avatars; +``` diff --git a/website/versioned_docs/version-4.0.0-rc.7/component_usage/Badge.mdx b/website/versioned_docs/version-4.0.0-rc.7/component_usage/Badge.mdx new file mode 100644 index 0000000000..9654fd744b --- /dev/null +++ b/website/versioned_docs/version-4.0.0-rc.7/component_usage/Badge.mdx @@ -0,0 +1,112 @@ + + +### withBadge Higher-Order Component + +The withBadge HOC allows you to easily add badges to icons and other components. + +```SnackPlayer name=RNE Badge +import React from 'react'; +import { Text, View, ScrollView, StyleSheet } from 'react-native'; +import { Avatar, Badge, Icon, withBadge } from '@rneui/themed'; + +const BadgedIcon = withBadge(15)(Icon); + +const BadgeComponent = () => { +return ( + <> + + Standard Badge + + + + + + + Mini Badge + This type of badge shows when no value prop is provided. This form is effective for showing statuses. + + + + + + + + Success + Error + Primary + Warning + + + Badge as Indicator + + + + + + + + + + + + + +); +}; + +const styles = StyleSheet.create({ +subHeader: { + backgroundColor : "#2089dc", + color : "white", + textAlign : "center", + paddingVertical : 5, + marginBottom : 10 +} +}) + +export default BadgeComponent; +``` diff --git a/website/versioned_docs/version-4.0.0-rc.7/component_usage/BottomSheet.mdx b/website/versioned_docs/version-4.0.0-rc.7/component_usage/BottomSheet.mdx new file mode 100644 index 0000000000..187dfd1f6e --- /dev/null +++ b/website/versioned_docs/version-4.0.0-rc.7/component_usage/BottomSheet.mdx @@ -0,0 +1,61 @@ + + +**Note:** +Make sure that you have completed [Step 3](../installation#install-react-native-safe-area-context) in the setup guide before using `BottomSheet`. + +Overlay Modal that displays content from the bottom of the screen. + +```SnackPlayer name=RNE BottomSheet +import React, { useState } from 'react'; +import { BottomSheet, Button, ListItem } from '@rneui/themed'; +import { StyleSheet } from 'react-native'; +import { SafeAreaProvider } from 'react-native-safe-area-context'; + +type BottomSheetComponentProps = {}; + +const BottomSheetComponent: React.FunctionComponent = () => { +const [isVisible, setIsVisible] = useState(false); +const list = [ + { title: 'List Item 1' }, + { title: 'List Item 2' }, + { + title: 'Cancel', + containerStyle: { backgroundColor: 'red' }, + titleStyle: { color: 'white' }, + onPress: () => setIsVisible(false), + }, +]; + +return ( + + + + + +``` + +### Colors + +```tsx live + + + + + + +``` + +### Linear Gradient + +```tsx live + +``` + +### Button with icon + +```tsx live + +``` + +### Button with right icon + +```tsx live + +``` + +### Button with loading spinner + +```jsx live + + + ); +}; +``` + +:::note +If you do not specify `theme` in ThemeProvider, it would use [defaultTheme](./theme_object#default-light-colors) +::: + +The example above achieves the same goals as the first example — apply the same +styles to multiple instances of `Button` in the app. However this example +applies the `raised` prop to every instance of `Button` inside the component +tree under `ThemeProvider`. Both of these buttons will have the `raised` prop +set to true. + +This is extremely convenient and is made possible through +[React's Context API](https://reactjs.org/docs/context.html). + +:::note +To theme subcomponents such as `ListItem.Title`, in your theme remove the dot and list them as "ListItemTitle" +::: + +--- + +### use-theme hook + +Hook returns `theme`, `updateTheme` & `replaceTheme` from ThemeProvider context or default theme if you did not wrap application with ThemeProvider. + +```tsx +import { useTheme } from '@rneui/themed'; + +function Demo() { + const { theme, updateTheme } = useTheme(); + return ( + +