From 68109c8dcf71db81db1d550e3f07c02fe5110763 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sat, 2 Jan 2021 12:03:24 -0800 Subject: [PATCH] v1.0.0 --- CHANGELOG.md | 13 +++++++++++++ package.json | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6953e29..b2cfc02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add option to `selectTextOnFocus` +## [1.0.0](https://github.com/metonym/svelte-pincode/releases/tag/v1.0.0) - 2021-01-02 + +**Features** + +- add Pincode `type` prop; default value is "alphanumeric" +- support numeric variant by setting `type="numeric"` +- add reactive Pincode `complete` prop +- remove forwarded `input` event from PincodeInput + +**Fixes** + +- fix the incorrect value being dispatched in the `on:complete` event detail + ## [0.2.0](https://github.com/metonym/svelte-pincode/releases/tag/v0.2.0) - 2021-01-01 - Add `focusFirstInput`, `focusNextEmptyInput`, `focusLastInput` methods diff --git a/package.json b/package.json index 0769869..4741c49 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelte-pincode", - "version": "0.2.0", + "version": "1.0.0", "license": "MIT", "description": "Pincode component for Svelte", "author": "Eric Liu (https://github.com/metonym)",