@aquera/nile-elements 0.0.58 → 0.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/index.iife.js +2 -2
- package/dist/nile-input/nile-input.cjs.js +1 -1
- package/dist/nile-input/nile-input.cjs.js.map +1 -1
- package/dist/nile-input/nile-input.css.cjs.js +1 -1
- package/dist/nile-input/nile-input.css.cjs.js.map +1 -1
- package/dist/nile-input/nile-input.css.esm.js +1 -1
- package/dist/nile-input/nile-input.esm.js +1 -1
- package/dist/src/nile-input/nile-input.css.js +1 -1
- package/dist/src/nile-input/nile-input.css.js.map +1 -1
- package/dist/src/nile-input/nile-input.js +2 -2
- package/dist/src/nile-input/nile-input.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-input/nile-input.css.ts +1 -1
- package/src/nile-input/nile-input.ts +2 -2
package/package.json
CHANGED
@@ -381,7 +381,7 @@ export class NileInput extends NileElement implements NileFormControl {
|
|
381
381
|
for (let i = 0, n = this.value.length; i < n; i++) {
|
382
382
|
const charCode = this.value.charCodeAt(i);
|
383
383
|
|
384
|
-
if (
|
384
|
+
if (charCode > 127) {
|
385
385
|
markedValue += `<span class="input__srtiked-text">${this.value.charAt(i)}</span>`;
|
386
386
|
this.hasPrintableCharacters = true;
|
387
387
|
} else {
|
@@ -404,7 +404,7 @@ export class NileInput extends NileElement implements NileFormControl {
|
|
404
404
|
const charCode = this.value.charCodeAt(i);
|
405
405
|
|
406
406
|
// Consider a character printable if it's not in the specified non-printable ranges
|
407
|
-
if (
|
407
|
+
if (charCode < 128) {
|
408
408
|
cleanedValue += this.value.charAt(i);
|
409
409
|
}
|
410
410
|
}
|