Skip to content

Commit e4b7fd4

Browse files
committed
remove some rebasing artifacts
1 parent 12a9f3c commit e4b7fd4

File tree

4 files changed

+28
-471
lines changed

4 files changed

+28
-471
lines changed

CHANGELOG.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,24 @@ _The format is based on [Keep a Changelog](http://keepachangelog.com/) and this
2020

2121
- Fix regressed behavior between v3 and v4 where className was not correctly aggregated between folded `.attrs` invocations
2222

23+
## [v4.4.1] - 2019-10-30
24+
25+
- Fix `styled-components`'s `react-native` import for React Native Web, by [@fiberjw](https://github.com/fiberjw) (see [#2797](https://github.com/styled-components/styled-components/pull/2797))
26+
27+
- Remove dev-time warning if referencing a theme prop without an outer `ThemeProvider`, the check for it isn't smart enough to handle cases with "or" or ternary fallbacks and creates undesirable noise in various third party integrations
28+
29+
## [v4.4.0] - 2019-09-23
30+
31+
- Fix to use `ownerDocument` instead of global `document`, by [@yamachig](https://github.com/yamachig) (see [#2721](https://github.com/styled-components/styled-components/pull/2721))
32+
33+
- Backport fix for SSR classname mismatches in development mode for some environments like next.js (see [#2701](https://github.com/styled-components/styled-components/pull/2701))
34+
35+
- Fix attrs not properly taking precedence over props
36+
37+
- Backport fix where classnames are composed in the wrong order if custom class names are passed in (see [#2760](https://github.com/styled-components/styled-components/pull/2760))
38+
39+
- Fix add check for style tag detached - sheet in the style tag is null in this case, by [@newying61](https://github.com/newying61) (see [#2707](https://github.com/styled-components/styled-components/pull/2707))
40+
2341
## [v4.3.2] - 2019-06-19
2442

2543
- Fix usage of the "css" prop with the styled-components babel macro (relevant to CRA 2.x users), by [@jamesknelson](http://github.com/jamesknelson) (see [#2633](https://github.com/styled-components/styled-components/issues/2633))
@@ -989,7 +1007,9 @@ _v3.3.1 was skipped due to a bad deploy._
9891007

9901008
- Fixed compatibility with other react-broadcast-based systems (like `react-router` v4)
9911009

992-
[unreleased]: https://github.com/styled-components/styled-components/compare/v4.3.2...master
1010+
[unreleased]: https://github.com/styled-components/styled-components/compare/v4.4.1...master
1011+
[v4.4.1]: https://github.com/styled-components/styled-components/compare/v4.4.0...v4.4.1
1012+
[v4.4.0]: https://github.com/styled-components/styled-components/compare/v4.3.2...v4.4.0
9931013
[v4.3.2]: https://github.com/styled-components/styled-components/compare/v4.3.1...v4.3.2
9941014
[v4.3.1]: https://github.com/styled-components/styled-components/compare/v4.3.0...v4.3.1
9951015
[v4.3.0]: https://github.com/styled-components/styled-components/compare/v4.2.1...v4.3.0

appveyor.yml

-27
This file was deleted.

packages/styled-components/src/constructors/test/createGlobalStyle.test.js

+7-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import ReactDOM from 'react-dom';
44
import ReactTestRenderer from 'react-test-renderer';
55
import ReactDOMServer from 'react-dom/server';
66
import { Simulate, act } from 'react-dom/test-utils';
7-
import * as constants from '../../constants';
87

98
import {
109
expectCSSMatches,
@@ -85,9 +84,9 @@ describe(`createGlobalStyle`, () => {
8584
const { render } = setup();
8685
const Component = createGlobalStyle({
8786
'h1, h2, h3, h4, h5, h6': {
88-
fontFamily: ({theme}) => theme.fonts.heading,
87+
fontFamily: ({ theme }) => theme.fonts.heading,
8988
},
90-
})
89+
});
9190
render(<Component theme={{ fonts: { heading: 'sans-serif' } }} />);
9291
expectCSSMatches(`h1,h2,h3,h4,h5,h6{ font-family:sans-serif; }`);
9392
});
@@ -98,11 +97,11 @@ describe(`createGlobalStyle`, () => {
9897
'div, span': {
9998
h1: {
10099
span: {
101-
fontFamily: ({theme}) => theme.fonts.heading
102-
}
103-
}
104-
}
105-
})
100+
fontFamily: ({ theme }) => theme.fonts.heading,
101+
},
102+
},
103+
},
104+
});
106105
render(<Component1 theme={{ fonts: { heading: 'sans-serif' } }} />);
107106
expectCSSMatches(`div h1 span,span h1 span{ font-family:sans-serif; }`);
108107
});

0 commit comments

Comments
 (0)