@pandacss/types 0.0.0-dev-20230505184831 → 0.0.0-dev-20230505185444
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/pattern.d.ts +4 -4
- package/package.json +2 -2
package/dist/pattern.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CssProperty, SystemStyleObject } from './system-types'
|
|
2
2
|
import type { TokenCategory } from './tokens'
|
|
3
3
|
|
|
4
4
|
type Primitive = string | number | boolean | null | undefined
|
|
5
5
|
type LiteralUnion<T, K extends Primitive = string> = T | (K & Record<never, never>)
|
|
6
6
|
|
|
7
7
|
export type PatternProperty =
|
|
8
|
-
| { type: 'property'; value:
|
|
8
|
+
| { type: 'property'; value: CssProperty }
|
|
9
9
|
| { type: 'enum'; value: string[] }
|
|
10
|
-
| { type: 'token'; value: TokenCategory; property?:
|
|
10
|
+
| { type: 'token'; value: TokenCategory; property?: CssProperty }
|
|
11
11
|
| { type: 'string' | 'boolean' | 'number' }
|
|
12
12
|
|
|
13
13
|
export type PatternHelpers = {
|
|
@@ -48,7 +48,7 @@ export type PatternConfig<T> = {
|
|
|
48
48
|
* @experimental
|
|
49
49
|
* Disallow certain css properties for this pattern
|
|
50
50
|
*/
|
|
51
|
-
blocklist?: LiteralUnion<
|
|
51
|
+
blocklist?: LiteralUnion<CssProperty>[]
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
export type AnyPatternConfig = PatternConfig<PatternProperty>
|
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-20230505185444",
|
|
4
4
|
"description": "The types for css panda",
|
|
5
5
|
"main": "dist/index.d.ts",
|
|
6
6
|
"author": "Segun Adebayo <joseshegs@gmail.com>",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"csstype": "3.1.2"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@pandacss/extractor": "0.0.0-dev-
|
|
19
|
+
"@pandacss/extractor": "0.0.0-dev-20230505185444"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"build": "tsx scripts/build.ts",
|