Skip to content

Latest commit

Β 

History

History
705 lines (434 loc) Β· 29.6 KB

CHANGELOG.md

File metadata and controls

705 lines (434 loc) Β· 29.6 KB

Changelog

πŸ’… Enhancement

  • Fixes resizable field always being null in React 18.3.

πŸ› Bug Fix

  • Fixed a bug, onResize fired before snapping to grid #783

πŸ’… Enhancement

  • improve enable type.

πŸ’… Enhancement

  • use native endsWith.
  • remove fast-memoize.

πŸ’… Enhancement

  • use flushSync in mouseMove.

πŸ’… Enhancement

  • add react and react-dom to peer deps.

πŸ› Bug Fix: Fixed a bug, calculate parent height even when the parent is a flex container #765

πŸ› Bug Fix: Fixed a bug, lockAspectRatio is not work when snap is set. #759

πŸ’… Enhancement

  • Fixed a issue, using CTRL when resizing doesn't work #747

πŸ’… Enhancement

  • Feature: boundsByDirection #689

πŸ› Bug Fix

  • Fixed a bug, resize is not work when set xxxpx to max/min width/height

πŸ› Bug Fix

  • Fixed a bug, a base element is removed even though there are other resizable components. (#667)

πŸ’… Enhancement

  • Expose NumberSize.

πŸ’… Enhancement

  • fix: instanceof check fails when window is a proxy (#659)

πŸ› Bug Fix

  • Fixed a bug, when touched in mobile some execption throwed.

πŸ› Bug Fix

  • Fixes #522 - Resize without page scrolling on mobile

πŸ› Bug Fix

  • Make as optional

πŸ› Bug Fix

  • Fix ES Module Output #634

πŸ’… Enhancement

  • Support the "as" prop to change the wrapper #614

πŸ’… Enhancement

  • Avoid a useless re-render #587

πŸ’… Enhancement

  • Makes the component window agnostic, which means that the component can be run inside an iframe. (#598)

πŸ› Bug Fix

  • Fixed a bug, resizing does not work when flex-basis set.

πŸ› Bug Fix

  • Fixed a bug, Handle loses mouse as edge gets further away from other side #537

πŸ’… Enhancement

  • Improve perf #529
  • Support vh and vw for max size #526

πŸ’… Enhancement

  • Fix deprecated componentWillRecieveProps lifecycle method usage #504
  • Feature request: Allow early exiting for onResizeStart #494

⚑ Breaking changes

  • use PureComponent

Please see also 5.0.0-beta.0 change.

πŸ’… Enhancement

  • Add snapGap property #446

🏠 Internal

  • Upgrade some deps.

πŸ’… Enhancement

  • Use typeScript instead of flowtype in [#413]
  • Improve some perf.
  • Support vw and vh. Please see story.

⚑ Breaking changes

  • Support only named import. Please import like following.
import { Resizable } from 're-resizable';

πŸ“ Documentation

🏠 Internal

  • Update react & react-dom to v16.7.0 (#395)

πŸš€ New Feature

🏠 Internal

  • Update npm-run-all to v4.1.5 (#389)
  • Update react & react-dom to v16.6.3 (#387)
  • Update sinon to v7.2.2 (#393)
  • Update rollup-plugin-node-resolve to v4.0.0 (#392)
  • Update flow-bin to v0.89.0 (#385)
  • Update prettier to v1.15.3 (#386)

πŸš€ New Feature

🏠 Internal

  • Update react & react-dom to v16.6.1 (#384)
  • Update prettier to v1.15.1 (#383)
  • Update sinon to v7.1.1 (#379)
  • Update flow-bin to v0.85.0 (#378)
  • Update eslint-plugin-flowtype to v3.2.0 (#375)
  • Update rollup-plugin-node-globals to v1.4.0 (#344)

πŸ› Bug Fix

🏠 Internal

  • Update sinon to v7.1.0 (#373)
  • Update react & react-dom to v16.6.0 (#371)
  • Update gh-pages to v2.0.1 (#352)
  • Update flow-bin to v0.84.0 (#342)

πŸ› Bug Fix

🏠 Internal

  • Update eslint-plugin-jsx-a11y to v6.1.2 (#363)
  • Update react & react-dom to v16.5.2 (#357)
  • Update rollup-plugin-commonjs to v9.2.0 (#356)
  • Update @​storybook/addon-info & @​storybook/react to v3.4.11 (#355)

πŸ› Bug Fix

πŸ’… Enhancement

πŸ“ Documentation

🏠 Internal

  • Update rollup to v0.65.2 (#347)
  • Update react & react-dom to v16.5.1 (#350)
  • Update sinon to v7.0.0 (#368)
  • Update eslint-plugin-flowtype to v3.0.0 (#367)
  • Update rollup-plugin-replace to v2.1.0 (#365)
  • Update rollup-plugin-replace to v10.0.1 (#360)
  • Update prettier to v1.14.3 (#359)

πŸš€ New Feature

πŸ“ Documentation

🏠 Internal

  • Update rollup to v0.65.0 (#339)
  • Update rollup-plugin-commonjs to v9.1.6 (#338)
  • Update react & react-dom to v16.5.0 (#348)
  • Update sinon to v6.3.1 (#345)

πŸ› Bug Fix

πŸ“ Documentation

🏠 Internal

  • Update flow-bin to v0.79.1 (#336)
  • Update sinon to v6.1.5 (#327)
  • Update rollup-plugin-babel to v3.0.7 (#305)
  • Update rollup to v0.64.1 (#296)

πŸš€ New Feature

πŸ“ Documentation

🏠 Internal

  • Update prettier to v1.14.2 (#311, #312 & #329)
  • Update flow-bin to v0.78.0 (#298, #320, #326 & #332)
  • Update @​storybook/addon-info & @​storybook/react to v3.4.10 (#297 & #331)
  • Update flow-copy-source to v2.0.2 (#313 & #324)
  • Update sinon to v6.1.3 (#309, #314 & #317)
  • Update eslint-plugin-react to v7.11.1 (#310, #334 & #335)
  • Update eslint-plugin-import to v2.14.0 (#308 & #333)
  • Update prettier-eslint to v8.8.2 (#301)
  • Update eslint-plugin-jsx-a11y to v6.1.1 (#315 & #323)
  • Update babel-eslint to v8.2.6 (#302 & #322)
  • Update flow-typed to v2.5.1 (#318)
  • Update eslint-plugin-flowtype to v2.50.0 (#321)
  • Update react & react-dom to v16.4.2 (#330)
  • Update rollup-plugin-commonjs to v9.1.5 (#328)

πŸ› Bug Fix

πŸ› Bug Fix

πŸ› Bug Fix

Note: this release has a critical issue and was deprecated. Please update to 4.6.1 or higher.

πŸ› Bug Fix

Note: this release has a critical issue and was deprecated. Please update to 4.6.1 or higher.

πŸ› Bug Fix

🏠 Internal

  • Update rollup to v0.61.0 (#290 & #295)
  • Update @​storybook/addon-info & @​storybook/react to v3.4.7 (#288)
  • Update prettier to v1.13.5 (#285)
  • Update sinon to v6.0.0 (#289)
  • Update flow-copy-source to v2.0.0 (#280)
  • Update eslint-plugin-react to v7.9.1 (#279)
  • Update avaron to v0.2.0 (#300)

πŸ› Bug Fix

🏠 Internal

  • Update react & react-dom to v16.4.1 (#291)

πŸ› Bug Fix

🏠 Internal

  • Drop Node 6/7 support in CI (@bokuweb in 1b6480cf)
  • Update flow-bin to v0.74.0 (#284)
  • Update sinon to v5.1.0 (#282)
  • Update rollup to v0.60.1 (#281)

πŸ› Bug Fix

πŸ› Bug Fix

πŸ“ Documentation

🏠 Internal

πŸ› Bug Fix

🏠 Internal

  • Update sinon to v4.4.9 (#221)

πŸ› Bug Fix

πŸ“ Documentation

🏠 Internal

  • Update eslint to v4.19.1 (#217)
  • Update sinon to v4.4.8 (#216)

πŸ› Bug Fix

🏠 Internal

  • Update rollup to v0.57.1 (#211)
  • Update rollup-plugin-node-resolve to v3.3.0 (#212)

v4.4.5

  • chore: upgrade flow-bin

v4.4.4

  • fix: base finder
  • fix: add mouse leave

v4.4.3

  • fix: fix type issues in index.d.ts.

v4.4.2

  • fix: fixed bug where base could not be found

v4.4.1

  • fix: add guard to avoid error without parent

v4.4.0

  • fix: bug behavior with flex layout
  • chore: refactor
  • chore: update deps
  • chore: update d.ts
  • chore: add some stories

v4.3.2

  • Fixed a bug, when resizing sometimes causes text-selection in some browser #182

v4.3.1

  • Fixed a bug, auto overwritten by px value #179

v4.3.0

  • Allow 0 as minWidth and minHeight #178

v4.2.0

  • Add a option for passing custom handle components #170

v4.1.2

  • Fixed a bug, Text select while resizing in IE11 #166

v4.1.1

  • Fixed a bug, Element width id="__resizable0" breaks my layout #162

v4.1.0

  • Additional height and width with lockAspectRatio #163

v4.0.3

  • Use ES5-compatible prototype methods #160

v4.0.2

  • Fix using right click on resize #152
  • Add workaround when base Node not found.

v4.0.1

  • Update index.d.ts, Fixes #153

v4.0.0

  • Remove width and height.
  • Add defaultSize and size,

v3.0.0

  • Fix flowtype annotation.
  • Remove extendsProps.

You can add extendsProps as follows.

<Resizable data-foo="foo" />

v3.0.0-beta.3

  • fix typo. ResizeStartCallBack -> ResizeStartCallback.

v3.0.0-beta.2

  • export ResizeDirection type.
  • rename Callback to ResizeCallback.

v3.0.0-beta.1

  • Fix flow filename.
  • Change logo

v3.0.0-beta.0

  • Change package name, react-resizable-box -> re-resizable.
  • Add handleWrapperStyle and handleWrapperClass props.
  • Change behavior that is set percentage size to width or height as props.
  • Support percentage max/min size.
  • Use rollup.
  • Fix props name.
    • handersClasses -> handleClasses
    • handersStyles -> handleStyles

v2.1.0

  • Remove shouldUpdateComponent (#135).
  • Remove lodash.isEqual.

v2.0.6

  • Update README.

v2.0.5

  • Fix remove event listener

v2.0.4

  • Fix receiveProps. (related #85)

v2.0.3

  • Update dev dependencies.
  • Modify index.js.flow.

v2.0.2

  • Remove offset state.
  • Use border-box.
  • Fix boundary size.

v2.0.1

  • Add offset state for rnd component.

v2.0.0

  • Update index.js.flow

v2.0.0-rc.2

  • Use flowtype.
  • Change callback args.
  • Change some props name.
    • isResizable => enable.
    • customClass => className.
    • customStyle => style.
    • handleStyle => handlerStyles.
    • handleClass => handlerClasses.
  • Add bounds feature.
  • Fix min/max size checker when aspect ratio locked.

v1.8.4

  • Fix cursor

v1.8.3

  • Fix npm readme

v1.8.2

  • Add index.d.ts.
  • Fix resize glitch when aspct ratio locked.

v1.8.1

  • Fixing issue on resizing with touch events

v1.8.0

  • Add extendsProps prop to other props (e.g. data-*, aria-*, and other ).

v1.7.0

  • Support siver side rendering #43

v1.6.0

  • Add updateSize method.

v1.5.1

  • Add lockAspectRatio property.

v1.4.3

  • Avoid unnecessary rendering on resizer

v1.4.2

  • Fix onTouchStart bind timing to avoid re-rendering

v1.4.1

  • Support preserving auto size #40 (thanks @noradaiko)

v1.4.0

  • Add grid props to snap grid. (thanks @paulyoung)

v1.3.0

  • Add userSelect: none when resize get srated.
  • Add shouldComponentUpdate.
  • Add handle custom className.

v1.2.0

  • Add module export plugin for require.

v1.1.3

  • Update document.

v1.1.2

  • Add size argument to resizeStart callback.
  • Fix bug

v1.1.1

  • Fix delta value bug

v1.1.0

  • Add delta argument to onResize and onResizeStop callback.

v1.0.0

  • Rename and add resizer.

v0.4.2

  • Support react v15
  • ESLint run when push

v0.4.1

  • Add mousedown event object to onResizeStart callback argument.

v0.4.0

  • Support 'px' and '%' for width and height props.