Skip to content

Latest commit

 

History

History
82 lines (50 loc) · 3.83 KB

File metadata and controls

82 lines (50 loc) · 3.83 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.0.0 (2025-12-22)

⚠ BREAKING CHANGES

  • Complete rewrite with modern React patterns
  • Children must now be wrapped in <Pane> components
  • split prop renamed to direction (and meanings swapped to align with CSS flex)
  • Size constraints (minSize, maxSize, defaultSize) moved to <Pane> component
  • Callback props renamed: onDragStartedonResizeStart, onChangeonResize, onDragFinishedonResizeEnd
  • Callback signatures changed to include event metadata
  • primary prop removed (use controlled mode instead)
  • allowResize renamed to resizable
  • CSS class names changed: SplitPanesplit-pane, Resizersplit-pane-divider
  • IE11 no longer supported

Features

  • Hooks-based architecture: Complete rewrite using modern React hooks
  • TypeScript: Full TypeScript support with strict mode
  • Accessibility: Full keyboard navigation (arrow keys, Home, End) and ARIA attributes
  • Touch support: Built-in touch event handling for mobile devices
  • Snap points: Optional snap-to positions during resize
  • Multiple panes: Native support for 2+ panes without nesting
  • Persistence hook: usePersistence hook for localStorage/sessionStorage
  • Custom dividers: Pass custom divider components via divider prop
  • RAF-throttled: Smooth resize performance with requestAnimationFrame throttling
  • Smaller bundle: < 5KB gzipped

Migration

See MIGRATION.md for detailed upgrade instructions from v0.1.x or v2.x.

0.1.92 (2020-08-10)

Features

Bug Fixes

0.1.91 (2020-03-23)

Bug Fixes

0.1.90 (2020-03-23)

Bug Fixes

0.1.89 (2019-11-12)

Bug Fixes

  • also include named exports (bfd16af)
  • ignore changelog in prettier (7c0a6a4)

0.1.88 (2019-11-12)

Features

  • new less complex site w parcel and gh-pages deploys (#378) (ea98d68)

Bug Fixes

  • excluded react and react-dom from bundle (#349) (eb6b2bc)