@rokkit/ui 1.3.15 → 1.4.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.
@@ -98,6 +98,7 @@
98
98
 
99
99
  function handleUpperPanEnd() {
100
100
  slidingUpper = false
101
+ if (disabled) return
101
102
  // Final snap
102
103
  if (rangeMode) {
103
104
  upper = snapToStep(clamp(upper, lower, max))
@@ -175,6 +176,7 @@
175
176
 
176
177
  function handleLowerPanEnd() {
177
178
  slidingLower = false
179
+ if (disabled) return
178
180
  lower = snapToStep(clamp(lower, min, upper))
179
181
  fireChange()
180
182
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokkit/ui",
3
- "version": "1.3.15",
3
+ "version": "1.4.0",
4
4
  "description": "Data driven UI components for Rokkit applications",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,10 +44,10 @@
44
44
  "dropdown"
45
45
  ],
46
46
  "dependencies": {
47
- "@rokkit/core": "1.3.15",
48
- "@rokkit/data": "1.3.15",
49
- "@rokkit/states": "1.3.15",
50
- "@rokkit/actions": "1.3.15",
47
+ "@rokkit/core": "1.4.0",
48
+ "@rokkit/data": "1.4.0",
49
+ "@rokkit/states": "1.4.0",
50
+ "@rokkit/actions": "1.4.0",
51
51
  "marked": "^15.0.0",
52
52
  "dompurify": "^3.0.0"
53
53
  },