intl-number-input
Advanced tools
Comparing version 1.3.1 to 1.4.0
@@ -56,6 +56,7 @@ /** | ||
private readonly el; | ||
private readonly onInput?; | ||
private readonly onChange?; | ||
private numberValue; | ||
private numberValueOnFocus; | ||
private options; | ||
private onInput; | ||
private onChange; | ||
private numberValue; | ||
private numberFormat; | ||
@@ -69,4 +70,13 @@ private decimalSymbolInsertedAt?; | ||
private maxValue; | ||
/** | ||
* Creates a new {@link NumberInput} instance. | ||
* | ||
* @param args - The number input settings. | ||
*/ | ||
constructor(args: NumberInputConstructorArgs); | ||
/** | ||
* Destroys a {@link NumberInput} instance, removing all event listeners. | ||
*/ | ||
destroy(): void; | ||
/** | ||
* Updates the options. | ||
@@ -105,3 +115,5 @@ * | ||
private format; | ||
private addEventListener; | ||
private inputEventListener; | ||
private focusEventListener; | ||
private blurEventListener; | ||
private setCaretPosition; | ||
@@ -108,0 +120,0 @@ } |
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.19.5" | ||
"packageVersion": "7.33.6" | ||
} | ||
] | ||
} |
{ | ||
"name": "intl-number-input", | ||
"description": "Easy input of formatted numbers based on the ECMAScript Internationalization API (ECMA-402).", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"license": "MIT", | ||
@@ -32,5 +32,5 @@ "module": "./dist/index.mjs", | ||
"scripts": { | ||
"test": "jest", | ||
"eslint:check": "eslint --no-fix --max-warnings 0 {**/*,*}.{js,ts}", | ||
"eslint:fix": "eslint --max-warnings 0 {**/*,*}.{js,ts}", | ||
"test": "vitest", | ||
"coverage": "vitest run --coverage", | ||
"lint": "eslint --no-fix --max-warnings 0 {**/*,*}.{js,ts,vue}", | ||
"api:extract": "tsc --emitDeclarationOnly --declaration --outDir temp/types && api-extractor run --local", | ||
@@ -47,29 +47,29 @@ "api:docs": "node scripts/api-docs.js", | ||
"devDependencies": { | ||
"@microsoft/api-documenter": "^7.13.67", | ||
"@microsoft/api-extractor": "^7.18.18", | ||
"@types/jest": "^26.0.23", | ||
"@microsoft/api-documenter": "^7.19.24", | ||
"@microsoft/api-extractor": "^7.33.6", | ||
"@rushstack/eslint-patch": "^1.2.0", | ||
"@types/stringify-object": "^3.3.1", | ||
"@typescript-eslint/eslint-plugin": "^5.20.0", | ||
"@typescript-eslint/parser": "^5.20.0", | ||
"eslint": "^8.13.0", | ||
"@typescript-eslint/eslint-plugin": "^5.42.1", | ||
"@typescript-eslint/parser": "^5.42.1", | ||
"@vitest/coverage-c8": "^0.25.1", | ||
"@vue/eslint-config-prettier": "^7.0.0", | ||
"@vue/eslint-config-typescript": "^11.0.2", | ||
"eslint": "^8.27.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-tsdoc": "^0.2.16", | ||
"jest": "^26.6.3", | ||
"jest-environment-jsdom-fifteen": "^1.0.2", | ||
"eslint-plugin-tsdoc": "^0.2.17", | ||
"eslint-plugin-vue": "^9.7.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.3.1", | ||
"prettier": "^2.7.1", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.58.0", | ||
"rollup-plugin-typescript2": "^0.30.0", | ||
"sass": "^1.32.0", | ||
"rollup": "^2.79.1", | ||
"rollup-plugin-typescript2": "^0.34.1", | ||
"stringify-object": "^3.3.0", | ||
"ts-jest": "^26.5.6", | ||
"typescript": "^4.4.4", | ||
"vite-plugin-components": "^0.8.4", | ||
"vite-plugin-windicss": "^0.15.10", | ||
"vitepress": "^0.22.3", | ||
"vue": "^3.2.20", | ||
"windicss": "^2.5.14" | ||
"typescript": "^4.8.4", | ||
"vite-plugin-components": "^0.13.3", | ||
"vite-plugin-windicss": "^0.17.1", | ||
"vitepress": "^0.22.4", | ||
"vitest": "^0.25.1", | ||
"vue": "^3.2.41", | ||
"windicss": "^3.5.6" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
65659
1483
0