@ernane/svelte-star-rating
Advanced tools
Comparing version 1.0.3 to 1.1.0
{ | ||
"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> | | ||
<a href="#-Instalacao">Instalação</a> | | ||
<a href="#-Project">Project</a> | | ||
<a href="#-Installation">Installation</a> | | ||
<a href="#-Features">Features</a> | | ||
@@ -18,9 +18,9 @@ <a href="#-Use">Use</a> | ||
## 💻 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
39386
114