@pandacss/studio 0.15.1 → 0.15.2

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 (97) hide show
  1. package/astro.config.mjs +1 -1
  2. package/dist/studio.d.mts +3 -2
  3. package/dist/studio.d.ts +3 -2
  4. package/dist/studio.js +10 -4
  5. package/dist/studio.mjs +10 -4
  6. package/package.json +8 -8
  7. package/src/lib/panda.context.ts +3 -5
  8. package/src/lib/virtual-panda.d.ts +3 -0
  9. package/styled-system/chunks/src__components__analyzer__category-utilities.css +61 -168
  10. package/styled-system/chunks/src__components__analyzer__data-combobox.css +69 -114
  11. package/styled-system/chunks/src__components__analyzer__data-table.css +24 -23
  12. package/styled-system/chunks/src__components__analyzer__file-details.css +53 -112
  13. package/styled-system/chunks/src__components__analyzer__report-item-columns.css +20 -19
  14. package/styled-system/chunks/src__components__analyzer__report-item-link.css +39 -222
  15. package/styled-system/chunks/src__components__analyzer__section.css +16 -15
  16. package/styled-system/chunks/src__components__analyzer__text-with-count.css +18 -17
  17. package/styled-system/chunks/src__components__analyzer__truncated-text.css +10 -9
  18. package/styled-system/chunks/src__components__analyzer__utility-details.css +71 -178
  19. package/styled-system/chunks/src__components__color-constrast.css +54 -61
  20. package/styled-system/chunks/src__components__color-item.css +12 -11
  21. package/styled-system/chunks/src__components__color-wrapper.css +37 -196
  22. package/styled-system/chunks/src__components__colors.css +54 -53
  23. package/styled-system/chunks/src__components__empty-state.css +24 -23
  24. package/styled-system/chunks/src__components__font-family.css +44 -43
  25. package/styled-system/chunks/src__components__font-tokens.css +32 -31
  26. package/styled-system/chunks/src__components__input.css +34 -137
  27. package/styled-system/chunks/src__components__layer-styles.css +34 -76
  28. package/styled-system/chunks/src__components__nav-item.css +37 -161
  29. package/styled-system/chunks/src__components__overview.css +63 -102
  30. package/styled-system/chunks/src__components__radii.css +26 -25
  31. package/styled-system/chunks/src__components__semantic-color.css +34 -33
  32. package/styled-system/chunks/src__components__side-nav-item.css +17 -56
  33. package/styled-system/chunks/src__components__side-nav.css +26 -25
  34. package/styled-system/chunks/src__components__sizes.css +22 -21
  35. package/styled-system/chunks/src__components__text-styles.css +16 -15
  36. package/styled-system/chunks/src__components__theme-toggle.css +28 -47
  37. package/styled-system/chunks/src__components__token-analyzer.css +114 -379
  38. package/styled-system/chunks/src__components__token-content.css +8 -7
  39. package/styled-system/chunks/src__components__token-group.css +12 -11
  40. package/styled-system/chunks/src__components__typography-playground.css +32 -31
  41. package/styled-system/chunks/src__layouts__Sidebar.css +59 -94
  42. package/styled-system/jsx/aspect-ratio.d.ts +1 -1
  43. package/styled-system/jsx/bleed.d.ts +1 -1
  44. package/styled-system/jsx/box.d.ts +1 -1
  45. package/styled-system/jsx/center.d.ts +1 -1
  46. package/styled-system/jsx/circle.d.ts +1 -1
  47. package/styled-system/jsx/container.d.ts +1 -1
  48. package/styled-system/jsx/divider.d.ts +1 -1
  49. package/styled-system/jsx/flex.d.ts +1 -1
  50. package/styled-system/jsx/float.d.ts +1 -1
  51. package/styled-system/jsx/grid-item.d.ts +1 -1
  52. package/styled-system/jsx/grid.d.ts +1 -1
  53. package/styled-system/jsx/hstack.d.ts +1 -1
  54. package/styled-system/jsx/link-box.d.ts +1 -1
  55. package/styled-system/jsx/link-overlay.d.ts +1 -1
  56. package/styled-system/jsx/spacer.d.ts +1 -1
  57. package/styled-system/jsx/square.d.ts +1 -1
  58. package/styled-system/jsx/stack.d.ts +1 -1
  59. package/styled-system/jsx/styled-link.d.ts +1 -1
  60. package/styled-system/jsx/visually-hidden.d.ts +1 -1
  61. package/styled-system/jsx/vstack.d.ts +1 -1
  62. package/styled-system/jsx/wrap.d.ts +1 -1
  63. package/styled-system/patterns/aspect-ratio.d.ts +2 -2
  64. package/styled-system/patterns/bleed.d.ts +2 -2
  65. package/styled-system/patterns/box.d.ts +2 -2
  66. package/styled-system/patterns/center.d.ts +2 -2
  67. package/styled-system/patterns/circle.d.ts +2 -2
  68. package/styled-system/patterns/container.d.ts +2 -2
  69. package/styled-system/patterns/divider.d.ts +2 -2
  70. package/styled-system/patterns/flex.d.ts +2 -2
  71. package/styled-system/patterns/float.d.ts +2 -2
  72. package/styled-system/patterns/grid-item.d.ts +2 -2
  73. package/styled-system/patterns/grid.d.ts +2 -2
  74. package/styled-system/patterns/hstack.d.ts +2 -2
  75. package/styled-system/patterns/link-box.d.ts +2 -2
  76. package/styled-system/patterns/link-overlay.d.ts +2 -2
  77. package/styled-system/patterns/spacer.d.ts +2 -2
  78. package/styled-system/patterns/square.d.ts +2 -2
  79. package/styled-system/patterns/stack.d.ts +2 -2
  80. package/styled-system/patterns/styled-link.d.ts +2 -2
  81. package/styled-system/patterns/visually-hidden.d.ts +2 -2
  82. package/styled-system/patterns/vstack.d.ts +2 -2
  83. package/styled-system/patterns/wrap.d.ts +2 -2
  84. package/styled-system/styles.css +507 -516
  85. package/styled-system/tokens/index.css +8 -8
  86. package/styled-system/types/composition.d.ts +3 -3
  87. package/styled-system/types/conditions.d.ts +227 -114
  88. package/styled-system/types/global.d.ts +7 -7
  89. package/styled-system/types/index.d.ts +6 -4
  90. package/styled-system/types/jsx.d.ts +3 -3
  91. package/styled-system/types/parts.d.ts +1 -1
  92. package/styled-system/types/pattern.d.ts +2 -2
  93. package/styled-system/types/prop-type.d.ts +2 -2
  94. package/styled-system/types/recipe.d.ts +9 -6
  95. package/styled-system/types/style-props.d.ts +1 -1
  96. package/styled-system/types/system-types.d.ts +12 -6
  97. package/{virtual-panda.mjs → virtual-panda.ts} +24 -28
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type CircleProperties = {
8
+ export interface CircleProperties {
9
9
  size?: PropertyValue<'width'>
10
10
  }
11
11
 
12
12
 
13
- type CircleStyles = CircleProperties & DistributiveOmit<SystemStyleObject, keyof CircleProperties >
13
+ interface CircleStyles extends CircleProperties, DistributiveOmit<SystemStyleObject, keyof CircleProperties > {}
14
14
 
15
15
  interface CirclePatternFn {
16
16
  (styles?: CircleStyles): string
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type ContainerProperties = {
8
+ export interface ContainerProperties {
9
9
 
10
10
  }
11
11
 
12
12
 
13
- type ContainerStyles = ContainerProperties & DistributiveOmit<SystemStyleObject, keyof ContainerProperties >
13
+ interface ContainerStyles extends ContainerProperties, DistributiveOmit<SystemStyleObject, keyof ContainerProperties > {}
14
14
 
15
15
  interface ContainerPatternFn {
16
16
  (styles?: ContainerStyles): string
@@ -5,14 +5,14 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type DividerProperties = {
8
+ export interface DividerProperties {
9
9
  orientation?: ConditionalValue<"horizontal" | "vertical">
10
10
  thickness?: ConditionalValue<Tokens["sizes"] | Properties["borderWidth"]>
11
11
  color?: ConditionalValue<Tokens["colors"] | Properties["borderColor"]>
12
12
  }
13
13
 
14
14
 
15
- type DividerStyles = DividerProperties & DistributiveOmit<SystemStyleObject, keyof DividerProperties >
15
+ interface DividerStyles extends DividerProperties, DistributiveOmit<SystemStyleObject, keyof DividerProperties > {}
16
16
 
17
17
  interface DividerPatternFn {
18
18
  (styles?: DividerStyles): string
@@ -5,7 +5,7 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type FlexProperties = {
8
+ export interface FlexProperties {
9
9
  align?: PropertyValue<'alignItems'>
10
10
  justify?: PropertyValue<'justifyContent'>
11
11
  direction?: PropertyValue<'flexDirection'>
@@ -16,7 +16,7 @@ export type FlexProperties = {
16
16
  }
17
17
 
18
18
 
19
- type FlexStyles = FlexProperties & DistributiveOmit<SystemStyleObject, keyof FlexProperties >
19
+ interface FlexStyles extends FlexProperties, DistributiveOmit<SystemStyleObject, keyof FlexProperties > {}
20
20
 
21
21
  interface FlexPatternFn {
22
22
  (styles?: FlexStyles): string
@@ -5,7 +5,7 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type FloatProperties = {
8
+ export interface FloatProperties {
9
9
  offsetX?: ConditionalValue<Tokens["spacing"] | Properties["left"]>
10
10
  offsetY?: ConditionalValue<Tokens["spacing"] | Properties["top"]>
11
11
  offset?: ConditionalValue<Tokens["spacing"] | Properties["top"]>
@@ -13,7 +13,7 @@ export type FloatProperties = {
13
13
  }
14
14
 
15
15
 
16
- type FloatStyles = FloatProperties & DistributiveOmit<SystemStyleObject, keyof FloatProperties >
16
+ interface FloatStyles extends FloatProperties, DistributiveOmit<SystemStyleObject, keyof FloatProperties > {}
17
17
 
18
18
  interface FloatPatternFn {
19
19
  (styles?: FloatStyles): string
@@ -5,7 +5,7 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type GridItemProperties = {
8
+ export interface GridItemProperties {
9
9
  colSpan?: ConditionalValue<number>
10
10
  rowSpan?: ConditionalValue<number>
11
11
  colStart?: ConditionalValue<number>
@@ -15,7 +15,7 @@ export type GridItemProperties = {
15
15
  }
16
16
 
17
17
 
18
- type GridItemStyles = GridItemProperties & DistributiveOmit<SystemStyleObject, keyof GridItemProperties >
18
+ interface GridItemStyles extends GridItemProperties, DistributiveOmit<SystemStyleObject, keyof GridItemProperties > {}
19
19
 
20
20
  interface GridItemPatternFn {
21
21
  (styles?: GridItemStyles): string
@@ -5,7 +5,7 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type GridProperties = {
8
+ export interface GridProperties {
9
9
  gap?: PropertyValue<'gap'>
10
10
  columnGap?: PropertyValue<'gap'>
11
11
  rowGap?: PropertyValue<'gap'>
@@ -14,7 +14,7 @@ export type GridProperties = {
14
14
  }
15
15
 
16
16
 
17
- type GridStyles = GridProperties & DistributiveOmit<SystemStyleObject, keyof GridProperties >
17
+ interface GridStyles extends GridProperties, DistributiveOmit<SystemStyleObject, keyof GridProperties > {}
18
18
 
19
19
  interface GridPatternFn {
20
20
  (styles?: GridStyles): string
@@ -5,13 +5,13 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type HstackProperties = {
8
+ export interface HstackProperties {
9
9
  justify?: PropertyValue<'justifyContent'>
10
10
  gap?: PropertyValue<'gap'>
11
11
  }
12
12
 
13
13
 
14
- type HstackStyles = HstackProperties & DistributiveOmit<SystemStyleObject, keyof HstackProperties >
14
+ interface HstackStyles extends HstackProperties, DistributiveOmit<SystemStyleObject, keyof HstackProperties > {}
15
15
 
16
16
  interface HstackPatternFn {
17
17
  (styles?: HstackStyles): string
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type LinkBoxProperties = {
8
+ export interface LinkBoxProperties {
9
9
 
10
10
  }
11
11
 
12
12
 
13
- type LinkBoxStyles = LinkBoxProperties & DistributiveOmit<SystemStyleObject, keyof LinkBoxProperties >
13
+ interface LinkBoxStyles extends LinkBoxProperties, DistributiveOmit<SystemStyleObject, keyof LinkBoxProperties > {}
14
14
 
15
15
  interface LinkBoxPatternFn {
16
16
  (styles?: LinkBoxStyles): string
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type LinkOverlayProperties = {
8
+ export interface LinkOverlayProperties {
9
9
 
10
10
  }
11
11
 
12
12
 
13
- type LinkOverlayStyles = LinkOverlayProperties & DistributiveOmit<SystemStyleObject, keyof LinkOverlayProperties >
13
+ interface LinkOverlayStyles extends LinkOverlayProperties, DistributiveOmit<SystemStyleObject, keyof LinkOverlayProperties > {}
14
14
 
15
15
  interface LinkOverlayPatternFn {
16
16
  (styles?: LinkOverlayStyles): string
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type SpacerProperties = {
8
+ export interface SpacerProperties {
9
9
  size?: ConditionalValue<Tokens["spacing"]>
10
10
  }
11
11
 
12
12
 
13
- type SpacerStyles = SpacerProperties & DistributiveOmit<SystemStyleObject, keyof SpacerProperties >
13
+ interface SpacerStyles extends SpacerProperties, DistributiveOmit<SystemStyleObject, keyof SpacerProperties > {}
14
14
 
15
15
  interface SpacerPatternFn {
16
16
  (styles?: SpacerStyles): string
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type SquareProperties = {
8
+ export interface SquareProperties {
9
9
  size?: PropertyValue<'width'>
10
10
  }
11
11
 
12
12
 
13
- type SquareStyles = SquareProperties & DistributiveOmit<SystemStyleObject, keyof SquareProperties >
13
+ interface SquareStyles extends SquareProperties, DistributiveOmit<SystemStyleObject, keyof SquareProperties > {}
14
14
 
15
15
  interface SquarePatternFn {
16
16
  (styles?: SquareStyles): string
@@ -5,7 +5,7 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type StackProperties = {
8
+ export interface StackProperties {
9
9
  align?: PropertyValue<'alignItems'>
10
10
  justify?: PropertyValue<'justifyContent'>
11
11
  direction?: PropertyValue<'flexDirection'>
@@ -13,7 +13,7 @@ export type StackProperties = {
13
13
  }
14
14
 
15
15
 
16
- type StackStyles = StackProperties & DistributiveOmit<SystemStyleObject, keyof StackProperties >
16
+ interface StackStyles extends StackProperties, DistributiveOmit<SystemStyleObject, keyof StackProperties > {}
17
17
 
18
18
  interface StackPatternFn {
19
19
  (styles?: StackStyles): string
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type StyledLinkProperties = {
8
+ export interface StyledLinkProperties {
9
9
 
10
10
  }
11
11
 
12
12
 
13
- type StyledLinkStyles = StyledLinkProperties & DistributiveOmit<SystemStyleObject, keyof StyledLinkProperties >
13
+ interface StyledLinkStyles extends StyledLinkProperties, DistributiveOmit<SystemStyleObject, keyof StyledLinkProperties > {}
14
14
 
15
15
  interface StyledLinkPatternFn {
16
16
  (styles?: StyledLinkStyles): string
@@ -5,12 +5,12 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type VisuallyHiddenProperties = {
8
+ export interface VisuallyHiddenProperties {
9
9
 
10
10
  }
11
11
 
12
12
 
13
- type VisuallyHiddenStyles = VisuallyHiddenProperties & DistributiveOmit<SystemStyleObject, keyof VisuallyHiddenProperties >
13
+ interface VisuallyHiddenStyles extends VisuallyHiddenProperties, DistributiveOmit<SystemStyleObject, keyof VisuallyHiddenProperties > {}
14
14
 
15
15
  interface VisuallyHiddenPatternFn {
16
16
  (styles?: VisuallyHiddenStyles): string
@@ -5,13 +5,13 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type VstackProperties = {
8
+ export interface VstackProperties {
9
9
  justify?: PropertyValue<'justifyContent'>
10
10
  gap?: PropertyValue<'gap'>
11
11
  }
12
12
 
13
13
 
14
- type VstackStyles = VstackProperties & DistributiveOmit<SystemStyleObject, keyof VstackProperties >
14
+ interface VstackStyles extends VstackProperties, DistributiveOmit<SystemStyleObject, keyof VstackProperties > {}
15
15
 
16
16
  interface VstackPatternFn {
17
17
  (styles?: VstackStyles): string
@@ -5,7 +5,7 @@ import type { PropertyValue } from '../types/prop-type';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
- export type WrapProperties = {
8
+ export interface WrapProperties {
9
9
  gap?: PropertyValue<'gap'>
10
10
  rowGap?: PropertyValue<'gap'>
11
11
  columnGap?: PropertyValue<'gap'>
@@ -14,7 +14,7 @@ export type WrapProperties = {
14
14
  }
15
15
 
16
16
 
17
- type WrapStyles = WrapProperties & DistributiveOmit<SystemStyleObject, keyof WrapProperties >
17
+ interface WrapStyles extends WrapProperties, DistributiveOmit<SystemStyleObject, keyof WrapProperties > {}
18
18
 
19
19
  interface WrapPatternFn {
20
20
  (styles?: WrapStyles): string