cschroeter / park-ui

Beautifully designed components built with Ark UI and Panda CSS that work with a variety of JS frameworks.
https://park-ui.com
MIT License
1.75k stars 75 forks source link

Menu component has errors with panda-css and new @ark-ui/solid 3.0 #320

Closed dannylin108 closed 4 months ago

dannylin108 commented 6 months ago

itemIndicator and itemText are not recognized as valid recipe names, so these lines can not be tsc-ed:

export const ItemIndicator = withContext<Assign<JsxStyleProps, Menu.ItemIndicatorProps>>(
  Menu.ItemIndicator,
  'itemIndicator',
)

export const ItemText = withContext<Assign<JsxStyleProps, Menu.ItemTextProps>>(
  Menu.ItemText,
  'itemText',
)
cschroeter commented 4 months ago

@dannylin108

This has been fixed.