Kornel Dubieniecki
ce0b708c43
Remove vulnerable workflow
2019-11-20 22:27:33 +01:00
Max Stoiber
c914e00378
Merge pull request #2868 from styled-components/lekterable-patch-1
...
Update `inclusive organization` action to add contributors to a team and add a comment
2019-11-09 11:12:29 +01:00
Kornel Dubieniecki
6667e7bb0e
Update main.yml
2019-11-09 10:12:16 +01:00
Max Stoiber
7a8c817574
Merge pull request #2867 from lekterable/master
...
Use 'Inclusive Organization' action to invite contributors to organization
2019-11-08 11:58:39 +01:00
Kornel Dubieniecki
ec9fa146c7
Update .github/workflows/main.yml
...
Co-Authored-By: Max Stoiber <contact@mxstbr.com >
2019-11-08 11:48:27 +01:00
Kornel Dubieniecki
4f96af7008
Create main.yml
2019-11-08 11:28:08 +01:00
Samuli Ulmanen
e2e93a635e
[styled-components] add ThemeProvider to Example ( #2856 )
2019-11-07 16:10:19 -05:00
Samuli Ulmanen
02aaba9b70
[styled-components] streaming ssr example to devServer ( #2855 )
2019-11-07 16:09:50 -05:00
Evan Jacobs
1cea00d470
v4.4.1
v4.4.1
2019-10-30 14:14:08 -04:00
Evan Jacobs
9d6779d2a0
Delete nodejs.yml
2019-10-29 18:34:19 -04:00
Evan Jacobs
5d36780f37
Update nodejs.yml
2019-10-29 18:33:59 -04:00
Evan Jacobs
4c8afc8f03
Revert "add console.error to catch theme references wo prop present ( #2657 )"
...
This reverts commit 7fb63b2371 .
2019-10-28 18:21:01 -04:00
Juwan Wheatley
4cf2c5af04
[bugfix] fix imports for react-native-web ( #2797 )
...
* [bugfix] fix imports for react-native-web
React Native Web doesn't use default exports, so importing using ES6 imports breaks it for that react-native renderer. Using require creates the same behavior in react-native and react-native-web without tripping up the navigator invariant that pops up when trying to import * as reactNative from 'react-native'.
* add entry to changelog
2019-10-28 12:00:32 -04:00
Evan Jacobs
9893aa0f75
Update ISSUE_TEMPLATE.md
...
Remove defunct webpackbin link, update base codesandbox to use latest React & s-c v4.x latest
2019-10-10 00:17:09 -04:00
Evan Jacobs
98eb2ef013
v4.4.0
v4.4.0
2019-09-23 09:33:03 -04:00
ShoM
e3020f6b95
fix: add check for style tag detached - sheet in the style tag is null in this case ( #2707 )
2019-09-23 09:22:22 -04:00
Evan Jacobs
2ef3a3ad43
backport classname ordering fix from canary ( #2760 )
2019-09-22 18:56:45 -04:00
yamachi
f3e2266003
Use ownerDocument instead of global document ( #2721 )
2019-09-09 19:18:58 -04:00
Anton Lazarev
06d1ae25a6
remove deprecated attrs suggestion from too many classes warning ( #2740 )
2019-09-09 16:22:06 -04:00
Evan Jacobs
009dc3672b
fix attrs not properly taking precedence over props ( #2738 )
2019-09-09 16:21:06 -04:00
Jessica Franco
d95bb95b21
Update .travis.yml ( #2735 )
...
* Update .travis.yml
* Remove unneeded branch from travis whitelist
2019-09-06 12:45:31 -04:00
Evan Jacobs
e4cd50c715
backport dev SSR classname mismatch fix from canary ( #2701 )
...
* backport dev SSR classname mismatch fix from canary
* changelog entry
2019-08-21 13:55:12 -04:00
Veniamin Krol
5602131558
Get rid of the ThemeProvider single child context restriction ( #2706 )
...
We can get rid of that restriction because ThemeProvider uses
stable React Context API and children cannot be top-level element.
Fixes #1325 .
2019-08-07 17:35:24 -04:00
Kyle Pollock
acdc5d49fc
Update error message with clickable link. ( #2694 )
2019-08-06 22:16:29 -04:00
Haldun Anil
7fb63b2371
add console.error to catch theme references wo prop present ( #2657 )
2019-06-29 10:21:36 -05:00
Evan Jacobs
43f6fbe1d9
v4.3.2
v4.3.2
2019-06-19 23:44:42 -05:00
James K Nelson
d088d689fc
fix css props when using babel macro with babel-plugin-styled-components 1.10.1 ( #2633 )
...
* fix macro on create-react-app
* add tests
* changelog entry
* fix linting error
2019-06-19 23:42:46 -05:00
Evan Jacobs
fdde0d5865
update README with revised v5 info
2019-06-14 20:01:13 -05:00
Ajay Poshak
c369ad7fbf
Bump version for @emotion/is-valid-props ( #2617 )
2019-06-12 12:44:44 -05:00
Evan Jacobs
3f7eb57d59
v4.3.1
v4.3.1
2019-06-06 16:17:36 -05:00
Evan Jacobs
7002c1e4a5
Revert "prevent component folding when interim HOCs are present ( #2586 )" ( #2606 )
...
This reverts commit 2b1d01e889 .
2019-06-06 16:15:15 -05:00
Evan Jacobs
04d4858d72
v4.3.0 ( #2603 )
v4.3.0
2019-06-05 15:41:34 -05:00
Evan Jacobs
b7d94195c9
implement folding of defaultProps ( #2597 )
...
* update flow stubs
* implement folding of defaultProps
specifically chose the merge-anything library because of its
default handling for non plain-object types (replace, not merge)
* changelog entry
2019-06-05 15:33:19 -05:00
Oliver Lazoroski
4ca4e62d2a
Make it possible to initialize SC_ATTR via REACT_APP_SC_ATTR env variable ( #2501 )
...
* make possible to set SC_ATTR via REACT_APP_SC_ATTR env variable
this increases the compatibility with CRA as it filters out any env
variables which don't follow the REACT_APP_* pattern
* add changelog entry for REACT_APP_SC_ATTR
* make possible to set SC_DISABLE_SPEEDY via REACT_APP_SC_DISABLE_SPEEDY env variable
this increases the compatibility with CRA as it filters out any env
variables which don't follow the REACT_APP_* pattern
* extra line for making travis-ci run again
* Revert "make possible to set SC_DISABLE_SPEEDY via REACT_APP_SC_DISABLE_SPEEDY env variable"
This reverts commit 861054e7
* wire up SC_DISABLE_SPEEDY and REACT_APP_SC_DISABLE_SPEEDY env vars
2019-06-04 11:35:32 -05:00
Evan Jacobs
2b1d01e889
prevent component folding when interim HOCs are present ( #2586 )
...
* add failing test and fix some linting errors
* prevent component folding when interim HOCs are present
fixes #2531
* changelog entry
* same patch for rn version
2019-06-04 11:02:36 -05:00
Evan Jacobs
34ce31d42a
implement forwardedAs ( #2580 )
...
same as the canary PR but this is a simple-enough change that
we can ship it in a 4.x minor release
2019-06-01 14:23:19 -05:00
Jelte Fennema
4f1a923293
Fix theme prop usage in StyledNativeComponent ( #2567 )
2019-05-31 12:58:11 -05:00
Evan Jacobs
46b137988d
v4.2.1 ( #2574 )
v4.2.1
2019-05-30 11:42:40 -05:00
James DiGioia
28f561ddd0
Fix macro with ts ( #2427 )
...
* Add test for multiple imports
Check that the imports are split up normally.
* Fix macro usage with TypeScript
Fixes #2378 .
2019-05-29 09:11:22 -05:00
Abdel-Rhman
f1c8feb530
Fix objects with functions - replace (objToCss) with (objToCssArray) ( #2489 )
...
* Fix objects with methods - replace ObjectToCss => ObjectToArray
* edit name to match naming convention
* more unit tests for style objects with functions - handle more cases in objToCssArray
* better writing for objToCssArray
* semicolon after object function - add unit test - better flow type
* consistent quotes
* bring the ternary baack
* update CHANGELOG
2019-05-29 05:30:08 -05:00
Alberto Leal
6f2ec31e5b
Improve error message for StyledComponentsError ( #2551 )
...
* StyledComponentsError: Improve error message when no additional arguments are provided.
* update snapshots
2019-05-29 03:18:00 -05:00
Max Stoiber
e3cefd90a1
Merge pull request #2563 from styled-components/remove-className-checker
...
remove className usage checker & suppression prop
2019-05-29 10:15:17 +02:00
Evan Jacobs
07bbcba891
remove related tests
2019-05-28 22:10:37 -05:00
Evan Jacobs
2500d1af4e
add missing changelog entries
2019-05-28 22:08:52 -05:00
Evan Jacobs
623be89b12
remove now-unused suppression prop
2019-05-28 22:03:15 -05:00
Max Stoiber
e54edec5b7
Create FUNDING.yml
2019-05-23 21:49:48 +02:00
Tobias Lohse
772280915f
attach displayName to forwardRef function as described in React docs ( #2508 )
...
* add displayName to forwardRef
* Update StyledComponent.js
2019-05-11 12:21:14 -05:00
Tobias Lohse
75aa1b6786
Compatibility with react-native-web 0.11 ( #2453 )
...
* Change react-native default import for compatibility with react-native-web 0.11
* minimal solution for RNW compatibility
2019-05-11 12:17:34 -05:00
Evan Jacobs
4115a1f8e4
add note on v5 [skip ci]
2019-04-19 18:23:48 -04:00
Abdel-Rhman
c098fd7deb
Add stack trace to .attrs warning ( #2486 )
2019-04-08 18:48:22 -05:00