Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stitches/core

Package Overview
Dependencies
Maintainers
3
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stitches/core - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

package.json
{
"name": "@stitches/core",
"version": "1.2.0",
"version": "1.2.1",
"description": "The modern CSS-in-JS library",

@@ -5,0 +5,0 @@ "type": "module",

@@ -30,17 +30,17 @@ import type * as CSSUtil from './css-util'

globalCss: {
<Styles extends { [K: string]: unknown }[]>(
...styles: {
[Index in keyof Styles]: (
& {
/** The **@import** CSS at-rule imports style rules from other style sheets. */
'@import'?: unknown
<Styles extends { [K: string]: any }>(
...styles: (
{
/** The **@import** CSS at-rule imports style rules from other style sheets. */
'@import'?: unknown
/** The **@font-face** CSS at-rule specifies a custom font with which to display text. */
'@font-face'?: unknown
}
& {
[K in keyof Styles[Index]]: K extends '@import'
/** The **@font-face** CSS at-rule specifies a custom font with which to display text. */
'@font-face'?: unknown
}
& {
[K in keyof Styles]: (
K extends '@import'
? string | string[]
: K extends '@font-face'
? CSSUtil.Native.AtRule.FontFace | CSSUtil.Native.AtRule.FontFace[]
? CSSUtil.Native.AtRule.FontFace | Array<CSSUtil.Native.AtRule.FontFace>
: K extends `@keyframes ${string}`

@@ -53,5 +53,5 @@ ? {

: CSSUtil.CSS<Media, Theme, ThemeMap, Utils>
}
)
}
)
}
)[]
): {

@@ -114,12 +114,18 @@ (): string

}
theme: string & {
[Scale in keyof Theme]: {
[Token in keyof Theme[Scale]]: ThemeUtil.Token<
Extract<Token, string | number>,
string,
Extract<Scale, string | void>,
Extract<Prefix, string | void>
>
theme:
string
& {
className: string
selector: string
}
}
& {
[Scale in keyof Theme]: {
[Token in keyof Theme[Scale]]: ThemeUtil.Token<
Extract<Token, string | number>,
string,
Extract<Scale, string | void>,
Extract<Prefix, string | void>
>
}
}
reset: {

@@ -164,3 +170,3 @@ (): void

[Name in keyof Composers[K]['variants']]?: Util.Widen<keyof Composers[K]['variants'][Name]> | Util.String
} & Util.WideObject
}
: Util.WideObject

@@ -167,0 +173,0 @@ )

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc