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

@pandacss/types

Package Overview
Dependencies
Maintainers
1
Versions
1151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pandacss/types - npm Package Compare versions

Comparing version 0.0.0-dev-20230103101637 to 0.0.0-dev-20230104123837

26

dist/system-types.d.ts

@@ -126,5 +126,2 @@ import type * as CSS from './csstype'

/**
* Support arbitrary nesting of selectors
*/
type Nested<C extends Cond, P> = P & {

@@ -136,2 +133,6 @@ [K in Selectors | keyof C]?: Nested<C, P>

type MinimalNested<C extends Cond, P> = P & {
[K in keyof C]?: Nested<C, P>
}
/* -----------------------------------------------------------------------------

@@ -167,6 +168,9 @@ * Mixed css properties (native + conditional + custom properties)

type MinimalCss<Conditions extends Cond, PropTypes extends Dict, StrictMode extends boolean, Overrides extends Dict> =
| Partial<Overrides> &
NativeProperties<Conditions, PropTypes, Overrides> &
CustomProperties<Conditions, PropTypes, StrictMode, Overrides>
type Css<Conditions extends Cond, PropTypes extends Dict, StrictMode extends boolean, Overrides extends Dict> =
| (Partial<Overrides> &
NativeProperties<Conditions, PropTypes, Overrides> &
CustomProperties<Conditions, PropTypes, StrictMode, Overrides>)
| MinimalCss<Conditions, PropTypes, StrictMode, Overrides>
| GenericProperties<Conditions>

@@ -187,7 +191,2 @@

type WithJsxStyleProps<P> = P & {
css?: P
sx?: P
}
export type JsxStyleProps<

@@ -198,3 +197,6 @@ Conditions extends Cond = {},

Overrides extends Dict = {},
> = WithJsxStyleProps<StyleObject<Conditions, PropTypes, StrictMode, Overrides>>
> = MinimalNested<Conditions, MinimalCss<Conditions, PropTypes, StrictMode, Overrides>> & {
css?: StyleObject<Conditions, PropTypes, StrictMode, Overrides>
sx?: StyleObject<Conditions, PropTypes, StrictMode, Overrides>
}

@@ -201,0 +203,0 @@ export type GlobalStyleObject<

{
"name": "@pandacss/types",
"version": "0.0.0-dev-20230103101637",
"version": "0.0.0-dev-20230104123837",
"description": "The types for css panda",

@@ -5,0 +5,0 @@ "main": "dist/index.d.ts",

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