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.