@pandacss/types 0.5.1 → 0.7.0
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 +1 -1
- package/dist/recipe.d.ts +1 -3
- package/package.json +3 -3
package/dist/pattern.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export type PatternHelpers = {
|
|
|
14
14
|
map: (value: any, fn: (value: string) => string | undefined) => any
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
type PatternProperties = Record<string, PatternProperty>
|
|
17
|
+
export type PatternProperties = Record<string, PatternProperty>
|
|
18
18
|
|
|
19
19
|
type Props<T> = Record<LiteralUnion<keyof T>, any>
|
|
20
20
|
|
package/dist/recipe.d.ts
CHANGED
|
@@ -26,9 +26,7 @@ export type RecipeRuntimeFn<T extends RecipeVariantRecord> = RecipeVariantFn<T>
|
|
|
26
26
|
variantMap: RecipeVariantMap<T>
|
|
27
27
|
resolve: (props: RecipeSelection<T>) => SystemStyleObject
|
|
28
28
|
config: RecipeConfig<T>
|
|
29
|
-
splitVariantProps<Props extends RecipeSelection<T>>(
|
|
30
|
-
props: Props,
|
|
31
|
-
): [RecipeSelection<T>, Pretty<Omit<Props, keyof RecipeVariantRecord>>]
|
|
29
|
+
splitVariantProps<Props extends RecipeSelection<T>>(props: Props): [RecipeSelection<T>, Pretty<Omit<Props, keyof T>>]
|
|
32
30
|
}
|
|
33
31
|
|
|
34
32
|
export type RecipeCompoundSelection<T extends RecipeVariantRecord> = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "The types for css panda",
|
|
5
5
|
"main": "dist/index.d.ts",
|
|
6
6
|
"author": "Segun Adebayo <joseshegs@gmail.com>",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"csstype": "3.1.2",
|
|
17
17
|
"hookable": "5.5.3",
|
|
18
18
|
"pkg-types": "1.0.3",
|
|
19
|
-
"@pandacss/extractor": "0.
|
|
20
|
-
"@pandacss/token-dictionary": "0.
|
|
19
|
+
"@pandacss/extractor": "0.7.0",
|
|
20
|
+
"@pandacss/token-dictionary": "0.7.0"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "tsx scripts/build.ts",
|