Socket
Socket
Sign inDemoInstall

@ernane/svelte-star-rating

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.1.0

2

package.json
{
"name": "@ernane/svelte-star-rating",
"version": "1.0.3",
"version": "1.1.0",
"description": "Simple component to assign scores based on stars.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -6,4 +6,4 @@ <h1 align="center">

<div align="center">
<a href="#-Projeto">Projeto</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="#-Instalacao">Instalação</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="#-Project">Project</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="#-Installation">Installation</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
<a href="#-Features">Features</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;

@@ -18,9 +18,9 @@ <a href="#-Use">Use</a>&nbsp;&nbsp;&nbsp;

## 💻 Projeto
## 💻 Project
Simples componente Svelte, sem dependências, para implementação e captura de avaliações por meio de uma interface simples e intuitiva que te levará às etrelas.
Simple Svelte component, with no dependencies, for implementing and capturing assessments through a simple and intuitive interface that will take you to the stars.
[Veja essa demonstração! ](https://svelte.dev/repl/672b083a2ce346a6aae6f07d9e3787f4?version=3.47.0)
[See this demo!! ](https://svelte.dev/repl/672b083a2ce346a6aae6f07d9e3787f4?version=3.47.0)
## 📦 Instalação
## 📦 Installation

@@ -31,3 +31,3 @@ ```bash

⚠️ se estiver utilizando [SvelteKit](https://kit.svelte.dev/) ou [Sapper](https://sapper.svelte.dev/), é aconselhado instalar como uma dependência de desenvolvimento:
⚠️ if using [SvelteKit](https://kit.svelte.dev/) or [Sapper](https://sapper.svelte.dev/), it is advised to install as a development dependency:

@@ -40,7 +40,7 @@ ```bash

Este pacote exporta um componente svelte que pode, ou não, receber um objeto de configuração com os seguintes atributos.
This package will add a svelte component that may or may not receive a configuration object with the following attributes shown below.
- ⚙️ Configurações Gerais
- ⚙️ General Settings
| atributo | tipo de dado | requerido | valor padrão |
| Attribute | Data Type | Required | Default |
|:---------:|:------------:|:---------:|:------------:|

@@ -52,7 +52,7 @@ | readOnly | `bool` | não | false |

Além disso, temos outros dois atributos aninhados que especificam configurações distintas.
In addition, we have two other nested attributes that specify distinct settings.
- 📏 Range
| atributo | tipo de dado | requerido | valor padrão |
| Attribute | Data Type | Required | Default |
|:----------:|:------------:|:---------:|:------------:|

@@ -63,5 +63,5 @@ | min | `integer` | não | 0 |

- ⭐ Star Config:
- ⭐ Setting of the Stars:
| atributo | tipo de dado | requerido | valor padrão |
| Attribute | Data Type | Required | Default |
|:-----------:|:------------:|:---------:|:------------:|

@@ -72,3 +72,3 @@ | size | `integer` | não | 30 |

Ao final, o objeto de configuração será semelhante ao mostrado abaixo.
In the end, the configuration object will be similar to the one shown below.

@@ -96,3 +96,3 @@ ```js

- Importe o componente
- Import the component

@@ -103,3 +103,3 @@ ```js

- Crie o objeto de configuração
- Create the configuration object

@@ -109,5 +109,5 @@ ```js

```
<small>**Como mostrado na seção anterior</small>
<small>**As shown in the previous section</small>
- Por fim, utilize-o!
- Finally, use it! 🎉

@@ -118,9 +118,8 @@ ```js

_If you would like to implement or improve any feature feel free to submit a pull request. I would love to receive!_
_Se você desejar implementar ou melhorar alguma feature fique à vontade para enviar uma solicitacao de pull. Adorarei receber!_
---
<div align="center">
Desenvolvido com ❤ por <a target="_blank" href="https://www.ernane.dev/">Ernane Ferreira</a>. 👋🏻
</div>
Developed with ❤ by <a target="_blank" href="https://links.ernane.dev/">Ernane Ferreira</a>. 👋🏻
</div>

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc