Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-bar-rating

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-bar-rating - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

themes/br-stars-theme.css

5

CHANGELOG.md
# Changelog
## 1.0.1
- remove precompiled css in src
- fix custom stars class name `custom` to `stars`
## 1.0.0

@@ -4,0 +9,0 @@

4

package.json
{
"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 @@

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