dialkit 1.4.1 → 1.4.2
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/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/solid/index.js +2 -0
- package/dist/solid/index.js.map +1 -1
- package/dist/styles.css +6 -8
- package/dist/svelte/components/Slider.svelte +2 -0
- package/dist/svelte/theme-css.d.ts +1 -1
- package/dist/svelte/theme-css.d.ts.map +1 -1
- package/dist/svelte/theme-css.js +6 -8
- package/dist/vue/index.js +4 -0
- package/dist/vue/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1885,6 +1885,7 @@ function Slider({
|
|
|
1885
1885
|
onChange: handleInputChange,
|
|
1886
1886
|
onKeyDown: handleInputKeyDown,
|
|
1887
1887
|
onBlur: handleInputBlur,
|
|
1888
|
+
onPointerDown: (e) => e.stopPropagation(),
|
|
1888
1889
|
onClick: (e) => e.stopPropagation(),
|
|
1889
1890
|
onMouseDown: (e) => e.stopPropagation()
|
|
1890
1891
|
}
|
|
@@ -1896,6 +1897,7 @@ function Slider({
|
|
|
1896
1897
|
onMouseEnter: () => setIsValueHovered(true),
|
|
1897
1898
|
onMouseLeave: () => setIsValueHovered(false),
|
|
1898
1899
|
onClick: handleValueClick,
|
|
1900
|
+
onPointerDown: (e) => isValueEditable && e.stopPropagation(),
|
|
1899
1901
|
onMouseDown: (e) => isValueEditable && e.stopPropagation(),
|
|
1900
1902
|
style: { cursor: isValueEditable ? "text" : "default" },
|
|
1901
1903
|
children: displayValue
|