Skip to content

Releases: Mhp23/react-native-full-responsive

Release 2.4.1

16 Jan 19:21
Compare
Choose a tag to compare

Release 2.4.0

12 Jan 14:58
Compare
Choose a tag to compare

2.4.0 (2025-01-12)

Bug Fixes

  • Removing any from the patterned type (8de1e14)

Performance Improvements

  • Reducing the package size
  • Improving readability and performance of the mapping and parsing methods (5c016e2)

Breaking Changes

  • The linear method has been removed, and therecursive method is set as the default parsing method.
  • For type-safing the patterned style when using a variable like ${size}rs, it will be handled during style parsing and return undefined for properties that shouldn't be undefined. To avoid type errors, you can handle this in your code or add an exclamation mark at the end of the value, like ${size!}rs.
  • The responsive methods will return the passed value instead of zero if the value isn't numeric

Full Changelog: v2.3.1...v2.4.0

Release 2.3.1

03 Sep 17:18
Compare
Choose a tag to compare

2.3.1 (2024-09-03)

Bug Fixes

  • undefined with pattern suggestion when writing the responsive patterned value (8998994)

Release 2.3.0

03 Mar 18:59
Compare
Choose a tag to compare

2.3.0 (2024-03-03)

Features

  • ability to accept styles as a function in useRStyle (06b5327)

Release 2.2.2

27 Feb 13:37
Compare
Choose a tag to compare

2.2.2 (2024-02-27)

Bug Fixes

  • re-render issue on useRStyle (e96cb38)

Release 2.2.1

26 Feb 08:36
Compare
Choose a tag to compare

2.2.1 (2024-02-26)

Bug Fixes

  • import responsive methods to parseValue (0fe3735)

Release 2.2.0

25 Feb 17:48
Compare
Choose a tag to compare

2.2.0 (2024-02-25)

Features

  • accept undefined value in the pattern (e834a18)

Release 2.1.1

17 Feb 06:16
Compare
Choose a tag to compare

2.1.1 (2024-02-17)

Performance Improvements

  • remove lodash isObject from the linear mapping (ecf5800)

v2.1.0

12 Feb 10:58
Compare
Choose a tag to compare

Adding createRStyle and useRStyle hooks to create responsive styles.

Adding more examples, fixing some issues, and making improvements.

Full Changelog: v1.1.0...v2.1.0

Release 1.1.0

05 Jan 14:06
Compare
Choose a tag to compare

1.1.0 (2024-01-05)

Documents completely rewritten. Full usage documents for methods and hooks added.

Features

  • adding ability to set specific base width for in particular dimensions (dc5b098)
  • adding the ability to support undefined values, improve some logics and comments (ba4e988)
  • adding useMediaQuery (5c9e24a)
  • adding withMediaQuery HOC (c8aa299)