@pandacss/types 0.0.0-dev-20240315003802 → 0.0.0-dev-20240315115723
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/conditions.d.ts +2 -4
- package/package.json +3 -2
package/dist/conditions.d.ts
CHANGED
|
@@ -40,15 +40,13 @@ export interface ExtendableConditions {
|
|
|
40
40
|
|
|
41
41
|
export type Condition = string
|
|
42
42
|
|
|
43
|
-
export type
|
|
43
|
+
export type ConditionalValue<V> =
|
|
44
44
|
| V
|
|
45
45
|
| Array<V | null>
|
|
46
46
|
| {
|
|
47
|
-
[K in keyof Conditions]?:
|
|
47
|
+
[K in keyof Conditions]?: ConditionalValue<V>
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export type ConditionalValue<T> = Conditional<T>
|
|
51
|
-
|
|
52
50
|
export type Nested<P> =
|
|
53
51
|
| (P & {
|
|
54
52
|
[K in Selectors]?: Nested<P>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/types",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20240315115723",
|
|
4
4
|
"description": "The types for css panda",
|
|
5
5
|
"main": "dist/index.d.ts",
|
|
6
6
|
"author": "Segun Adebayo <joseshegs@gmail.com>",
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
"microdiff": "1.3.2",
|
|
31
31
|
"ncp": "2.0.0",
|
|
32
32
|
"pkg-types": "1.0.3",
|
|
33
|
-
"
|
|
33
|
+
"ts-morph": "21.0.1",
|
|
34
|
+
"@pandacss/extractor": "0.0.0-dev-20240315115723"
|
|
34
35
|
},
|
|
35
36
|
"scripts": {
|
|
36
37
|
"dev": "tsx scripts/watch.ts",
|