@pandacss/types
Advanced tools
Comparing version 0.0.0-dev-20221121175259 to 0.0.0-dev-20221122153914
{ | ||
"name": "@pandacss/types", | ||
"version": "0.0.0-dev-20221121175259", | ||
"version": "0.0.0-dev-20221122153914", | ||
"description": "The types for css panda", | ||
@@ -5,0 +5,0 @@ "main": "src/index.d.ts", |
@@ -66,3 +66,3 @@ import type { PropertiesFallback, SimplePseudos } from './csstype' | ||
type NestedCss<T> = T & { | ||
export type NestedCss<T> = T & { | ||
[key in Pseudo | Loose]?: NestedCss<T> | Loose<string> | Loose<number> | boolean | ||
@@ -84,10 +84,11 @@ } | ||
export type PandaCssObject< | ||
Conditions extends TCondition, | ||
Conditions extends TCondition = TCondition, | ||
UserProperties extends Record<string, any> = NeverType, | ||
Strict extends boolean = false, | ||
> = NestedCss<ConditionCssProperties<Conditions, UserProperties, Strict>> & | ||
GroupedCss<ConditionCssProperties<Conditions, UserProperties, Strict>> | ||
> = | ||
| NestedCss<ConditionCssProperties<Conditions, UserProperties, Strict>> | ||
| GroupedCss<ConditionCssProperties<Conditions, UserProperties, Strict>> | ||
export type GlobalCss< | ||
Conditions extends TCondition, | ||
Conditions extends TCondition = TCondition, | ||
UserProperties extends Record<string, any> = NeverType, | ||
@@ -94,0 +95,0 @@ Strict extends boolean = false, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
886908
20364