Skip to content

Releases: Code-with-Beto/cwb

v55.0.0

Choose a tag to compare

@betomoedano betomoedano released this 24 Feb 14:54

55.0.0

Adopted Expo SDK versioning scheme. The major version now matches the Expo SDK version this package is built and tested against.

Breaking Changes

  • Text: Removed useColorScheme hook from the component. Text no longer subscribes to color scheme changes internally, which means it won't re-render on scheme changes unless the parent re-renders.
  • Text: Removed secondary prop. Pass secondary colors via style={{ color: '...' }} instead.
  • Text: Removed color prop. Pass colors via style={{ color: '...' }} instead.
  • Text: Removed all internal useMemo calls. The component is now a stateless wrapper around React Native's Text with zero hooks.

Migration from 0.x

Before:

<Text color="#0066CC">Blue text</Text>
<Text secondary>Description text</Text>

After:

<Text style={{ color: "#0066CC" }}>Blue text</Text>
<Text style={{ color: "#8E8E93" }}>Description text</Text>

For dark/light mode support, use your own color scheme hook and pass colors through style:

const systemColors = useSystemColors();
<Text style={{ color: systemColors.text }}>Themed text</Text>

v0.0.2

Choose a tag to compare

@betomoedano betomoedano released this 08 Feb 04:14

First release 🎉

At the moment we only have a Text component. Learn more in the readme.

v0.0.2-beta.1

v0.0.2-beta.1 Pre-release
Pre-release

Choose a tag to compare

@betomoedano betomoedano released this 07 Feb 23:17

Test :)