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-20240327215140 to 0.0.0-dev-20240328120054

22

dist/config.d.ts

@@ -176,15 +176,17 @@ import type { TSConfig } from 'pkg-types'

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 {

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

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

@@ -216,0 +218,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

{
"name": "@pandacss/types",
"version": "0.0.0-dev-20240327215140",
"version": "0.0.0-dev-20240328120054",
"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-20240327215140"
"@pandacss/extractor": "0.0.0-dev-20240328120054"
},

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