520 Commits

Author SHA1 Message Date
semantic-release-bot
fccd803e8c chore(release): 1.5.2 [skip ci]
## [1.5.2](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.1...v1.5.2) (2022-05-29)

### Bug Fixes

* ensure StyledProps are exported ([93ab927](93ab9271df))
v1.5.2
2022-05-29 08:45:02 +00:00
Mark Lawlor
93ab9271df fix: ensure StyledProps are exported 2022-05-29 18:41:48 +10:00
semantic-release-bot
dcfdccf854 chore(release): 1.5.1 [skip ci]
## [1.5.1](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.0...v1.5.1) (2022-05-28)

### Bug Fixes

* path matching on windows ([2ec7363](2ec7363d07)), closes [#64](https://github.com/marklawlor/tailwindcss-react-native/issues/64)
v1.5.1
2022-05-28 10:50:30 +00:00
Mark Lawlor
2ec7363d07 fix: path matching on windows
fix: #64
2022-05-28 20:47:16 +10:00
Mark Lawlor
0a915b97bf docs: add example to useColorScheme 2022-05-28 11:59:00 +10:00
Mark Lawlor
c88ebd6b9d docs: add useColorScheme to sidebar 2022-05-28 11:54:54 +10:00
Mark Lawlor
19add2b9e0 docs: improve docs for svg 2022-05-28 11:51:34 +10:00
Mark Lawlor
e15f070902 docs: fix headers on stroke & strokeWidth 2022-05-28 11:43:48 +10:00
Mark Lawlor
003346276a docs: add svg to sidebar 2022-05-28 11:42:11 +10:00
Mark Lawlor
5f8a7e7fda docs: update readme 2022-05-28 11:38:27 +10:00
semantic-release-bot
0daf136eb6 chore(release): 1.5.0 [skip ci]
# [1.5.0](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.4.6...v1.5.0) (2022-05-28)

### Bug Fixes

* [#54](https://github.com/marklawlor/tailwindcss-react-native/issues/54) ([c639511](c63951127d))
* allow absolute paths to tailwind config ([0421a91](0421a9110e))
* better matching with relative content paths in tailwind.config.js ([f99bc1f](f99bc1fd2e)), closes [#57](https://github.com/marklawlor/tailwindcss-react-native/issues/57)
* cssProps working in preview mode ([73cd4b6](73cd4b6e32))
* **deps:** update docusaurus monorepo to v2.0.0-beta.21 ([a25a8da](a25a8da224))
* ensure spreadProps use flat styles on preview ([7c2cc8b](7c2cc8b3fc))
* ensure stroke is set to a valid value ([8970f65](8970f655a3))
* improve active: styles on web ([30fdfdd](30fdfdde63))
* improvements to spreadProps with preview mode ([3d4941a](3d4941ac9d))
* include optional props in useInteraction parsing ([0b6d0a6](0b6d0a6272))
* prevent adding empty style arrays to parents ([61780d2](61780d2aff))
* prevent adding unnecessary event handlers to components ([04ce242](04ce24283f))
* prevent passing undefined svg props ([244be39](244be3997c))
* react import for classic JSX ([2e7bf03](2e7bf03e23))
* remove empty line in generated styles ([20e6973](20e697321a))
* rename valueProps to spreadProps. Add cssProps ([3ae8d94](3ae8d94061))
* short circuit withStyledChildren when there are no child styles ([8de2e43](8de2e4351e))
* stop babel appending platform to TailwindProvider ([fc8fdc8](fc8fdc8b92))
* strokeWidth console warnings on native ([5ace7ff](5ace7ff975))
* transform components using fill and stroke ([f4161ef](f4161ef3b2))
* useInteraction not adding handlers ([f3c4127](f3c4127892))

### Features

* add parent variant ([a6d8023](a6d802314f))
* add preview support for flattened styles ([b5b8273](b5b8273f7d))
* add SVG support ([05897c3](05897c3ab7)), closes [#56](https://github.com/marklawlor/tailwindcss-react-native/issues/56)
* allow for styled to parse additional props ([1037027](1037027035))
* export new context hooks ([1560afe](1560afe983))
v1.5.0
2022-05-28 01:34:15 +00:00
Mark Lawlor
cfe73f51c5 docs: update introduction 2022-05-28 11:31:07 +10:00
Mark Lawlor
9e7307e70b docs: update docs of styled options 2022-05-28 11:24:02 +10:00
Mark Lawlor
0a703f9ff7 Merge branch 'next' of github.com:marklawlor/tailwindcss-react-native into next 2022-05-28 11:09:33 +10:00
Mark Lawlor
948068c792 docs: update readme 2022-05-28 11:09:10 +10:00
Mark Lawlor
3c6e75a772 Merge pull request #63 from marklawlor/renovate/docusaurus-monorepo
fix(deps): update docusaurus monorepo to v2.0.0-beta.21
2022-05-28 09:25:12 +10:00
Renovate Bot
a25a8da224 fix(deps): update docusaurus monorepo to v2.0.0-beta.21
[skip release]
2022-05-27 18:31:32 +00:00
semantic-release-bot
379b78a585 chore(release): 1.5.0-next.21 [skip ci]
# [1.5.0-next.21](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.0-next.20...v1.5.0-next.21) (2022-05-27)

### Bug Fixes

* improvements to spreadProps with preview mode ([3d4941a](3d4941ac9d))
v1.5.0-next.21
2022-05-27 13:31:35 +00:00
Mark Lawlor
3d4941ac9d fix: improvements to spreadProps with preview mode 2022-05-27 23:28:16 +10:00
Mark Lawlor
82f6419f7c Merge branch 'next' of github.com:marklawlor/tailwindcss-react-native into next 2022-05-27 19:24:29 +10:00
Mark Lawlor
2a5e79e077 refactor: add comments to classname-to-inline-style 2022-05-27 19:24:09 +10:00
Mark Lawlor
dbdfdf080e refactor: rename cssProps to classProps 2022-05-27 19:20:04 +10:00
semantic-release-bot
dfa6134e82 chore(release): 1.5.0-next.20 [skip ci]
# [1.5.0-next.20](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.0-next.19...v1.5.0-next.20) (2022-05-27)

### Bug Fixes

* define the global variable during babel transform ([1edda15](1edda15988)), closes [#60](https://github.com/marklawlor/tailwindcss-react-native/issues/60)
v1.5.0-next.20
2022-05-27 05:07:50 +00:00
Mark Lawlor
186d8116be Merge branch 'main' into next 2022-05-27 15:04:37 +10:00
semantic-release-bot
c8b0e5c738 chore(release): 1.4.6 [skip ci]
## [1.4.6](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.4.5...v1.4.6) (2022-05-27)

### Bug Fixes

* define the global variable during babel transform ([1edda15](1edda15988)), closes [#60](https://github.com/marklawlor/tailwindcss-react-native/issues/60)
v1.4.6
2022-05-27 05:00:33 +00:00
Mark Lawlor
1edda15988 fix: define the global variable during babel transform
The global variables previously relied on being defined inside
context.ts. However inlineRequires will cause the global variables to
defined after use - causing a runtime error.

This defined the variables as they are used, so it doesn't matter in
which order the files are loaded.

Fix: #60
2022-05-27 14:55:25 +10:00
semantic-release-bot
8f30798e1d chore(release): 1.5.0-next.19 [skip ci]
# [1.5.0-next.19](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.0-next.18...v1.5.0-next.19) (2022-05-27)

### Bug Fixes

* better matching with relative content paths in tailwind.config.js ([fd43261](fd43261eba)), closes [#57](https://github.com/marklawlor/tailwindcss-react-native/issues/57)
v1.5.0-next.19
2022-05-27 00:39:04 +00:00
Mark Lawlor
5432fad3d9 Merge branch 'main' into next 2022-05-27 10:36:05 +10:00
semantic-release-bot
a72a08aeca chore(release): 1.4.5 [skip ci]
## [1.4.5](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.4.4...v1.4.5) (2022-05-27)

### Bug Fixes

* better matching with relative content paths in tailwind.config.js ([fd43261](fd43261eba)), closes [#57](https://github.com/marklawlor/tailwindcss-react-native/issues/57)
v1.4.5
2022-05-27 00:33:00 +00:00
Mark Lawlor
fd43261eba fix: better matching with relative content paths in tailwind.config.js
fixes: #57
2022-05-27 10:29:23 +10:00
semantic-release-bot
250f4d2ee0 chore(release): 1.5.0-next.18 [skip ci]
# [1.5.0-next.18](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.0-next.17...v1.5.0-next.18) (2022-05-26)

### Bug Fixes

* ensure spreadProps use flat styles on preview ([7c2cc8b](7c2cc8b3fc))
v1.5.0-next.18
2022-05-26 07:10:11 +00:00
Mark Lawlor
041a59578c test: skip web-preview tests 2022-05-26 17:06:46 +10:00
Mark Lawlor
7c2cc8b3fc fix: ensure spreadProps use flat styles on preview 2022-05-26 16:57:56 +10:00
semantic-release-bot
827a7a188f chore(release): 1.5.0-next.17 [skip ci]
# [1.5.0-next.17](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.0-next.16...v1.5.0-next.17) (2022-05-26)

### Bug Fixes

* cssProps working in preview mode ([73cd4b6](73cd4b6e32))
v1.5.0-next.17
2022-05-26 06:04:06 +00:00
Mark Lawlor
58e026c88a Merge branch 'next' of github.com:marklawlor/tailwindcss-react-native into next 2022-05-26 16:00:26 +10:00
Mark Lawlor
73cd4b6e32 fix: cssProps working in preview mode 2022-05-26 16:00:05 +10:00
semantic-release-bot
60b3e343ed chore(release): 1.5.0-next.16 [skip ci]
# [1.5.0-next.16](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.0-next.15...v1.5.0-next.16) (2022-05-26)

### Bug Fixes

* improve active: styles on web ([30fdfdd](30fdfdde63))
v1.5.0-next.16
2022-05-26 05:28:41 +00:00
Mark Lawlor
30fdfdde63 fix: improve active: styles on web 2022-05-26 15:25:40 +10:00
semantic-release-bot
d01b42ea45 chore(release): 1.5.0-next.15 [skip ci]
# [1.5.0-next.15](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.0-next.14...v1.5.0-next.15) (2022-05-26)

### Bug Fixes

* include optional props in useInteraction parsing ([0b6d0a6](0b6d0a6272))
v1.5.0-next.15
2022-05-26 04:57:39 +00:00
Mark Lawlor
71d5c815a2 Merge branch 'next' of github.com:marklawlor/tailwindcss-react-native into next 2022-05-26 14:54:27 +10:00
Mark Lawlor
0b6d0a6272 fix: include optional props in useInteraction parsing 2022-05-26 14:49:39 +10:00
semantic-release-bot
205cd727e8 chore(release): 1.5.0-next.14 [skip ci]
# [1.5.0-next.14](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.0-next.13...v1.5.0-next.14) (2022-05-26)

### Bug Fixes

* react import for classic JSX ([2e7bf03](2e7bf03e23))
v1.5.0-next.14
2022-05-26 04:31:17 +00:00
Mark Lawlor
6d84d086b5 Merge branch 'next' of github.com:marklawlor/tailwindcss-react-native into next 2022-05-26 14:27:48 +10:00
Mark Lawlor
2e7bf03e23 fix: react import for classic JSX 2022-05-26 14:27:23 +10:00
Mark Lawlor
f20a4cda19 refactor: clean up linter errors 2022-05-26 14:24:49 +10:00
semantic-release-bot
ca66c91c28 chore(release): 1.5.0-next.13 [skip ci]
# [1.5.0-next.13](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.0-next.12...v1.5.0-next.13) (2022-05-26)

### Bug Fixes

* add import React to component files ([467f7d2](467f7d2883))
* add import React to component files ([1cbee33](1cbee331a7))
* runtime error with RNW <=0.17 ([fe8c181](fe8c181a4b))
* runtime-styles parsing for RWN <=0.17 ([6dc1958](6dc195811a))
v1.5.0-next.13
2022-05-26 04:04:18 +00:00
Mark Lawlor
be7b2e21ec Merge branch 'main' into next 2022-05-26 14:01:22 +10:00
Mark Lawlor
706a8c9f72 Merge branch 'main' of github.com:marklawlor/tailwindcss-react-native into main 2022-05-26 11:07:04 +10:00
Mark Lawlor
ba2f8d5aed docs: expo web 2022-05-26 11:06:50 +10:00
semantic-release-bot
e5c859c7e0 chore(release): 1.4.4 [skip ci]
## [1.4.4](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.4.3...v1.4.4) (2022-05-26)

### Bug Fixes

* runtime error with RNW <=0.17 ([fe8c181](fe8c181a4b))
v1.4.4
2022-05-26 01:06:46 +00:00