Skip to content

Commit 84c6d12

Browse files
committed
Version 2.1.0
Added: Input based `data-kioskboard-placement` data attribute option has been added. This option sets the placement of the keyboard on `top` or `bottom` for each input/textarea element. The default value is `bottom`. Added: TypeScript declaration has been added. Changed: Refactor.
1 parent b4a897c commit 84c6d12

31 files changed

+767
-221
lines changed

.dev/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"SharedArrayBuffer": "readonly"
1212
},
1313
"parserOptions": {
14-
"ecmaVersion": 11
14+
"ecmaVersion": 2021
1515
},
1616
"rules": {
1717
"comma-dangle": [

.dev/dev-allinone.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* All In One Generator
33
*
44
* Description: Creates "kioskboard-aio.js" file automatically from "kioskboard.js" and "kioskboard.css" files.
5-
* Version: 2.0.0
5+
* Version: 2.1.0
66
* Author: Furkan MT ('https://github.com/furcan')
7-
* Copyright 2021 All In One Generator, MIT Licence ('https://opensource.org/licenses/MIT')
7+
* Copyright 2022 All In One Generator, MIT Licence ('https://opensource.org/licenses/MIT')
88
*/
99

1010
// Dev Dependencies

.dev/dev-constants.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*!
22
* Constants
33
* Description: Constants for the development.
4-
* Version: 2.0.0
4+
* Version: 2.1.0
55
* Author: Furkan MT ('https://github.com/furcan')
6-
* Copyright 2021 Constants, MIT Licence ('https://opensource.org/licenses/MIT')
6+
* Copyright 2022 Constants, MIT Licence ('https://opensource.org/licenses/MIT')
77
*/
88

99
// Dev Dependencies
@@ -67,7 +67,7 @@ module.exports = {
6767
title: 'KioskBoard - Virtual Keyboard',
6868
url: '(https://github.com/furcan/KioskBoard)',
6969
license: 'MIT Licence (https://opensource.org/licenses/MIT)',
70-
year: new Date().getFullYear() || '2021',
70+
year: new Date().getFullYear() || '2022',
7171
cleanCSSOptions,
7272
minifyOptions,
7373
minifyOverrides,

.dev/dev-minifier.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* Minifier
33
*
44
* Description: Minify the KioskBoard scripts, and clean the KioskBoard styles to the distribution. (Used "Babel Minify", and "Clean CSS")
5-
* Version: 2.0.0
5+
* Version: 2.1.0
66
* Author: Furkan MT ('https://github.com/furcan')
7-
* Copyright 2021 Minifier, MIT Licence ('https://opensource.org/licenses/MIT')
7+
* Copyright 2022 Minifier, MIT Licence ('https://opensource.org/licenses/MIT')
88
*/
99

1010
// Dev Dependencies

.eslintrc.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"env": {
33
"browser": true,
44
"commonjs": true,
5-
"es6": true,
6-
"node": true
5+
"es6": false,
6+
"node": false
77
},
88
"extends": "eslint:recommended",
99
"globals": {
1010
"Atomics": "readonly",
1111
"SharedArrayBuffer": "readonly"
1212
},
1313
"parserOptions": {
14-
"ecmaVersion": 11
14+
"ecmaVersion": 5
1515
},
1616
"rules": {
1717
"comma-dangle": [

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [furcan]
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: BugReport
3+
about: Create a report to help us improve.
4+
title: "[BUG] - "
5+
labels: bug
6+
assignees: furcan
7+
8+
---
9+
### Describe the bug
10+
A clear and concise description of what the bug is.
11+
12+
### To Reproduce
13+
Steps to reproduce the behavior:
14+
1. Go to '...'
15+
2. Click on '....'
16+
3. Scroll down to '....'
17+
4. See error
18+
19+
### Expected behavior
20+
A clear and concise description of what you expected to happen.
21+
22+
### Screenshots
23+
If applicable, add screenshots to help explain your problem.
24+
25+
### Desktop (please complete the following information):
26+
- OS: [e.g. Windows, macOS...]
27+
- Browser [e.g. Chrome, Edge, Firefox, Safari...]
28+
- Version [e.g. v3.0.0]
29+
30+
### Smartphone (please complete the following information):
31+
- Device: [e.g. iPhone6]
32+
- OS: [e.g. iOS8.1]
33+
- Browser [e.g. stock browser, safari]
34+
- Version [e.g. v3.0.0]
35+
36+
### Additional context
37+
Add any other context about the problem here.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: FeatureRequest
3+
about: Suggest an idea to help us improve.
4+
title: "[FEAT] - "
5+
labels: enhancement
6+
assignees: furcan
7+
8+
---
9+
### Is your feature request related to a problem? Please describe.
10+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
### Describe the solution you'd like
13+
A clear and concise description of what you want to happen.
14+
15+
### Describe alternatives you've considered
16+
A clear and concise description of any alternative solutions or features you've considered.
17+
18+
### Additional context
19+
Add any other context or screenshots about the feature request here.

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
@2.1.0
2+
* **Added:** Input based `data-kioskboard-placement` data attribute option has been added. This option sets the placement of the keyboard on `top` or `bottom` for each input/textarea element. The default value is `bottom`.
3+
4+
```html
5+
<input class="js-kioskboard" data-kioskboard-type="keyboard" data-kioskboard-placement="top" placeholder="Your Name" />
6+
```
7+
* **Added:** TypeScript declaration has been added.
8+
* **Changed:** Refactor.
9+
10+
-----
11+
112
@2.0.0
213
* **Removed:** The `KioskBoard.Merge()` method has been removed. (This method already has been deprecated in v1.4.0)
314

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) 2020 - 2021 KioskBoard: Virtual Keyboard
3+
Copyright (c) 2020 - 2022 KioskBoard: Virtual Keyboard
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

0 commit comments

Comments
 (0)