557 Commits

Author SHA1 Message Date
semantic-release-bot
b86408abc3 chore(release): 1.7.7 [skip ci]
## [1.7.7](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.7.6...v1.7.7) (2022-06-02)

### Bug Fixes

* inline useDeviceOrientation to remove need to transpile ([c0659cd](c0659cd861))
* remove regex negative lookbehind for safari compatibility ([#72](https://github.com/marklawlor/tailwindcss-react-native/issues/72)) ([25476cb](25476cb57a))
v1.7.7
2022-06-02 22:01:21 +00:00
InfiniteXyy
25476cb57a fix: remove regex negative lookbehind for safari compatibility (#72)
* fix: remove regex negative lookbehind for safari compatibility

* fix: remove regex negative lookbehind for safari compatibility

Co-authored-by: Mark Lawlor <mwlawlor@gmail.com>
2022-06-03 07:56:01 +10:00
Mark Lawlor
dc9cef6bb0 Merge branch 'main' of github.com:marklawlor/tailwindcss-react-native into main 2022-06-03 07:41:50 +10:00
Mark Lawlor
c0659cd861 fix: inline useDeviceOrientation to remove need to transpile 2022-06-03 07:41:35 +10:00
semantic-release-bot
6d2856a22c chore(release): 1.7.6 [skip ci]
## [1.7.6](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.7.5...v1.7.6) (2022-06-02)

### Bug Fixes

* downgrade tsconfig target to ES2019 ([5447022](5447022d26))
v1.7.6
2022-06-02 08:19:02 +00:00
Mark Lawlor
5447022d26 fix: downgrade tsconfig target to ES2019 2022-06-02 18:15:39 +10:00
semantic-release-bot
4b87133fe8 chore(release): 1.7.5 [skip ci]
## [1.7.5](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.7.4...v1.7.5) (2022-06-01)

### Bug Fixes

* wrap styled(component) in useMemo so it doesn't re-mount on every render ([#69](https://github.com/marklawlor/tailwindcss-react-native/issues/69)) ([cad2934](cad293411d))
v1.7.5
2022-06-01 23:35:24 +00:00
Jay Meistrich
cad293411d fix: wrap styled(component) in useMemo so it doesn't re-mount on every render (#69) 2022-06-02 09:31:59 +10:00
semantic-release-bot
6734e29aa8 chore(release): 1.7.4 [skip ci]
## [1.7.4](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.7.3...v1.7.4) (2022-06-01)

### Bug Fixes

* multiple no utility classes warnings ([c4b4a17](c4b4a172bf)), closes [#67](https://github.com/marklawlor/tailwindcss-react-native/issues/67)
v1.7.4
2022-06-01 02:14:16 +00:00
Mark Lawlor
b9984ff64c Merge branch 'main' of github.com:marklawlor/tailwindcss-react-native into main 2022-06-01 12:09:59 +10:00
Mark Lawlor
c4b4a172bf fix: multiple no utility classes warnings
fixes #67
2022-06-01 11:51:52 +10:00
semantic-release-bot
ccd2072722 chore(release): 1.7.3 [skip ci]
## [1.7.3](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.7.2...v1.7.3) (2022-06-01)

### Bug Fixes

* multiple no utility classes warnings ([b6a61ff](b6a61ff5d8)), closes [#67](https://github.com/marklawlor/tailwindcss-react-native/issues/67)
v1.7.3
2022-06-01 01:45:33 +00:00
Mark Lawlor
4576923e20 Merge branch 'main' of github.com:marklawlor/tailwindcss-react-native into main 2022-06-01 11:42:16 +10:00
Mark Lawlor
b6a61ff5d8 fix: multiple no utility classes warnings
fixes #67
2022-06-01 11:35:24 +10:00
semantic-release-bot
162d144565 chore(release): 1.7.2 [skip ci]
## [1.7.2](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.7.1...v1.7.2) (2022-06-01)

### Bug Fixes

* react is not defined in some environments ([a4d9634](a4d96343d5))
v1.7.2
2022-06-01 01:19:59 +00:00
Mark Lawlor
a4d96343d5 fix: react is not defined in some environments 2022-06-01 11:16:13 +10:00
Mark Lawlor
69945402d4 Merge branch 'main' of github.com:marklawlor/tailwindcss-react-native into main 2022-06-01 07:13:45 +10:00
Mark Lawlor
5530d903b9 docs: update tailwind.config.js content paths 2022-06-01 07:13:32 +10:00
semantic-release-bot
5f73cabe32 chore(release): 1.7.1 [skip ci]
## [1.7.1](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.7.0...v1.7.1) (2022-05-31)

### Bug Fixes

* prevent duplicate identifiers when accidentally importing RWN ([ef1e83e](ef1e83ed9c))
v1.7.1
2022-05-31 20:51:12 +00:00
Mark Lawlor
ef1e83ed9c fix: prevent duplicate identifiers when accidentally importing RWN 2022-06-01 06:46:46 +10:00
Mark Lawlor
c8a11b5a69 docs: remove broad selector in quick-start docs 2022-06-01 06:27:17 +10:00
Mark Lawlor
65a5dc5dea docs: remove broad selector in quick-start docs 2022-06-01 06:27:00 +10:00
semantic-release-bot
21438127cc chore(release): 1.7.0 [skip ci]
# [1.7.0](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.6.3...v1.7.0) (2022-05-31)

### Features

* allow styled to accep baseClassName as second parameter ([469c6af](469c6af4b8))
v1.7.0
2022-05-31 04:35:22 +00:00
Mark Lawlor
469c6af4b8 feat: allow styled to accep baseClassName as second parameter 2022-05-31 14:32:05 +10:00
semantic-release-bot
9e7590648b chore(release): 1.6.3 [skip ci]
## [1.6.3](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.6.2...v1.6.3) (2022-05-31)

### Bug Fixes

* remove react forwardRef override ([ecdcaa6](ecdcaa6408))
* typing of forwardRef override ([2745669](2745669296))
v1.6.3
2022-05-31 02:21:47 +00:00
Mark Lawlor
ecdcaa6408 fix: remove react forwardRef override 2022-05-31 12:18:31 +10:00
Mark Lawlor
2745669296 fix: typing of forwardRef override 2022-05-31 11:29:53 +10:00
semantic-release-bot
9f9cd6fb0e chore(release): 1.6.2 [skip ci]
## [1.6.2](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.6.1...v1.6.2) (2022-05-31)

### Bug Fixes

* warnings when hmr on native. Move baseClassName to styled() props ([5d29a74](5d29a74dd4))
v1.6.2
2022-05-31 01:12:27 +00:00
Mark Lawlor
5d29a74dd4 fix: warnings when hmr on native. Move baseClassName to styled() props 2022-05-31 11:09:11 +10:00
semantic-release-bot
b32f6eadb9 chore(release): 1.6.1 [skip ci]
## [1.6.1](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.6.0...v1.6.1) (2022-05-31)

### Bug Fixes

* always try to extract styles ([17c450e](17c450e7eb))
v1.6.1
2022-05-31 00:48:08 +00:00
Mark Lawlor
c65c726f35 Merge branch 'main' of github.com:marklawlor/tailwindcss-react-native into main 2022-05-31 10:33:07 +10:00
Mark Lawlor
17c450e7eb fix: always try to extract styles 2022-05-31 10:32:44 +10:00
semantic-release-bot
1b0df40d98 chore(release): 1.6.0 [skip ci]
# [1.6.0](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.3...v1.6.0) (2022-05-31)

### Features

* add baseClassName option to styled() ([199e23e](199e23e967))
v1.6.0
2022-05-31 00:14:23 +00:00
Mark Lawlor
199e23e967 feat: add baseClassName option to styled() 2022-05-31 10:11:08 +10:00
semantic-release-bot
c0fd82f259 chore(release): 1.5.3 [skip ci]
## [1.5.3](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.2...v1.5.3) (2022-05-29)

### Bug Fixes

* forwarding refs of styled components ([c89e314](c89e3146ae))
v1.5.3
2022-05-29 10:45:12 +00:00
Mark Lawlor
2d750961a1 Merge branch 'main' of github.com:marklawlor/tailwindcss-react-native into main 2022-05-29 20:42:12 +10:00
Mark Lawlor
c89e3146ae fix: forwarding refs of styled components 2022-05-29 20:25:54 +10:00
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