re-resizable
Advanced tools
Comparing version 3.0.0-beta.0 to 3.0.0-beta.1
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
0
392
217498
14
2057
- Removedlodash.debounce@^4.0.8
- Removedresize-observer-polyfill@^1.4.2
- Removedlodash.debounce@4.0.8(transitive)
- Removedresize-observer-polyfill@1.5.1(transitive)