Socket
Socket
Sign inDemoInstall

re-resizable

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

re-resizable - npm Package Compare versions

Comparing version 3.0.0-beta.0 to 3.0.0-beta.1

lib/index.es5.js.flow

6

package.json
{
"name": "re-resizable",
"version": "3.0.0-beta.0",
"version": "3.0.0-beta.1",
"description": "Resizable component for React.",

@@ -27,3 +27,3 @@ "title": "re-resizable",

"test:ci": "npm run flow && npm run build",
"flow-copy": "flow-copy-source -v src lib",
"flow-copy": "flow-copy-source -v src lib && cp lib/index.js.flow lib/index.es5.js.flow ",
"prepublish": "npm run build && npm run flow-copy",

@@ -95,5 +95,3 @@ "storybook": "start-storybook -p 6006",

"dependencies": {
"lodash.debounce": "^4.0.8",
"resize-observer-polyfill": "^1.4.2"
}
}

@@ -35,3 +35,3 @@ <p align="center"><img src ="https://github.com/bokuweb/react-resizable-box/blob/master/logo.png?raw=true" /></p>

``` sh
$ npm install --save react-resizable-box
$ npm install --save re-resizable
```

@@ -105,13 +105,22 @@

#### `handlerStyles?: HandlersStyles;`
#### `handleStyles?: HandleStyles;`
The `handleStyles` property is used to override the style of one or more resize handlers.
Only the axis you specify will have its handler style replaced.
If you specify a value for `right` it will completely replace the styles for the `right` resize handler,
but other handler will still use the default styles.
The `handleStyles` property is used to override the style of one or more resize handles.
Only the axis you specify will have its handle style replaced.
If you specify a value for `right` it will completely replace the styles for the `right` resize handle,
but other handle will still use the default styles.
#### `handlerClasses?: HandlersClassName;`
#### `handleClasses?: HandleClassName;`
The `handlerClasses` property is used to set the className of one or more resize handlers. You can set className for span wrapper with `wrapper` index.
The `handleClasses` property is used to set the className of one or more resize handles.
#### `handleWrapperStyle?: { [key: string]: string };`
T.B.D
#### `handleWrapperClass?: string;`
T.B.D
#### `enable?: ?Enable;`

@@ -224,2 +233,18 @@

#### 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.0.5

@@ -318,3 +343,3 @@

- Add shouldComponentUpdate.
- Add handler custom className.
- Add handle custom className.

@@ -321,0 +346,0 @@ #### v1.2.0

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc