@pandacss/studio 0.15.1 → 0.15.3

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 (98) 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/factory.mjs +4 -5
  50. package/styled-system/jsx/flex.d.ts +1 -1
  51. package/styled-system/jsx/float.d.ts +1 -1
  52. package/styled-system/jsx/grid-item.d.ts +1 -1
  53. package/styled-system/jsx/grid.d.ts +1 -1
  54. package/styled-system/jsx/hstack.d.ts +1 -1
  55. package/styled-system/jsx/link-box.d.ts +1 -1
  56. package/styled-system/jsx/link-overlay.d.ts +1 -1
  57. package/styled-system/jsx/spacer.d.ts +1 -1
  58. package/styled-system/jsx/square.d.ts +1 -1
  59. package/styled-system/jsx/stack.d.ts +1 -1
  60. package/styled-system/jsx/styled-link.d.ts +1 -1
  61. package/styled-system/jsx/visually-hidden.d.ts +1 -1
  62. package/styled-system/jsx/vstack.d.ts +1 -1
  63. package/styled-system/jsx/wrap.d.ts +1 -1
  64. package/styled-system/patterns/aspect-ratio.d.ts +2 -2
  65. package/styled-system/patterns/bleed.d.ts +2 -2
  66. package/styled-system/patterns/box.d.ts +2 -2
  67. package/styled-system/patterns/center.d.ts +2 -2
  68. package/styled-system/patterns/circle.d.ts +2 -2
  69. package/styled-system/patterns/container.d.ts +2 -2
  70. package/styled-system/patterns/divider.d.ts +2 -2
  71. package/styled-system/patterns/flex.d.ts +2 -2
  72. package/styled-system/patterns/float.d.ts +2 -2
  73. package/styled-system/patterns/grid-item.d.ts +2 -2
  74. package/styled-system/patterns/grid.d.ts +2 -2
  75. package/styled-system/patterns/hstack.d.ts +2 -2
  76. package/styled-system/patterns/link-box.d.ts +2 -2
  77. package/styled-system/patterns/link-overlay.d.ts +2 -2
  78. package/styled-system/patterns/spacer.d.ts +2 -2
  79. package/styled-system/patterns/square.d.ts +2 -2
  80. package/styled-system/patterns/stack.d.ts +2 -2
  81. package/styled-system/patterns/styled-link.d.ts +2 -2
  82. package/styled-system/patterns/visually-hidden.d.ts +2 -2
  83. package/styled-system/patterns/vstack.d.ts +2 -2
  84. package/styled-system/patterns/wrap.d.ts +2 -2
  85. package/styled-system/styles.css +507 -516
  86. package/styled-system/tokens/index.css +8 -8
  87. package/styled-system/types/composition.d.ts +3 -3
  88. package/styled-system/types/conditions.d.ts +227 -114
  89. package/styled-system/types/global.d.ts +7 -7
  90. package/styled-system/types/index.d.ts +6 -4
  91. package/styled-system/types/jsx.d.ts +3 -3
  92. package/styled-system/types/parts.d.ts +1 -1
  93. package/styled-system/types/pattern.d.ts +2 -2
  94. package/styled-system/types/prop-type.d.ts +2 -2
  95. package/styled-system/types/recipe.d.ts +19 -14
  96. package/styled-system/types/style-props.d.ts +1 -1
  97. package/styled-system/types/system-types.d.ts +12 -6
  98. package/{virtual-panda.mjs → virtual-panda.ts} +24 -28
@@ -1,13 +1,14 @@
1
1
  @layer utilities {
2
+
2
3
  .d_flex {
3
- display: flex;
4
- }
4
+ display: flex
5
+ }
5
6
 
6
7
  .flex_column {
7
- flex-direction: column;
8
- }
8
+ flex-direction: column
9
+ }
9
10
 
10
11
  .gap_12 {
11
- gap: var(--spacing-12);
12
- }
13
- }
12
+ gap: var(--spacing-12)
13
+ }
14
+ }
@@ -1,21 +1,22 @@
1
1
  @layer utilities {
2
+
2
3
  .d_flex {
3
- display: flex;
4
- }
4
+ display: flex
5
+ }
5
6
 
6
7
  .flex_column {
7
- flex-direction: column;
8
- }
8
+ flex-direction: column
9
+ }
9
10
 
10
11
  .gap_3 {
11
- gap: var(--spacing-3);
12
- }
12
+ gap: var(--spacing-3)
13
+ }
13
14
 
14
15
  .w_full {
15
- width: var(--sizes-full);
16
- }
16
+ width: var(--sizes-full)
17
+ }
17
18
 
18
19
  .mt_5 {
19
- margin-top: var(--spacing-5);
20
- }
21
- }
20
+ margin-top: var(--spacing-5)
21
+ }
22
+ }
@@ -1,61 +1,62 @@
1
1
  @layer utilities {
2
+
2
3
  .bg_card {
3
- background: var(--colors-card);
4
- }
4
+ background: var(--colors-card)
5
+ }
5
6
 
6
7
  .ring_0 {
7
- outline: 0;
8
- }
8
+ outline: 0
9
+ }
9
10
 
10
11
  .pt_28 {
11
- padding-top: var(--spacing-28);
12
- }
12
+ padding-top: var(--spacing-28)
13
+ }
13
14
 
14
15
  .pb_28 {
15
- padding-bottom: var(--spacing-28);
16
- }
16
+ padding-bottom: var(--spacing-28)
17
+ }
17
18
 
18
19
  .mx_auto {
19
- margin-inline: auto;
20
- }
20
+ margin-inline: auto
21
+ }
21
22
 
22
23
  .w_fit-content {
23
- width: fit-content;
24
- }
24
+ width: fit-content
25
+ }
25
26
 
26
27
  .items_center {
27
- align-items: center;
28
- }
28
+ align-items: center
29
+ }
29
30
 
30
31
  .gap_1\.5 {
31
- gap: var(--spacing-1\.5);
32
- }
32
+ gap: var(--spacing-1\.5)
33
+ }
33
34
 
34
35
  .white-space_nowrap {
35
- white-space: nowrap;
36
- }
36
+ white-space: nowrap
37
+ }
37
38
 
38
39
  .w_48 {
39
- width: var(--sizes-48);
40
- }
40
+ width: var(--sizes-48)
41
+ }
41
42
 
42
43
  .text_capitalize {
43
- text-transform: capitalize;
44
- }
44
+ text-transform: capitalize
45
+ }
45
46
 
46
47
  .mr_2 {
47
- margin-right: var(--spacing-2);
48
- }
48
+ margin-right: var(--spacing-2)
49
+ }
49
50
 
50
51
  .d_flex {
51
- display: flex;
52
- }
52
+ display: flex
53
+ }
53
54
 
54
55
  .flex_column {
55
- flex-direction: column;
56
- }
56
+ flex-direction: column
57
+ }
57
58
 
58
59
  .gap_4 {
59
- gap: var(--spacing-4);
60
- }
61
- }
60
+ gap: var(--spacing-4)
61
+ }
62
+ }
@@ -1,149 +1,114 @@
1
1
  @layer utilities {
2
+
2
3
  .h_calc\(100vh_-_env\(safe-area-inset-bottom\)\) {
3
- height: calc(100vh - env(safe-area-inset-bottom));
4
- }
4
+ height: calc(100vh - env(safe-area-inset-bottom))
5
+ }
5
6
 
6
7
  .font_bold {
7
- font-weight: var(--font-weights-bold);
8
- }
8
+ font-weight: var(--font-weights-bold)
9
+ }
9
10
 
10
11
  .fs_2xl {
11
- font-size: var(--font-sizes-2xl);
12
- }
12
+ font-size: var(--font-sizes-2xl)
13
+ }
13
14
 
14
15
  .gap_2 {
15
- gap: var(--spacing-2);
16
- }
16
+ gap: var(--spacing-2)
17
+ }
17
18
 
18
19
  .w_16 {
19
- width: var(--sizes-16);
20
- }
20
+ width: var(--sizes-16)
21
+ }
21
22
 
22
23
  .mt_4 {
23
- margin-top: var(--spacing-4);
24
- }
24
+ margin-top: var(--spacing-4)
25
+ }
25
26
 
26
27
  .pt_14 {
27
- padding-top: var(--spacing-14);
28
- }
28
+ padding-top: var(--spacing-14)
29
+ }
29
30
 
30
31
  .pb_8 {
31
- padding-bottom: var(--spacing-8);
32
- }
32
+ padding-bottom: var(--spacing-8)
33
+ }
33
34
 
34
35
  .fs_3xl {
35
- font-size: var(--font-sizes-3xl);
36
- }
36
+ font-size: var(--font-sizes-3xl)
37
+ }
37
38
 
38
39
  .font_semibold {
39
- font-weight: var(--font-weights-semibold);
40
- }
40
+ font-weight: var(--font-weights-semibold)
41
+ }
41
42
 
42
43
  .mb_8 {
43
- margin-bottom: var(--spacing-8);
44
- }
44
+ margin-bottom: var(--spacing-8)
45
+ }
45
46
 
46
47
  .tracking_tight {
47
- letter-spacing: var(--letter-spacings-tight);
48
- }
48
+ letter-spacing: var(--letter-spacings-tight)
49
+ }
49
50
 
50
51
  .d_flex {
51
- display: flex;
52
- }
52
+ display: flex
53
+ }
53
54
 
54
55
  .flex_column {
55
- flex-direction: column;
56
- }
56
+ flex-direction: column
57
+ }
57
58
 
58
59
  .gap_10px {
59
- gap: 10px;
60
- }
60
+ gap: 10px
61
+ }
61
62
 
62
63
  .h_full {
63
- height: var(--sizes-full);
64
- }
64
+ height: var(--sizes-full)
65
+ }
65
66
 
66
67
  .min-w_60 {
67
- min-width: var(--sizes-60);
68
- }
68
+ min-width: var(--sizes-60)
69
+ }
69
70
 
70
71
  .px_12 {
71
- padding-inline: var(--spacing-12);
72
- }
72
+ padding-inline: var(--spacing-12)
73
+ }
73
74
 
74
75
  .py_8 {
75
- padding-block: var(--spacing-8);
76
- }
76
+ padding-block: var(--spacing-8)
77
+ }
77
78
 
78
79
  .pos_relative {
79
- position: relative;
80
- }
81
-
82
- .max-w_8xl {
83
- max-width: var(--sizes-8xl);
84
- }
85
-
86
- .mx_auto {
87
- margin-inline: auto;
88
- }
89
-
90
- .px_4 {
91
- padding-inline: var(--spacing-4);
92
- }
93
-
94
- .w_full {
95
- width: var(--sizes-full);
96
- }
97
-
98
- .overflow_auto {
99
- overflow: auto;
100
- }
101
-
102
- .md\:px_6 {
103
- @media screen and (min-width: 768px) {
104
- padding-inline: var(--spacing-6);
80
+ position: relative
105
81
  }
106
- }
107
82
 
108
- .lg\:px_8 {
109
- @media screen and (min-width: 1024px) {
110
- padding-inline: var(--spacing-8);
83
+ .max-w_8xl {
84
+ max-width: var(--sizes-8xl)
111
85
  }
112
- }
113
86
 
114
- .md\:px_6 {
115
- @media screen and (min-width: 768px) {
116
- padding-inline: var(--spacing-6);
87
+ .mx_auto {
88
+ margin-inline: auto
117
89
  }
118
- }
119
90
 
120
- .lg\:px_8 {
121
- @media screen and (min-width: 1024px) {
122
- padding-inline: var(--spacing-8);
91
+ .px_4 {
92
+ padding-inline: var(--spacing-4)
123
93
  }
124
- }
125
94
 
126
- .md\:px_6 {
127
- @media screen and (min-width: 768px) {
128
- padding-inline: var(--spacing-6);
95
+ .w_full {
96
+ width: var(--sizes-full)
129
97
  }
130
- }
131
98
 
132
- .lg\:px_8 {
133
- @media screen and (min-width: 1024px) {
134
- padding-inline: var(--spacing-8);
99
+ .overflow_auto {
100
+ overflow: auto
135
101
  }
136
- }
137
102
 
138
- .md\:px_6 {
139
- @media screen and (min-width: 768px) {
140
- padding-inline: var(--spacing-6);
103
+ @media screen and (min-width: 48em) {
104
+ .md\:px_6 {
105
+ padding-inline: var(--spacing-6)
141
106
  }
142
- }
107
+ }
143
108
 
144
- .lg\:px_8 {
145
- @media screen and (min-width: 1024px) {
146
- padding-inline: var(--spacing-8);
109
+ @media screen and (min-width: 64em) {
110
+ .lg\:px_8 {
111
+ padding-inline: var(--spacing-8)
147
112
  }
148
- }
149
- }
113
+ }
114
+ }
@@ -4,7 +4,7 @@ import type { AspectRatioProperties } from '../patterns/aspect-ratio';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type AspectRatioProps = AspectRatioProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof AspectRatioProperties | 'aspectRatio'>
7
+ export interface AspectRatioProps extends AspectRatioProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof AspectRatioProperties | 'aspectRatio'> {}
8
8
 
9
9
 
10
10
  export declare const AspectRatio: FunctionComponent<AspectRatioProps>
@@ -4,7 +4,7 @@ import type { BleedProperties } from '../patterns/bleed';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type BleedProps = BleedProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof BleedProperties >
7
+ export interface BleedProps extends BleedProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof BleedProperties > {}
8
8
 
9
9
 
10
10
  export declare const Bleed: FunctionComponent<BleedProps>
@@ -4,7 +4,7 @@ import type { BoxProperties } from '../patterns/box';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type BoxProps = BoxProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof BoxProperties >
7
+ export interface BoxProps extends BoxProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof BoxProperties > {}
8
8
 
9
9
 
10
10
  export declare const Box: FunctionComponent<BoxProps>
@@ -4,7 +4,7 @@ import type { CenterProperties } from '../patterns/center';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type CenterProps = CenterProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof CenterProperties >
7
+ export interface CenterProps extends CenterProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof CenterProperties > {}
8
8
 
9
9
 
10
10
  export declare const Center: FunctionComponent<CenterProps>
@@ -4,7 +4,7 @@ import type { CircleProperties } from '../patterns/circle';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type CircleProps = CircleProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof CircleProperties >
7
+ export interface CircleProps extends CircleProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof CircleProperties > {}
8
8
 
9
9
 
10
10
  export declare const Circle: FunctionComponent<CircleProps>
@@ -4,7 +4,7 @@ import type { ContainerProperties } from '../patterns/container';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type ContainerProps = ContainerProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof ContainerProperties >
7
+ export interface ContainerProps extends ContainerProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof ContainerProperties > {}
8
8
 
9
9
 
10
10
  export declare const Container: FunctionComponent<ContainerProps>
@@ -4,7 +4,7 @@ import type { DividerProperties } from '../patterns/divider';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type DividerProps = DividerProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof DividerProperties >
7
+ export interface DividerProps extends DividerProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof DividerProperties > {}
8
8
 
9
9
 
10
10
  export declare const Divider: FunctionComponent<DividerProps>
@@ -1,5 +1,5 @@
1
1
  import { createElement, forwardRef, useMemo } from 'react'
2
- import { css, cx, cva, assignCss } from '../css/index.mjs';
2
+ import { css, cx, cva } from '../css/index.mjs';
3
3
  import { splitProps, normalizeHTMLProps } from '../helpers.mjs';
4
4
  import { isCssProperty } from './is-valid-prop.mjs';
5
5
 
@@ -15,15 +15,14 @@ function styledFn(Dynamic, configOrCva = {}) {
15
15
 
16
16
  function recipeClass() {
17
17
  const { css: cssStyles, ...propStyles } = styleProps
18
- const styles = assignCss(propStyles, cssStyles)
19
- return cx(cvaFn(variantProps), css(styles), elementProps.className)
18
+ const compoundVariantStyles = cvaFn.__getCompoundVariantCss__?.(variantProps);
19
+ return cx(cvaFn(variantProps, false), css(compoundVariantStyles, propStyles, cssStyles), elementProps.className)
20
20
  }
21
21
 
22
22
  function cvaClass() {
23
23
  const { css: cssStyles, ...propStyles } = styleProps
24
24
  const cvaStyles = cvaFn.raw(variantProps)
25
- const styles = assignCss(cvaStyles, propStyles, cssStyles)
26
- return cx(css(styles), elementProps.className)
25
+ return cx(css(cvaStyles, propStyles, cssStyles), elementProps.className)
27
26
  }
28
27
 
29
28
 
@@ -4,7 +4,7 @@ import type { FlexProperties } from '../patterns/flex';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type FlexProps = FlexProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof FlexProperties >
7
+ export interface FlexProps extends FlexProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof FlexProperties > {}
8
8
 
9
9
 
10
10
  export declare const Flex: FunctionComponent<FlexProps>
@@ -4,7 +4,7 @@ import type { FloatProperties } from '../patterns/float';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type FloatProps = FloatProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof FloatProperties >
7
+ export interface FloatProps extends FloatProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof FloatProperties > {}
8
8
 
9
9
 
10
10
  export declare const Float: FunctionComponent<FloatProps>
@@ -4,7 +4,7 @@ import type { GridItemProperties } from '../patterns/grid-item';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type GridItemProps = GridItemProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof GridItemProperties >
7
+ export interface GridItemProps extends GridItemProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof GridItemProperties > {}
8
8
 
9
9
 
10
10
  export declare const GridItem: FunctionComponent<GridItemProps>
@@ -4,7 +4,7 @@ import type { GridProperties } from '../patterns/grid';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type GridProps = GridProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof GridProperties >
7
+ export interface GridProps extends GridProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof GridProperties > {}
8
8
 
9
9
 
10
10
  export declare const Grid: FunctionComponent<GridProps>
@@ -4,7 +4,7 @@ import type { HstackProperties } from '../patterns/hstack';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type HstackProps = HstackProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof HstackProperties >
7
+ export interface HstackProps extends HstackProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof HstackProperties > {}
8
8
 
9
9
 
10
10
  export declare const HStack: FunctionComponent<HstackProps>
@@ -4,7 +4,7 @@ import type { LinkBoxProperties } from '../patterns/link-box';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type LinkBoxProps = LinkBoxProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof LinkBoxProperties >
7
+ export interface LinkBoxProps extends LinkBoxProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof LinkBoxProperties > {}
8
8
 
9
9
 
10
10
  export declare const LinkBox: FunctionComponent<LinkBoxProps>
@@ -4,7 +4,7 @@ import type { LinkOverlayProperties } from '../patterns/link-overlay';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type LinkOverlayProps = LinkOverlayProperties & DistributiveOmit<HTMLPandaProps<'a'>, keyof LinkOverlayProperties >
7
+ export interface LinkOverlayProps extends LinkOverlayProperties, DistributiveOmit<HTMLPandaProps<'a'>, keyof LinkOverlayProperties > {}
8
8
 
9
9
 
10
10
  export declare const LinkOverlay: FunctionComponent<LinkOverlayProps>
@@ -4,7 +4,7 @@ import type { SpacerProperties } from '../patterns/spacer';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type SpacerProps = SpacerProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof SpacerProperties >
7
+ export interface SpacerProps extends SpacerProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof SpacerProperties > {}
8
8
 
9
9
 
10
10
  export declare const Spacer: FunctionComponent<SpacerProps>
@@ -4,7 +4,7 @@ import type { SquareProperties } from '../patterns/square';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type SquareProps = SquareProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof SquareProperties >
7
+ export interface SquareProps extends SquareProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof SquareProperties > {}
8
8
 
9
9
 
10
10
  export declare const Square: FunctionComponent<SquareProps>
@@ -4,7 +4,7 @@ import type { StackProperties } from '../patterns/stack';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type StackProps = StackProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof StackProperties >
7
+ export interface StackProps extends StackProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof StackProperties > {}
8
8
 
9
9
 
10
10
  export declare const Stack: FunctionComponent<StackProps>
@@ -4,7 +4,7 @@ import type { StyledLinkProperties } from '../patterns/styled-link';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type StyledLinkProps = StyledLinkProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof StyledLinkProperties >
7
+ export interface StyledLinkProps extends StyledLinkProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof StyledLinkProperties > {}
8
8
 
9
9
 
10
10
  export declare const StyledLink: FunctionComponent<StyledLinkProps>
@@ -4,7 +4,7 @@ import type { VisuallyHiddenProperties } from '../patterns/visually-hidden';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type VisuallyHiddenProps = VisuallyHiddenProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof VisuallyHiddenProperties >
7
+ export interface VisuallyHiddenProps extends VisuallyHiddenProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof VisuallyHiddenProperties > {}
8
8
 
9
9
 
10
10
  export declare const VisuallyHidden: FunctionComponent<VisuallyHiddenProps>
@@ -4,7 +4,7 @@ import type { VstackProperties } from '../patterns/vstack';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type VstackProps = VstackProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof VstackProperties >
7
+ export interface VstackProps extends VstackProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof VstackProperties > {}
8
8
 
9
9
 
10
10
  export declare const VStack: FunctionComponent<VstackProps>
@@ -4,7 +4,7 @@ import type { WrapProperties } from '../patterns/wrap';
4
4
  import type { HTMLPandaProps } from '../types/jsx';
5
5
  import type { DistributiveOmit } from '../types/system-types';
6
6
 
7
- export type WrapProps = WrapProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof WrapProperties >
7
+ export interface WrapProps extends WrapProperties, DistributiveOmit<HTMLPandaProps<'div'>, keyof WrapProperties > {}
8
8
 
9
9
 
10
10
  export declare const Wrap: FunctionComponent<WrapProps>
@@ -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 AspectRatioProperties = {
8
+ export interface AspectRatioProperties {
9
9
  ratio?: ConditionalValue<number>
10
10
  }
11
11
 
12
12
 
13
- type AspectRatioStyles = AspectRatioProperties & DistributiveOmit<SystemStyleObject, keyof AspectRatioProperties | 'aspectRatio'>
13
+ interface AspectRatioStyles extends AspectRatioProperties, DistributiveOmit<SystemStyleObject, keyof AspectRatioProperties | 'aspectRatio'> {}
14
14
 
15
15
  interface AspectRatioPatternFn {
16
16
  (styles?: AspectRatioStyles): 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 BleedProperties = {
8
+ export interface BleedProperties {
9
9
  inline?: PropertyValue<'marginInline'>
10
10
  block?: PropertyValue<'marginBlock'>
11
11
  }
12
12
 
13
13
 
14
- type BleedStyles = BleedProperties & DistributiveOmit<SystemStyleObject, keyof BleedProperties >
14
+ interface BleedStyles extends BleedProperties, DistributiveOmit<SystemStyleObject, keyof BleedProperties > {}
15
15
 
16
16
  interface BleedPatternFn {
17
17
  (styles?: BleedStyles): 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 BoxProperties = {
8
+ export interface BoxProperties {
9
9
 
10
10
  }
11
11
 
12
12
 
13
- type BoxStyles = BoxProperties & DistributiveOmit<SystemStyleObject, keyof BoxProperties >
13
+ interface BoxStyles extends BoxProperties, DistributiveOmit<SystemStyleObject, keyof BoxProperties > {}
14
14
 
15
15
  interface BoxPatternFn {
16
16
  (styles?: BoxStyles): string