nuxt-rating
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "nuxt-rating", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"configKey": "nuxtRating", | ||
@@ -5,0 +5,0 @@ "compatibility": { |
@@ -9,3 +9,3 @@ export type NuxtRatingProps = { | ||
ratingContent?: number[] | ||
ratingSize?: number | ||
ratingSize?: number | string | ||
ratingSpacing?: number | ||
@@ -12,0 +12,0 @@ readOnly?: boolean |
export type NuxtStarProps = { | ||
fill: number | ||
points: number[] | ||
size: number | ||
size: number | string | ||
starId: number | ||
@@ -6,0 +6,0 @@ activeColor: string |
{ | ||
"name": "nuxt-rating", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Display or retrieve a score on a fully customisable scale.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Aurion72/nuxt-rating#readme", |
@@ -69,8 +69,8 @@ <!-- | ||
- `ratingCount` (optional, default: 5): The total number of rating levels available. | ||
- `ratingSize` (optional, default: "32px"): The size of the rating meter. | ||
- `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. | ||
- `ratingSize` (optional, default: 15): The size of the rating meter. | ||
- `ratingSpacing` (optional, default: 2): The spacing between the rating levels. | ||
- `ratingStep` (optional, default: 0.1): 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. | ||
- `inactiveColor` (optional, default: "gray"): The color of the inactive rating levels. | ||
- `ratingValue` (optional, default: 3.7): The initial rating value. | ||
- `ratingValue` (optional, default: 4.5): The initial rating value. | ||
- `ratingContent` (optional, default: "[19.8, 2.2, 6.6, 43.56, 39.6, 17.16, 0, 17.16, 33, 43.56]"): The content to be displayed for each rating level, should be polygon points see https://developer.mozilla.org/fr/docs/Web/SVG/Element/polygon. | ||
@@ -77,0 +77,0 @@ - `readOnly` (optional, default: true): Specifies whether the rating meter is read-only or interactive. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
19579