Zero-runtime Stylesheets-in-TypeScript
MIT License
Bot releases are hidden (Show)
Published by vanilla-extract-ci 9 months ago
#1262 610c50b
Thanks @mrm007! - Update Babel config to target Node.js 14
Updated dependencies [610c50b
]:
Published by vanilla-extract-ci 9 months ago
Published by vanilla-extract-ci 9 months ago
Published by vanilla-extract-ci 9 months ago
Published by vanilla-extract-ci 10 months ago
bc349fd
Thanks @kosmotema! - Prevent unnecessary module invalidations when using PostCSSPublished by vanilla-extract-ci 11 months ago
#1239 1791df2
Thanks @markdalgleish! - Default emitCssInSsr
to true
when Remix Vite plugin is present
#1240 2cad138
Thanks @mrm007! - Add Vite 5 to peer dependencies
Updated dependencies [fd5d9fc
]:
Published by vanilla-extract-ci 11 months ago
Published by vanilla-extract-ci 11 months ago
Published by vanilla-extract-ci 11 months ago
Published by vanilla-extract-ci 11 months ago
Published by vanilla-extract-ci 11 months ago
d16c22f
Thanks @PrettyCoffee! - Improve IDE hover of RecipeVariants
type by explicitly resolving its outputPublished by vanilla-extract-ci 11 months ago
#1175 ca854f5
Thanks @youngkyo0504! - assignInlineVars
now accepts null
and undefined
values
Variables with a value of null
or undefined
will be omitted from the resulting inline style.
NOTE: This only applies to the case where a theme contract is not provided.
import { assignInlineVars } from '@vanilla-extract/dynamic';
import { container, brandColor, textColor } from './styles.css.ts';
// If `tone` is `undefined`, the following inline style becomes:
// { '--brandColor__8uideo0': 'pink' }
const MyComponent = ({ tone }: { tone?: critical }) => (
<section
className={container}
style={assignInlineVars({
[brandColor]: 'pink',
[textColor]: tone === 'critical' ? 'red' : null,
})}
>
...
</section>
);
#1175 ca854f5
Thanks @youngkyo0504! - setElementVars
now accepts null
and undefined
values
Variables with a value of null
or undefined
will not be assigned a value.
NOTE: This only applies to the case where a theme contract is not provided.
import { setElementVars } from '@vanilla-extract/dynamic';
import { brandColor, textColor } from './styles.css.ts';
const el = document.getElementById('myElement');
setElementVars(el, {
[brandColor]: 'pink',
[textColor]: null,
});
Published by vanilla-extract-ci 11 months ago
#1195 c446b5e
Thanks @HelloWorld017! - Ensure userland babel config can not affect integration transforms
Updated dependencies [906d288
, 911c8b7
]:
Published by vanilla-extract-ci 11 months ago
906d288
Thanks @CroModder! - Add some missing simple pseudo selectors
Published by vanilla-extract-ci about 1 year ago
Published by vanilla-extract-ci about 1 year ago
#1180 89224fe
Thanks @syfxlin! - Fixes Next.js 13 CSS output on Windows when using React Server Components
Updated dependencies [89224fe
]:
Published by vanilla-extract-ci about 1 year ago
Published by vanilla-extract-ci about 1 year ago
e391bae
Thanks @SombreroElGringo! - Users can now provide a custom identifier hashing functionPublished by vanilla-extract-ci about 1 year ago
e391bae
Thanks @SombreroElGringo! - Users can now provide a custom identifier hashing functionPublished by vanilla-extract-ci about 1 year ago
e391bae
Thanks @SombreroElGringo! - Users can now provide a custom identifier hashing function