wip
Add gitignore and edit rollup config
Update gitignore
Wip
WIP
Get rid of older json files and use js files to extend across pkgs later
Make test:native work again, thanks to @SimenB
No haste and get integration test to work
Update husky
Update package.json
Update travis and appveyor
Add lint script
Update sandbox
Update yarn version
Move eslint into sc package
Remove unnecessary files
Update lint-staged
Update CONTRIBUTING.md
Update version in lerna.json
Update contributing
Update scripts
Update contributing
Update contributing
Update contributing.md and publish script
Update contributing
v4.1.4-alpha.0
Update package json
Update lerna version
v4.1.4-alpha.0
v4.1.4-alpha.1
Independent version for sandbox and styled-components
Yarn instead of npm
Add readme to styled-components package to show up on npm
Publish
- styled-components@4.1.4-alpha.2
Update prepublisOnly and contributing
Update gitignore
Publish
- styled-components@4.1.4-alpha.3
Test without readme
Remove readme
Publish
- styled-components@4.1.4-alpha.4
Copy readme prepublishOnly
Publish
- styled-components@4.1.4-alpha.5
* create macro
* add sourceType module when using babel.template
* babel.types needs to be passed down to visitors
* add tests
* add pureAnnotation visitor from babel-plugin-styled-components
* add test with require()
* export 'styled-components/macro'
* add css to macro
* add keyframes to macro
* update test snapshots
* allow to import all helpers from src/index.js
* add error when tags are not used with template literals
* add test : should allow all helpers exported from styled-components
* add injectGlobal to taggedTemplateImports
* add missing tests and refactor tests
* add typescript types
* add flow types
* replace injectGlobal by createGlobalStyle
* just use babel-plugin-styled-components and apply to the whole file
* update babel-plugin-styled-components to 1.8.0
* remove typescript files
* add comments and fix styling of code
* generate allowedImports from src/index.js
* Remove unnecessary test to check allowedImports
* move babel-plugin-styled-components to peerDependencies
* fix tests : add babel-plugin-styled-components to devDependencies
* move babel-plugin-styled-components to deps, with a lenient version
* add macro to files
* add changelog entry
Using the React-provided test renderer and test utilities.
I couldn't figure out how to deal with the innerRef tests yet, but
since that API is going away in one of my open PRs, I figured it
wasn't worth the time to get working.
It's lighter and faster since its memoized. Saw some nice perf
gain in benchmarking.
before:
---Mount deep tree---
17.14 ±01.82 ms
(S/L) 13.06/04.08 ms
---Mount wide tree---
22.89 ±02.67 ms
(S/L) 16.91/05.98 ms
---Update dynamic styles---
23.47 ±05.14 ms
(S/L) 07.98/15.49 ms
after:
---Mount deep tree---
16.07 ±01.72 ms
(S/L) 12.03/04.05 ms
---Mount wide tree---
21.45 ±02.74 ms
(S/L) 15.59/05.85 ms
---Update dynamic styles---
22.49 ±05.28 ms
(S/L) 07.50/14.99 ms
upgrades flow-bin along with other dependencies necessary to keep
flow checks running properly.
also corrects all new warning/errors surfaced by the upgrade (save
for a few $flowFixMe TODOs)
This commit introduces a few flow-related things (and also some misc
stuff):
* Fix some typing errors with glamor / nameGenerator
* Move adapted `flow-typed/npm` libdefs to `flow-typed`
* Add some flow related ignore rules for eslintrc / flowconfig etc.
* Add a `build:flow` script and add it to the build step
* Add docs for making `styled-components` and `flow` work for the consumer
MISC:
* Add test for generateAlphabeticName
As soon as this feature is merged, there will be `flow.js` files
vendored along with transpiled `lib` files on every build.