@pandacss/types 0.0.0-dev-20230106183338 → 0.0.0-dev-20230106195931
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/system-types.d.ts +1 -23
- package/package.json +1 -1
package/dist/system-types.d.ts
CHANGED
|
@@ -98,28 +98,6 @@ export type Conditional<C extends Cond, V> =
|
|
|
98
98
|
[K in keyof C]?: Conditional<C, V>
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
/* -----------------------------------------------------------------------------
|
|
102
|
-
* Groupings and Conditions
|
|
103
|
-
* -----------------------------------------------------------------------------*/
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Group properties for better maintainability
|
|
107
|
-
*/
|
|
108
|
-
type Grouped<T> = T & {
|
|
109
|
-
selectors?: {
|
|
110
|
-
[key in Selectors]?: T
|
|
111
|
-
}
|
|
112
|
-
'@media'?: {
|
|
113
|
-
[query: string]: T
|
|
114
|
-
}
|
|
115
|
-
'@container'?: {
|
|
116
|
-
[query: string]: T
|
|
117
|
-
}
|
|
118
|
-
'@supports'?: {
|
|
119
|
-
[query: string]: T
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
101
|
type Nested<C extends Cond, P> = P & {
|
|
124
102
|
[K in Selectors | keyof C]?: Nested<C, P>
|
|
125
103
|
} & {
|
|
@@ -180,7 +158,7 @@ export type StyleObject<
|
|
|
180
158
|
PropTypes extends Dict = {},
|
|
181
159
|
StrictMode extends boolean = false,
|
|
182
160
|
Overrides extends Dict = {},
|
|
183
|
-
> =
|
|
161
|
+
> = Nested<Conditions, Css<Conditions, PropTypes, StrictMode, Overrides>>
|
|
184
162
|
|
|
185
163
|
export type JsxStyleProps<
|
|
186
164
|
Conditions extends Cond = {},
|