@pandacss/studio 0.0.0-dev-20230922200913 → 0.0.0-dev-20230925114555

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 (53) hide show
  1. package/package.json +8 -8
  2. package/styled-system/jsx/aspect-ratio.d.ts +1 -1
  3. package/styled-system/jsx/bleed.d.ts +1 -1
  4. package/styled-system/jsx/box.d.ts +1 -1
  5. package/styled-system/jsx/center.d.ts +1 -1
  6. package/styled-system/jsx/circle.d.ts +1 -1
  7. package/styled-system/jsx/container.d.ts +1 -1
  8. package/styled-system/jsx/divider.d.ts +1 -1
  9. package/styled-system/jsx/flex.d.ts +1 -1
  10. package/styled-system/jsx/float.d.ts +1 -1
  11. package/styled-system/jsx/grid-item.d.ts +1 -1
  12. package/styled-system/jsx/grid.d.ts +1 -1
  13. package/styled-system/jsx/hstack.d.ts +1 -1
  14. package/styled-system/jsx/link-box.d.ts +1 -1
  15. package/styled-system/jsx/link-overlay.d.ts +1 -1
  16. package/styled-system/jsx/spacer.d.ts +1 -1
  17. package/styled-system/jsx/square.d.ts +1 -1
  18. package/styled-system/jsx/stack.d.ts +1 -1
  19. package/styled-system/jsx/styled-link.d.ts +1 -1
  20. package/styled-system/jsx/visually-hidden.d.ts +1 -1
  21. package/styled-system/jsx/vstack.d.ts +1 -1
  22. package/styled-system/jsx/wrap.d.ts +1 -1
  23. package/styled-system/patterns/aspect-ratio.d.ts +2 -2
  24. package/styled-system/patterns/bleed.d.ts +2 -2
  25. package/styled-system/patterns/box.d.ts +2 -2
  26. package/styled-system/patterns/center.d.ts +2 -2
  27. package/styled-system/patterns/circle.d.ts +2 -2
  28. package/styled-system/patterns/container.d.ts +2 -2
  29. package/styled-system/patterns/divider.d.ts +2 -2
  30. package/styled-system/patterns/flex.d.ts +2 -2
  31. package/styled-system/patterns/float.d.ts +2 -2
  32. package/styled-system/patterns/grid-item.d.ts +2 -2
  33. package/styled-system/patterns/grid.d.ts +2 -2
  34. package/styled-system/patterns/hstack.d.ts +2 -2
  35. package/styled-system/patterns/link-box.d.ts +2 -2
  36. package/styled-system/patterns/link-overlay.d.ts +2 -2
  37. package/styled-system/patterns/spacer.d.ts +2 -2
  38. package/styled-system/patterns/square.d.ts +2 -2
  39. package/styled-system/patterns/stack.d.ts +2 -2
  40. package/styled-system/patterns/styled-link.d.ts +2 -2
  41. package/styled-system/patterns/visually-hidden.d.ts +2 -2
  42. package/styled-system/patterns/vstack.d.ts +2 -2
  43. package/styled-system/patterns/wrap.d.ts +2 -2
  44. package/styled-system/types/composition.d.ts +3 -3
  45. package/styled-system/types/conditions.d.ts +227 -114
  46. package/styled-system/types/global.d.ts +7 -7
  47. package/styled-system/types/jsx.d.ts +2 -2
  48. package/styled-system/types/parts.d.ts +1 -1
  49. package/styled-system/types/pattern.d.ts +2 -2
  50. package/styled-system/types/prop-type.d.ts +2 -2
  51. package/styled-system/types/recipe.d.ts +9 -6
  52. package/styled-system/types/style-props.d.ts +1 -1
  53. package/styled-system/types/system-types.d.ts +12 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/studio",
3
- "version": "0.0.0-dev-20230922200913",
3
+ "version": "0.0.0-dev-20230925114555",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -33,19 +33,19 @@
33
33
  "react": "18.2.0",
34
34
  "react-dom": "18.2.0",
35
35
  "vite": "4.4.9",
36
- "@pandacss/config": "0.0.0-dev-20230922200913",
37
- "@pandacss/logger": "0.0.0-dev-20230922200913",
38
- "@pandacss/node": "0.0.0-dev-20230922200913",
39
- "@pandacss/shared": "0.0.0-dev-20230922200913",
40
- "@pandacss/token-dictionary": "0.0.0-dev-20230922200913",
41
- "@pandacss/types": "0.0.0-dev-20230922200913"
36
+ "@pandacss/config": "0.0.0-dev-20230925114555",
37
+ "@pandacss/logger": "0.0.0-dev-20230925114555",
38
+ "@pandacss/node": "0.0.0-dev-20230925114555",
39
+ "@pandacss/shared": "0.0.0-dev-20230925114555",
40
+ "@pandacss/token-dictionary": "0.0.0-dev-20230925114555",
41
+ "@pandacss/types": "0.0.0-dev-20230925114555"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/react": "18.2.22",
45
45
  "@types/react-dom": "18.2.7",
46
46
  "@vitejs/plugin-react": "4.0.4",
47
47
  "execa": "7.2.0",
48
- "@pandacss/dev": "0.0.0-dev-20230922200913"
48
+ "@pandacss/dev": "0.0.0-dev-20230925114555"
49
49
  },
50
50
  "scripts": {
51
51
  "codegen": "panda",
@@ -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>
@@ -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
@@ -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 CenterProperties = {
8
+ export interface CenterProperties {
9
9
  inline?: ConditionalValue<boolean>
10
10
  }
11
11
 
12
12
 
13
- type CenterStyles = CenterProperties & DistributiveOmit<SystemStyleObject, keyof CenterProperties >
13
+ interface CenterStyles extends CenterProperties, DistributiveOmit<SystemStyleObject, keyof CenterProperties > {}
14
14
 
15
15
  interface CenterPatternFn {
16
16
  (styles?: CenterStyles): 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 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