Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0.0! 🥳 #11

Merged
merged 9 commits into from
Jul 17, 2021
Merged

3.0.0! 🥳 #11

merged 9 commits into from
Jul 17, 2021

Conversation

ftzi
Copy link
Owner

@ftzi ftzi commented Jul 17, 2021

As CHANGELOG:

3.0.0 - 2021/07/17

  • Shadow with automatic size is applied on the same render!. Lib rewritten to allow it. 1 month of pure suffering and despair trying to find new html/svg/react hacks to do what I wanted. :') Creating Box Shadows before first render #7, 1 second render issue #8, Create shadow without height and width on 1st render #9,
  • Now it works on Web (React Native Web / Expo)
  • Added getChildRadius prop.
  • Added paintInside prop.
  • Added viewStyle prop.
  • Removed contentViewStyle prop.
  • Changed default startColor from '#00000010' to '#00000020', so it's more noticeable when first trying the lib.
  • Looks like the pixel gaps/overlaps are all solved. It was a very long and frustrating marathon to achieve this!
  • [code] Added a partial README filler
  • Added Sandbox! Used it a lot while developing this lib.
  • Changed minor functionalities
  • Minor fixes

We are calling this 3.0.0 because 2.0.0 would be ambiguous. One could think that the 1.0.0 is a reference to the original react-native-shadow package and the 2.0.0 would just be the react-native-shadow-2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant