@mamba/input
Advanced tools
Comparing version 2.9.1 to 2.10.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [2.10.0](https://github.com/stone-payments/pos-mamba-sdk/compare/v2.9.1...v2.10.0) (2019-07-25) | ||
### Features | ||
* 🎸 Implement readonlyOnEnter attr on money input ([#452](https://github.com/stone-payments/pos-mamba-sdk/issues/452)) ([ff5df7a](https://github.com/stone-payments/pos-mamba-sdk/commit/ff5df7a)) | ||
## [2.9.1](https://github.com/stone-payments/pos-mamba-sdk/compare/v2.8.3...v2.9.1) (2019-07-19) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@mamba/input", | ||
"version": "2.9.1", | ||
"version": "2.10.0", | ||
"svelte": "Input.html", | ||
@@ -11,7 +11,7 @@ "author": "Stone Payments - Mamba Team", | ||
"devDependencies": { | ||
"@mamba/styles": "^2.9.1" | ||
"@mamba/styles": "^2.10.0" | ||
}, | ||
"dependencies": { | ||
"@mamba/icon": "^2.9.1", | ||
"@mamba/utils": "^2.9.1" | ||
"@mamba/icon": "^2.10.0", | ||
"@mamba/utils": "^2.10.0" | ||
}, | ||
@@ -21,3 +21,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "7622ca190f6dc4d046b1d3c5f0b65a8b4e0867b8" | ||
"gitHead": "20114df17a8000453535ecd32df613b0de098a34" | ||
} |
@@ -46,5 +46,6 @@ # Input | ||
| Parâmetro | Descrição | Tipo | Padrão | | ||
| --------- | -------------------------- | -------------------- | ------ | | ||
| cents | Valor do input em centavos | `string` or `number` | `0` | | ||
| Parâmetro | Descrição | Tipo | Padrão | | ||
| --------------- | ------------------------------------------------------------------------------------------------------------- | -------------------- | ------- | | ||
| cents | Valor do input em centavos | `string` or `number` | `0` | | ||
| readonlyOnEnter | Faz com que o campo se torne somente leitura no keypress do `enter` e se o valor em centavos for igual a zero | `boolean` | `false` | | ||
@@ -115,2 +116,10 @@ ## Eventos | ||
### makeReadOnly() | ||
Desabilita o preenchimento do campo | ||
### makeWritable() | ||
Habilita o preenchimento do campo | ||
## Máscara | ||
@@ -117,0 +126,0 @@ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
69843
146
0
Updated@mamba/icon@^2.10.0
Updated@mamba/utils@^2.10.0