@pandacss/studio 0.6.0 → 0.8.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.
Files changed (52) hide show
  1. package/dist/studio.js +2 -2
  2. package/dist/studio.mjs +2 -2
  3. package/package.json +11 -11
  4. package/styled-system/chunks/..__shared____tests____string-literal.test.css +15 -0
  5. package/styled-system/css/conditions.mjs +1 -1
  6. package/styled-system/css/css.d.ts +7 -1
  7. package/styled-system/css/css.mjs +3 -1
  8. package/styled-system/jsx/is-valid-prop.mjs +2 -1
  9. package/styled-system/patterns/aspect-ratio.d.ts +6 -1
  10. package/styled-system/patterns/aspect-ratio.mjs +1 -0
  11. package/styled-system/patterns/box.d.ts +6 -1
  12. package/styled-system/patterns/box.mjs +1 -0
  13. package/styled-system/patterns/center.d.ts +6 -1
  14. package/styled-system/patterns/center.mjs +1 -0
  15. package/styled-system/patterns/circle.d.ts +6 -1
  16. package/styled-system/patterns/circle.mjs +1 -0
  17. package/styled-system/patterns/container.d.ts +6 -1
  18. package/styled-system/patterns/container.mjs +1 -0
  19. package/styled-system/patterns/divider.d.ts +6 -1
  20. package/styled-system/patterns/divider.mjs +1 -0
  21. package/styled-system/patterns/flex.d.ts +6 -1
  22. package/styled-system/patterns/flex.mjs +1 -0
  23. package/styled-system/patterns/float.d.ts +6 -1
  24. package/styled-system/patterns/float.mjs +1 -0
  25. package/styled-system/patterns/grid-item.d.ts +6 -1
  26. package/styled-system/patterns/grid-item.mjs +1 -0
  27. package/styled-system/patterns/grid.d.ts +6 -1
  28. package/styled-system/patterns/grid.mjs +1 -0
  29. package/styled-system/patterns/hstack.d.ts +6 -1
  30. package/styled-system/patterns/hstack.mjs +1 -0
  31. package/styled-system/patterns/link-box.d.ts +6 -1
  32. package/styled-system/patterns/link-box.mjs +1 -0
  33. package/styled-system/patterns/link-overlay.d.ts +6 -1
  34. package/styled-system/patterns/link-overlay.mjs +1 -0
  35. package/styled-system/patterns/spacer.d.ts +6 -1
  36. package/styled-system/patterns/spacer.mjs +1 -0
  37. package/styled-system/patterns/square.d.ts +6 -1
  38. package/styled-system/patterns/square.mjs +1 -0
  39. package/styled-system/patterns/stack.d.ts +6 -1
  40. package/styled-system/patterns/stack.mjs +1 -0
  41. package/styled-system/patterns/styled-link.d.ts +6 -1
  42. package/styled-system/patterns/styled-link.mjs +1 -0
  43. package/styled-system/patterns/vstack.d.ts +6 -1
  44. package/styled-system/patterns/vstack.mjs +1 -0
  45. package/styled-system/patterns/wrap.d.ts +6 -1
  46. package/styled-system/patterns/wrap.mjs +1 -0
  47. package/styled-system/styles.css +12 -0
  48. package/styled-system/tokens/index.css +0 -11
  49. package/styled-system/types/conditions.d.ts +1 -1
  50. package/styled-system/types/jsx.d.ts +5 -1
  51. package/styled-system/types/prop-type.d.ts +2 -1
  52. package/styled-system/types/recipe.d.ts +1 -3
package/dist/studio.js CHANGED
@@ -33,10 +33,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  ));
34
34
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
35
 
36
- // ../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.24_typescript@5.1.3/node_modules/tsup/assets/cjs_shims.js
36
+ // ../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.25_typescript@5.1.6/node_modules/tsup/assets/cjs_shims.js
37
37
  var getImportMetaUrl, importMetaUrl;
38
38
  var init_cjs_shims = __esm({
39
- "../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.24_typescript@5.1.3/node_modules/tsup/assets/cjs_shims.js"() {
39
+ "../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.25_typescript@5.1.6/node_modules/tsup/assets/cjs_shims.js"() {
40
40
  "use strict";
41
41
  getImportMetaUrl = () => typeof document === "undefined" ? new URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
42
42
  importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
package/dist/studio.mjs CHANGED
@@ -34,12 +34,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
34
34
  mod
35
35
  ));
36
36
 
37
- // ../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.24_typescript@5.1.3/node_modules/tsup/assets/esm_shims.js
37
+ // ../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.25_typescript@5.1.6/node_modules/tsup/assets/esm_shims.js
38
38
  import { fileURLToPath } from "url";
39
39
  import path from "path";
40
40
  var getFilename, getDirname, __dirname;
41
41
  var init_esm_shims = __esm({
42
- "../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.24_typescript@5.1.3/node_modules/tsup/assets/esm_shims.js"() {
42
+ "../../node_modules/.pnpm/tsup@7.1.0_postcss@8.4.25_typescript@5.1.6/node_modules/tsup/assets/esm_shims.js"() {
43
43
  "use strict";
44
44
  getFilename = () => fileURLToPath(import.meta.url);
45
45
  getDirname = () => path.dirname(getFilename());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/studio",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -28,24 +28,24 @@
28
28
  "dependencies": {
29
29
  "@ark-ui/react": "0.7.2",
30
30
  "@astrojs/react": "2.2.1",
31
- "astro": "2.7.2",
31
+ "astro": "2.8.4",
32
32
  "javascript-stringify": "2.1.0",
33
33
  "react": "18.2.0",
34
34
  "react-dom": "18.2.0",
35
- "vite": "4.3.9",
36
- "@pandacss/types": "0.6.0",
37
- "@pandacss/config": "0.6.0",
38
- "@pandacss/shared": "0.6.0",
39
- "@pandacss/token-dictionary": "0.6.0",
40
- "@pandacss/logger": "0.6.0",
41
- "@pandacss/node": "0.6.0"
35
+ "vite": "4.4.2",
36
+ "@pandacss/types": "0.8.0",
37
+ "@pandacss/config": "0.8.0",
38
+ "@pandacss/shared": "0.8.0",
39
+ "@pandacss/token-dictionary": "0.8.0",
40
+ "@pandacss/logger": "0.8.0",
41
+ "@pandacss/node": "0.8.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/react": "18.2.14",
45
45
  "@types/react-dom": "18.2.6",
46
- "@vitejs/plugin-react": "4.0.1",
46
+ "@vitejs/plugin-react": "4.0.3",
47
47
  "execa": "7.1.1",
48
- "@pandacss/dev": "0.6.0"
48
+ "@pandacss/dev": "0.8.0"
49
49
  },
50
50
  "scripts": {
51
51
  "codegen": "panda",
@@ -0,0 +1,15 @@
1
+ @layer utilities {
2
+ .font_12px\/1\.5_Helvetica\,_Arial\,_sans-serif {
3
+ font: 12px/1.5 Helvetica, Arial, sans-serif;
4
+ }
5
+
6
+ .text_red {
7
+ color: red;
8
+ }
9
+
10
+ .\[\&\:hover\]\:text_blue {
11
+ &:hover {
12
+ color: blue;
13
+ }
14
+ }
15
+ }
@@ -78,7 +78,7 @@ const conditions = new Set([
78
78
  '_light',
79
79
  '_osDark',
80
80
  '_osLight',
81
- '_highConstrast',
81
+ '_highContrast',
82
82
  '_lessContrast',
83
83
  '_moreContrast',
84
84
  '_ltr',
@@ -1,3 +1,9 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject } from '../types'
3
- export declare function css(styles: SystemStyleObject): string
3
+
4
+ interface CssFunction {
5
+ (styles: SystemStyleObject): string
6
+ raw: (styles: SystemStyleObject) => SystemStyleObject
7
+ }
8
+
9
+ export declare const css: CssFunction;
@@ -210,7 +210,8 @@ const classNameMap = {
210
210
  transitionTimingFunction: 'ease',
211
211
  transitionDelay: 'delay',
212
212
  transitionDuration: 'duration',
213
- transitionProperty: 'transition',
213
+ transitionProperty: 'transition-prop',
214
+ transition: 'transition',
214
215
  animation: 'animation',
215
216
  animationDelay: 'animation-delay',
216
217
  transformOrigin: 'origin',
@@ -392,5 +393,6 @@ const context = {
392
393
  }
393
394
 
394
395
  export const css = createCss(context)
396
+ css.raw = (styles) => styles
395
397
 
396
398
  export const { mergeCss, assignCss } = createMergeCss(context)
@@ -294,6 +294,7 @@ var userGenerated = [
294
294
  'transitionDelay',
295
295
  'transitionDuration',
296
296
  'transitionProperty',
297
+ 'transition',
297
298
  'animation',
298
299
  'animationDelay',
299
300
  'transformOrigin',
@@ -435,7 +436,7 @@ var userGenerated = [
435
436
  '_light',
436
437
  '_osDark',
437
438
  '_osLight',
438
- '_highConstrast',
439
+ '_highContrast',
439
440
  '_lessContrast',
440
441
  '_moreContrast',
441
442
  '_ltr',
@@ -11,5 +11,10 @@ export type AspectRatioProperties = {
11
11
 
12
12
  type AspectRatioOptions = AspectRatioProperties & Omit<SystemStyleObject, keyof AspectRatioProperties | 'aspectRatio'>
13
13
 
14
+ interface AspectRatioPatternFn {
15
+ (options?: AspectRatioOptions): string
16
+ raw: (options: AspectRatioOptions) => AspectRatioOptions
17
+ }
18
+
14
19
 
15
- export declare function aspectRatio(options?: AspectRatioOptions): string
20
+ export declare const aspectRatio: AspectRatioPatternFn;
@@ -33,3 +33,4 @@ const aspectRatioConfig = {
33
33
  export const getAspectRatioStyle = (styles = {}) => aspectRatioConfig.transform(styles, { map: mapObject })
34
34
 
35
35
  export const aspectRatio = (styles) => css(getAspectRatioStyle(styles))
36
+ aspectRatio.raw = (styles) => styles
@@ -11,5 +11,10 @@ export type BoxProperties = {
11
11
 
12
12
  type BoxOptions = BoxProperties & Omit<SystemStyleObject, keyof BoxProperties >
13
13
 
14
+ interface BoxPatternFn {
15
+ (options?: BoxOptions): string
16
+ raw: (options: BoxOptions) => BoxOptions
17
+ }
18
+
14
19
 
15
- export declare function box(options?: BoxOptions): string
20
+ export declare const box: BoxPatternFn;
@@ -10,3 +10,4 @@ const boxConfig = {
10
10
  export const getBoxStyle = (styles = {}) => boxConfig.transform(styles, { map: mapObject })
11
11
 
12
12
  export const box = (styles) => css(getBoxStyle(styles))
13
+ box.raw = (styles) => styles
@@ -11,5 +11,10 @@ export type CenterProperties = {
11
11
 
12
12
  type CenterOptions = CenterProperties & Omit<SystemStyleObject, keyof CenterProperties >
13
13
 
14
+ interface CenterPatternFn {
15
+ (options?: CenterOptions): string
16
+ raw: (options: CenterOptions) => CenterOptions
17
+ }
18
+
14
19
 
15
- export declare function center(options?: CenterOptions): string
20
+ export declare const center: CenterPatternFn;
@@ -16,3 +16,4 @@ const centerConfig = {
16
16
  export const getCenterStyle = (styles = {}) => centerConfig.transform(styles, { map: mapObject })
17
17
 
18
18
  export const center = (styles) => css(getCenterStyle(styles))
19
+ center.raw = (styles) => styles
@@ -11,5 +11,10 @@ export type CircleProperties = {
11
11
 
12
12
  type CircleOptions = CircleProperties & Omit<SystemStyleObject, keyof CircleProperties >
13
13
 
14
+ interface CirclePatternFn {
15
+ (options?: CircleOptions): string
16
+ raw: (options: CircleOptions) => CircleOptions
17
+ }
18
+
14
19
 
15
- export declare function circle(options?: CircleOptions): string
20
+ export declare const circle: CirclePatternFn;
@@ -20,3 +20,4 @@ const circleConfig = {
20
20
  export const getCircleStyle = (styles = {}) => circleConfig.transform(styles, { map: mapObject })
21
21
 
22
22
  export const circle = (styles) => css(getCircleStyle(styles))
23
+ circle.raw = (styles) => styles
@@ -11,5 +11,10 @@ export type ContainerProperties = {
11
11
 
12
12
  type ContainerOptions = ContainerProperties & Omit<SystemStyleObject, keyof ContainerProperties >
13
13
 
14
+ interface ContainerPatternFn {
15
+ (options?: ContainerOptions): string
16
+ raw: (options: ContainerOptions) => ContainerOptions
17
+ }
18
+
14
19
 
15
- export declare function container(options?: ContainerOptions): string
20
+ export declare const container: ContainerPatternFn;
@@ -16,3 +16,4 @@ const containerConfig = {
16
16
  export const getContainerStyle = (styles = {}) => containerConfig.transform(styles, { map: mapObject })
17
17
 
18
18
  export const container = (styles) => css(getContainerStyle(styles))
19
+ container.raw = (styles) => styles
@@ -13,5 +13,10 @@ export type DividerProperties = {
13
13
 
14
14
  type DividerOptions = DividerProperties & Omit<SystemStyleObject, keyof DividerProperties >
15
15
 
16
+ interface DividerPatternFn {
17
+ (options?: DividerOptions): string
18
+ raw: (options: DividerOptions) => DividerOptions
19
+ }
20
+
16
21
 
17
- export declare function divider(options?: DividerOptions): string
22
+ export declare const divider: DividerPatternFn;
@@ -19,3 +19,4 @@ const dividerConfig = {
19
19
  export const getDividerStyle = (styles = {}) => dividerConfig.transform(styles, { map: mapObject })
20
20
 
21
21
  export const divider = (styles) => css(getDividerStyle(styles))
22
+ divider.raw = (styles) => styles
@@ -17,5 +17,10 @@ export type FlexProperties = {
17
17
 
18
18
  type FlexOptions = FlexProperties & Omit<SystemStyleObject, keyof FlexProperties >
19
19
 
20
+ interface FlexPatternFn {
21
+ (options?: FlexOptions): string
22
+ raw: (options: FlexOptions) => FlexOptions
23
+ }
24
+
20
25
 
21
- export declare function flex(options?: FlexOptions): string
26
+ export declare const flex: FlexPatternFn;
@@ -21,3 +21,4 @@ const flexConfig = {
21
21
  export const getFlexStyle = (styles = {}) => flexConfig.transform(styles, { map: mapObject })
22
22
 
23
23
  export const flex = (styles) => css(getFlexStyle(styles))
24
+ flex.raw = (styles) => styles
@@ -14,5 +14,10 @@ export type FloatProperties = {
14
14
 
15
15
  type FloatOptions = FloatProperties & Omit<SystemStyleObject, keyof FloatProperties >
16
16
 
17
+ interface FloatPatternFn {
18
+ (options?: FloatOptions): string
19
+ raw: (options: FloatOptions) => FloatOptions
20
+ }
21
+
17
22
 
18
- export declare function float(options?: FloatOptions): string
23
+ export declare const float: FloatPatternFn;
@@ -43,3 +43,4 @@ const floatConfig = {
43
43
  export const getFloatStyle = (styles = {}) => floatConfig.transform(styles, { map: mapObject })
44
44
 
45
45
  export const float = (styles) => css(getFloatStyle(styles))
46
+ float.raw = (styles) => styles
@@ -16,5 +16,10 @@ export type GridItemProperties = {
16
16
 
17
17
  type GridItemOptions = GridItemProperties & Omit<SystemStyleObject, keyof GridItemProperties >
18
18
 
19
+ interface GridItemPatternFn {
20
+ (options?: GridItemOptions): string
21
+ raw: (options: GridItemOptions) => GridItemOptions
22
+ }
23
+
19
24
 
20
- export declare function gridItem(options?: GridItemOptions): string
25
+ export declare const gridItem: GridItemPatternFn;
@@ -20,3 +20,4 @@ const gridItemConfig = {
20
20
  export const getGridItemStyle = (styles = {}) => gridItemConfig.transform(styles, { map: mapObject })
21
21
 
22
22
  export const gridItem = (styles) => css(getGridItemStyle(styles))
23
+ gridItem.raw = (styles) => styles
@@ -15,5 +15,10 @@ export type GridProperties = {
15
15
 
16
16
  type GridOptions = GridProperties & Omit<SystemStyleObject, keyof GridProperties >
17
17
 
18
+ interface GridPatternFn {
19
+ (options?: GridOptions): string
20
+ raw: (options: GridOptions) => GridOptions
21
+ }
22
+
18
23
 
19
- export declare function grid(options?: GridOptions): string
24
+ export declare const grid: GridPatternFn;
@@ -23,3 +23,4 @@ const gridConfig = {
23
23
  export const getGridStyle = (styles = {}) => gridConfig.transform(styles, { map: mapObject })
24
24
 
25
25
  export const grid = (styles) => css(getGridStyle(styles))
26
+ grid.raw = (styles) => styles
@@ -12,5 +12,10 @@ export type HstackProperties = {
12
12
 
13
13
  type HstackOptions = HstackProperties & Omit<SystemStyleObject, keyof HstackProperties >
14
14
 
15
+ interface HstackPatternFn {
16
+ (options?: HstackOptions): string
17
+ raw: (options: HstackOptions) => HstackOptions
18
+ }
19
+
15
20
 
16
- export declare function hstack(options?: HstackOptions): string
21
+ export declare const hstack: HstackPatternFn;
@@ -18,3 +18,4 @@ const hstackConfig = {
18
18
  export const getHstackStyle = (styles = {}) => hstackConfig.transform(styles, { map: mapObject })
19
19
 
20
20
  export const hstack = (styles) => css(getHstackStyle(styles))
21
+ hstack.raw = (styles) => styles
@@ -11,5 +11,10 @@ export type LinkBoxProperties = {
11
11
 
12
12
  type LinkBoxOptions = LinkBoxProperties & Omit<SystemStyleObject, keyof LinkBoxProperties >
13
13
 
14
+ interface LinkBoxPatternFn {
15
+ (options?: LinkBoxOptions): string
16
+ raw: (options: LinkBoxOptions) => LinkBoxOptions
17
+ }
18
+
14
19
 
15
- export declare function linkBox(options?: LinkBoxOptions): string
20
+ export declare const linkBox: LinkBoxPatternFn;
@@ -17,3 +17,4 @@ const linkBoxConfig = {
17
17
  export const getLinkBoxStyle = (styles = {}) => linkBoxConfig.transform(styles, { map: mapObject })
18
18
 
19
19
  export const linkBox = (styles) => css(getLinkBoxStyle(styles))
20
+ linkBox.raw = (styles) => styles
@@ -11,5 +11,10 @@ export type LinkOverlayProperties = {
11
11
 
12
12
  type LinkOverlayOptions = LinkOverlayProperties & Omit<SystemStyleObject, keyof LinkOverlayProperties >
13
13
 
14
+ interface LinkOverlayPatternFn {
15
+ (options?: LinkOverlayOptions): string
16
+ raw: (options: LinkOverlayOptions) => LinkOverlayOptions
17
+ }
18
+
14
19
 
15
- export declare function linkOverlay(options?: LinkOverlayOptions): string
20
+ export declare const linkOverlay: LinkOverlayPatternFn;
@@ -22,3 +22,4 @@ const linkOverlayConfig = {
22
22
  export const getLinkOverlayStyle = (styles = {}) => linkOverlayConfig.transform(styles, { map: mapObject })
23
23
 
24
24
  export const linkOverlay = (styles) => css(getLinkOverlayStyle(styles))
25
+ linkOverlay.raw = (styles) => styles
@@ -11,5 +11,10 @@ export type SpacerProperties = {
11
11
 
12
12
  type SpacerOptions = SpacerProperties & Omit<SystemStyleObject, keyof SpacerProperties >
13
13
 
14
+ interface SpacerPatternFn {
15
+ (options?: SpacerOptions): string
16
+ raw: (options: SpacerOptions) => SpacerOptions
17
+ }
18
+
14
19
 
15
- export declare function spacer(options?: SpacerOptions): string
20
+ export declare const spacer: SpacerPatternFn;
@@ -16,3 +16,4 @@ const spacerConfig = {
16
16
  export const getSpacerStyle = (styles = {}) => spacerConfig.transform(styles, { map: mapObject })
17
17
 
18
18
  export const spacer = (styles) => css(getSpacerStyle(styles))
19
+ spacer.raw = (styles) => styles
@@ -11,5 +11,10 @@ export type SquareProperties = {
11
11
 
12
12
  type SquareOptions = SquareProperties & Omit<SystemStyleObject, keyof SquareProperties >
13
13
 
14
+ interface SquarePatternFn {
15
+ (options?: SquareOptions): string
16
+ raw: (options: SquareOptions) => SquareOptions
17
+ }
18
+
14
19
 
15
- export declare function square(options?: SquareOptions): string
20
+ export declare const square: SquarePatternFn;
@@ -19,3 +19,4 @@ const squareConfig = {
19
19
  export const getSquareStyle = (styles = {}) => squareConfig.transform(styles, { map: mapObject })
20
20
 
21
21
  export const square = (styles) => css(getSquareStyle(styles))
22
+ square.raw = (styles) => styles
@@ -14,5 +14,10 @@ export type StackProperties = {
14
14
 
15
15
  type StackOptions = StackProperties & Omit<SystemStyleObject, keyof StackProperties >
16
16
 
17
+ interface StackPatternFn {
18
+ (options?: StackOptions): string
19
+ raw: (options: StackOptions) => StackOptions
20
+ }
21
+
17
22
 
18
- export declare function stack(options?: StackOptions): string
23
+ export declare const stack: StackPatternFn;
@@ -18,3 +18,4 @@ const stackConfig = {
18
18
  export const getStackStyle = (styles = {}) => stackConfig.transform(styles, { map: mapObject })
19
19
 
20
20
  export const stack = (styles) => css(getStackStyle(styles))
21
+ stack.raw = (styles) => styles
@@ -11,5 +11,10 @@ export type StyledLinkProperties = {
11
11
 
12
12
  type StyledLinkOptions = StyledLinkProperties & Omit<SystemStyleObject, keyof StyledLinkProperties >
13
13
 
14
+ interface StyledLinkPatternFn {
15
+ (options?: StyledLinkOptions): string
16
+ raw: (options: StyledLinkOptions) => StyledLinkOptions
17
+ }
18
+
14
19
 
15
- export declare function styledLink(options?: StyledLinkOptions): string
20
+ export declare const styledLink: StyledLinkPatternFn;
@@ -16,3 +16,4 @@ const styledLinkConfig = {
16
16
  export const getStyledLinkStyle = (styles = {}) => styledLinkConfig.transform(styles, { map: mapObject })
17
17
 
18
18
  export const styledLink = (styles) => css(getStyledLinkStyle(styles))
19
+ styledLink.raw = (styles) => styles
@@ -12,5 +12,10 @@ export type VstackProperties = {
12
12
 
13
13
  type VstackOptions = VstackProperties & Omit<SystemStyleObject, keyof VstackProperties >
14
14
 
15
+ interface VstackPatternFn {
16
+ (options?: VstackOptions): string
17
+ raw: (options: VstackOptions) => VstackOptions
18
+ }
19
+
15
20
 
16
- export declare function vstack(options?: VstackOptions): string
21
+ export declare const vstack: VstackPatternFn;
@@ -18,3 +18,4 @@ const vstackConfig = {
18
18
  export const getVstackStyle = (styles = {}) => vstackConfig.transform(styles, { map: mapObject })
19
19
 
20
20
  export const vstack = (styles) => css(getVstackStyle(styles))
21
+ vstack.raw = (styles) => styles
@@ -15,5 +15,10 @@ export type WrapProperties = {
15
15
 
16
16
  type WrapOptions = WrapProperties & Omit<SystemStyleObject, keyof WrapProperties >
17
17
 
18
+ interface WrapPatternFn {
19
+ (options?: WrapOptions): string
20
+ raw: (options: WrapOptions) => WrapOptions
21
+ }
22
+
18
23
 
19
- export declare function wrap(options?: WrapOptions): string
24
+ export declare const wrap: WrapPatternFn;
@@ -20,3 +20,4 @@ const wrapConfig = {
20
20
  export const getWrapStyle = (styles = {}) => wrapConfig.transform(styles, { map: mapObject })
21
21
 
22
22
  export const wrap = (styles) => css(getWrapStyle(styles))
23
+ wrap.raw = (styles) => styles
@@ -11,6 +11,14 @@
11
11
  @import './tokens/keyframes.css';
12
12
 
13
13
  @layer utilities {
14
+ .font_12px\/1\.5_Helvetica\,_Arial\,_sans-serif {
15
+ font: 12px/1.5 Helvetica, Arial, sans-serif;
16
+ }
17
+
18
+ .text_red {
19
+ color: red;
20
+ }
21
+
14
22
  .w_26px {
15
23
  width: 26px;
16
24
  }
@@ -996,6 +1004,10 @@
996
1004
  border-bottom-color: var(--colors-black);
997
1005
  }
998
1006
 
1007
+ .\[\&\:hover\]\:text_blue:hover {
1008
+ color: blue;
1009
+ }
1010
+
999
1011
  .\[\&\:hover\]\:bg_\#4049f0:hover {
1000
1012
  background: #4049f0;
1001
1013
  }
@@ -425,17 +425,6 @@
425
425
  --colors-bg: #fff;
426
426
  --colors-card: #e5e5e5;
427
427
  --colors-border: #d4d4d4;
428
- --colors-color-palette-50: var(--colors-color-palette-50);
429
- --colors-color-palette-100: var(--colors-color-palette-100);
430
- --colors-color-palette-200: var(--colors-color-palette-200);
431
- --colors-color-palette-300: var(--colors-color-palette-300);
432
- --colors-color-palette-400: var(--colors-color-palette-400);
433
- --colors-color-palette-500: var(--colors-color-palette-500);
434
- --colors-color-palette-600: var(--colors-color-palette-600);
435
- --colors-color-palette-700: var(--colors-color-palette-700);
436
- --colors-color-palette-800: var(--colors-color-palette-800);
437
- --colors-color-palette-900: var(--colors-color-palette-900);
438
- --colors-color-palette-950: var(--colors-color-palette-950);
439
428
  }
440
429
 
441
430
  .dark {
@@ -79,7 +79,7 @@ export type Conditions = {
79
79
  "_light": string
80
80
  "_osDark": string
81
81
  "_osLight": string
82
- "_highConstrast": string
82
+ "_highContrast": string
83
83
  "_lessContrast": string
84
84
  "_moreContrast": string
85
85
  "_ltr": string
@@ -1,10 +1,14 @@
1
1
  /* eslint-disable */
2
- import type { ComponentProps, ElementType } from 'react'
2
+ import type { ComponentPropsWithoutRef, ElementType, ElementRef, Ref } from 'react'
3
3
  import type { Assign, JsxStyleProps, JsxHTMLProps } from './system-types'
4
4
  import type { RecipeDefinition, RecipeSelection, RecipeVariantRecord } from './recipe'
5
5
 
6
6
  type Dict = Record<string, unknown>
7
7
 
8
+ type ComponentProps<T extends ElementType> = Omit<ComponentPropsWithoutRef<T>, 'ref'> & {
9
+ ref?: Ref<ElementRef<T>>
10
+ }
11
+
8
12
  export type PandaComponent<T extends ElementType, P extends Dict = {}> = {
9
13
  (props: JsxHTMLProps<ComponentProps<T>, Assign<JsxStyleProps, P>>): JSX.Element
10
14
  displayName?: string
@@ -5,6 +5,7 @@ import type { Tokens } from '../tokens'
5
5
 
6
6
  type PropertyValueTypes = {
7
7
  aspectRatio: "auto" | "square" | "landscape" | "portrait" | "wide" | "ultrawide" | "golden";
8
+ zIndex: Tokens["zIndex"];
8
9
  top: Tokens["spacing"];
9
10
  left: Tokens["spacing"];
10
11
  insetInline: Tokens["spacing"];
@@ -150,7 +151,7 @@ type PropertyValueTypes = {
150
151
  transitionTimingFunction: Tokens["easings"];
151
152
  transitionDelay: Tokens["durations"];
152
153
  transitionDuration: Tokens["durations"];
153
- transitionProperty: "all" | "none" | "opacity" | "shadow" | "transform" | "base" | "background" | "colors";
154
+ transition: "all" | "common" | "background" | "colors" | "opacity" | "shadow" | "transform";
154
155
  animation: Tokens["animations"];
155
156
  animationDelay: Tokens["durations"];
156
157
  scale: "auto" | CssProperties["scale"];
@@ -27,9 +27,7 @@ export type RecipeRuntimeFn<T extends RecipeVariantRecord> = RecipeVariantFn<T>
27
27
  variantMap: RecipeVariantMap<T>
28
28
  resolve: (props: RecipeSelection<T>) => SystemStyleObject
29
29
  config: RecipeConfig<T>
30
- splitVariantProps<Props extends RecipeSelection<T>>(
31
- props: Props,
32
- ): [RecipeSelection<T>, Pretty<Omit<Props, keyof RecipeVariantRecord>>]
30
+ splitVariantProps<Props extends RecipeSelection<T>>(props: Props): [RecipeSelection<T>, Pretty<Omit<Props, keyof T>>]
33
31
  }
34
32
 
35
33
  export type RecipeCompoundSelection<T extends RecipeVariantRecord> = {