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
1148
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.36.1 to 0.37.0

25

dist/config.d.ts

@@ -87,2 +87,3 @@ import type { TSConfig } from 'pkg-types'

export type CssPropertySyntax =
| '*'
| '<length>'

@@ -112,3 +113,3 @@ | '<number>'

*/
initialValue: string
initialValue?: string
/**

@@ -178,15 +179,17 @@ * Describes the allowable syntax for the property.

export interface ImportMapInput {
css: string
recipes: string
patterns: string
jsx?: string
css?: string | string[]
recipes?: string | string[]
patterns?: string | string[]
jsx?: string | string[]
}
export interface ImportMapOutput<T = string[]> {
css: T
recipe: T
pattern: T
jsx: T
export interface ImportMapOutput<T = string> {
css: T[]
recipe: T[]
pattern: T[]
jsx: T[]
}
type ImportMapOption = string | ImportMapInput
interface FileSystemOptions {

@@ -215,3 +218,3 @@ /**

*/
importMap?: string | ImportMapInput
importMap?: ImportMapOption | Array<ImportMapOption>
/**

@@ -218,0 +221,0 @@ * List of files glob to watch for changes.

@@ -5,3 +5,3 @@ import type { Artifact, ArtifactId, DiffConfigResult } from './artifact'

import type { LoggerInterface } from './logger'
import type { ParserResultInterface } from './parser'
import type { ParserResultInterface, ResultItem } from './parser'

@@ -37,2 +37,6 @@ export interface PandaHooks {

/**
* @private USE IT ONLY IF YOU KNOW WHAT YOU ARE DOING
*/
'parser:preprocess': JsxFactoryResultTransform['transform']
/**
* Called after the file styles are extracted and processed into the resulting ParserResult object.

@@ -154,2 +158,6 @@ * You can also use this hook to add your own extraction results from your custom parser to the ParserResult object.

export interface JsxFactoryResultTransform {
transform: (result: { type: 'jsx-factory'; data: ResultItem['data'] }) => ResultItem['data']
}
export interface ParserResultAfterHookArgs {

@@ -156,0 +164,0 @@ filePath: string

@@ -88,2 +88,3 @@ import type { LiteralUnion } from './shared'

| 'Background'
| 'Background Gradient'
| 'Shadow'

@@ -90,0 +91,0 @@ | 'Table'

{
"name": "@pandacss/types",
"version": "0.36.1",
"version": "0.37.0",
"description": "The types for css panda",

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

"ts-morph": "21.0.1",
"@pandacss/extractor": "0.36.1"
"@pandacss/extractor": "0.37.0"
},

@@ -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