mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
7.2 KiB
7.2 KiB
@emotion/sheet
1.0.2
Patch Changes
- #2393
405af5ca
Thanks @layershifter! - Do not log failed rule insertions in the speedy mode for even more vendor-prefixed pseudo-elements/classes like:-moz-focus-inner
,:-moz-focusring
, and:-ms-clear
.
1.0.1
Patch Changes
5469d003
#2149 Thanks @Andarist! - Do not log failed rule insertions in the speedy mode for vendor-prefixed pseudo-elements/classes like::-moz-placeholder
.
1.0.0
Major Changes
9e998e37
#1817 Thanks @Andarist! -@import
rules are no longer special-cased - they no longer are always inserted at the beginning of the stylesheet. The responsibility to put them first has been moved to a consumer of this package.
Minor Changes
4a891bf6
#1473 Thanks @jcharry! - The newprepend
option can make Emotion add style tags at the beginning of the specified DOM container instead of the end.
dfe79aca
#1696 Thanks @Andarist! - Addedhydrate
method which can be used for SSRed styles. They become a part of a sheet and can be flushed.
Patch Changes
42df3f3b
#2028 Thanks @Andarist! - Generated style elements gotdata-s="1"
attribute so@emotion/cache
can recognize them as being already owned by another Emotion copy to avoid messing up existing style elements when initializing a new copy.
1e4a741d
#1697 Thanks @Andarist! - Removed mentions ofmaxLength
option in types & docs as it has been removed some time ago.
1.0.0-rc.0
Major Changes
1.0.0-next.5
Patch Changes
42df3f3b
#2028 Thanks @Andarist! - Generated style elements gotdata-s
attribute so@emotion/cache
can recognize them as being already owned by another Emotion copy to avoid messing up existing style elements when initializing a new copy.
1.0.0-next.4
Patch Changes
39be057b
#1997 Thanks @Andarist! - Reverted the change that has started to add an empty<style/>
element eagerly in non-production environments that has been introduced inv1.0.0-next.3
as this has found to be problematic for websites usingContent-Security-Policy
and anonce
. Instead of this@emotion/cache
will from now on insert an empty rule in non-production environments but it will only do that if an empty rule gets actually created by the user.
1.0.0-next.3
Patch Changes
-
dc1a0c5e
#1962 Thanks @Andarist! - From now on an empty<style/>
element gets inserted eagerly into the DOM in the constructor in non-production environments. This helps to grab usedkey
s from the (JS)DOM even for sheets/caches that have not inserted any actual rules to the document yet. It allows@emotion/jest
to find those and serialize Emotion classes properly in situations like this:import styled from '@emotion/styled/macro' import { render } from '@testing-library/react' const Div = styled.div`` test('foo', () => { const { container } = render(<Div />) expect(container).toMatchSnapshot() })
1.0.0-next.2
Major Changes
9e998e37
#1817 Thanks @Andarist! -@import
rules are no longer special-cased - they no longer are always inserted at the beginning of the stylesheet. The responsibility to put them first has been moved to a consumer of this package.
Patch Changes
91046a8c
#1900 Thanks @Andarist! - Renamedrehydrate
method tohydrate
to align naming to what is already used in Emotion and React itself.
0.10.0-next.1
Minor Changes
dfe79aca
#1572 Thanks @Andarist! - Addedrehydrate
method which can be used for SSRed styles. They become a part of a sheet and can be flushed.
Patch Changes
1e4a741d
#1572 Thanks @Andarist! - Removed mentions ofmaxLength
option in types & docs as it has been removed some time ago.
0.10.0-next.0
Minor Changes
4a891bf6
#1473 Thanks @jcharry! - Accept newprepend
option to allow for adding style tags at the beginning of the specified DOM container.
0.9.4
Patch Changes
0.9.3
Patch Changes
- c0eb604d #1419 Thanks @mitchellhamilton! - Update build tool