Skip to content

Commit 593edd0

Browse files
committed
7.1.2
1 parent 997b71f commit 593edd0

File tree

9 files changed

+68
-64
lines changed

9 files changed

+68
-64
lines changed

CHANGELOG.md

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,42 @@
1+
### 7.1.2 2025-07-18
2+
3+
- Update documentation and package.json links
4+
15
### 7.1.1 - 2024-10-26
26

3-
- Fix `corners` and `sides` properties not being Partial. [#83](https://github.com/SrBrahma/react-native-shadow-2/issues/83).
4-
- Also, [read the README](https://github.com/SrBrahma/react-native-shadow-2) about React Native 0.76 brand new built-in shadow! ;)
7+
- Fix `corners` and `sides` properties not being Partial. [#83](https://github.com/ftzi/react-native-shadow-2/issues/83).
8+
- Also, [read the README](https://github.com/ftzi/react-native-shadow-2) about React Native 0.76 brand new built-in shadow! ;)
59

610
### 7.1.0 - 2024-05-26
711

8-
- Fixed pixel gap from top and bottom in rtl mode [#73](https://github.com/SrBrahma/react-native-shadow-2/pull/73). Thanks, [numandev1](https://github.com/numandev1)!
12+
- Fixed pixel gap from top and bottom in rtl mode [#73](https://github.com/ftzi/react-native-shadow-2/pull/73). Thanks, [numandev1](https://github.com/numandev1)!
913

1014
### 7.0.8 - 2023-05-15
1115

12-
- Fixed issue when the child size would change only one of its axis. [#72](https://github.com/SrBrahma/react-native-shadow-2/issues/72).
16+
- Fixed issue when the child size would change only one of its axis. [#72](https://github.com/ftzi/react-native-shadow-2/issues/72).
1317
- As a minor performance improvement, now sides will only be rendered if they are known to be visible. Before, if your height was X and the topStart and bottomStart radii were each X/2, the left side would still be rendered even it having the size 0.
1418

1519
### 7.0.7 - 2023-04-14
1620

17-
- Fixed X offset not working in iOS. [#65](https://github.com/SrBrahma/react-native-shadow-2/issues/65), [#67](https://github.com/SrBrahma/react-native-shadow-2/issues/67). Many thanks, [dmdmd](https://github.com/dmdmd) and [Youssef Henna](https://github.com/YoussefHenna)!
21+
- Fixed X offset not working in iOS. [#65](https://github.com/ftzi/react-native-shadow-2/issues/65), [#67](https://github.com/ftzi/react-native-shadow-2/issues/67). Many thanks, [dmdmd](https://github.com/dmdmd) and [Youssef Henna](https://github.com/YoussefHenna)!
1822

1923
### 7.0.6 - 2022-09-26
2024

21-
- Add react-native-svg v13 support. [#58](https://github.com/SrBrahma/react-native-shadow-2/pull/58). Thanks, [@Vin-Xi](https://github.com/Vin-Xi)!
25+
- Add react-native-svg v13 support. [#58](https://github.com/ftzi/react-native-shadow-2/pull/58). Thanks, [@Vin-Xi](https://github.com/Vin-Xi)!
2226

2327
### 7.0.5 - 2022-08-15
2428

25-
- Fixed inner circle of corners being black. [#56 (comment)](https://github.com/SrBrahma/react-native-shadow-2/issues/56#issuecomment-1214805252).
26-
- Fixed the outer part of corners not being cropped. [#56 (comment)](https://github.com/SrBrahma/react-native-shadow-2/issues/56#issuecomment-1214805252). Thanks once again, [alexco2](https://github.com/alexco2)!
29+
- Fixed inner circle of corners being black. [#56 (comment)](https://github.com/ftzi/react-native-shadow-2/issues/56#issuecomment-1214805252).
30+
- Fixed the outer part of corners not being cropped. [#56 (comment)](https://github.com/ftzi/react-native-shadow-2/issues/56#issuecomment-1214805252). Thanks once again, [alexco2](https://github.com/alexco2)!
2731
- setChildLayoutWidth/height will now only be called if the sizes **in pixels** changed, ignoring useless re-renders due to very small changes in the values that wouldn't change the result.
2832

2933
### 7.0.4 - 2022-08-14
3034

31-
- Fixed Android's `The argument must be a React element, but you passed null.` error. [#56](https://github.com/SrBrahma/react-native-shadow-2/issues/56). Thanks again, [alexco2](https://github.com/alexco2)!
35+
- Fixed Android's `The argument must be a React element, but you passed null.` error. [#56](https://github.com/ftzi/react-native-shadow-2/issues/56). Thanks again, [alexco2](https://github.com/alexco2)!
3236

3337
### 7.0.3 - 2022-08-14
3438

35-
- Fixed `undefined is not an object (evaluating 'd.width')` error. [#56](https://github.com/SrBrahma/react-native-shadow-2/issues/56). Thanks, [alexco2](https://github.com/alexco2)!
39+
- Fixed `undefined is not an object (evaluating 'd.width')` error. [#56](https://github.com/ftzi/react-native-shadow-2/issues/56). Thanks, [alexco2](https://github.com/alexco2)!
3640
- Fixed `flex-start` not being the default `alignSelf` style as it was before.
3741

3842
### 7.0.2 - 2022-08-10
@@ -49,7 +53,7 @@
4953
5054
### Features
5155

52-
- `stretch` property - [#7](https://github.com/SrBrahma/react-native-shadow-2/issues/7#issuecomment-899784537).
56+
- `stretch` property - [#7](https://github.com/ftzi/react-native-shadow-2/issues/7#issuecomment-899784537).
5357
- `disabled` property - Easy and performance-friendly way to disable the shadow (but to keep rendering the children).
5458
- `containerViewProps` property.
5559
- `childrenViewProps` property.
@@ -85,27 +89,27 @@ Properties removed for the sake of simplicity of this package. Probably no one u
8589
### Fixes
8690

8791
- [RTL in web](https://github.com/necolas/react-native-web/issues/2350#issuecomment-1193642853).
88-
- Error when there is more than a child. [#38](https://github.com/SrBrahma/react-native-shadow-2/issues/38)
89-
- Error when there isn't a child. [#38 (comment)](https://github.com/SrBrahma/react-native-shadow-2/issues/38#issuecomment-1059716569)
92+
- Error when there is more than a child. [#38](https://github.com/ftzi/react-native-shadow-2/issues/38)
93+
- Error when there isn't a child. [#38 (comment)](https://github.com/ftzi/react-native-shadow-2/issues/38#issuecomment-1059716569)
9094
- Situational 1-pixel overlap of corners.
9195

9296
<br/><hr/><br/>
9397

9498
## 6.0.6 - 2022-07-21
9599

96-
- Fixed Web Shadow when there are more than one being rendered. [#53](https://github.com/SrBrahma/react-native-shadow-2/issues/53). Many thanks, [@GreyJohnsonGit](https://github.com/GreyJohnsonGit)!
100+
- Fixed Web Shadow when there are more than one being rendered. [#53](https://github.com/ftzi/react-native-shadow-2/issues/53). Many thanks, [@GreyJohnsonGit](https://github.com/GreyJohnsonGit)!
97101

98102
## 6.0.5 - 2022-05-01
99103

100-
- Fixed Android crash when `distance` and a radius are both 0. [#47](https://github.com/SrBrahma/react-native-shadow-2/issues/47). Many thanks, [@Czino](https://github.com/Czino)!
104+
- Fixed Android crash when `distance` and a radius are both 0. [#47](https://github.com/ftzi/react-native-shadow-2/issues/47). Many thanks, [@Czino](https://github.com/Czino)!
101105

102106
## 6.0.4 - 2022-04-12
103107

104-
- Fixed missed children type when using the new @types/react 18. [#44](https://github.com/SrBrahma/react-native-shadow-2/issues/44). Thanks [@Czino](https://github.com/Czino) and [@hcharley](https://github.com/hcharley)!
108+
- Fixed missed children type when using the new @types/react 18. [#44](https://github.com/ftzi/react-native-shadow-2/issues/44). Thanks [@Czino](https://github.com/Czino) and [@hcharley](https://github.com/hcharley)!
105109

106110
## 6.0.3 - 2022-02-11
107111

108-
- Fixed paintInside gaps on iOS. [#36](https://github.com/SrBrahma/react-native-shadow-2/issues/36). Thanks, [@walterholohan](https://github.com/walterholohan)!
112+
- Fixed paintInside gaps on iOS. [#36](https://github.com/ftzi/react-native-shadow-2/issues/36). Thanks, [@walterholohan](https://github.com/walterholohan)!
109113

110114
## 6.0.2 - 2022-01-26
111115

@@ -114,41 +118,41 @@ Properties removed for the sake of simplicity of this package. Probably no one u
114118

115119
## 6.0.1 - 2022-01-16
116120

117-
- Fixed topRight corner using bottomRight radius on its positioning instead its own radius. [#33](https://github.com/SrBrahma/react-native-shadow-2/pull/33). Thanks, [@timqha](https://github.com/timqha)!
121+
- Fixed topRight corner using bottomRight radius on its positioning instead its own radius. [#33](https://github.com/ftzi/react-native-shadow-2/pull/33). Thanks, [@timqha](https://github.com/timqha)!
118122

119123
## 6.0.0 - 2022-01-03
120124

121-
- Changed finalColor default to **transparent startColor** instead of `#000`. This results in a better gradient when startColor isn't black. [Explanation](https://github.com/SrBrahma/react-native-shadow-2/issues/31#issuecomment-985578972). As this (unlikely) may lead to unexpected visual results in your app, made this version a major.
125+
- Changed finalColor default to **transparent startColor** instead of `#000`. This results in a better gradient when startColor isn't black. [Explanation](https://github.com/ftzi/react-native-shadow-2/issues/31#issuecomment-985578972). As this (unlikely) may lead to unexpected visual results in your app, made this version a major.
122126
- Changed shadow wrapping View style from `width: '100%', height: '100%', position: 'absolute',` to `...StyleSheet.absoluteFillObject`. This fixed a strange overflowing shadow on the first render that happened in some specific case.
123-
- Added `pointerEvents='none'` to the shadow wrapping view. Thanks, [OriErel](https://github.com/OriErel)! [#32](https://github.com/SrBrahma/react-native-shadow-2/pull/32)
124-
- Added `shadowViewProps` property to set additional properties to the shadow wrapping view. [#32](https://github.com/SrBrahma/react-native-shadow-2/pull/32)
127+
- Added `pointerEvents='none'` to the shadow wrapping view. Thanks, [OriErel](https://github.com/OriErel)! [#32](https://github.com/ftzi/react-native-shadow-2/pull/32)
128+
- Added `shadowViewProps` property to set additional properties to the shadow wrapping view. [#32](https://github.com/ftzi/react-native-shadow-2/pull/32)
125129
- **tsconfig** - `module` from `commonjs` to `es6`, `jsx` from `react` to `react-native`, added `esModuleInterop: true`
126130

127131
## 5.1.2 - 2021-11-07
128132

129-
- Changed tsconfig target from `esnext` to `es6`. [#29](https://github.com/SrBrahma/react-native-shadow-2/issues/29)
133+
- Changed tsconfig target from `esnext` to `es6`. [#29](https://github.com/ftzi/react-native-shadow-2/issues/29)
130134

131135
## 5.1.1 - 2021-10-27
132136

133137
- Fixed the multi-children error being raised when > 1 child but `radius={0}`.
134138

135139
## 5.1.0 - 2021-10-02
136140

137-
- This package now supports [RTL](https://reactnative.dev/blog/2016/08/19/right-to-left-support-for-react-native-apps). [#26](https://github.com/SrBrahma/react-native-shadow-2/issues/26). Thanks [@abdullahkn287](abdullahkn287) and [@serzh-f](https://github.com/serzh-f)!
141+
- This package now supports [RTL](https://reactnative.dev/blog/2016/08/19/right-to-left-support-for-react-native-apps). [#26](https://github.com/ftzi/react-native-shadow-2/issues/26). Thanks [@abdullahkn287](abdullahkn287) and [@serzh-f](https://github.com/serzh-f)!
138142
- [Web] - Removed `shape-rendering: 'crispEdges'` from the SVG parts as since 5.0.0 the Web shadow is pixel perfect (by properly rounding the sizes) and this previous semi-solution is no longer needed.
139143

140144
## 5.0.0 - 2021-09-19
141145

142146
- Renamed `getChildRadiusStyle` property to `getChildRadius`.
143-
- Each corner radius is now limited using [this](https://css-tricks.com/what-happens-when-border-radii-overlap/). The link is for CSS but works in the same way for mobile. [#15](https://github.com/SrBrahma/react-native-shadow-2/issues/15). Thanks for the limit suggestion, [@jimmi-joensson](https://github.com/jimmi-joensson)!
147+
- Each corner radius is now limited using [this](https://css-tricks.com/what-happens-when-border-radii-overlap/). The link is for CSS but works in the same way for mobile. [#15](https://github.com/ftzi/react-native-shadow-2/issues/15). Thanks for the limit suggestion, [@jimmi-joensson](https://github.com/jimmi-joensson)!
144148
- Added safeRender property to only render on the 2nd render and beyond -- so, no relative rendering on the first render. This is useful when you want a pill/circle like shadow and you are inputting a radius greater than the corresponding sizes. On the future there may be a prop specific for those cases to have them working right on the first render.
145149
- In web looks like it's now completly free from the pixel gaps/overlaps on the 2nd render and beyond!
146-
- Added pointerEvents='box-none' to the container and content views, so clicks/presses go through them and your child may receive them. [#24](https://github.com/SrBrahma/react-native-shadow-2/issues/24). Thanks, [@AdamSheaHewett](https://github.com/AdamSheaHewett)
150+
- Added pointerEvents='box-none' to the container and content views, so clicks/presses go through them and your child may receive them. [#24](https://github.com/ftzi/react-native-shadow-2/issues/24). Thanks, [@AdamSheaHewett](https://github.com/AdamSheaHewett)
147151
- Fixed onLayout changes not taking effect when `size` prop was true then switched to false and then a new render was made.
148152

149153
## 4.1.0 - 2021-08-28
150154

151-
- Added `getViewStyleRadius`. [#19](https://github.com/SrBrahma/react-native-shadow-2/issues/19). Thanks [@rbozan](https://github.com/rbozan)!
155+
- Added `getViewStyleRadius`. [#19](https://github.com/ftzi/react-native-shadow-2/issues/19). Thanks [@rbozan](https://github.com/rbozan)!
152156
- Added support for `borderTopStartRadius`, `borderTopEndRadius`, `borderBottomStartRadius`, `borderTopStartRadius` in `getChildRadiusStyle` and in the new `getViewStyleRadius`. Before, only `left, right, top, bottom` combinations were supported.
153157
- Code improvements.
154158
- Added `types` to package.json to display `TypeScript Types` in https://reactnative.directory. - [react-native-community/directory #707](https://github.com/react-native-community/directory/pull/707#issuecomment-906719165). Thanks, [@Simek](https://github.com/Simek)!
@@ -161,7 +165,7 @@ Properties removed for the sake of simplicity of this package. Probably no one u
161165

162166
## 4.0.0 - 2021-08-16
163167

164-
Not too many changes here, but they require a major semver change. It implements [#13](https://github.com/SrBrahma/react-native-shadow-2/issues/13)
168+
Not too many changes here, but they require a major semver change. It implements [#13](https://github.com/ftzi/react-native-shadow-2/issues/13)
165169

166170
- `paintInside` now defaults to true **if** the `offset` property is defined. Else, it keeps its default to false;
167171
- Changed `viewStyle` type from `ViewStyle` to `StyleProp<ViewStyle>`. Thanks, [jimmi-joensson](https://github.com/jimmi-joensson)!

0 commit comments

Comments
 (0)