@pandacss/types 0.0.0-dev-20221123192035 → 0.0.0-dev-20221124070053

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20221123192035",
3
+ "version": "0.0.0-dev-20221124070053",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -2,6 +2,8 @@ import type * as CSS from './csstype'
2
2
 
3
3
  type Loose<T = string> = T & { __type?: never }
4
4
 
5
+ type NeverType = { __type?: 'never' }
6
+
5
7
  // list of aria states selectors
6
8
  type AriaAttributes =
7
9
  | '[aria-disabled]'
@@ -114,7 +116,9 @@ type NestedConditional<C extends TCondition, V> = {
114
116
  [K in keyof V]?: Conditional<C, V[K]>
115
117
  }
116
118
 
117
- type NeverType = { __type?: 'never' }
119
+ /* -----------------------------------------------------------------------------
120
+ * Mixed css properties (native + conditional + custom properties)
121
+ * -----------------------------------------------------------------------------*/
118
122
 
119
123
  type UnionOf<Key extends string, Native extends Record<Key, any>, Custom> = Custom extends NeverType
120
124
  ? Native[Key]
@@ -145,6 +149,10 @@ type MixedCssProperties<
145
149
  [Key in keyof C]?: MixedCssProperties<Omit<C, Key>, P, S>
146
150
  }
147
151
 
152
+ /* -----------------------------------------------------------------------------
153
+ * Exported types
154
+ * -----------------------------------------------------------------------------*/
155
+
148
156
  export type NestedCssProperties = Nested<CssProperties>
149
157
 
150
158
  export type StyleObject<