Socket
Socket
Sign inDemoInstall

@stitches/core

Package Overview
Dependencies
0
Maintainers
3
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.7 to 1.2.8

2

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

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

@@ -7,2 +7,3 @@ import type Stitches from './stitches'

export { $$PropertyValue, $$ScaleValue, $$ThemeValue} from './css-util'
export type CreateStitches = Config.CreateStitches

@@ -37,5 +38,5 @@ export type CSSProperties = CSSUtil.CSSProperties

export type PropertyValue<Property extends keyof CSSUtil.CSSProperties, Config = null> = (
Config extends null
? { readonly [K in CSSUtil.$$PropertyValue]: Property }
: Config extends { [K: string]: any }
Config extends null
? { readonly [K in CSSUtil.$$PropertyValue]: Property }
: Config extends { [K: string]: any }
? CSSUtil.CSS<

@@ -56,3 +57,3 @@ Config['media'],

? Scale extends keyof Config['theme']
? `$${string & keyof Config['theme'][Scale]}`
? `$${string & keyof Config['theme'][Scale]}`
: never

@@ -59,0 +60,0 @@ : never

@@ -113,3 +113,3 @@ import type * as CSSUtil from './css-util'

theme:
string
string
& {

@@ -147,4 +147,6 @@ className: string

// Strings and Functions can be skipped over
Composers[K] extends string | Util.Function
string extends Composers[K]
? Composers[K]
: Composers[K] extends string | Util.Function
? Composers[K]
: RemoveIndex<CSS> & {

@@ -151,0 +153,0 @@ /** The **variants** property lets you set a subclass of styles based on a key-value pair.

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc