- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Added Typescript support
- Minor changes
- Allow overriding of default typescale: https://github.com/tachyons-css/react-native-style-tachyons#typescale #77
- Add support for render-functions: #79
- Optimized rendering of subtrees: #81
- updated dependencies
- Fixed #65 (Line-Height) calculation which is a breaking change, there new major-version.
- Add
textDecorationLinestyles. Thank to @sbycrosz - Updated dependencies
- Add
fontRemoption for more flexibility on phone-screens. Thank to @peacechen
- Allow the
clsproperty-name to be customized to something else. Thanks to @artificis
- bugfix for min-height
- updated dependencies
- added support for
tint-color. Thanks to @mordaha
- updated dependencies
- upgraded dependencies
- removed yarn.lock
- added npm-5
package-lock.json
- added
line-heightandletter-spacingoptions. Thanks to @luangch
- removed debug dependency, as it keeps making problems.
- upgraded readme
- upgraded dependencies
- added
absolutestyles
- bugfix
-
Wrapper can take functions now. Thanks to @stefnnn for PR#31.
const wrapped = NativeTachyons.wrap(() => <Text cls="b">Hi there!</Text>).
- updated dependencies
- added additional step for margins, paddings, heights and widths for
32rem - added additional step
br5
- updated dependencies, fix #28
- Bugfix
- improved wrapper speed
- Initializing is now twice as fast.
- Dark/light color variants aren't created anymore, please specify them directly in the palette:
palette: {
light_green: "#00FF01"
}Opacity-variants (e.g. bg-green-10) are still available.
- The styles object contains only the underscore names, so
styles.flx_iworks, butstyles["flx-i"]doesn't. The class-wrapping isn't changed, it's syntax is stillcls="flx-i". - The raw values of colors aren't exported anymore.
- added the
brvalues to the exported sizes - added
fontsoption to set font-families
- updated readme
- Allow ad-hoc colors to be specified like
bg-#ffab12
- generate opacity variants for colors:
bg-green-20and so on.
- access generated sizes via
import { sizes } from "react-native-style-tachyons"
- access generated colors via
import { colors } from "react-native-style-tachyons"
- updated readme
- specify
lighten: falseordarken: falseto skip color variants
- support
minHeightandmaxHeighton the scale
- updated readme
- updated links
- updated keywords
- renamed
absolute--filltoabsolute-filland explained the double hypens in the Readme. - removed
relative,flx-col,flx-nowrap,aisandjcfsas those are default-values, and there's no inheritance in RN. - added
flx-row-reverseandflx-col-reverse
- updated readme and dependencies
- moved package to tachyons-css
- renamed package to
react-native-style-tachyons
- all styles with hypened in their names now have version with underscores
- updated dependencies
- added
br--leftandbr--right, which were accidentally omitted.
- Bugfixes
- Translation performance improved by a factor of 2
- removed
h-100andw-100. I consider this a bugfix under semver, since usingDimensionsis buggy on Android #3219. You can get the same behaviour withflx-iandabsolute--fill.
- added
absolute--fillfor easy full-screen views
- added
h-100andw-100for 100% height/width of window, needsDimensionsto be passed intoNativeTachyons.build()
- support opacities
- set react-native peer-dependency to 0.x
- support border-radii properties
- added more tests and a bugfix when merging existing styles
- added more properties and references
- fixed badge
- initial version