Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 1.67 KB

CHANGELOG.md

File metadata and controls

63 lines (45 loc) · 1.67 KB

[2.15.0] - 2022-10-11

  • Added {skipWhenFound} to {getChildrenByType} to stop searching lower in the tree when a match is found.

[2.14.1] - 2022-10-11

  • Removed toChildrenArray because it caused issues in getting nested children in an array.

[2.14.0] - 2022-04-08

  • Created private toChildrenArray util to simplify code

[2.13.0] - 2022-04-08

  • Added support for functions as children

[2.12.0] - 2022-01-11

  • Added support for React.forwardRef

[2.11.0] - 2021-11-08

  • Added example to main README.md

[2.9.0] - 2021-07-21

  • Added overridePropsDeep

[2.9.0] - 2021-05-17

  • Added typing generics for child items

[2.8.0] - 2021-04-16

  • Added overload for 'ByType' functions to accept single type arg as well as an array of types

[2.6.0] - 2021-01-19

  • Added getChildrenWithDescendant
  • Added getChildrenWithDescendantByType
  • Added getDescendantDepth
  • Added getDescendantDepthByType
  • Added type NannyNode

[2.5.0] - 2021-01-04

  • Removed unused code and unreachable branches

[2.4.0] - 2021-01-02

  • Integrated with Travis CI and Coveralls
  • Display build and coverage on README.md

[2.3.1] - 2020-12-30

  • Moved TypeScript T on overrideProps util from param to generic for util

[2.3.0] - 2020-12-30

  • Added overrideProps util

[2.2.0] - 2020-12-29

  • Added the ability to infer type from React.ReactNode

[2.1.0] - 2020-12-23

  • Added defined and exported config types

[2.0.0] - 2020-12-22

  • Added ability to search for type as passed in component function/class
  • Moved customTypeKey into configuration object

[1.1.0] - 2020-12-21

  • Documentation formatting updated
  • Descriptions for utils updated for clarity

[1.0.0] - 2020-12-20

  • Initial release