rn-css 1.8.13 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +16 -0
  2. package/dist/app.json +4 -0
  3. package/dist/cssToRN/convert.js +26 -6
  4. package/dist/index.d.ts +3 -1439
  5. package/dist/index.js +166 -56
  6. package/dist/src/convertStyle.d.ts +5 -0
  7. package/dist/src/convertStyle.js +56 -0
  8. package/dist/src/convertUnits.d.ts +5 -0
  9. package/dist/src/convertUnits.js +71 -0
  10. package/dist/src/cssToRN/convert.d.ts +55 -0
  11. package/dist/src/cssToRN/convert.js +418 -0
  12. package/dist/src/cssToRN/index.d.ts +8 -0
  13. package/dist/src/cssToRN/index.js +134 -0
  14. package/dist/src/cssToRN/maths.d.ts +4 -0
  15. package/dist/src/cssToRN/maths.js +86 -0
  16. package/dist/src/cssToRN/mediaQueries.d.ts +7 -0
  17. package/dist/src/cssToRN/mediaQueries.js +161 -0
  18. package/dist/src/features.d.ts +34 -0
  19. package/dist/src/features.js +102 -0
  20. package/dist/src/generateHash.d.ts +2 -0
  21. package/dist/src/generateHash.js +8 -0
  22. package/dist/src/index.d.ts +1805 -0
  23. package/dist/src/index.js +60 -0
  24. package/dist/src/polyfill.d.ts +3 -0
  25. package/dist/src/polyfill.js +23 -0
  26. package/dist/src/rnToCss.d.ts +3 -0
  27. package/dist/src/rnToCss.js +8 -0
  28. package/dist/src/styleComponent.d.ts +45 -0
  29. package/dist/src/styleComponent.js +163 -0
  30. package/dist/src/types.d.ts +85 -0
  31. package/dist/src/types.js +2 -0
  32. package/dist/src/useTheme.d.ts +18 -0
  33. package/dist/src/useTheme.js +33 -0
  34. package/package.json +1 -1
  35. package/src/cssToRN/convert.ts +25 -6
  36. package/src/cssToRN/index.ts +7 -1
  37. package/src/features.tsx +15 -1
  38. package/src/styleComponent.tsx +15 -8
  39. package/src/types.ts +1 -0
  40. package/CHANGELOG.md +0 -25
package/CHANGELOG.md DELETED
@@ -1,25 +0,0 @@
1
- # Changelog
2
-
3
- ## Version 1.8
4
-
5
- * Accept returning an RN Style object in the tagged template string
6
- * Fix a type issue in the style prop of the components
7
-
8
- ## Version 1.7
9
-
10
- * Improve type support for the Theming system
11
-
12
- ## Version 1.6
13
-
14
- * Creation of RemContext to control rem units value
15
- * Important performance fix (500% faster!)
16
-
17
- ## Version 1.5
18
-
19
- * Add Theming features with the same [API](https://styled-components.com/docs/advanced) as `styled-components` lib.
20
- * Remove support for deprecated components: *ListView*, *SwipeableListView*, *TabBarIOS*, *ToolbarAndroid* and *ViewPagerAndroid*
21
- * Fix font-weight to accept numeric values
22
-
23
- ## Version 1.4
24
-
25
- * Change the type of `rnCSS` from `string` to `${string};` to ensure that it will end with a semicolon