@pandacss/studio 0.46.0 → 0.47.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/studio.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/tsup@8.0.2_@swc+core@1.7.6_@swc+helpers@0.4.36__postcss@8.4.
|
|
1
|
+
// ../../node_modules/.pnpm/tsup@8.0.2_@swc+core@1.7.6_@swc+helpers@0.4.36__postcss@8.4.47_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js
|
|
2
2
|
import { fileURLToPath } from "url";
|
|
3
3
|
import path from "path";
|
|
4
4
|
var getFilename = () => fileURLToPath(import.meta.url);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/studio",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -44,16 +44,16 @@
|
|
|
44
44
|
"license": "MIT",
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@astrojs/react": "3.0.10",
|
|
47
|
-
"astro": "4.
|
|
47
|
+
"astro": "4.16.6",
|
|
48
48
|
"react": "18.2.0",
|
|
49
49
|
"react-dom": "18.2.0",
|
|
50
|
-
"vite": "5.4.
|
|
51
|
-
"@pandacss/config": "0.
|
|
52
|
-
"@pandacss/logger": "0.
|
|
53
|
-
"@pandacss/shared": "0.
|
|
54
|
-
"@pandacss/token-dictionary": "0.
|
|
55
|
-
"@pandacss/types": "0.
|
|
56
|
-
"@pandacss/astro-plugin-studio": "0.
|
|
50
|
+
"vite": "5.4.9",
|
|
51
|
+
"@pandacss/config": "0.47.0",
|
|
52
|
+
"@pandacss/logger": "0.47.0",
|
|
53
|
+
"@pandacss/shared": "0.47.0",
|
|
54
|
+
"@pandacss/token-dictionary": "0.47.0",
|
|
55
|
+
"@pandacss/types": "0.47.0",
|
|
56
|
+
"@pandacss/astro-plugin-studio": "0.47.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/react": "18.2.55",
|
package/styled-system/styles.css
CHANGED
|
@@ -60,4 +60,4 @@ export type Tokens = {
|
|
|
60
60
|
breakpoints: BreakpointToken
|
|
61
61
|
} & { [token: string]: never }
|
|
62
62
|
|
|
63
|
-
export type TokenCategory = "aspectRatios" | "zIndex" | "opacity" | "colors" | "fonts" | "fontSizes" | "fontWeights" | "lineHeights" | "letterSpacings" | "sizes" | "shadows" | "spacing" | "radii" | "borders" | "borderWidths" | "durations" | "easings" | "animations" | "blurs" | "gradients" | "breakpoints" | "assets"
|
|
63
|
+
export type TokenCategory = "aspectRatios" | "zIndex" | "opacity" | "colors" | "fonts" | "fontSizes" | "fontWeights" | "lineHeights" | "letterSpacings" | "sizes" | "cursor" | "shadows" | "spacing" | "radii" | "borders" | "borderWidths" | "durations" | "easings" | "animations" | "blurs" | "gradients" | "breakpoints" | "assets"
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
interface
|
|
2
|
+
interface ConditionOptions {
|
|
3
3
|
/**
|
|
4
|
-
* The
|
|
4
|
+
* The conditions to generate for the rule.
|
|
5
5
|
* @example ['hover', 'focus']
|
|
6
6
|
*/
|
|
7
7
|
conditions?: string[]
|
|
8
|
+
/**
|
|
9
|
+
* Whether to generate responsive styles for the rule.
|
|
10
|
+
*/
|
|
8
11
|
responsive?: boolean
|
|
9
12
|
}
|
|
10
13
|
|
|
11
|
-
export interface CssRule extends
|
|
14
|
+
export interface CssRule extends ConditionOptions {
|
|
12
15
|
/**
|
|
13
16
|
* The css properties to generate utilities for.
|
|
14
17
|
* @example ['margin', 'padding']
|
|
@@ -22,7 +25,9 @@ interface RecipeRuleVariants {
|
|
|
22
25
|
[variant: string]: boolean | string[]
|
|
23
26
|
}
|
|
24
27
|
|
|
25
|
-
export type
|
|
28
|
+
export type RecipeRuleObject = RecipeRuleVariants & ConditionOptions
|
|
29
|
+
export type RecipeRule = '*' | RecipeRuleObject
|
|
30
|
+
|
|
26
31
|
export type PatternRule = '*' | CssRule
|
|
27
32
|
|
|
28
33
|
export interface StaticCssOptions {
|