Skip to content

Commit b4a897c

Browse files
committed
Version 2.0.0
Removed: The `KioskBoard.Merge()` method has been removed. (This method already has been deprecated in v1.4.0) Changed: `KioskBoard.Init()` function name has been changed to `KioskBoard.init()`. Changed: `KioskBoard.Run()` function name has been changed to `KioskBoard.run()`. Changed: Auto-generated `kioskboard-aio.js` file has been moved from `src/all-in-one` folder to `build` folder. Changed: The `specialCharactersObject` option has been changed to `keysSpecialCharsArrayOfStrings`. An Array of Strings can be set to override the built-in special characters. e.g. => `["#", "$", "%", "+", "-", "*"]` Fixed: Custom key with multiple characters: ([#31](#31)) Added: The `keysNumpadArrayOfNumbers` option has been added: An Array of Numbers can be set to override the built-in numpad keys. (From 0 to 9, in any order.) e.g. => `[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]` - ([#30](#30))
1 parent 1fcfe3e commit b4a897c

22 files changed

+547
-480
lines changed

.dev/.eslintrc.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"commonjs": true,
5+
"es6": true,
6+
"node": true
7+
},
8+
"extends": "eslint:recommended",
9+
"globals": {
10+
"Atomics": "readonly",
11+
"SharedArrayBuffer": "readonly"
12+
},
13+
"parserOptions": {
14+
"ecmaVersion": 11
15+
},
16+
"rules": {
17+
"comma-dangle": [
18+
"error",
19+
"always-multiline"
20+
],
21+
"semi": [
22+
"error",
23+
"always"
24+
],
25+
"indent": [
26+
"error",
27+
2,
28+
{
29+
"ignoredNodes": [
30+
"TemplateLiteral"
31+
]
32+
}
33+
],
34+
"quotes": [
35+
2,
36+
"single",
37+
{
38+
"avoidEscape": true,
39+
"allowTemplateLiterals": true
40+
}
41+
]
42+
}
43+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* All In One Generator
33
*
44
* Description: Creates "kioskboard-aio.js" file automatically from "kioskboard.js" and "kioskboard.css" files.
5-
* Version: 1.0.0
5+
* Version: 2.0.0
66
* Author: Furkan MT ('https://github.com/furcan')
77
* Copyright 2021 All In One Generator, MIT Licence ('https://opensource.org/licenses/MIT')
88
*/
@@ -14,7 +14,7 @@ const CleanCSS = require('clean-css');
1414
const Constants = require('./dev-constants');
1515

1616
// Constants
17-
const thisFilePath = '.dev/helpers/dev-allinone.js';
17+
const thisFilePath = '.dev/dev-allinone.js';
1818

1919
// Get File content as text: begin
2020
const getFileContentAsTextByType = (filePath, fileType, clean) => {
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*!
22
* Constants
33
* Description: Constants for the development.
4-
* Version: 1.0.0
4+
* Version: 2.0.0
55
* Author: Furkan MT ('https://github.com/furcan')
66
* Copyright 2021 Constants, MIT Licence ('https://opensource.org/licenses/MIT')
77
*/
88

99
// Dev Dependencies
1010
const chalk = require('chalk');
11-
const package = require('../../package.json');
11+
const package = require('../package.json');
1212

1313
// Constants: begin
1414
// - CleanCSS Options: begin
@@ -57,7 +57,7 @@ const terminalError = (message, fileOrPath) => {
5757
module.exports = {
5858
prefix: 'kioskboard',
5959
dirInputDev: 'src',
60-
dirOutputDev: 'src/all-in-one',
60+
dirOutputDev: 'build',
6161
dirOutputDist: 'dist',
6262
fileScript: 'kioskboard.js',
6363
fileStyle: 'kioskboard.css',
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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: 1.0.0
5+
* Version: 2.0.0
66
* Author: Furkan MT ('https://github.com/furcan')
77
* Copyright 2021 Minifier, MIT Licence ('https://opensource.org/licenses/MIT')
88
*/
@@ -15,7 +15,7 @@ const CleanCSS = require('clean-css');
1515
const Constants = require('./dev-constants');
1616

1717
// Constants
18-
const thisFilePath = '.dev/helpers/dev-minifier.js';
18+
const thisFilePath = '.dev/dev-minifier.js';
1919

2020
// Minified Code and Source Type: begin
2121
const minifiedCodeBySourceType = (text, type) => {

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"single",
3737
{
3838
"avoidEscape": true,
39-
"allowTemplateLiterals": true
39+
"allowTemplateLiterals": false
4040
}
4141
]
4242
}

CHANGELOG.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
@2.0.0
2+
* **Removed:** The `KioskBoard.Merge()` method has been removed. (This method already has been deprecated in v1.4.0)
3+
4+
* **Changed:** `KioskBoard.Init()` function name has been changed to `KioskBoard.init()`.
5+
6+
* **Changed:** `KioskBoard.Run()` function name has been changed to `KioskBoard.run()`.
7+
8+
* **Changed:** Auto-generated `kioskboard-aio.js` file has been moved from `src/all-in-one` folder to `build` folder.
9+
10+
* **Changed:** The `specialCharactersObject` option has been changed to `keysSpecialCharsArrayOfStrings`. An Array of Strings can be set to override the built-in special characters. e.g. => `["#", "$", "%", "+", "-", "*"]`
11+
12+
* **Fixed:** Custom key with multiple characters: ([#31](https://github.com/furcan/KioskBoard/issues/31))
13+
14+
* **Added:** The `keysNumpadArrayOfNumbers` option has been added: An Array of Numbers can be set to override the built-in numpad keys. (From 0 to 9, in any order.) e.g. => `[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]` - ([#30](https://github.com/furcan/KioskBoard/issues/30))
15+
16+
17+
-----
18+
-----
19+
-----
20+
121
@1.4.0
222
* **Fixed:** The dispatcher issue on the input change event has been fixed: ([#11](https://github.com/furcan/KioskBoard/issues/11))
323
* **Fixed:** The current text selection issue has been fixed: ([#19](https://github.com/furcan/KioskBoard/issues/19))
@@ -60,16 +80,16 @@
6080
-----
6181

6282
@1.0.0
63-
* A pure JavaScript library for using the Virtual Keyboard is ready to use.
83+
* KioskBoard is ready to use.
6484

6585
-----
6686

6787
@1.0.0-beta.02
68-
* A pure JavaScript library for using the Virtual Keyboard. First Release.
88+
* KioskBoard. First Release.
6989

7090
-----
7191

7292
@1.0.0-beta.01
73-
* A pure JavaScript library for using the Virtual Keyboard. Coming Soon.
93+
* KioskBoard. Coming Soon.
7494

7595
-----

0 commit comments

Comments
 (0)