You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Renamed `containerViewStyle` to `containerStyle`.
13
+
* Renamed `finalColor` to `endColor`, to follow the `start/end` pattern of the following change.
14
+
*`left`/`right` in `sides` and `corners` were changed to `start`/`end` for [RTL friendliness](https://reactnative.dev/blog/2016/08/19/right-to-left-support-for-react-native-apps)
15
+
*`sides` and `corners` properties are now objects instead of arrays.
> Note that you may still use `borderTopLeftRadius` etc in `style` besides `borderTopStartRadius` if you want to.
20
21
21
-
### Removed
22
+
### Removals
22
23
<ul>
23
24
<li><code>size</code> property. The size now can only be defined in the Shadow's or child's <code>style</code>'s <code>width</code> and <code>height</code> properties.</li>
24
25
<li><code>radius</code> property. The radii now can only be defined in the Shadow's or child's <code>style</code>'s <code>borderRadius</code> related properties, such as <code>borderTopStartRadius</code>/<code>borderTopLeftRadius</code> etc.</li>
@@ -30,16 +31,17 @@ Properties removed for the sake of simplicity of this package. Probably no one u
30
31
</li>
31
32
</ul>
32
33
33
-
### Improved
34
-
* Significant performance and RAM usage due to some general refactorings, simplified the SVGs' code (with the same appearence) and improved memoizations.
34
+
### Improvements
35
+
* Significant performance and RAM usage due to general refactorings, SVGs' simplification (with the same appearence), improved memoizations and micro performance improvements.
35
36
* Now using `colord` package instead of `polished` to deal with colors' alpha.
36
37
37
-
### Fixed
38
+
### Fixes
38
39
*[RTL in web](https://github.com/necolas/react-native-web/issues/2350#issuecomment-1193642853).
39
40
* Error when there is more than a child. [#38](https://github.com/SrBrahma/react-native-shadow-2/issues/38)
40
41
* Error when there isn't a child. [#38 (comment)](https://github.com/SrBrahma/react-native-shadow-2/issues/38#issuecomment-1059716569)
41
42
* Situational 1-pixel overlap of corners.
42
-
<hr/>
43
+
44
+
<br/><hr/><br/>
43
45
44
46
## 6.0.3 - 2022-02-11
45
47
* Fixed paintInside gaps on iOS. [#36](https://github.com/SrBrahma/react-native-shadow-2/issues/36). Thanks, [@walterholohan](https://github.com/walterholohan)!
0 commit comments