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

@stitches/react

Package Overview
Dependencies
Maintainers
3
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stitches/react - npm Package Compare versions

Comparing version 1.0.0-canary.8 to 1.0.0-canary.9

2

package.json
{
"name": "@stitches/react",
"version": "1.0.0-canary.8",
"version": "1.0.0-canary.9",
"description": "The modern CSS-in-JS library",

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

@@ -25,5 +25,5 @@ import type * as Default from './default'

: As extends React.ComponentType<infer P>
? Util.Assign<P, TransformedProps & { as: As }>
? Util.Assign<P, TransformedProps & { as: As, css?: CSS }>
: As extends keyof JSX.IntrinsicElements
? Util.Assign<JSX.IntrinsicElements[As], TransformedProps & { as: As }>
? Util.Assign<JSX.IntrinsicElements[As], TransformedProps & { as: As, css?: CSS }>
: never

@@ -41,6 +41,2 @@ )

type InferLate<CSS extends {} = {}, Props extends {} = {}> = {
[K in keyof Props]: K extends 'css' ? CSS : unknown
}
/** Returns a new CSS Component. */

@@ -47,0 +43,0 @@ export interface CssComponent<

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