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

nuxt-rating

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-rating - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

dist/module.json
{
"name": "nuxt-rating",
"version": "0.1.0",
"version": "0.1.1",
"configKey": "nuxtRating",

@@ -5,0 +5,0 @@ "compatibility": {

{
"name": "nuxt-rating",
"version": "0.1.0",
"version": "0.1.1",
"description": "Display or retrieve a score on a fully customisable scale.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/Aurion72/nuxt-rating#readme",

@@ -31,3 +31,2 @@ <!--

- &nbsp; Display decimal ratings.
- &nbsp; Display decimal ratings.
- &nbsp; Inspired by Vue Star Rating.

@@ -61,3 +60,3 @@

```js
<NuxtRating :read-only="false" :ratingValue="3.5" />
<NuxtRating :read-only="false" :rating-value="3.5" />
```

@@ -73,3 +72,4 @@

- `ratingSize` (optional, default: "32px"): The size of the rating meter.
- `letterSpacing` (optional, default: "0px"): The spacing between the rating levels.
- `ratingSpacing` (optional, default: 0): The spacing between the rating levels.
- `ratingStep` (optional, default: 0): Defines the increment between rating levels. For example, with ratingStep set to 0.5, users can select ratings like 0.5, 1, 1.5, etc.
- `activeColor` (optional, default: "#ffc700"): The color of the active rating level.

@@ -83,2 +83,3 @@ - `inactiveColor` (optional, default: "gray"): The color of the inactive rating levels.

- `roundedCorners` (optional, default: false): Specifies whether the stars should have rounded corners.
- `inline` (optional, default: false): Adds `display: inline-flex` to the wrapper.
- `clearable` (optional, default: false): Specifies whether the rating can be cleared.

@@ -113,3 +114,2 @@

:border-width="5"
:fixed-points="2"
:rating-size="30"

@@ -134,3 +134,2 @@ :rating-value="4.5"

:border-width="5"
:fixed-points="2"
:rating-size="10"

@@ -161,3 +160,2 @@ :rating-value="3.7"

:border-width="0"
:fixed-points="2"
:rating-size="30"

@@ -164,0 +162,0 @@ :rating-value="4.5"

Sorry, the diff of this file is not supported yet

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