bootstrap-input-spinner 3.0.3 → 3.1.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bootstrap-input-spinner",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "A Bootstrap 5 / jQuery plugin to create input spinner elements for number input.",
|
|
5
5
|
"browser": "./src/bootstrap-input-spinner.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://shaack.com/en/open-source-components",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"bootstrap": "^5.
|
|
29
|
+
"bootstrap": "^5.1.1",
|
|
30
30
|
"jquery": "^3.6.0",
|
|
31
31
|
"popper.js": "^1.16.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"prismjs": "^1.
|
|
34
|
+
"prismjs": "^1.25.0",
|
|
35
35
|
"teevi": "^2.1.10"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -194,6 +194,7 @@
|
|
|
194
194
|
})
|
|
195
195
|
onPointerUp(document.body, function () {
|
|
196
196
|
resetTimer()
|
|
197
|
+
dispatchEvent($original, "change")
|
|
197
198
|
})
|
|
198
199
|
}
|
|
199
200
|
|
|
@@ -266,7 +267,7 @@
|
|
|
266
267
|
}
|
|
267
268
|
setValue(Math.round(value / step) * step + step)
|
|
268
269
|
dispatchEvent($original, "input")
|
|
269
|
-
dispatchEvent($original, "change")
|
|
270
|
+
// dispatchEvent($original, "change")
|
|
270
271
|
}
|
|
271
272
|
|
|
272
273
|
function resetTimer() {
|