Commit Graph

59 Commits

Author SHA1 Message Date
Mark Lawlor
461f47697d feat: new babel modes
BREAKING CHANGE: skipTransform: true has been changed to mode: "compileOnly"
2022-05-05 11:51:55 +10:00
Mark Lawlor
e0a1c3cb8f fix: expose postcss plugin 2022-05-05 11:39:52 +10:00
Mark Lawlor
46d52bc160 feat: rename allowModules and blockmodules
BREAKING CHANGES:

- allowModules has been renamed to allowModuleTransform
- blockModules has been renamed to blockModuleTransform
2022-05-05 11:20:54 +10:00
Mark Lawlor
c2b818d75c tests: add more tailwindcs tests 2022-05-03 21:23:04 +10:00
Mark Lawlor
0969ef68c2 tests: add more tailwindcs tests 2022-05-03 18:40:33 +10:00
Mark Lawlor
bcfb8c8b61 tests: add more tailwindcs tests 2022-05-03 16:34:19 +10:00
Mark Lawlor
772c433345 refactor: to-react-native property helpers 2022-04-29 19:08:17 +10:00
Mark Lawlor
f42b433424 tests: refactor test helpers 2022-04-29 18:06:46 +10:00
Mark Lawlor
218fb47c3c refactor: change media suffix seperator to a '.' 2022-04-29 13:57:10 +10:00
Mark Lawlor
20317b384b refactor: change StyleError.error to a string 2022-04-29 13:07:03 +10:00
Mark Lawlor
5c0c74de6a fix: add plugin.js to npm. lint fixes 2022-04-29 12:57:30 +10:00
Mark Lawlor
4dbbb8b771 refactor: minor native-style-extractor cleanup 2022-04-29 12:53:10 +10:00
Mark Lawlor
94b578a4da refactor: rename postcss-plugin name 2022-04-29 12:47:12 +10:00
Mark Lawlor
ea9f5a17e1 refactor: prep work for better errors 2022-04-29 12:40:08 +10:00
Mark Lawlor
9fda8eab87 fix: hmr=false was processes all files 2022-04-29 11:08:55 +10:00
Mark Lawlor
b39125d9a8 fix: selector generation when using important 2022-04-28 18:04:25 +10:00
Mark Lawlor
56b4a29941 feat: change useTailwind to a factory function 2022-04-28 17:16:34 +10:00
Mark Lawlor
0ce283dcd0 refactor: remove any types from codebase 2022-04-28 16:19:48 +10:00
Mark Lawlor
2effcd8a0c refactor: clean after postcss style extraction 2022-04-28 15:26:29 +10:00
Mark Lawlor
30c5b76a4a feat: rewrite extract native styles logic 2022-04-28 14:32:50 +10:00
Mark Lawlor
3496060bc0 fix: improvements to platform prefixes 2022-04-27 17:43:30 +10:00
Mark Lawlor
22da605c24 feat: basic platform variant matching 2022-04-27 16:35:07 +10:00
Mark Lawlor
1dea29b7ca refactor: MediaRecord 2022-04-27 14:42:57 +10:00
Mark Lawlor
6f09ae5755 chore: cleanup useTailwind 2022-04-27 14:08:52 +10:00
Mark Lawlor
07570891d6 fix: tw prop detection. useTailwind return type 2022-04-27 11:59:36 +10:00
Mark Lawlor
d6716242b9 feat: add tw prop to Component API 2022-04-27 10:51:14 +10:00
Mark Lawlor
36fd5473dc fix: incorrect styled types. provider default web to native 2022-04-27 10:17:13 +10:00
Mark Lawlor
7ed308ab2a fix: make platform optional on TailwindProvider 2022-04-27 09:53:46 +10:00
Mark Lawlor
c1c65e039d feat: skipTransform 2022-04-27 09:27:04 +10:00
Mark Lawlor
b341d31f46 fix: false positive on position static 2022-04-26 21:42:14 +10:00
Mark Lawlor
bc37a23db1 feat: switch to component api (#29)
* feat: switch to component api

* chore: updated readme

* chore: updated readme

* feat: add cli

* chore: updated readme

* chore: updated readme

* chore: updated readme

* chore: updated readme

* chore: updated readme

* chore: updated readme

* chore: updated readme

* tests: fix broken test

* chore: update package.json

* chore: cleanup deps

* v0.1.0-0

* fix: add cli to npm

* fix: component api fixes

* chore: updated example pic

* chore: updated readme

* chore: updated readme

* chore: updated readme
2022-04-26 17:15:42 +10:00
Mark Lawlor
466e7b608a fix: improve handling of exotic imports 2022-04-23 09:58:46 +10:00
Mark Lawlor
b7e6ca6391 chore: update dependancies 2022-04-19 16:28:19 +10:00
Mark Lawlor
eceb583d02 chore: add eslint 2022-04-19 16:14:44 +10:00
Mark Lawlor
845daa8068 fix: improve error when using module aliases 2022-04-19 00:19:15 +10:00
Mark Lawlor
15d6e78284 tests: tailwind unit tests 2022-04-18 23:48:32 +10:00
Mark Lawlor
9abe15dc61 refactor: add pre processing 2022-04-18 18:03:11 +10:00
Mark Lawlor
783b11ef28 fix: #23 2022-04-18 17:37:03 +10:00
Mark Lawlor
c8c5ed7a79 refactor: improve css->native parsing 2022-04-15 11:46:14 +10:00
Mark Lawlor
1b68e7c18c fix: top/right/bottom/left tests and fixes 2022-04-14 19:08:09 +10:00
Mark Lawlor
d13d72f3d3 fix: tailwind native styles 2022-04-14 15:57:26 +10:00
Mark Lawlor
5f7f7c7955 refactor: tailwind unit tests 2022-04-14 15:14:36 +10:00
Mark Lawlor
a35b7f421a refactor: babel folder clean up 2022-04-14 14:20:24 +10:00
Mark Lawlor
5d2c07599e refactor: native style extraction 2022-04-14 14:08:44 +10:00
Mark Lawlor
e3fa254cf9 refactor: change selector suffix template 2022-04-14 13:18:42 +10:00
Mark Lawlor
073f3b0d79 fix: improve support of content/allow/block options 2022-04-14 12:57:06 +10:00
Mark Lawlor
0b8a4596d2 feat: respect tailwind content. Add allowModule/blockModule options 2022-04-09 09:09:58 +10:00
Mark Lawlor
f2bb1fc806 fix: missing units error on some styles 2022-04-08 10:57:21 +10:00
Mark Lawlor
cfed3948e5 fix: letter spacing details on native 2022-04-08 10:52:04 +10:00
Mark Lawlor
823e344002 feat: add native aspectRatio plugin 2022-04-07 22:33:30 +10:00