@pandacss/studio 0.31.0 → 0.32.1

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.
@@ -178,79 +178,79 @@ export interface Conditions {
178
178
  "_horizontal": string
179
179
  /** `&[data-orientation=vertical]` */
180
180
  "_vertical": string
181
- /** `@media screen and (min-width: 40em)` */
181
+ /** `@media screen and (min-width: 40rem)` */
182
182
  "sm": string
183
- /** `@media screen and (min-width: 40em) and (max-width: 47.9975em)` */
183
+ /** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */
184
184
  "smOnly": string
185
- /** `@media screen and (max-width: 39.9975em)` */
185
+ /** `@media screen and (max-width: 39.9975rem)` */
186
186
  "smDown": string
187
- /** `@media screen and (min-width: 48em)` */
187
+ /** `@media screen and (min-width: 48rem)` */
188
188
  "md": string
189
- /** `@media screen and (min-width: 48em) and (max-width: 63.9975em)` */
189
+ /** `@media screen and (min-width: 48rem) and (max-width: 63.9975rem)` */
190
190
  "mdOnly": string
191
- /** `@media screen and (max-width: 47.9975em)` */
191
+ /** `@media screen and (max-width: 47.9975rem)` */
192
192
  "mdDown": string
193
- /** `@media screen and (min-width: 64em)` */
193
+ /** `@media screen and (min-width: 64rem)` */
194
194
  "lg": string
195
- /** `@media screen and (min-width: 64em) and (max-width: 79.9975em)` */
195
+ /** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */
196
196
  "lgOnly": string
197
- /** `@media screen and (max-width: 63.9975em)` */
197
+ /** `@media screen and (max-width: 63.9975rem)` */
198
198
  "lgDown": string
199
- /** `@media screen and (min-width: 80em)` */
199
+ /** `@media screen and (min-width: 80rem)` */
200
200
  "xl": string
201
- /** `@media screen and (min-width: 80em) and (max-width: 95.9975em)` */
201
+ /** `@media screen and (min-width: 80rem) and (max-width: 95.9975rem)` */
202
202
  "xlOnly": string
203
- /** `@media screen and (max-width: 79.9975em)` */
203
+ /** `@media screen and (max-width: 79.9975rem)` */
204
204
  "xlDown": string
205
- /** `@media screen and (min-width: 96em)` */
205
+ /** `@media screen and (min-width: 96rem)` */
206
206
  "2xl": string
207
- /** `@media screen and (min-width: 96em)` */
207
+ /** `@media screen and (min-width: 96rem)` */
208
208
  "2xlOnly": string
209
- /** `@media screen and (max-width: 95.9975em)` */
209
+ /** `@media screen and (max-width: 95.9975rem)` */
210
210
  "2xlDown": string
211
- /** `@media screen and (min-width: 40em) and (max-width: 47.9975em)` */
211
+ /** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */
212
212
  "smToMd": string
213
- /** `@media screen and (min-width: 40em) and (max-width: 63.9975em)` */
213
+ /** `@media screen and (min-width: 40rem) and (max-width: 63.9975rem)` */
214
214
  "smToLg": string
215
- /** `@media screen and (min-width: 40em) and (max-width: 79.9975em)` */
215
+ /** `@media screen and (min-width: 40rem) and (max-width: 79.9975rem)` */
216
216
  "smToXl": string
217
- /** `@media screen and (min-width: 40em) and (max-width: 95.9975em)` */
217
+ /** `@media screen and (min-width: 40rem) and (max-width: 95.9975rem)` */
218
218
  "smTo2xl": string
219
- /** `@media screen and (min-width: 48em) and (max-width: 63.9975em)` */
219
+ /** `@media screen and (min-width: 48rem) and (max-width: 63.9975rem)` */
220
220
  "mdToLg": string
221
- /** `@media screen and (min-width: 48em) and (max-width: 79.9975em)` */
221
+ /** `@media screen and (min-width: 48rem) and (max-width: 79.9975rem)` */
222
222
  "mdToXl": string
223
- /** `@media screen and (min-width: 48em) and (max-width: 95.9975em)` */
223
+ /** `@media screen and (min-width: 48rem) and (max-width: 95.9975rem)` */
224
224
  "mdTo2xl": string
225
- /** `@media screen and (min-width: 64em) and (max-width: 79.9975em)` */
225
+ /** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */
226
226
  "lgToXl": string
227
- /** `@media screen and (min-width: 64em) and (max-width: 95.9975em)` */
227
+ /** `@media screen and (min-width: 64rem) and (max-width: 95.9975rem)` */
228
228
  "lgTo2xl": string
229
- /** `@media screen and (min-width: 80em) and (max-width: 95.9975em)` */
229
+ /** `@media screen and (min-width: 80rem) and (max-width: 95.9975rem)` */
230
230
  "xlTo2xl": string
231
- /** `@container (min-width: 20em)` */
231
+ /** `@container (min-width: 20rem)` */
232
232
  "@/xs": string
233
- /** `@container (min-width: 24em)` */
233
+ /** `@container (min-width: 24rem)` */
234
234
  "@/sm": string
235
- /** `@container (min-width: 28em)` */
235
+ /** `@container (min-width: 28rem)` */
236
236
  "@/md": string
237
- /** `@container (min-width: 32em)` */
237
+ /** `@container (min-width: 32rem)` */
238
238
  "@/lg": string
239
- /** `@container (min-width: 36em)` */
239
+ /** `@container (min-width: 36rem)` */
240
240
  "@/xl": string
241
- /** `@container (min-width: 42em)` */
241
+ /** `@container (min-width: 42rem)` */
242
242
  "@/2xl": string
243
- /** `@container (min-width: 48em)` */
243
+ /** `@container (min-width: 48rem)` */
244
244
  "@/3xl": string
245
- /** `@container (min-width: 56em)` */
245
+ /** `@container (min-width: 56rem)` */
246
246
  "@/4xl": string
247
- /** `@container (min-width: 64em)` */
247
+ /** `@container (min-width: 64rem)` */
248
248
  "@/5xl": string
249
- /** `@container (min-width: 72em)` */
249
+ /** `@container (min-width: 72rem)` */
250
250
  "@/6xl": string
251
- /** `@container (min-width: 80em)` */
251
+ /** `@container (min-width: 80rem)` */
252
252
  "@/7xl": string
253
- /** `@container (min-width: 90em)` */
253
+ /** `@container (min-width: 90rem)` */
254
254
  "@/8xl": string
255
255
  /** The base (=no conditions) styles to apply */
256
256
  "base": string
@@ -75,10 +75,6 @@ export interface RecipeDefinition<T extends RecipeVariantRecord = RecipeVariantR
75
75
  * The styles to apply when a combination of variants is selected.
76
76
  */
77
77
  compoundVariants?: Pretty<RecipeCompoundVariant<RecipeCompoundSelection<T>>>[]
78
- /**
79
- * Variants to pre-generate, will be include in the final `config.staticCss`
80
- */
81
- staticCss?: RecipeRule[]
82
78
  }
83
79
 
84
80
  export type RecipeCreatorFn = <T extends RecipeVariantRecord>(config: RecipeDefinition<T>) => RecipeRuntimeFn<T>
@@ -99,6 +95,10 @@ interface RecipeConfigMeta {
99
95
  * @example ['Button', 'Link', /Button$/]
100
96
  */
101
97
  jsx?: Array<string | RegExp>
98
+ /**
99
+ * Variants to pre-generate, will be include in the final `config.staticCss`
100
+ */
101
+ staticCss?: RecipeRule[]
102
102
  }
103
103
 
104
104
  export interface RecipeConfig<T extends RecipeVariantRecord = RecipeVariantRecord>
@@ -153,10 +153,6 @@ export interface SlotRecipeDefinition<
153
153
  * The styles to apply when a combination of variants is selected.
154
154
  */
155
155
  compoundVariants?: Pretty<SlotRecipeCompoundVariant<S, RecipeCompoundSelection<T>>>[]
156
- /**
157
- * Variants to pre-generate, will be include in the final `config.staticCss`
158
- */
159
- staticCss?: RecipeRule[]
160
156
  }
161
157
 
162
158
  export type SlotRecipeCreatorFn = <S extends string, T extends SlotRecipeVariantRecord<S>>(
@@ -51,6 +51,9 @@ export interface SystemProperties {
51
51
  animationIterationCount?: PropertyValue<'animationIterationCount'>
52
52
  animationName?: PropertyValue<'animationName'>
53
53
  animationPlayState?: PropertyValue<'animationPlayState'>
54
+ animationRange?: PropertyValue<'animationRange'>
55
+ animationRangeEnd?: PropertyValue<'animationRangeEnd'>
56
+ animationRangeStart?: PropertyValue<'animationRangeStart'>
54
57
  animationTimingFunction?: PropertyValue<'animationTimingFunction'>
55
58
  animationTimeline?: PropertyValue<'animationTimeline'>
56
59
  appearance?: PropertyValue<'appearance'>
@@ -70,7 +73,6 @@ export interface SystemProperties {
70
73
  backgroundPositionY?: PropertyValue<'backgroundPositionY'>
71
74
  backgroundRepeat?: PropertyValue<'backgroundRepeat'>
72
75
  backgroundSize?: PropertyValue<'backgroundSize'>
73
- blockOverflow?: PropertyValue<'blockOverflow'>
74
76
  blockSize?: PropertyValue<'blockSize'>
75
77
  border?: PropertyValue<'border'>
76
78
  borderBlock?: PropertyValue<'borderBlock'>
@@ -208,6 +210,10 @@ export interface SystemProperties {
208
210
  fontStretch?: PropertyValue<'fontStretch'>
209
211
  fontStyle?: PropertyValue<'fontStyle'>
210
212
  fontSynthesis?: PropertyValue<'fontSynthesis'>
213
+ fontSynthesisPosition?: PropertyValue<'fontSynthesisPosition'>
214
+ fontSynthesisSmallCaps?: PropertyValue<'fontSynthesisSmallCaps'>
215
+ fontSynthesisStyle?: PropertyValue<'fontSynthesisStyle'>
216
+ fontSynthesisWeight?: PropertyValue<'fontSynthesisWeight'>
211
217
  fontVariant?: PropertyValue<'fontVariant'>
212
218
  fontVariantAlternates?: PropertyValue<'fontVariantAlternates'>
213
219
  fontVariantCaps?: PropertyValue<'fontVariantCaps'>
@@ -340,6 +346,7 @@ export interface SystemProperties {
340
346
  overflowWrap?: PropertyValue<'overflowWrap'>
341
347
  overflowX?: PropertyValue<'overflowX'>
342
348
  overflowY?: PropertyValue<'overflowY'>
349
+ overlay?: PropertyValue<'overlay'>
343
350
  overscrollBehavior?: PropertyValue<'overscrollBehavior'>
344
351
  overscrollBehaviorBlock?: PropertyValue<'overscrollBehaviorBlock'>
345
352
  overscrollBehaviorInline?: PropertyValue<'overscrollBehaviorInline'>
@@ -445,6 +452,8 @@ export interface SystemProperties {
445
452
  textTransform?: PropertyValue<'textTransform'>
446
453
  textUnderlineOffset?: PropertyValue<'textUnderlineOffset'>
447
454
  textUnderlinePosition?: PropertyValue<'textUnderlinePosition'>
455
+ textWrap?: PropertyValue<'textWrap'>
456
+ timelineScope?: PropertyValue<'timelineScope'>
448
457
  top?: PropertyValue<'top'>
449
458
  touchAction?: PropertyValue<'touchAction'>
450
459
  transform?: PropertyValue<'transform'>
@@ -452,6 +461,7 @@ export interface SystemProperties {
452
461
  transformOrigin?: PropertyValue<'transformOrigin'>
453
462
  transformStyle?: PropertyValue<'transformStyle'>
454
463
  transition?: PropertyValue<'transition'>
464
+ transitionBehavior?: PropertyValue<'transitionBehavior'>
455
465
  transitionDelay?: PropertyValue<'transitionDelay'>
456
466
  transitionDuration?: PropertyValue<'transitionDuration'>
457
467
  transitionProperty?: PropertyValue<'transitionProperty'>
@@ -460,9 +470,14 @@ export interface SystemProperties {
460
470
  unicodeBidi?: PropertyValue<'unicodeBidi'>
461
471
  userSelect?: PropertyValue<'userSelect'>
462
472
  verticalAlign?: PropertyValue<'verticalAlign'>
473
+ viewTimeline?: PropertyValue<'viewTimeline'>
474
+ viewTimelineAxis?: PropertyValue<'viewTimelineAxis'>
475
+ viewTimelineInset?: PropertyValue<'viewTimelineInset'>
476
+ viewTimelineName?: PropertyValue<'viewTimelineName'>
463
477
  viewTransitionName?: PropertyValue<'viewTransitionName'>
464
478
  visibility?: PropertyValue<'visibility'>
465
479
  whiteSpace?: PropertyValue<'whiteSpace'>
480
+ whiteSpaceCollapse?: PropertyValue<'whiteSpaceCollapse'>
466
481
  widows?: PropertyValue<'widows'>
467
482
  width?: PropertyValue<'width'>
468
483
  willChange?: PropertyValue<'willChange'>
@@ -598,7 +613,6 @@ export interface SystemProperties {
598
613
  divideColor?: PropertyValue<'divideColor'>
599
614
  divideStyle?: PropertyValue<'divideStyle'>
600
615
  fontSmoothing?: PropertyValue<'fontSmoothing'>
601
- textWrap?: PropertyValue<'textWrap'>
602
616
  truncate?: PropertyValue<'truncate'>
603
617
  backgroundGradient?: PropertyValue<'backgroundGradient'>
604
618
  textGradient?: PropertyValue<'textGradient'>
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import type { FunctionComponent } from 'react'
3
- import type { StyledLinkProperties } from '../patterns/styled-link';
4
- import type { HTMLPandaProps } from '../types/jsx';
5
- import type { DistributiveOmit } from '../types/system-types';
6
-
7
- export interface StyledLinkProps extends StyledLinkProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof StyledLinkProperties > {}
8
-
9
-
10
- export declare const StyledLink: FunctionComponent<StyledLinkProps>
@@ -1,14 +0,0 @@
1
- import { createElement, forwardRef } from 'react'
2
- import { mergeCss } from '../css/css.mjs';
3
- import { splitProps } from '../helpers.mjs';
4
- import { getStyledLinkStyle } from '../patterns/styled-link.mjs';
5
- import { panda } from './factory.mjs';
6
-
7
- export const StyledLink = /* @__PURE__ */ forwardRef(function StyledLink(props, ref) {
8
- const [patternProps, restProps] = splitProps(props, [])
9
-
10
- const styleProps = getStyledLinkStyle(patternProps)
11
- const mergedProps = { ref, ...styleProps, ...restProps }
12
-
13
- return createElement(panda.div, mergedProps)
14
- })
@@ -1,21 +0,0 @@
1
- /* eslint-disable */
2
- import type { SystemStyleObject, ConditionalValue } from '../types/index';
3
- import type { Properties } from '../types/csstype';
4
- import type { PropertyValue } from '../types/prop-type';
5
- import type { DistributiveOmit } from '../types/system-types';
6
- import type { Tokens } from '../tokens/index';
7
-
8
- export interface StyledLinkProperties {
9
-
10
- }
11
-
12
-
13
- interface StyledLinkStyles extends StyledLinkProperties, DistributiveOmit<SystemStyleObject, keyof StyledLinkProperties > {}
14
-
15
- interface StyledLinkPatternFn {
16
- (styles?: StyledLinkStyles): string
17
- raw: (styles?: StyledLinkStyles) => SystemStyleObject
18
- }
19
-
20
-
21
- export declare const styledLink: StyledLinkPatternFn;
@@ -1,18 +0,0 @@
1
- import { mapObject } from '../helpers.mjs';
2
- import { css } from '../css/index.mjs';
3
-
4
- const styledLinkConfig = {
5
- transform:(props) => ({
6
- display: "inline-flex",
7
- alignItems: "center",
8
- opacity: "0.5",
9
- borderBottom: "1px solid transparent",
10
- cursor: "pointer",
11
- _hover: { opacity: 1, borderBottomColor: "black" },
12
- ...props
13
- })}
14
-
15
- export const getStyledLinkStyle = (styles = {}) => styledLinkConfig.transform(styles, { map: mapObject })
16
-
17
- export const styledLink = (styles) => css(getStyledLinkStyle(styles))
18
- styledLink.raw = getStyledLinkStyle