@pandacss/studio 0.0.0-dev-20240501183327 → 0.0.0-dev-20240501191510

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/studio",
3
- "version": "0.0.0-dev-20240501183327",
3
+ "version": "0.0.0-dev-20240501191510",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -48,12 +48,12 @@
48
48
  "react": "18.2.0",
49
49
  "react-dom": "18.2.0",
50
50
  "vite": "5.1.7",
51
- "@pandacss/config": "0.0.0-dev-20240501183327",
52
- "@pandacss/logger": "0.0.0-dev-20240501183327",
53
- "@pandacss/shared": "0.0.0-dev-20240501183327",
54
- "@pandacss/token-dictionary": "0.0.0-dev-20240501183327",
55
- "@pandacss/types": "0.0.0-dev-20240501183327",
56
- "@pandacss/astro-plugin-studio": "0.0.0-dev-20240501183327"
51
+ "@pandacss/config": "0.0.0-dev-20240501191510",
52
+ "@pandacss/logger": "0.0.0-dev-20240501191510",
53
+ "@pandacss/shared": "0.0.0-dev-20240501191510",
54
+ "@pandacss/token-dictionary": "0.0.0-dev-20240501191510",
55
+ "@pandacss/types": "0.0.0-dev-20240501191510",
56
+ "@pandacss/astro-plugin-studio": "0.0.0-dev-20240501191510"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/react": "18.2.55",
@@ -39,8 +39,6 @@ export type AssetToken = "check"
39
39
 
40
40
  export type BreakpointToken = "sm" | "md" | "lg" | "xl" | "2xl"
41
41
 
42
- export type AnimationName = "spin" | "ping" | "pulse" | "bounce"
43
-
44
42
  export type Tokens = {
45
43
  aspectRatios: AspectRatioToken
46
44
  borders: BorderToken
@@ -60,7 +58,6 @@ export type Tokens = {
60
58
  colors: ColorToken
61
59
  assets: AssetToken
62
60
  breakpoints: BreakpointToken
63
- animationName: AnimationName
64
61
  } & { [token: string]: never }
65
62
 
66
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"
@@ -15,34 +15,61 @@ interface Recursive<T> {
15
15
  * -----------------------------------------------------------------------------*/
16
16
 
17
17
  type TextStyleProperty =
18
+ | 'font'
19
+ | 'fontFamily'
20
+ | 'fontFeatureSettings'
21
+ | 'fontKerning'
22
+ | 'fontLanguageOverride'
23
+ | 'fontOpticalSizing'
24
+ | 'fontPalette'
18
25
  | 'fontSize'
19
26
  | 'fontSizeAdjust'
20
- | 'fontVariationSettings'
21
- | 'fontVariantPosition'
22
- | 'fontVariantCaps'
23
- | 'fontVariantNumeric'
27
+ | 'fontStretch'
28
+ | 'fontStyle'
29
+ | 'fontSynthesis'
30
+ | 'fontVariant'
24
31
  | 'fontVariantAlternates'
32
+ | 'fontVariantCaps'
25
33
  | 'fontVariantLigatures'
26
- | 'fontFamily'
34
+ | 'fontVariantNumeric'
35
+ | 'fontVariantPosition'
36
+ | 'fontVariationSettings'
27
37
  | 'fontWeight'
28
- | 'fontSynthesis'
29
- | 'fontStyle'
30
- | 'fontVariant'
31
- | 'lineHeight'
38
+ | 'hypens'
39
+ | 'hyphenateCharacter'
40
+ | 'hyphenateLimitChars'
32
41
  | 'letterSpacing'
42
+ | 'lineBreak'
43
+ | 'lineHeight'
44
+ | 'quotes'
45
+ | 'overflowWrap'
46
+ | 'textCombineUpright'
33
47
  | 'textDecoration'
34
- | 'textTransform'
35
- | 'textIndent'
36
48
  | 'textDecorationColor'
37
49
  | 'textDecorationLine'
50
+ | 'textDecorationSkipInk'
38
51
  | 'textDecorationStyle'
52
+ | 'textDecorationThickness'
53
+ | 'textEmphasis'
39
54
  | 'textEmphasisColor'
40
55
  | 'textEmphasisPosition'
41
56
  | 'textEmphasisStyle'
42
- | 'hyphenateCharacter'
57
+ | 'textIndent'
58
+ | 'textJustify'
43
59
  | 'textOrientation'
44
60
  | 'textOverflow'
45
61
  | 'textRendering'
62
+ | 'textShadow'
63
+ | 'textTransform'
64
+ | 'textUnderlineOffset'
65
+ | 'textUnderlinePosition'
66
+ | 'textWrap'
67
+ | 'textWrapMode'
68
+ | 'textWrapStyle'
69
+ | 'verticalAlign'
70
+ | 'whiteSpace'
71
+ | 'wordBreak'
72
+ | 'wordSpacing'
46
73
 
47
74
  export type TextStyle = CompositionStyleObject<TextStyleProperty>
48
75
 
@@ -148,6 +148,7 @@ export interface UtilityValues {
148
148
  transitionDuration: Tokens["durations"];
149
149
  transition: "all" | "common" | "background" | "colors" | "opacity" | "shadow" | "transform";
150
150
  animation: Tokens["animations"];
151
+ animationName: "spin" | "ping" | "pulse" | "bounce";
151
152
  animationTimingFunction: Tokens["easings"];
152
153
  animationDuration: Tokens["durations"];
153
154
  animationDelay: Tokens["durations"];
@@ -429,7 +429,7 @@ animationIterationCount?: ConditionalValue<CssProperties["animationIterationCoun
429
429
  *
430
430
  * @see https://developer.mozilla.org/docs/Web/CSS/animation-name
431
431
  */
432
- animationName?: ConditionalValue<CssProperties["animationName"] | AnyString>
432
+ animationName?: ConditionalValue<UtilityValues["animationName"] | CssVars | CssProperties["animationName"] | AnyString>
433
433
  /**
434
434
  * The **`animation-play-state`** CSS property sets whether an animation is running or paused.
435
435
  *