- improve rendering performance (#82), closes #81
- dropped support for Angular < 17.x.x. You need to have a peer dependency of Angular 17.0.0 or greater.
- dropped support for Angular < 16.x.x. You need to have a peer dependency of Angular 16.0.0 or greater.
- dropped support for Angular < 15.x.x. You need to have a peer dependency of Angular 15.0.0 or greater.
- mark
TagCloudComponent
asstandalone: true
- Remove
TagCloudModule
- dropped support for Angular < 14.x.x. You need to have a peer dependency of Angular 14.0.0 or greater.
TagCloudModule
is no longer exported. Please use the standalone componentTagCloudComponent
instead.
OLD:
import { TagCloudModule } from 'angular-tag-cloud-module';
// ...
@NgModule({
// ...
imports: [TagCloudModule],
})
NEW:
import { TagCloudComponent } from 'angular-tag-cloud-module';
// ...
@NgModule({
// ...
imports: [TagCloudComponent],
})
- add support for Angular 13, drop support for older Angular versions
- align version with angular version
- dropped support for Angular 11.x.x
- you need to have a peer dependency of Angular 12.0.0 or greater
- update workspace to Angular12 defaults
- use strict mode everywhere
- remove optional event emitter typing [ #66 ]
- add support for Angular 12, drop support for older Angular versions
- support for Angular 10.x.x has been dropped for future versions
- you need to have a peer dependency of Angular 11.0.0 or greater
- allow to access
cloudDataHtmlElements
component property for manual element placements #64
- Don't run into an infinite loop when the word cloud has a width or height of
0px
#45
- Don't run into an infinite loop when the word cloud has a width or height of
0px
#45
- Add support for Angular 11
- add configuration option
delay
: Delay the appearance for each cloud element by defining a value in milliseconds #8
- tooltips were displayed behind other words #51 , Thanks to @gaeljaffre
- add support for Angular 10, drop support for older Angular versions
- support for Angular 9.x.x has been dropped for future versions
- you need to have a peer dependency of Angular 10.0.0 and
tslib
2.0.0 or greater
- allow responsive height [ #44 ]
- allow to specify a fixed position for a word [ #49 ]
- add Angular 9 version as
peerDependency
. - to use Angular 8 or lower, install the module by running:
npm install --save angular-tag-cloud-module@3
- remove
colorStyle
only whenzoomOnHover.color
is set #43 , Thanks to @andreasIBM
- Input property
log
caused an error (9b374ea)
- Adds the property
background
for setting a CSS background color / picture (de7cd4c) - Adds the property
font
for setting a CSS font style (de7cd4c)
- Do not place the first word always right in the middle (ad4d5a4)
- Adds input for logging (
[log]="'warn'"
). Possible values:warn
,debug
,false
(874cda3)
- Adds an
id
attribute to each word (a4ce14c) - Ability to pass an object width
CloudOptions
as input (96cb5f7) - Allow peer dependencies of Angular 9 preview versions
- Adds missing option
strict
to exported interface CloudOptions (b96f2bf)
- Allow a peer dependency of Angular 8
- Set minimal angular version to 6.0.0
- Fixes some descriptions
- Includes LICENSE file int NPM package
- restructured project - This will provide the module as an Angular CLI's library. A lots of duplicate code is killed :)
- Adds support for color change within ZoomOnHoverOptions (related to [ #32 ])
- Adds support for Angular 7 (related to [ #38 ])
- Tooltips can be added now. (related to [ #23 ])
- Support for non radomization of angles when undefined in cloud data entries and added an alphabetical sort of data before sorting by weight to allow for uniform placement of words in the cloud. This can ensure that if a word cloud is updated with the same data the placement of words will not change. Previously, because only sorting by weight, there was some randomness to the word ordering when rendering. (related to [ #31 ]). Thanks @afm497!
- Removed check for empty data array that would exit out of drawing tag cloud. (related to [ #36 ]). Thanks @afm497!
- TagCloudModule is now ready for usage with Angular6 🎉
- auto realign words on resize (
realignOnResize
property) (related to [ #26 ])
- Adds the option to zoom with a delay
- New Method
reDraw
(related to [ #26 ])
- The browser lags after several data updates (related to [ #28 ])
- Adds the option to zoom with a delay
- New Event
dataChanges
- keep word rotation if set and zoom is activated
- rotate words not just on hover
- Adds a feature for zoom CloudData elements on hover [ #10 ]
- Add attribute for rotating CloudData elements [ #11 ]
- fixes bug within default values (a5aac48)
- updates
ng-packagr
(related to [ #21 ])
- fixes deployed version [ #20 ]
- updates peerDependencies
- removes unnecessary dependencies
- fixes Package
- Adds strict mode for setting static weights (0938798), fixes [ #18 ]
- fixes README.md
- fixes README.md
- Upgrade to Angular 5, fixes [ #18 ]
- Package application using ng-packagr
- Simplify the Sorting Algorithm (d788ab0), fixes [ #15 ]
- Adding changes to update the DOM (436ce82), fixes [ #16 ]
- Null pointer error when options change but data does not, (63066f7), fixes [ #13 ]
- Adds events
afterInit
andafterChecked
, fixes [ #7 ] - Adds a link to a wiki page which explains how to change the stlyesheet, fixes [ #6 ]
- Supports now a relative width to the parents element, fixes [#1]:
Fixed width (in px):
The width of the cloud in this example will be 1000px.
@Component({
selector: 'my-component',
template: `
<angular-tag-cloud
[data]="data"
[width]="1000px">
</angular-tag-cloud>
`
})
// ...
Example usage of relative width:
If the parent container is e.g. 1000px
wide, the width of the cloud in this example will be 1000px * 0.8 = 800px
.
@Component({
selector: 'my-component',
template: `
<div>
<angular-tag-cloud
[data]="data"
[width]="0.8">
</angular-tag-cloud>
</div>
`
})
// ...
- Setting a color without providing a link
- adds an event which returns the clicked tag-cloud-item, related to [ #5 ]
- updates version, fixes package.json
- Uses
ngOnChanges
-Lifecycle Hook to refresh data when newCloudData[]
is passed into component, closes [ #4 ]
- Exports
CloudOptions
andCloudData
interfaces
- fixes some typos
- be sure that default values are set if passing wrong data through inputs
- cahnged input
removeOverflow
tooverflow
. Before:
<angular-tag-cloud
[data]="data"
[removeOverflow]="true">
</angular-tag-cloud>
After:
<angular-tag-cloud
[data]="data"
[overflow]="false">
</angular-tag-cloud>
- initial versions