ngx-bar-rating
Advanced tools
Comparing version 1.0.0 to 1.0.1
# Changelog | ||
## 1.0.1 | ||
- remove precompiled css in src | ||
- fix custom stars class name `custom` to `stars` | ||
## 1.0.0 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "ngx-bar-rating", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Angular Bar Rating", | ||
@@ -30,6 +30,6 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@angular/common": ">=2.0.0 <2.4.6 || >=2.4.8 <4.0.0-beta.6 || >=4.0.0-beta.8", | ||
"@angular/core": ">=2.0.0 <2.4.6 || >=2.4.8 <4.0.0-beta.6 || >=4.0.0-beta.8", | ||
"@angular/common": ">=2.0.0 <2.4.6 || >=2.4.8 <4.0.0-beta.6 || >=4.0.0-beta.8", | ||
"@angular/forms": ">=2.0.0 <2.4.6 || >=2.4.8 <4.0.0-beta.6 || >=4.0.0-beta.8" | ||
} | ||
} |
@@ -124,31 +124,56 @@ <p align="center"> | ||
- Pure css stars (default) `[theme]="'fontawesome-o'"` | ||
```css | ||
// Pure css stars (default) | ||
@import '~ngx-bar-rating/themes/br-default-theme.css'; | ||
@import '~ngx-bar-rating/themes/br-default-theme' | ||
``` | ||
// Bootstrap stars | ||
@import '~ngx-bar-rating/themes/br-bootstrap-theme.css'; | ||
- Bootstrap stars `[theme]="'bootstrap'"` | ||
// Fontawesome stars | ||
@import '~ngx-bar-rating/themes/br-fontawesome-theme.css'; | ||
```css | ||
@import '~ngx-bar-rating/themes/br-bootstrap-theme'; | ||
``` | ||
// Fontawesome-o stars | ||
@import '~ngx-bar-rating/themes/br-fontawesome-o-theme.css'; | ||
- Fontawesome stars `[theme]="'fontawesome'"` | ||
// Horizontal bars | ||
@import '~ngx-bar-rating/themes/br-horizontal-theme.css'; | ||
```css | ||
@import '~ngx-bar-rating/themes/br-fontawesome-theme'; | ||
``` | ||
// Vertical bars | ||
@import '~ngx-bar-rating/themes/br-vertical-theme.css'; | ||
- Fontawesome-o stars `[theme]="'fontawesome-o'"` | ||
// Custom svg stars | ||
@import '~ngx-bar-rating/themes/br-custom-stars-theme.css'; | ||
```css | ||
@import '~ngx-bar-rating/themes/br-fontawesome-o-theme'; | ||
``` | ||
// Movie rating | ||
@import '~ngx-bar-rating/themes/br-movie-theme.css'; | ||
- Horizontal bars `[theme]="'horizontal'"` | ||
// Square rating | ||
@import '~ngx-bar-rating/themes/br-square-theme.css'; | ||
```css | ||
@import '~ngx-bar-rating/themes/br-horizontal-theme'; | ||
``` | ||
- Vertical bars `[theme]="'vertical'"` | ||
```css | ||
@import '~ngx-bar-rating/themes/br-vertical-theme'; | ||
``` | ||
- Custom stars `[theme]="'stars'"` | ||
```css | ||
@import '~ngx-bar-rating/themes/br-stars-theme'; | ||
``` | ||
- Movie rating `[theme]="'movie'"` | ||
```css | ||
@import '~ngx-bar-rating/themes/br-movie-theme'; | ||
``` | ||
- Square rating `[theme]="'square'"` | ||
```css | ||
@import '~ngx-bar-rating/themes/br-square-theme'; | ||
``` | ||
Rating style can be easily customized, check the classes used in any theme and add your own css. | ||
@@ -155,0 +180,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
52935
196