New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@css-panda/types

Package Overview
Dependencies
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@css-panda/types - npm Package Compare versions

Comparing version 0.0.0-dev-20220913042815 to 0.0.0-dev-20220913053359

2

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

@@ -5,0 +5,0 @@ "main": "src/index.d.ts",

@@ -15,3 +15,5 @@ import type { Properties } from './panda-csstype'

export type PropertyConfig<T extends Record<string, any>> = {
export type PropertyValues = string | string[] | Record<string, string> | ValuesFn
export type PropertyConfig = {
/**

@@ -28,3 +30,3 @@ * The classname this property will generate.

*/
values?: keyof T | string[] | Record<string, string> | ValuesFn
values?: string | string[] | { type: string } | Record<string, string> | ValuesFn
/**

@@ -35,6 +37,2 @@ * The css property this utility maps to.

/**
* Custom TS type for this property.
*/
valueType?: string
/**
* [Experimental] The conditions this property can be used in.

@@ -46,3 +44,3 @@ * Useful for initial class generation.

export type UtilityConfig<T extends Record<string, any> = Record<string, any>> = {
export type UtilityConfig = {
/**

@@ -52,3 +50,3 @@ * The css properties matched by this utility.

properties: {
[property in keyof Properties | (string & Record<never, never>)]?: string | PropertyConfig<T>
[property in keyof Properties | (string & {})]?: string | PropertyConfig
}

@@ -55,0 +53,0 @@

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