Skip to content

Commit f3679d9

Browse files
committed
prepare v3.1.5
1 parent 35d3744 commit f3679d9

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

99
## [Unreleased]
1010

11+
## [3.1.5] - 2024-01-05
12+
1113
### Changed
1214

1315
- Upgraded all packages.
16+
- Improved accessibility [#84].
1417

1518
## [3.1.4] - 2023-09-09
1619

@@ -203,3 +206,4 @@ React PIN Field is now a React wrapper for [PIN Field](https://github.com/soywod
203206
[#62]: https://github.com/soywod/react-pin-field/issues/62
204207
[#63]: https://github.com/soywod/react-pin-field/issues/63
205208
[#71]: https://github.com/soywod/react-pin-field/issues/71
209+
[#84]: https://github.com/soywod/react-pin-field/pull/84

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019-2023 soywod <clement.douin@posteo.net>
3+
Copyright (c) 2019-2024 soywod <clement.douin@posteo.net>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Demo for react-pin-field.",
44
"author": "soywod <clement.douin@posteo.net>",
55
"license": "MIT",
6-
"version": "3.1.4",
6+
"version": "3.1.5",
77
"private": false,
88
"browserslist": {
99
"production": [
@@ -28,7 +28,7 @@
2828
"classnames": "^2.3.2",
2929
"react": "^18.2.0",
3030
"react-dom": "^18.2.0",
31-
"react-pin-field": "^3.1.4",
31+
"react-pin-field": "^3.1.0",
3232
"react-scripts": "^5.0.1",
3333
"sass": "^1.66.1",
3434
"typescript": "^5.2.2",

demo/src/app.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ function App() {
138138
<PinField className="pin-field" format={c => c.toUpperCase()} />
139139
</div>
140140

141-
{/* TODO: uncomment this code snippet for docs
142141
<h2 className="display-5 mt-5">Custom input aria-label</h2>
143142
<p className="mb-4 text-muted">
144143
You can customize inputs' aria-labels with your own sentence using{" "}
@@ -147,7 +146,6 @@ function App() {
147146
<div>
148147
<PinField className="pin-field" formatAriaLabel={(i: number, c: number) => `custom pin code ${i} of ${c}`} />
149148
</div>
150-
*/}
151149

152150
<h2 className="display-5 mt-5">Events</h2>
153151
<ul className="mb-4 text-muted">

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "React component for entering PIN codes.",
44
"author": "soywod <clement.douin@posteo.net>",
55
"license": "MIT",
6-
"version": "3.1.4",
6+
"version": "3.1.5",
77
"private": false,
88
"keywords": [
99
"react",

0 commit comments

Comments
 (0)