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-20240315145057 to 0.0.0-dev-20240315210222

1

dist/artifact.d.ts

@@ -28,2 +28,3 @@ import { type Difference } from 'microdiff'

| 'css-index'
| 'themes'
| 'package.json'

@@ -30,0 +31,0 @@ | 'types-jsx'

@@ -72,5 +72,5 @@ import type { TSConfig } from 'pkg-types'

/**
* The css variables for your project.
* Multiple themes for your project.
*/
globalVars: GlobalVarsDefinition
themes?: ThemeVariantsMap
}

@@ -125,6 +125,25 @@

interface ExtendableGlobalVars {
[key: string]: string | CssPropertyDefinition | ExtendableGlobalVars | undefined
extend?: ExtendableGlobalVars
[key: string]: string | CssPropertyDefinition | GlobalVarsDefinition | undefined
extend?: GlobalVarsDefinition
}
export interface ThemeVariant extends Pick<Theme, 'tokens' | 'semanticTokens'> {
/**
* Selector attribute to use for the generated theme, can be any `data-*` attribute
* @default 'data-panda-theme'
* ```
*
*/
attribute?: `data-${string}`
}
export interface ThemeVariantsMap {
[name: string]: ThemeVariant
}
interface ExtendableThemeVariantsMap {
[name: string]: ThemeVariantsMap | ThemeVariant | undefined
extend?: ThemeVariantsMap | undefined
}
export interface ExtendableOptions {

@@ -160,2 +179,6 @@ /**

globalVars?: ExtendableGlobalVars
/**
* The theme variants for your project.
*/
themes?: ExtendableThemeVariantsMap
}

@@ -162,0 +185,0 @@

@@ -46,2 +46,6 @@ interface WithConditions {

}
/**
* The CSS themes to generate
*/
themes?: string[]
}

4

package.json
{
"name": "@pandacss/types",
"version": "0.0.0-dev-20240315145057",
"version": "0.0.0-dev-20240315210222",
"description": "The types for css panda",

@@ -34,3 +34,3 @@ "main": "dist/index.d.ts",

"ts-morph": "21.0.1",
"@pandacss/extractor": "0.0.0-dev-20240315145057"
"@pandacss/extractor": "0.0.0-dev-20240315210222"
},

@@ -37,0 +37,0 @@ "scripts": {

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