Commit Graph

1159 Commits

Author SHA1 Message Date
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
Renovate Bot
062d637e08 chore(deps): update dependency @cspell/eslint-plugin to v6.1.0 2022-06-01 01:17:30 +00:00
Mark Lawlor
a4d96343d5 fix: react is not defined in some environments 2022-06-01 11:16:13 +10:00
Renovate Bot
5c7620573d chore(deps): update dependency @types/react to v18.0.10 2022-05-31 22:36:07 +00:00
Mark Lawlor
703b4ff690 Merge branch 'main' into next v1.8.0-next.1 2022-06-01 07:15:45 +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
ae69a7aefe Merge pull request #66 from yjose/patch-2
fix docs highlight
2022-06-01 06:32:51 +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
Youssouf EL AZIZI
a9d61b5cb1 fix docs highlight 2022-05-31 16:33:43 +01:00
Mark Lawlor
2a289495ff Merge branch 'main' into next v1.7.0-next.1 2022-05-31 14:54:35 +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
Renovate Bot
b9a953a3ec chore(deps): update typescript-eslint monorepo to v5.27.0 2022-05-30 18:11:45 +00:00
Mark Lawlor
365b4481c7 feat: parent state modifiers v1.6.0-next.1 2022-05-30 13:09:55 +10:00
Mark Lawlor
a8576e739b Merge branch 'next' of github.com:marklawlor/tailwindcss-react-native into next v1.5.4-next.1 2022-05-30 12:11:03 +10:00
Mark Lawlor
975e5ac404 ci: only generate release notes for main releases 2022-05-30 12:09:36 +10:00
semantic-release-bot
6176be69c0 chore(release): 1.5.2-next.1 [skip ci]
## [1.5.2-next.1](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.1...v1.5.2-next.1) (2022-05-30)

### Bug Fixes

* **deps:** update dependency @babel/types to v7.18.4 ([16e94d4](16e94d450b))
2022-05-30 12:09:36 +10:00
Renovate Bot
64e130159e fix(deps): update dependency @babel/types to v7.18.4 2022-05-30 12:08:28 +10:00
Mark Lawlor
92e5749742 ci: only generate release notes for main releases 2022-05-30 12:07:49 +10:00
semantic-release-bot
1d5eb55eba chore(release): 1.5.2-next.1 [skip ci]
## [1.5.2-next.1](https://github.com/marklawlor/tailwindcss-react-native/compare/v1.5.1...v1.5.2-next.1) (2022-05-30)

### Bug Fixes

* **deps:** update dependency @babel/types to v7.18.4 ([16e94d4](16e94d450b))
v1.5.2-next.1
2022-05-30 01:56:44 +00:00
Renovate Bot
16e94d450b fix(deps): update dependency @babel/types to v7.18.4 2022-05-29 22:44:35 +00: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