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
1155
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-20230122145009 to 0.0.0-dev-20230124104736

5

dist/composition.d.ts

@@ -1,4 +0,7 @@

import type { Recursive } from './shared'
import type { CompositionStyleObject } from './system-types'
type Recursive<T> = {
[key: string]: Recursive<T> | T
}
export type Token<Value = any> = {

@@ -5,0 +8,0 @@ value: Value

4

dist/config.d.ts

@@ -22,2 +22,6 @@ import type { LayerStyles, TextStyles } from './composition'

/**
* Whether to emit the artifacts to `node_modules` as a package.
*/
emitPackage?: boolean
/**
* Whether to update the .gitignore file.

@@ -24,0 +28,0 @@ */

@@ -1,2 +0,2 @@

import type { Conditional, ConditionalValue, Conditions, Nested } from './conditions'
import type { ConditionalValue, Conditions, Nested } from './conditions'
import type { PropertiesFallback } from './csstype'

@@ -59,3 +59,3 @@ import type { SystemProperties } from './style-props'

export type CompositionStyleObject<Property extends string> = Nested<{
[K in Property]?: Conditional<K extends NativeCssProperty ? NativeCssProperties[K] : unknown>
[K in Property]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown
}>

@@ -62,0 +62,0 @@

@@ -82,2 +82,3 @@ import type { Recursive } from './shared'

gradients: string | Gradient
screens: string
}

@@ -84,0 +85,0 @@

import type { LiteralUnion } from './shared'
import type { NativeCssProperty, NestedCssProperties } from './system-types'
import type { TokenCategory } from './tokens'

@@ -8,3 +9,8 @@ type Getter = (path: string) => any

export type PropertyValues = string | string[] | { type: string } | Record<string, string> | ThemeFn
export type PropertyValues =
| LiteralUnion<TokenCategory>
| string[]
| { type: string }
| Record<string, string>
| ThemeFn

@@ -11,0 +17,0 @@ export type PropertyTransform = (value: any, token: Getter) => NestedCssProperties | undefined

{
"name": "@pandacss/types",
"version": "0.0.0-dev-20230122145009",
"version": "0.0.0-dev-20230124104736",
"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