@pandacss/types 0.46.0 → 0.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/static-css.d.ts +9 -4
- package/package.json +2 -2
package/dist/static-css.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
interface
|
|
1
|
+
interface ConditionOptions {
|
|
2
2
|
/**
|
|
3
|
-
* The
|
|
3
|
+
* The conditions to generate for the rule.
|
|
4
4
|
* @example ['hover', 'focus']
|
|
5
5
|
*/
|
|
6
6
|
conditions?: string[]
|
|
7
|
+
/**
|
|
8
|
+
* Whether to generate responsive styles for the rule.
|
|
9
|
+
*/
|
|
7
10
|
responsive?: boolean
|
|
8
11
|
}
|
|
9
12
|
|
|
10
|
-
export interface CssRule extends
|
|
13
|
+
export interface CssRule extends ConditionOptions {
|
|
11
14
|
/**
|
|
12
15
|
* The css properties to generate utilities for.
|
|
13
16
|
* @example ['margin', 'padding']
|
|
@@ -21,7 +24,9 @@ interface RecipeRuleVariants {
|
|
|
21
24
|
[variant: string]: boolean | string[]
|
|
22
25
|
}
|
|
23
26
|
|
|
24
|
-
export type
|
|
27
|
+
export type RecipeRuleObject = RecipeRuleVariants & ConditionOptions
|
|
28
|
+
export type RecipeRule = '*' | RecipeRuleObject
|
|
29
|
+
|
|
25
30
|
export type PatternRule = '*' | CssRule
|
|
26
31
|
|
|
27
32
|
export interface StaticCssOptions {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/types",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.1",
|
|
4
4
|
"description": "The types for css panda",
|
|
5
5
|
"main": "dist/index.d.ts",
|
|
6
6
|
"author": "Segun Adebayo <joseshegs@gmail.com>",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"ncp": "2.0.0",
|
|
32
32
|
"pkg-types": "1.0.3",
|
|
33
33
|
"ts-morph": "21.0.1",
|
|
34
|
-
"@pandacss/extractor": "0.46.
|
|
34
|
+
"@pandacss/extractor": "0.46.1"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"dev": "tsx scripts/watch.ts",
|