[docs-infra] Default values are not documented in Joy UI and MUI System
Open
@siriwatknp is already working on this.
Since Aug 14, 2023.
docs
package: joy-ui
scope: docs-infra
scope: system
type: bug
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Steps to reproduce 🕹
- joy Stack direction has no default: https://mui.com/joy-ui/api/stack/#Stack-prop-direction
- system Stack direction has no default: https://mui.com/system/api/stack/#Stack-prop-direction
The problem comes from docs:api script since the @default is defined, but no default is visible in the JSON file.
It appears for system the muiDefaultPropsHandler is not applied, and adding it the the handlers make the script crash: needs further investigation
Current behavior 😯
No response
Expected behavior 🤔
No response
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.