Skip to content

Latest commit

 

History

History
135 lines (74 loc) · 3.77 KB

CHANGELOG.md

File metadata and controls

135 lines (74 loc) · 3.77 KB

2.3.0

Bug Fixes

2.2.0

New Features

Bug Fixes

2.1.0

New Features

  • Adds separate style for the expandable elements container (childFieldsContainer)

2.0.1

Bug Fixes

  • Fixes margin and padding for the expandable elements (because div element changed to the ul)

2.0.0

Major version upgrade.

Breaking Changes

  • Dropped support of React 16 and React 17. Please use versions 1.x.x if your project uses React 16 or React 17.
  • Expanding and collapsing nodes with the "space" button changed to navigation and expanding using arrow keys. Left and Right to collapse/expand, Up and Down to move to previous/next collapsable element.

New Features

1.5.0

Bug Fixes

  • Fixed: Improves empty objects and empty arrays. Also fixes too wide space between two spans having the punctuation class (e.g. ] , or [ ])

1.4.0

New Feature

1.3.1

Bug Fixes

  • Fixed pressing the spacebar expands/collapses and "pages down" in the browser

1.3.0

New Feature

1.2.1

Bug Fixes

  • Fixed component didn't work with React 16 and React 17

1.2.0

New Feature

1.1.0

New Feature

1.0.1

Bug Fixes

  • Fixed collapse/expand button style

1.0.0

Breaking changes

  1. Property shouldInitiallyExpand has different name shouldExpandNode in order to emphasize that it will be called every time properties change.
  2. If you use custom styles:
    • pointer and expander are no longer used
    • component uses collapseIcon, expandIcon, collapsedContent styles in order to customize expand/collapse icon and collpased content placeholder which were previously hardcode to the , and .... Default style values use ::after pseudo-classes to set the content.

0.9.8

Bug Fixes

0.9.7

New Features

  • Added BigInt rendering support

0.9.6

Bug Fixes

  • Fixed css style for comma after primitive type value

0.9.5

New Features

  • Added minimum a11y support
  • Added React 18 to peer dependencies
  • Updated dev dependencies versions
  • Added storybook

0.9.4

New Features

  • Added ability to expand arrays and nested objects by clicking on the ... part
  • Added allExpanded and collapseAllNested exported functions which can be used for the shouldInitiallyExpand property
  • Added new separate style for the "pointer" which applied for , and ...