- c128476: Resolves various vulns
- 67a16ca: Adds "sortProps" and "requiredPropsFirst" props to LayoutRenderer and HybridLayout
- 67a16ca: Permalink generation should also work now when
extract-react-typesis used.
- e0686d4: Changed the heading styles for deprecated props and removed "@deprecated" from the prop description.
- 33d0126: Introduces new functionality enabling permalinks to each section of a props list. It's done in a backwards-compatible manner requiring no code changes for a dependency bump, but you might want to double check styles are suitable to the surroundings of where the props are displayed.
- 2bef5ff: Reintroduces null check in the case where props can't be parsed and return empty
- f34959f: Adds the ability to override the Prop Expander + Fixes a few styling issues
- 093e1af: Adds a generic layout renderer which can be used to create bespoke prop tables. Also refactors the internals of the hybrid layout to utilise it
a763063#199 Thanks @madou! - Props that have comments which start witheslint-ignoreor@ts-are no longer rendered, other surrounding comments are still rendered for the prop however.
a763063#199 Thanks @madou! - Props that have comments which contain@internalor@access privateare no longer rendered to the props table, essentially having the prop and all of its comments hidden.
84e9241#174 Thanks @declan-warn! - Added a new hybrid layout for displaying props.
a879c29#146 Thanks @declan-warn! - Add missing jsx pragma inpackages/pretty-proptypes/src/PropsTable/index.jswhich fixes an erroneouscssattribute being rendered in prop tabletr's.
- Updated dependencies [
d1115ee]:- kind2string@0.8.0
c7c50fa#125 Thanks @gwyneplaine! - Fix rendering bug in Props component
e2519d0#122 Thanks @gwyneplaine! - Table view added to pretty-proptypes in the form of PropTable component, exported from src
- Updated dependencies acb8499:
- kind2string@0.7.2
- extract-react-types@0.23.0
-
Updated dependencies [
6827845]:- kind2string@0.7.1
- Updated dependencies [
dc667b4]:- kind2string@0.7.0
- [patch]089780f: Change console.error for null members in pretty-proptypes to console.warn
- [patch]ac12401: Work around added in object converter to not throw on null value in members list
- [major]13719db: Upgrade to emotion 10. If you've been using emotion-server to server render this package, you can remove it now because server rendering will work without it.
-
[patch]58d12d8: Fix a usage of the css prop that wasn't updated to emotion 10's syntax
-
Updated dependencies dc4b719:
- kind2string@0.6.3
- extract-react-types@0.22.0
- Updated dependencies dc4b719:
- kind2string@0.6.2
- extract-react-types@0.21.0
- [patch]e6cc1f5: Remove dangerous debug code that broke everything
- Updated dependencies 533d172:
- extract-react-types@0.20.0
- kind2string@0.6.0
- Updated dependencies d232e30:
- kind2string@0.5.6
- extract-react-types@0.19.0
- Updated dependencies 907688c:
- kind2string@0.5.5
- extract-react-types@0.18.0
-
[patch]287e4b4:
- Updated build to use preconstruct (this shouldn't affect usage, but calling this out just in case)
-
Updated dependencies e682bbb:
- kind2string@0.5.4
- extract-react-types@0.17.0
-
[minor]277b0be:
- Add component prop to Props component
-
Updated dependencies 277b0be:
-
Updated dependencies 8f04dad:
-
Updated dependencies 6bc521c:
- kind2string@0.5.2
- extract-react-types@0.16.0
- Update to support 0.15.0 of
extract-react-types - breaking The structure of the
Programkind fromextract-react-typeshas changed.0.5.0consumes and responds to that change, and will only work with later versions ofextract-react-types.
- Use to mean the prop type can be selected separately to the prop name
Thanks Maciej Adamczak for
Thanks Michael Blaszczyk for these contributions!
- Support spreading generic types that cannot be reduced down to objects
- Move reduceToObj to kind2string and then update kind2string dependency
- pull in newer version of kind2string, adding support for 'export' and 'exportSpecifier' kinds.
- Add arrayType converter
- Remove whitespace created by converting a type that wasn't there
- fix bug where object converter would assume all spreads had members when they were resolved from generic. Some spreads will resolve to an import. Used simple solution of allowing spreads that did not resolve to have members gets caught with a second call to prettyConvert.