Releases: seek-oss/playroom
Releases · seek-oss/playroom
v0.27.9
v0.27.8
v0.27.7
v0.27.6
v0.27.5
v0.27.4
v0.27.3
v0.27.2
v0.27.1
v0.27.0
0.27.0 (2021-08-13)
Features
Release notes
Update react-docgen-typescript
and add support for customising the parser config by specifying reactDocgenTypescriptConfig
in your playroom.config.js
.
module.exports = {
...,
reactDocgenTypescriptConfig: {
propFilter: (prop, component) => {
...
}
}
};
Full change list:
- Update
react-docgen-typescript
to^2.1.0
- Update
typescript
to^4.3.2
- Support customising the docgen parser config
- Default parser config now supports TS enums and literal unions
- Default prop filtering no longer omits
className
, onlychildren
. Although you can now customise the thepropFilter
as per example above - Enable
noErrorTruncation
on top of users tsconfig to ensure prop values are not truncated - Removed internal examples folder due to rot and maintenance overhead