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
1133
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-20240706171714 to 0.0.0-dev-20240719174947

2

dist/analyze-report.d.ts

@@ -136,3 +136,3 @@ import type { Config } from './config'

details: ReportDetails
config: Omit<Config, 'globalCss'>
config: Omit<Config, 'globalCss' | 'globalFontface'>

@@ -139,0 +139,0 @@ propByIndex: Map<PropertyReportItem['index'], PropertyReportItem>

@@ -7,3 +7,8 @@ import type { TSConfig } from 'pkg-types'

import type { StaticCssOptions } from './static-css'
import type { ExtendableGlobalStyleObject, GlobalStyleObject } from './system-types'
import type {
ExtendableGlobalFontface,
ExtendableGlobalStyleObject,
GlobalFontface,
GlobalStyleObject,
} from './system-types'
import type { ExtendableTheme, Theme } from './theme'

@@ -57,2 +62,6 @@ import type { ExtendableUtilityConfig, UtilityConfig } from './utility'

/**
* The global fontface for your project.
*/
globalFontface?: GlobalFontface
/**
* Used to generate css utility classes for your project.

@@ -153,2 +162,6 @@ */

/**
* The global fontface for your project.
*/
globalFontface?: ExtendableGlobalFontface
/**
* Used to generate css utility classes for your project.

@@ -155,0 +168,0 @@ */

import type { ConditionalValue, Nested } from './conditions'
import type { PropertiesFallback } from './csstype'
import type { AtRule, PropertiesFallback } from './csstype'
import type { SystemProperties, CssVarProperties } from './style-props'

@@ -58,2 +58,6 @@

/* -----------------------------------------------------------------------------
* Composition (text styles, layer styles)
* -----------------------------------------------------------------------------*/
type FilterStyleObject<P extends string> = {

@@ -66,2 +70,19 @@ [K in P]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown

/* -----------------------------------------------------------------------------
* Font face
* -----------------------------------------------------------------------------*/
export type GlobalFontfaceRule = Omit<AtRule.FontFaceFallback, 'src'> & Required<Pick<AtRule.FontFaceFallback, 'src'>>
export type FontfaceRule = Omit<GlobalFontfaceRule, 'fontFamily'>
export interface GlobalFontface {
[name: string]: FontfaceRule | FontfaceRule[]
}
export interface ExtendableGlobalFontface {
[name: string]: FontfaceRule | FontfaceRule[] | GlobalFontface | undefined
extend?: GlobalFontface | undefined
}
/* -----------------------------------------------------------------------------
* Jsx style props

@@ -68,0 +89,0 @@ * -----------------------------------------------------------------------------*/

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

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