All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
7.0.2 (2022-12-13)
7.0.1 (2022-12-12)
7.0.0 (2022-12-11)
- angular 15 or higher is now required to use this package
- upgrade to angular 15 (3c2c930)
6.0.2 (2022-12-11)
- resizable: correct type for resizeCursors input to make all properties optional (c973e74)
6.0.1 (2022-12-11)
- expose ResizeCursors interface as part of the public api (767bd1b)
6.0.0 (2022-08-02)
- angular 14 or higher is now required to use this package
- upgrade to angular 14 (180ab35)
5.0.0 (2021-12-11)
- angular 12 or higher is now required to use this package
- publish package in ivy partial compilation mode (d9ad08c)
4.0.0 (2021-08-30)
- mwlResizable: the
resizeEdges
andresizeCursorPrecision
inputs have been removed from themwlResizable
directive.
To migrate, please use the mwlResizeHandle
directive instead (see the readme for a full example)
- angular 10 or higher is now required to use this package
- mwlResizable: remove deprecated
resizeEdges
andresizeCursorPrecision
inputs (58c954e)
3.4.0 (2021-06-02)
- mwlResizeHandle: add
resizableContainer
input (862249f)
3.3.5 (2021-02-02)
3.3.4 (2020-11-21)
- only trigger change detection if there are output subscribers (930de54)
3.3.3 (2020-07-24)
- handle existing negative css transforms on resizable elements (edf56db)
3.3.2 (2020-05-22)
- allow any angular version above 6 (66f2289)
3.3.1 (2020-05-22)
3.3.0 (2020-01-14)
3.2.6 (2019-10-11)
- allow angular 9 peer dependency (86e366c)
3.2.5 (2019-10-07)
- lazily initialise all mousemove listeners until needed (81134ee)
3.2.4 (2019-02-28)
3.2.3 (2019-02-05)
- allow angular 8 peer dependency (94dc48d)
- deprecate the top level resizeEdges option in favour of resize handles (2f6ac2d)
- remove mouse move listeners when only using resize handles (1185f3a)
3.2.2 (2018-08-10)
- don't throw errors when immediately destroying the host component (56e463b)
3.2.1 (2018-08-03)
- ensure all resizing events are always emitted (25d6fa3)
3.2.0 (2018-07-23)
- allow negative resizing of elements (560bcb1)
3.1.0 (2018-06-19)
- improve default resize cursors (37fc88e)
3.0.0 (2018-05-09)
- upgrade to angular 6 (c7e3de6)
- angular 6 and rxjs 6 or higher are now required to use this package
2.0.0 (2017-12-26)
- export directives with Directive suffix (0440bbd)
- upgrade to angular 5 (5d6a576)
- use lettable rxjs operators (af7abf7)
- use ng-packagr for bundling the package (c4519a1), closes #79 #80
- the global observable prototype is now no longer modified by this package, you must import rxjs operators yourself. Also rxjs 5.5 or higher is now required to use this library
- The UMD entry point has changed from
angular-resizable-element/dist/umd/angular-resizable-element.js
toangular-resizable-element/bundles/angular-resizable-element.umd.js
System.js users will need to update their configs
- angular 5 or higher is now required to use this package
- The Resizable import is now ResizableDirective and ResizeHandle is now ResizeHandleDirective
1.2.5 (2017-12-26)
- resizeHandle: allow handles to be dynamically shown (34342aa), closes #68
- resize elements that have css transforms (f24a746), closes #72
- set the resize cursor globally when resizing (71d5a05), closes #70
1.2.4 (2017-10-21)
- allow angular 5 peer dependency (25cfe50)
1.2.3 (2017-09-28)
1.2.2 (2017-08-28)
1.2.1 (2017-08-06)
1.2.0 (2017-06-12)
- export Edges and BoundingRectangle interfaces for use within applications (10051cd)
1.1.2 (2017-06-10)
1.1.1 (2017-05-21)
1.1.0 (2017-05-12)
- add a class to the ghost element (54be6b7)
1.0.0 (2017-03-24)
- ng4: upgrade to angular 4 (4c665d2)
- ng4: angular 4.0 or higher is now required to use this library. The upgrade should be seamless for most users.
0.8.1 (2017-03-23)
- throttle mousemove listener events (05f7f7e)
- use shared mouse event listeners across all resizable instances (2a4b102)
0.8.0 (2017-03-16)
- ghostElementPositioning: allow ghost element positioning to be configured (b77c9fc)
- expose Resizable and ResizeHandle directives (3633040)
0.7.2 (2017-03-04)
- relax peer dependency warning to allow angular 4 (8232e66)
- run all rezize events outside the angular zone (820612e)
- resizable: only register mouse move events when a rezize is active (a74f9e2)
- resizeHandle: dynamically register mouse move event listener (4b20cde)
0.7.0 (2017-02-28)
- cssClasses: Gives classes to main element depend on state (8e3f108)
- cursorPrecision: allow cursor precision value to be edited (3ce508d)
0.6.1 (2017-02-11)
0.6.0 (2017-02-04)
0.5.7 (2017-01-30)
0.5.6 (2017-01-25)
0.5.5 (2017-01-11)
- add width and height to cloned node (75ce122), closes #31
- keep cursor while resizing (93a5c4e), closes #33
0.5.4 (2016-12-11)
- cursor: reset the cursor instead of changing it to auto (514851f)
0.5.3 (2016-11-19)
0.5.2 (2016-11-05)
- aot: aot compatibility (9236e02)
0.5.1 (2016-11-03)
0.5.0 (2016-10-29)
- fix resizing via a drag handle (5f7f468)
- prevent text from being selected when resizing an element (5571069), closes #22
- rename the library from angular2-resizable to angular-resizable-element (927235e), closes #21
- rename the resize output to resizing (9597986), closes #20
- The library has been renamed to
angular-resizable-element
.
The UMD entry point has changed to
node_modules/angular-resizable-element/dist/umd/angular-resizable-element.js
- Before
(resize)="onResize($event)"
After:
(resizing)="onResizing($event)"
0.4.1 (2016-09-28)
- typings: dont include reference to core-js (68dc84f)
0.4.0 (2016-09-25)
- build: support offline template compilation (f3fe12a)
- build: For System.js users the path to the UMD files has changed:
Before:
node_modules/angular2-resizable/angular2-resizable.js
After:
node_modules/angular2-resizable/dist/umd/angular2-resizable.js
0.3.3 (2016-09-13)
- peerDependencies: allow any versions of angular post RC5 (cbe088f)
0.3.2 (2016-09-03)
- angular: support RC6 (d5b18cc)
0.3.1 (2016-08-25)
0.3.0 (2016-08-12)
- events: rename all outputs to drop the on prefix (9c76aac)
- directive selectors are now camel case instead of dash case (ffad2ca)
- upgrade to angular RC5 (9557c0a)
mwl-resizable
is nowmwlResizable
andmwl-resize-handle
is nowmwlResizeHandle
- Angular RC5 is now required
The Resizable and ResizeHandle directives are now no longer exported. Instead you must use the ResizableModule. See the readme or the demo app for an example of how to do this.
- events: The
onResizeStart
output has been renamed toresizeStart
The onResize
output has been renamed to resize
The onResizeEnd
output has been renamed to resizeEnd
0.2.1 (2016-07-15)
- demo: fix broken demo (0a5bf11)
0.2.0 (2016-07-15)
- create a clone of the ghost element instead of applying styling to the host (fa73345), closes #15
- only resize when the cursor is within the bounding rectangle (dedc3bb)
enableResizeStyling
has been renamed toenableGhostResize
0.1.0 (2016-06-26)
- mousedrag: cancel the previous mousedrag observable when starting a new drag (149c1a4), closes #9
- onResizeEnd: call with co-ordinates of last valid resize rather than where the mouse up event w (eb314fd)
- onResizeStart: ensure the starting rectangle is a POJO rather than a bounding rectangle (81fe0b4)
- cancel mousedrag event when either a mouseup or mousedown event fires (c76be59)
- disable dragging effects on resizable elements on webkit browsers (59078e2)
- renamed directive selector from mwl-resizeable to mwl-resizable (c60b3f5)
- disableResize: support completely disabling resizing an element (9f9c54a), closes #13
- expose the amount each edge was resized on resize events (d664038), closes #11
- enableResizeStyling: make temporary resizing of the element opt-in by default so users can con (4c59b05), closes #5
- resizeEdges: allow the resize edges to be customised (60c2e08), closes #8
- resizeHandles: add support for nesting resize handles inside the element (1af705a), closes #10
- resizeSnapGrid: allow resizing to fit to a snap grid (74424ba), closes #3
- validate: provide a way for resize events to be validated (4da938d), closes #12
- enableResizeStyling: the element will no longer have its styles changed by default when dragging and
resizing. You can now re-enable it by setting
[enableResizeStyling]="true"
on the element. - the
$event.edges
object values now contain numbers instead of booleans -
- rename the directive from mwl-resizeable to mwl-resizable
- resizeEdges: by default the element is no longer resizable.
You must specify [resizeEdges]={top: true, bottom: true, left: true, right: true}
to get the old behaviour back
0.0.3 (2016-06-13)
- import missing rxjs operators (300ac10)
0.0.2 (2016-06-13)
- types: export Edges and BoundingRectangle types (fe49114)
- dont bundle rxjs with the library (7b1280e)