@pandacss/studio 0.11.1 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/package.json +9 -9
  2. package/styled-system/css/css.mjs +1 -1
  3. package/styled-system/jsx/aspect-ratio.d.ts +2 -1
  4. package/styled-system/jsx/bleed.d.ts +2 -1
  5. package/styled-system/jsx/box.d.ts +2 -1
  6. package/styled-system/jsx/center.d.ts +2 -1
  7. package/styled-system/jsx/circle.d.ts +2 -1
  8. package/styled-system/jsx/container.d.ts +2 -1
  9. package/styled-system/jsx/divider.d.ts +2 -1
  10. package/styled-system/jsx/flex.d.ts +2 -1
  11. package/styled-system/jsx/float.d.ts +2 -1
  12. package/styled-system/jsx/grid-item.d.ts +2 -1
  13. package/styled-system/jsx/grid.d.ts +2 -1
  14. package/styled-system/jsx/hstack.d.ts +2 -1
  15. package/styled-system/jsx/is-valid-prop.mjs +1 -1
  16. package/styled-system/jsx/link-box.d.ts +2 -1
  17. package/styled-system/jsx/link-overlay.d.ts +2 -1
  18. package/styled-system/jsx/spacer.d.ts +2 -1
  19. package/styled-system/jsx/square.d.ts +2 -1
  20. package/styled-system/jsx/stack.d.ts +2 -1
  21. package/styled-system/jsx/styled-link.d.ts +2 -1
  22. package/styled-system/jsx/visually-hidden.d.ts +2 -1
  23. package/styled-system/jsx/vstack.d.ts +2 -1
  24. package/styled-system/jsx/wrap.d.ts +2 -1
  25. package/styled-system/patterns/aspect-ratio.d.ts +5 -4
  26. package/styled-system/patterns/bleed.d.ts +5 -4
  27. package/styled-system/patterns/box.d.ts +5 -4
  28. package/styled-system/patterns/center.d.ts +5 -4
  29. package/styled-system/patterns/circle.d.ts +5 -4
  30. package/styled-system/patterns/container.d.ts +5 -4
  31. package/styled-system/patterns/divider.d.ts +5 -4
  32. package/styled-system/patterns/flex.d.ts +5 -4
  33. package/styled-system/patterns/float.d.ts +5 -4
  34. package/styled-system/patterns/grid-item.d.ts +5 -4
  35. package/styled-system/patterns/grid.d.ts +5 -4
  36. package/styled-system/patterns/hstack.d.ts +5 -4
  37. package/styled-system/patterns/link-box.d.ts +5 -4
  38. package/styled-system/patterns/link-overlay.d.ts +5 -4
  39. package/styled-system/patterns/spacer.d.ts +5 -4
  40. package/styled-system/patterns/square.d.ts +5 -4
  41. package/styled-system/patterns/stack.d.ts +5 -4
  42. package/styled-system/patterns/styled-link.d.ts +5 -4
  43. package/styled-system/patterns/visually-hidden.d.ts +5 -4
  44. package/styled-system/patterns/vstack.d.ts +5 -4
  45. package/styled-system/patterns/wrap.d.ts +5 -4
  46. package/styled-system/tokens/tokens.d.ts +3 -0
  47. package/styled-system/types/jsx.d.ts +2 -2
  48. package/styled-system/types/prop-type.d.ts +1 -0
  49. package/styled-system/types/recipe.d.ts +4 -2
  50. package/styled-system/types/system-types.d.ts +7 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/studio",
3
- "version": "0.11.1",
3
+ "version": "0.12.1",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -32,20 +32,20 @@
32
32
  "javascript-stringify": "2.1.0",
33
33
  "react": "18.2.0",
34
34
  "react-dom": "18.2.0",
35
- "vite": "4.4.8",
36
- "@pandacss/types": "0.11.1",
37
- "@pandacss/config": "0.11.1",
38
- "@pandacss/shared": "0.11.1",
39
- "@pandacss/token-dictionary": "0.11.1",
40
- "@pandacss/logger": "0.11.1",
41
- "@pandacss/node": "0.11.1"
35
+ "vite": "4.4.9",
36
+ "@pandacss/types": "0.12.1",
37
+ "@pandacss/config": "0.12.1",
38
+ "@pandacss/shared": "0.12.1",
39
+ "@pandacss/token-dictionary": "0.12.1",
40
+ "@pandacss/logger": "0.12.1",
41
+ "@pandacss/node": "0.12.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/react": "18.2.18",
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.11.1"
48
+ "@pandacss/dev": "0.12.1"
49
49
  },
50
50
  "scripts": {
51
51
  "codegen": "panda",
@@ -2,7 +2,7 @@ import { createCss, createMergeCss, hypenateProperty, withoutSpace } from '../he
2
2
  import { sortConditions, finalizeConditions } from './conditions.mjs'
3
3
 
4
4
  const utilities =
5
- 'aspectRatio:aspect,boxDecorationBreak:decoration,zIndex:z,boxSizing:box,objectPosition:object,objectFit:object,overscrollBehavior:overscroll,overscrollBehaviorX:overscroll-x,overscrollBehaviorY:overscroll-y,position:pos/1,top:top,left:left,insetInline:inset-x,insetBlock:inset-y,inset:inset,insetBlockEnd:inset-b,insetBlockStart:inset-t,insetInlineEnd:end/insetEnd/1,insetInlineStart:start/insetStart/1,right:right,bottom:bottom,insetX:inset-x,insetY:inset-y,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:basis,flex:flex,flexDirection:flex/flexDir,flexGrow:grow,flexShrink:shrink,gridTemplateColumns:grid-cols,gridTemplateRows:grid-rows,gridColumn:col-span,gridRow:row-span,gridColumnStart:col-start,gridColumnEnd:col-end,gridAutoFlow:grid-flow,gridAutoColumns:auto-cols,gridAutoRows:auto-rows,gap:gap,gridGap:gap,gridRowGap:gap-x,gridColumnGap:gap-y,rowGap:gap-x,columnGap:gap-y,justifyContent:justify,alignContent:content,alignItems:items,alignSelf:self,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pb,paddingBlockStart:pt,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mb,marginBlockStart:mt,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,outlineWidth:ring/ringWidth,outlineColor:ring/ringColor,outline:ring/1,outlineOffset:ring/ringOffset,divideX:divide-x,divideY:divide-y,divideColor:divide,divideStyle:divide,width:w/1,inlineSize:w,minWidth:min-w/minW,minInlineSize:min-w,maxWidth:max-w/maxW,maxInlineSize:max-w,height:h/1,blockSize:h,minHeight:min-h/minH,minBlockSize:min-h,maxHeight:max-h/maxH,maxBlockSize:max-b,color:text,fontFamily:font,fontSize:fs,fontWeight:font,fontSmoothing:smoothing,fontVariantNumeric:numeric,letterSpacing:tracking,lineHeight:leading,textAlign:text,textDecoration:text-decor,textDecorationColor:text-decor,textEmphasisColor:text-emphasis,textDecorationStyle:decoration,textDecorationThickness:decoration,textUnderlineOffset:underline-offset,textTransform:text,textIndent:indent,textShadow:text-shadow,textOverflow:text,verticalAlign:align,wordBreak:break,textWrap:text,truncate:truncate,lineClamp:clamp,listStyleType:list,listStylePosition:list,listStyleImage:list-img,backgroundPosition:bg/bgPosition,backgroundPositionX:bg-x/bgPositionX,backgroundPositionY:bg-y/bgPositionY,backgroundAttachment:bg/bgAttachment,backgroundClip:bg-clip/bgClip,background:bg/1,backgroundColor:bg/bgColor,backgroundOrigin:bg-origin/bgOrigin,backgroundImage:bg-img/bgImage,backgroundRepeat:bg-repeat/bgRepeat,backgroundBlendMode:bg-blend/bgBlendMode,backgroundSize:bg/bgSize,backgroundGradient:bg-gradient/bgGradient,textGradient:text-gradient,gradientFrom:from,gradientTo:to,gradientVia:via,borderRadius:rounded/1,borderTopLeftRadius:rounded-tl/roundedTopLeft,borderTopRightRadius:rounded-tr/roundedTopRight,borderBottomRightRadius:rounded-br/roundedBottomRight,borderBottomLeftRadius:rounded-bl/roundedBottomLeft,borderTopRadius:rounded-t/roundedTop,borderRightRadius:rounded-r/roundedRight,borderBottomRadius:rounded-b/roundedBottom,borderLeftRadius:rounded-l/roundedLeft,borderStartStartRadius:rounded-ss/roundedStartStart,borderStartEndRadius:rounded-se/roundedStartEnd,borderStartRadius:rounded-s/roundedStart,borderEndStartRadius:rounded-es/roundedEndStart,borderEndEndRadius:rounded-ee/roundedEndEnd,borderEndRadius:rounded-e/roundedEnd,border:border,borderColor:border,borderInline:border-x/borderX,borderInlineWidth:border-x/borderXWidth,borderInlineColor:border-x/borderXColor,borderBlock:border-y/borderY,borderBlockWidth:border-y/borderYWidth,borderBlockColor:border-y/borderYColor,borderLeft:border-l,borderLeftColor:border-l,borderInlineStart:border-s/borderStart,borderInlineStartWidth:border-s/borderStartWidth,borderInlineStartColor:border-s/borderStartColor,borderRight:border-r,borderRightColor:border-r,borderInlineEnd:border-e/borderEnd,borderInlineEndWidth:border-e/borderEndWidth,borderInlineEndColor:border-e/borderEndColor,borderTop:border-t,borderTopColor:border-t,borderBottom:border-b,borderBottomColor:border-b,borderBlockEnd:border-be,borderBlockEndColor:border-be,borderBlockStart:border-bs,borderBlockStartColor:border-bs,boxShadow:shadow/1,boxShadowColor:shadow/shadowColor,mixBlendMode:mix-blend,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:backdrop,backdropBlur:backdrop-blur,backdropBrightness:backdrop-brightness,backdropContrast:backdrop-contrast,backdropGrayscale:backdrop-grayscale,backdropHueRotate:backdrop-hue-rotate,backdropInvert:backdrop-invert,backdropOpacity:backdrop-opacity,backdropSaturate:backdrop-saturate,backdropSepia:backdrop-sepia,borderCollapse:border,borderSpacing:border-spacing,borderSpacingX:border-spacing-x,borderSpacingY:border-spacing-y,tableLayout:table,transitionTimingFunction:ease,transitionDelay:delay,transitionDuration:duration,transitionProperty:transition-prop,transition:transition,animation:animation,animationDelay:animation-delay,transformOrigin:origin,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,accentColor:accent,caretColor:caret,scrollBehavior:scroll,scrollbar:scrollbar,scrollMargin:scroll-m,scrollMarginX:scroll-mx,scrollMarginY:scroll-my,scrollMarginLeft:scroll-ml,scrollMarginRight:scroll-mr,scrollMarginTop:scroll-mt,scrollMarginBottom:scroll-mb,scrollMarginBlock:scroll-my,scrollMarginBlockEnd:scroll-mb,scrollMarginBlockStart:scroll-mt,scrollMarginInline:scroll-mx,scrollMarginInlineEnd:scroll-me,scrollMarginInlineStart:scroll-ms,scrollPadding:scroll-p,scrollPaddingBlock:scroll-pb,scrollPaddingBlockStart:scroll-pt,scrollPaddingBlockEnd:scroll-pb,scrollPaddingInline:scroll-px,scrollPaddingInlineEnd:scroll-pe,scrollPaddingInlineStart:scroll-ps,scrollPaddingX:scroll-px,scrollPaddingY:scroll-py,scrollPaddingLeft:scroll-pl,scrollPaddingRight:scroll-pr,scrollPaddingTop:scroll-pt,scrollPaddingBottom:scroll-pb,scrollSnapAlign:snap,scrollSnapStop:snap,scrollSnapType:snap,scrollSnapStrictness:strictness,scrollSnapMargin:snap-m,scrollSnapMarginTop:snap-mt,scrollSnapMarginBottom:snap-mb,scrollSnapMarginLeft:snap-ml,scrollSnapMarginRight:snap-mr,touchAction:touch,userSelect:select,fill:fill,stroke:stroke,srOnly:sr,debug:debug,appearance:appearance,backfaceVisibility:backface,clipPath:clip-path,hyphens:hyphens,mask:mask,maskImage:mask-image,maskSize:mask-size,textSizeAdjust:text-size-adjust,textStyle:textStyle'
5
+ 'aspectRatio:aspect,boxDecorationBreak:decoration,zIndex:z,boxSizing:box,objectPosition:object,objectFit:object,overscrollBehavior:overscroll,overscrollBehaviorX:overscroll-x,overscrollBehaviorY:overscroll-y,position:pos/1,top:top,left:left,insetInline:inset-x,insetBlock:inset-y,inset:inset,insetBlockEnd:inset-b,insetBlockStart:inset-t,insetInlineEnd:end/insetEnd/1,insetInlineStart:start/insetStart/1,right:right,bottom:bottom,insetX:inset-x,insetY:inset-y,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:basis,flex:flex,flexDirection:flex/flexDir,flexGrow:grow,flexShrink:shrink,gridTemplateColumns:grid-cols,gridTemplateRows:grid-rows,gridColumn:col-span,gridRow:row-span,gridColumnStart:col-start,gridColumnEnd:col-end,gridAutoFlow:grid-flow,gridAutoColumns:auto-cols,gridAutoRows:auto-rows,gap:gap,gridGap:gap,gridRowGap:gap-x,gridColumnGap:gap-y,rowGap:gap-x,columnGap:gap-y,justifyContent:justify,alignContent:content,alignItems:items,alignSelf:self,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pb,paddingBlockStart:pt,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mb,marginBlockStart:mt,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,outlineWidth:ring/ringWidth,outlineColor:ring/ringColor,outline:ring/1,outlineOffset:ring/ringOffset,divideX:divide-x,divideY:divide-y,divideColor:divide,divideStyle:divide,width:w/1,inlineSize:w,minWidth:min-w/minW,minInlineSize:min-w,maxWidth:max-w/maxW,maxInlineSize:max-w,height:h/1,blockSize:h,minHeight:min-h/minH,minBlockSize:min-h,maxHeight:max-h/maxH,maxBlockSize:max-b,color:text,fontFamily:font,fontSize:fs,fontWeight:font,fontSmoothing:smoothing,fontVariantNumeric:numeric,letterSpacing:tracking,lineHeight:leading,textAlign:text,textDecoration:text-decor,textDecorationColor:text-decor,textEmphasisColor:text-emphasis,textDecorationStyle:decoration,textDecorationThickness:decoration,textUnderlineOffset:underline-offset,textTransform:text,textIndent:indent,textShadow:text-shadow,textOverflow:text,verticalAlign:align,wordBreak:break,textWrap:text,truncate:truncate,lineClamp:clamp,listStyleType:list,listStylePosition:list,listStyleImage:list-img,backgroundPosition:bg/bgPosition,backgroundPositionX:bg-x/bgPositionX,backgroundPositionY:bg-y/bgPositionY,backgroundAttachment:bg/bgAttachment,backgroundClip:bg-clip/bgClip,background:bg/1,backgroundColor:bg/bgColor,backgroundOrigin:bg-origin/bgOrigin,backgroundImage:bg-img/bgImage,backgroundRepeat:bg-repeat/bgRepeat,backgroundBlendMode:bg-blend/bgBlendMode,backgroundSize:bg/bgSize,backgroundGradient:bg-gradient/bgGradient,textGradient:text-gradient,gradientFrom:from,gradientTo:to,gradientVia:via,borderRadius:rounded/1,borderTopLeftRadius:rounded-tl/roundedTopLeft,borderTopRightRadius:rounded-tr/roundedTopRight,borderBottomRightRadius:rounded-br/roundedBottomRight,borderBottomLeftRadius:rounded-bl/roundedBottomLeft,borderTopRadius:rounded-t/roundedTop,borderRightRadius:rounded-r/roundedRight,borderBottomRadius:rounded-b/roundedBottom,borderLeftRadius:rounded-l/roundedLeft,borderStartStartRadius:rounded-ss/roundedStartStart,borderStartEndRadius:rounded-se/roundedStartEnd,borderStartRadius:rounded-s/roundedStart,borderEndStartRadius:rounded-es/roundedEndStart,borderEndEndRadius:rounded-ee/roundedEndEnd,borderEndRadius:rounded-e/roundedEnd,border:border,borderColor:border,borderInline:border-x/borderX,borderInlineWidth:border-x/borderXWidth,borderInlineColor:border-x/borderXColor,borderBlock:border-y/borderY,borderBlockWidth:border-y/borderYWidth,borderBlockColor:border-y/borderYColor,borderLeft:border-l,borderLeftColor:border-l,borderInlineStart:border-s/borderStart,borderInlineStartWidth:border-s/borderStartWidth,borderInlineStartColor:border-s/borderStartColor,borderRight:border-r,borderRightColor:border-r,borderInlineEnd:border-e/borderEnd,borderInlineEndWidth:border-e/borderEndWidth,borderInlineEndColor:border-e/borderEndColor,borderTop:border-t,borderTopColor:border-t,borderBottom:border-b,borderBottomColor:border-b,borderBlockEnd:border-be,borderBlockEndColor:border-be,borderBlockStart:border-bs,borderBlockStartColor:border-bs,boxShadow:shadow/1,boxShadowColor:shadow/shadowColor,mixBlendMode:mix-blend,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:backdrop,backdropBlur:backdrop-blur,backdropBrightness:backdrop-brightness,backdropContrast:backdrop-contrast,backdropGrayscale:backdrop-grayscale,backdropHueRotate:backdrop-hue-rotate,backdropInvert:backdrop-invert,backdropOpacity:backdrop-opacity,backdropSaturate:backdrop-saturate,backdropSepia:backdrop-sepia,borderCollapse:border,borderSpacing:border-spacing,borderSpacingX:border-spacing-x,borderSpacingY:border-spacing-y,tableLayout:table,transitionTimingFunction:ease,transitionDelay:delay,transitionDuration:duration,transitionProperty:transition-prop,transition:transition,animation:animation,animationName:animation-name,animationDelay:animation-delay,transformOrigin:origin,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,accentColor:accent,caretColor:caret,scrollBehavior:scroll,scrollbar:scrollbar,scrollMargin:scroll-m,scrollMarginX:scroll-mx,scrollMarginY:scroll-my,scrollMarginLeft:scroll-ml,scrollMarginRight:scroll-mr,scrollMarginTop:scroll-mt,scrollMarginBottom:scroll-mb,scrollMarginBlock:scroll-my,scrollMarginBlockEnd:scroll-mb,scrollMarginBlockStart:scroll-mt,scrollMarginInline:scroll-mx,scrollMarginInlineEnd:scroll-me,scrollMarginInlineStart:scroll-ms,scrollPadding:scroll-p,scrollPaddingBlock:scroll-pb,scrollPaddingBlockStart:scroll-pt,scrollPaddingBlockEnd:scroll-pb,scrollPaddingInline:scroll-px,scrollPaddingInlineEnd:scroll-pe,scrollPaddingInlineStart:scroll-ps,scrollPaddingX:scroll-px,scrollPaddingY:scroll-py,scrollPaddingLeft:scroll-pl,scrollPaddingRight:scroll-pr,scrollPaddingTop:scroll-pt,scrollPaddingBottom:scroll-pb,scrollSnapAlign:snap,scrollSnapStop:snap,scrollSnapType:snap,scrollSnapStrictness:strictness,scrollSnapMargin:snap-m,scrollSnapMarginTop:snap-mt,scrollSnapMarginBottom:snap-mb,scrollSnapMarginLeft:snap-ml,scrollSnapMarginRight:snap-mr,touchAction:touch,userSelect:select,fill:fill,stroke:stroke,srOnly:sr,debug:debug,appearance:appearance,backfaceVisibility:backface,clipPath:clip-path,hyphens:hyphens,mask:mask,maskImage:mask-image,maskSize:mask-size,textSizeAdjust:text-size-adjust,textStyle:textStyle'
6
6
 
7
7
  const classNameByProp = new Map()
8
8
  const shorthands = new Map()
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { AspectRatioProperties } from '../patterns/aspect-ratio'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type AspectRatioProps = AspectRatioProperties & Omit<HTMLPandaProps<'div'>, keyof AspectRatioProperties | 'aspectRatio'>
7
+ export type AspectRatioProps = AspectRatioProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof AspectRatioProperties | 'aspectRatio'>
7
8
 
8
9
 
9
10
  export declare const AspectRatio: FunctionComponent<AspectRatioProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { BleedProperties } from '../patterns/bleed'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type BleedProps = BleedProperties & Omit<HTMLPandaProps<'div'>, keyof BleedProperties >
7
+ export type BleedProps = BleedProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof BleedProperties >
7
8
 
8
9
 
9
10
  export declare const Bleed: FunctionComponent<BleedProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { BoxProperties } from '../patterns/box'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type BoxProps = BoxProperties & Omit<HTMLPandaProps<'div'>, keyof BoxProperties >
7
+ export type BoxProps = BoxProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof BoxProperties >
7
8
 
8
9
 
9
10
  export declare const Box: FunctionComponent<BoxProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { CenterProperties } from '../patterns/center'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type CenterProps = CenterProperties & Omit<HTMLPandaProps<'div'>, keyof CenterProperties >
7
+ export type CenterProps = CenterProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof CenterProperties >
7
8
 
8
9
 
9
10
  export declare const Center: FunctionComponent<CenterProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { CircleProperties } from '../patterns/circle'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type CircleProps = CircleProperties & Omit<HTMLPandaProps<'div'>, keyof CircleProperties >
7
+ export type CircleProps = CircleProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof CircleProperties >
7
8
 
8
9
 
9
10
  export declare const Circle: FunctionComponent<CircleProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { ContainerProperties } from '../patterns/container'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type ContainerProps = ContainerProperties & Omit<HTMLPandaProps<'div'>, keyof ContainerProperties >
7
+ export type ContainerProps = ContainerProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof ContainerProperties >
7
8
 
8
9
 
9
10
  export declare const Container: FunctionComponent<ContainerProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { DividerProperties } from '../patterns/divider'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type DividerProps = DividerProperties & Omit<HTMLPandaProps<'div'>, keyof DividerProperties >
7
+ export type DividerProps = DividerProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof DividerProperties >
7
8
 
8
9
 
9
10
  export declare const Divider: FunctionComponent<DividerProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { FlexProperties } from '../patterns/flex'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type FlexProps = FlexProperties & Omit<HTMLPandaProps<'div'>, keyof FlexProperties >
7
+ export type FlexProps = FlexProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof FlexProperties >
7
8
 
8
9
 
9
10
  export declare const Flex: FunctionComponent<FlexProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { FloatProperties } from '../patterns/float'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type FloatProps = FloatProperties & Omit<HTMLPandaProps<'div'>, keyof FloatProperties >
7
+ export type FloatProps = FloatProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof FloatProperties >
7
8
 
8
9
 
9
10
  export declare const Float: FunctionComponent<FloatProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { GridItemProperties } from '../patterns/grid-item'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type GridItemProps = GridItemProperties & Omit<HTMLPandaProps<'div'>, keyof GridItemProperties >
7
+ export type GridItemProps = GridItemProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof GridItemProperties >
7
8
 
8
9
 
9
10
  export declare const GridItem: FunctionComponent<GridItemProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { GridProperties } from '../patterns/grid'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type GridProps = GridProperties & Omit<HTMLPandaProps<'div'>, keyof GridProperties >
7
+ export type GridProps = GridProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof GridProperties >
7
8
 
8
9
 
9
10
  export declare const Grid: FunctionComponent<GridProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { HstackProperties } from '../patterns/hstack'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type HstackProps = HstackProperties & Omit<HTMLPandaProps<'div'>, keyof HstackProperties >
7
+ export type HstackProps = HstackProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof HstackProperties >
7
8
 
8
9
 
9
10
  export declare const HStack: FunctionComponent<HstackProps>
@@ -1,7 +1,7 @@
1
1
  import { memo } from '../helpers.mjs'
2
2
  // src/index.ts
3
3
  var userGeneratedStr =
4
- 'css,pos,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,insetInline,insetBlock,inset,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,insetX,insetY,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,outlineWidth,outlineColor,outline,outlineOffset,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,color,fontFamily,fontSize,fontWeight,fontSmoothing,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,textGradient,gradientFrom,gradientTo,gradientVia,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationDelay,transformOrigin,scale,scaleX,scaleY,translate,translateX,translateY,accentColor,caretColor,scrollBehavior,scrollbar,scrollMargin,scrollMarginX,scrollMarginY,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingX,scrollPaddingY,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,touchAction,userSelect,fill,stroke,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,colorPalette,textStyle,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl'
4
+ 'css,pos,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,insetInline,insetBlock,inset,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,insetX,insetY,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,outlineWidth,outlineColor,outline,outlineOffset,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,color,fontFamily,fontSize,fontWeight,fontSmoothing,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,textGradient,gradientFrom,gradientTo,gradientVia,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationDelay,transformOrigin,scale,scaleX,scaleY,translate,translateX,translateY,accentColor,caretColor,scrollBehavior,scrollbar,scrollMargin,scrollMarginX,scrollMarginY,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingX,scrollPaddingY,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,touchAction,userSelect,fill,stroke,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,colorPalette,textStyle,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl'
5
5
  var userGenerated = userGeneratedStr.split(',')
6
6
  var cssPropertiesStr =
7
7
  'WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationTimingFunction,animationTimeline,appearance,aspectRatio,azimuth,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockOverflow,blockSize,border,borderBlock,borderBlockColor,borderBlockStyle,borderBlockWidth,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineEnd,borderInlineColor,borderInlineStyle,borderInlineWidth,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,color,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicSize,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,direction,display,emptyCells,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontVariationSettings,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inputSecurity,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,printColorAdjust,quotes,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,scale,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockStart,scrollMarginBlockEnd,scrollMarginBottom,scrollMarginInline,scrollMarginInlineStart,scrollMarginInlineEnd,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineStart,scrollPaddingInlineEnd,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,shapeImageThreshold,shapeMargin,shapeOutside,tabSize,tableLayout,textAlign,textAlignLast,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,textUnderlineOffset,textUnderlinePosition,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,verticalAlign,viewTransitionName,visibility,whiteSpace,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,zIndex,zoom,alignmentBaseline,baselineShift,clipRule,colorInterpolation,colorRendering,dominantBaseline,fill,fillOpacity,fillRule,floodColor,floodOpacity,glyphOrientationVertical,lightingColor,marker,markerEnd,markerMid,markerStart,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,textAnchor,vectorEffect'
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { LinkBoxProperties } from '../patterns/link-box'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type LinkBoxProps = LinkBoxProperties & Omit<HTMLPandaProps<'div'>, keyof LinkBoxProperties >
7
+ export type LinkBoxProps = LinkBoxProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof LinkBoxProperties >
7
8
 
8
9
 
9
10
  export declare const LinkBox: FunctionComponent<LinkBoxProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { LinkOverlayProperties } from '../patterns/link-overlay'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type LinkOverlayProps = LinkOverlayProperties & Omit<HTMLPandaProps<'a'>, keyof LinkOverlayProperties >
7
+ export type LinkOverlayProps = LinkOverlayProperties & DistributiveOmit<HTMLPandaProps<'a'>, keyof LinkOverlayProperties >
7
8
 
8
9
 
9
10
  export declare const LinkOverlay: FunctionComponent<LinkOverlayProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { SpacerProperties } from '../patterns/spacer'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type SpacerProps = SpacerProperties & Omit<HTMLPandaProps<'div'>, keyof SpacerProperties >
7
+ export type SpacerProps = SpacerProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof SpacerProperties >
7
8
 
8
9
 
9
10
  export declare const Spacer: FunctionComponent<SpacerProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { SquareProperties } from '../patterns/square'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type SquareProps = SquareProperties & Omit<HTMLPandaProps<'div'>, keyof SquareProperties >
7
+ export type SquareProps = SquareProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof SquareProperties >
7
8
 
8
9
 
9
10
  export declare const Square: FunctionComponent<SquareProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { StackProperties } from '../patterns/stack'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type StackProps = StackProperties & Omit<HTMLPandaProps<'div'>, keyof StackProperties >
7
+ export type StackProps = StackProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof StackProperties >
7
8
 
8
9
 
9
10
  export declare const Stack: FunctionComponent<StackProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { StyledLinkProperties } from '../patterns/styled-link'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type StyledLinkProps = StyledLinkProperties & Omit<HTMLPandaProps<'div'>, keyof StyledLinkProperties >
7
+ export type StyledLinkProps = StyledLinkProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof StyledLinkProperties >
7
8
 
8
9
 
9
10
  export declare const StyledLink: FunctionComponent<StyledLinkProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { VisuallyHiddenProperties } from '../patterns/visually-hidden'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type VisuallyHiddenProps = VisuallyHiddenProperties & Omit<HTMLPandaProps<'div'>, keyof VisuallyHiddenProperties >
7
+ export type VisuallyHiddenProps = VisuallyHiddenProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof VisuallyHiddenProperties >
7
8
 
8
9
 
9
10
  export declare const VisuallyHidden: FunctionComponent<VisuallyHiddenProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { VstackProperties } from '../patterns/vstack'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type VstackProps = VstackProperties & Omit<HTMLPandaProps<'div'>, keyof VstackProperties >
7
+ export type VstackProps = VstackProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof VstackProperties >
7
8
 
8
9
 
9
10
  export declare const VStack: FunctionComponent<VstackProps>
@@ -2,8 +2,9 @@
2
2
  import type { FunctionComponent } from 'react'
3
3
  import type { WrapProperties } from '../patterns/wrap'
4
4
  import type { HTMLPandaProps } from '../types/jsx'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
 
6
- export type WrapProps = WrapProperties & Omit<HTMLPandaProps<'div'>, keyof WrapProperties >
7
+ export type WrapProps = WrapProperties & DistributiveOmit<HTMLPandaProps<'div'>, keyof WrapProperties >
7
8
 
8
9
 
9
10
  export declare const Wrap: FunctionComponent<WrapProps>
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type AspectRatioProperties = {
@@ -9,11 +10,11 @@ export type AspectRatioProperties = {
9
10
  }
10
11
 
11
12
 
12
- type AspectRatioOptions = AspectRatioProperties & Omit<SystemStyleObject, keyof AspectRatioProperties | 'aspectRatio'>
13
+ type AspectRatioStyles = AspectRatioProperties & DistributiveOmit<SystemStyleObject, keyof AspectRatioProperties | 'aspectRatio'>
13
14
 
14
15
  interface AspectRatioPatternFn {
15
- (options?: AspectRatioOptions): string
16
- raw: (options: AspectRatioOptions) => AspectRatioOptions
16
+ (styles?: AspectRatioStyles): string
17
+ raw: (styles: AspectRatioStyles) => AspectRatioStyles
17
18
  }
18
19
 
19
20
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type BleedProperties = {
@@ -10,11 +11,11 @@ export type BleedProperties = {
10
11
  }
11
12
 
12
13
 
13
- type BleedOptions = BleedProperties & Omit<SystemStyleObject, keyof BleedProperties >
14
+ type BleedStyles = BleedProperties & DistributiveOmit<SystemStyleObject, keyof BleedProperties >
14
15
 
15
16
  interface BleedPatternFn {
16
- (options?: BleedOptions): string
17
- raw: (options: BleedOptions) => BleedOptions
17
+ (styles?: BleedStyles): string
18
+ raw: (styles: BleedStyles) => BleedStyles
18
19
  }
19
20
 
20
21
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type BoxProperties = {
@@ -9,11 +10,11 @@ export type BoxProperties = {
9
10
  }
10
11
 
11
12
 
12
- type BoxOptions = BoxProperties & Omit<SystemStyleObject, keyof BoxProperties >
13
+ type BoxStyles = BoxProperties & DistributiveOmit<SystemStyleObject, keyof BoxProperties >
13
14
 
14
15
  interface BoxPatternFn {
15
- (options?: BoxOptions): string
16
- raw: (options: BoxOptions) => BoxOptions
16
+ (styles?: BoxStyles): string
17
+ raw: (styles: BoxStyles) => BoxStyles
17
18
  }
18
19
 
19
20
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type CenterProperties = {
@@ -9,11 +10,11 @@ export type CenterProperties = {
9
10
  }
10
11
 
11
12
 
12
- type CenterOptions = CenterProperties & Omit<SystemStyleObject, keyof CenterProperties >
13
+ type CenterStyles = CenterProperties & DistributiveOmit<SystemStyleObject, keyof CenterProperties >
13
14
 
14
15
  interface CenterPatternFn {
15
- (options?: CenterOptions): string
16
- raw: (options: CenterOptions) => CenterOptions
16
+ (styles?: CenterStyles): string
17
+ raw: (styles: CenterStyles) => CenterStyles
17
18
  }
18
19
 
19
20
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type CircleProperties = {
@@ -9,11 +10,11 @@ export type CircleProperties = {
9
10
  }
10
11
 
11
12
 
12
- type CircleOptions = CircleProperties & Omit<SystemStyleObject, keyof CircleProperties >
13
+ type CircleStyles = CircleProperties & DistributiveOmit<SystemStyleObject, keyof CircleProperties >
13
14
 
14
15
  interface CirclePatternFn {
15
- (options?: CircleOptions): string
16
- raw: (options: CircleOptions) => CircleOptions
16
+ (styles?: CircleStyles): string
17
+ raw: (styles: CircleStyles) => CircleStyles
17
18
  }
18
19
 
19
20
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type ContainerProperties = {
@@ -9,11 +10,11 @@ export type ContainerProperties = {
9
10
  }
10
11
 
11
12
 
12
- type ContainerOptions = ContainerProperties & Omit<SystemStyleObject, keyof ContainerProperties >
13
+ type ContainerStyles = ContainerProperties & DistributiveOmit<SystemStyleObject, keyof ContainerProperties >
13
14
 
14
15
  interface ContainerPatternFn {
15
- (options?: ContainerOptions): string
16
- raw: (options: ContainerOptions) => ContainerOptions
16
+ (styles?: ContainerStyles): string
17
+ raw: (styles: ContainerStyles) => ContainerStyles
17
18
  }
18
19
 
19
20
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type DividerProperties = {
@@ -11,11 +12,11 @@ export type DividerProperties = {
11
12
  }
12
13
 
13
14
 
14
- type DividerOptions = DividerProperties & Omit<SystemStyleObject, keyof DividerProperties >
15
+ type DividerStyles = DividerProperties & DistributiveOmit<SystemStyleObject, keyof DividerProperties >
15
16
 
16
17
  interface DividerPatternFn {
17
- (options?: DividerOptions): string
18
- raw: (options: DividerOptions) => DividerOptions
18
+ (styles?: DividerStyles): string
19
+ raw: (styles: DividerStyles) => DividerStyles
19
20
  }
20
21
 
21
22
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type FlexProperties = {
@@ -15,11 +16,11 @@ export type FlexProperties = {
15
16
  }
16
17
 
17
18
 
18
- type FlexOptions = FlexProperties & Omit<SystemStyleObject, keyof FlexProperties >
19
+ type FlexStyles = FlexProperties & DistributiveOmit<SystemStyleObject, keyof FlexProperties >
19
20
 
20
21
  interface FlexPatternFn {
21
- (options?: FlexOptions): string
22
- raw: (options: FlexOptions) => FlexOptions
22
+ (styles?: FlexStyles): string
23
+ raw: (styles: FlexStyles) => FlexStyles
23
24
  }
24
25
 
25
26
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type FloatProperties = {
@@ -12,11 +13,11 @@ export type FloatProperties = {
12
13
  }
13
14
 
14
15
 
15
- type FloatOptions = FloatProperties & Omit<SystemStyleObject, keyof FloatProperties >
16
+ type FloatStyles = FloatProperties & DistributiveOmit<SystemStyleObject, keyof FloatProperties >
16
17
 
17
18
  interface FloatPatternFn {
18
- (options?: FloatOptions): string
19
- raw: (options: FloatOptions) => FloatOptions
19
+ (styles?: FloatStyles): string
20
+ raw: (styles: FloatStyles) => FloatStyles
20
21
  }
21
22
 
22
23
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type GridItemProperties = {
@@ -14,11 +15,11 @@ export type GridItemProperties = {
14
15
  }
15
16
 
16
17
 
17
- type GridItemOptions = GridItemProperties & Omit<SystemStyleObject, keyof GridItemProperties >
18
+ type GridItemStyles = GridItemProperties & DistributiveOmit<SystemStyleObject, keyof GridItemProperties >
18
19
 
19
20
  interface GridItemPatternFn {
20
- (options?: GridItemOptions): string
21
- raw: (options: GridItemOptions) => GridItemOptions
21
+ (styles?: GridItemStyles): string
22
+ raw: (styles: GridItemStyles) => GridItemStyles
22
23
  }
23
24
 
24
25
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type GridProperties = {
@@ -13,11 +14,11 @@ export type GridProperties = {
13
14
  }
14
15
 
15
16
 
16
- type GridOptions = GridProperties & Omit<SystemStyleObject, keyof GridProperties >
17
+ type GridStyles = GridProperties & DistributiveOmit<SystemStyleObject, keyof GridProperties >
17
18
 
18
19
  interface GridPatternFn {
19
- (options?: GridOptions): string
20
- raw: (options: GridOptions) => GridOptions
20
+ (styles?: GridStyles): string
21
+ raw: (styles: GridStyles) => GridStyles
21
22
  }
22
23
 
23
24
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type HstackProperties = {
@@ -10,11 +11,11 @@ export type HstackProperties = {
10
11
  }
11
12
 
12
13
 
13
- type HstackOptions = HstackProperties & Omit<SystemStyleObject, keyof HstackProperties >
14
+ type HstackStyles = HstackProperties & DistributiveOmit<SystemStyleObject, keyof HstackProperties >
14
15
 
15
16
  interface HstackPatternFn {
16
- (options?: HstackOptions): string
17
- raw: (options: HstackOptions) => HstackOptions
17
+ (styles?: HstackStyles): string
18
+ raw: (styles: HstackStyles) => HstackStyles
18
19
  }
19
20
 
20
21
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type LinkBoxProperties = {
@@ -9,11 +10,11 @@ export type LinkBoxProperties = {
9
10
  }
10
11
 
11
12
 
12
- type LinkBoxOptions = LinkBoxProperties & Omit<SystemStyleObject, keyof LinkBoxProperties >
13
+ type LinkBoxStyles = LinkBoxProperties & DistributiveOmit<SystemStyleObject, keyof LinkBoxProperties >
13
14
 
14
15
  interface LinkBoxPatternFn {
15
- (options?: LinkBoxOptions): string
16
- raw: (options: LinkBoxOptions) => LinkBoxOptions
16
+ (styles?: LinkBoxStyles): string
17
+ raw: (styles: LinkBoxStyles) => LinkBoxStyles
17
18
  }
18
19
 
19
20
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type LinkOverlayProperties = {
@@ -9,11 +10,11 @@ export type LinkOverlayProperties = {
9
10
  }
10
11
 
11
12
 
12
- type LinkOverlayOptions = LinkOverlayProperties & Omit<SystemStyleObject, keyof LinkOverlayProperties >
13
+ type LinkOverlayStyles = LinkOverlayProperties & DistributiveOmit<SystemStyleObject, keyof LinkOverlayProperties >
13
14
 
14
15
  interface LinkOverlayPatternFn {
15
- (options?: LinkOverlayOptions): string
16
- raw: (options: LinkOverlayOptions) => LinkOverlayOptions
16
+ (styles?: LinkOverlayStyles): string
17
+ raw: (styles: LinkOverlayStyles) => LinkOverlayStyles
17
18
  }
18
19
 
19
20
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type SpacerProperties = {
@@ -9,11 +10,11 @@ export type SpacerProperties = {
9
10
  }
10
11
 
11
12
 
12
- type SpacerOptions = SpacerProperties & Omit<SystemStyleObject, keyof SpacerProperties >
13
+ type SpacerStyles = SpacerProperties & DistributiveOmit<SystemStyleObject, keyof SpacerProperties >
13
14
 
14
15
  interface SpacerPatternFn {
15
- (options?: SpacerOptions): string
16
- raw: (options: SpacerOptions) => SpacerOptions
16
+ (styles?: SpacerStyles): string
17
+ raw: (styles: SpacerStyles) => SpacerStyles
17
18
  }
18
19
 
19
20
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type SquareProperties = {
@@ -9,11 +10,11 @@ export type SquareProperties = {
9
10
  }
10
11
 
11
12
 
12
- type SquareOptions = SquareProperties & Omit<SystemStyleObject, keyof SquareProperties >
13
+ type SquareStyles = SquareProperties & DistributiveOmit<SystemStyleObject, keyof SquareProperties >
13
14
 
14
15
  interface SquarePatternFn {
15
- (options?: SquareOptions): string
16
- raw: (options: SquareOptions) => SquareOptions
16
+ (styles?: SquareStyles): string
17
+ raw: (styles: SquareStyles) => SquareStyles
17
18
  }
18
19
 
19
20
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type StackProperties = {
@@ -12,11 +13,11 @@ export type StackProperties = {
12
13
  }
13
14
 
14
15
 
15
- type StackOptions = StackProperties & Omit<SystemStyleObject, keyof StackProperties >
16
+ type StackStyles = StackProperties & DistributiveOmit<SystemStyleObject, keyof StackProperties >
16
17
 
17
18
  interface StackPatternFn {
18
- (options?: StackOptions): string
19
- raw: (options: StackOptions) => StackOptions
19
+ (styles?: StackStyles): string
20
+ raw: (styles: StackStyles) => StackStyles
20
21
  }
21
22
 
22
23
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type StyledLinkProperties = {
@@ -9,11 +10,11 @@ export type StyledLinkProperties = {
9
10
  }
10
11
 
11
12
 
12
- type StyledLinkOptions = StyledLinkProperties & Omit<SystemStyleObject, keyof StyledLinkProperties >
13
+ type StyledLinkStyles = StyledLinkProperties & DistributiveOmit<SystemStyleObject, keyof StyledLinkProperties >
13
14
 
14
15
  interface StyledLinkPatternFn {
15
- (options?: StyledLinkOptions): string
16
- raw: (options: StyledLinkOptions) => StyledLinkOptions
16
+ (styles?: StyledLinkStyles): string
17
+ raw: (styles: StyledLinkStyles) => StyledLinkStyles
17
18
  }
18
19
 
19
20
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type VisuallyHiddenProperties = {
@@ -9,11 +10,11 @@ export type VisuallyHiddenProperties = {
9
10
  }
10
11
 
11
12
 
12
- type VisuallyHiddenOptions = VisuallyHiddenProperties & Omit<SystemStyleObject, keyof VisuallyHiddenProperties >
13
+ type VisuallyHiddenStyles = VisuallyHiddenProperties & DistributiveOmit<SystemStyleObject, keyof VisuallyHiddenProperties >
13
14
 
14
15
  interface VisuallyHiddenPatternFn {
15
- (options?: VisuallyHiddenOptions): string
16
- raw: (options: VisuallyHiddenOptions) => VisuallyHiddenOptions
16
+ (styles?: VisuallyHiddenStyles): string
17
+ raw: (styles: VisuallyHiddenStyles) => VisuallyHiddenStyles
17
18
  }
18
19
 
19
20
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type VstackProperties = {
@@ -10,11 +11,11 @@ export type VstackProperties = {
10
11
  }
11
12
 
12
13
 
13
- type VstackOptions = VstackProperties & Omit<SystemStyleObject, keyof VstackProperties >
14
+ type VstackStyles = VstackProperties & DistributiveOmit<SystemStyleObject, keyof VstackProperties >
14
15
 
15
16
  interface VstackPatternFn {
16
- (options?: VstackOptions): string
17
- raw: (options: VstackOptions) => VstackOptions
17
+ (styles?: VstackStyles): string
18
+ raw: (styles: VstackStyles) => VstackStyles
18
19
  }
19
20
 
20
21
 
@@ -1,7 +1,8 @@
1
1
  /* eslint-disable */
2
2
  import type { SystemStyleObject, ConditionalValue } from '../types'
3
- import type { PropertyValue } from '../types/prop-type'
4
3
  import type { Properties } from '../types/csstype'
4
+ import type { PropertyValue } from '../types/prop-type'
5
+ import type { DistributiveOmit } from '../types/system-types'
5
6
  import type { Tokens } from '../tokens'
6
7
 
7
8
  export type WrapProperties = {
@@ -13,11 +14,11 @@ export type WrapProperties = {
13
14
  }
14
15
 
15
16
 
16
- type WrapOptions = WrapProperties & Omit<SystemStyleObject, keyof WrapProperties >
17
+ type WrapStyles = WrapProperties & DistributiveOmit<SystemStyleObject, keyof WrapProperties >
17
18
 
18
19
  interface WrapPatternFn {
19
- (options?: WrapOptions): string
20
- raw: (options: WrapOptions) => WrapOptions
20
+ (styles?: WrapStyles): string
21
+ raw: (styles: WrapStyles) => WrapStyles
21
22
  }
22
23
 
23
24
 
@@ -37,6 +37,8 @@ export type AssetToken = "check"
37
37
 
38
38
  export type BreakpointToken = "sm" | "md" | "lg" | "xl" | "2xl"
39
39
 
40
+ export type AnimationName = "spin" | "ping" | "pulse" | "bounce"
41
+
40
42
  export type Tokens = {
41
43
  borders: BorderToken
42
44
  easings: EasingToken
@@ -55,6 +57,7 @@ export type Tokens = {
55
57
  colors: ColorToken
56
58
  assets: AssetToken
57
59
  breakpoints: BreakpointToken
60
+ animationName: AnimationName
58
61
  } & { [token: string]: never }
59
62
 
60
63
  export type TokenCategory = "zIndex" | "opacity" | "colors" | "fonts" | "fontSizes" | "fontWeights" | "lineHeights" | "letterSpacings" | "sizes" | "shadows" | "spacing" | "radii" | "borders" | "durations" | "easings" | "animations" | "blurs" | "gradients" | "breakpoints" | "assets"
@@ -1,11 +1,11 @@
1
1
  /* eslint-disable */
2
2
  import type { ComponentPropsWithoutRef, ElementType, ElementRef, Ref } from 'react'
3
- import type { Assign, JsxStyleProps, JsxHTMLProps } from './system-types'
3
+ import type { Assign, DistributiveOmit, 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'> & {
8
+ type ComponentProps<T extends ElementType> = DistributiveOmit<ComponentPropsWithoutRef<T>, 'ref'> & {
9
9
  ref?: Ref<ElementRef<T>>
10
10
  }
11
11
 
@@ -156,6 +156,7 @@ type PropertyValueTypes = {
156
156
  transitionDuration: Tokens["durations"];
157
157
  transition: "all" | "common" | "background" | "colors" | "opacity" | "shadow" | "transform";
158
158
  animation: Tokens["animations"];
159
+ animationName: Tokens["animationName"];
159
160
  animationDelay: Tokens["durations"];
160
161
  scale: "auto" | CssProperties["scale"];
161
162
  translate: "auto" | CssProperties["translate"];
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- import type { SystemStyleObject } from './system-types'
2
+ import type { SystemStyleObject, DistributiveOmit } from './system-types'
3
3
 
4
4
  type Pretty<T> = { [K in keyof T]: T[K] } & {}
5
5
 
@@ -33,7 +33,9 @@ export type RecipeRuntimeFn<T extends RecipeVariantRecord> = RecipeVariantFn<T>
33
33
  variantMap: RecipeVariantMap<T>
34
34
  resolve: (props: RecipeSelection<T>) => SystemStyleObject
35
35
  config: RecipeConfig<T>
36
- splitVariantProps<Props extends RecipeSelection<T>>(props: Props): [RecipeSelection<T>, Pretty<Omit<Props, keyof T>>]
36
+ splitVariantProps<Props extends RecipeSelection<T>>(
37
+ props: Props,
38
+ ): [RecipeSelection<T>, Pretty<DistributiveOmit<Props, keyof T>>]
37
39
  }
38
40
 
39
41
  export type RecipeCompoundSelection<T extends RecipeVariantRecord> = {
@@ -56,19 +56,22 @@ type StyleProps = SystemProperties & MinimalNested<SystemStyleObject>
56
56
 
57
57
  export type JsxStyleProps = StyleProps & WithCss
58
58
 
59
- export type Assign<T, U> = Omit<T, keyof U> & U
59
+ export type DistributiveOmit<T, K extends keyof any> = T extends unknown ? Omit<T, K> : never
60
+
61
+ export type Assign<T, U> = {
62
+ [K in keyof T]: K extends keyof U ? U[K] : T[K]
63
+ } & U
60
64
 
61
65
  export type PatchedHTMLProps = {
62
- htmlSize?: string | number
63
66
  htmlWidth?: string | number
64
67
  htmlHeight?: string | number
65
68
  htmlTranslate?: 'yes' | 'no' | undefined
66
69
  htmlContent?: string
67
70
  }
68
71
 
69
- export type OmittedHTMLProps = 'color' | 'translate' | 'transition' | 'width' | 'height' | 'size' | 'content'
72
+ export type OmittedHTMLProps = 'color' | 'translate' | 'transition' | 'width' | 'height' | 'content'
70
73
 
71
- type WithHTMLProps<T> = Omit<T, OmittedHTMLProps> & PatchedHTMLProps
74
+ type WithHTMLProps<T> = DistributiveOmit<T, OmittedHTMLProps> & PatchedHTMLProps
72
75
 
73
76
  export type JsxHTMLProps<T extends Record<string, any>, P extends Record<string, any> = {}> = Assign<
74
77
  WithHTMLProps<T>,