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.js
CHANGED
|
@@ -1838,6 +1838,7 @@ function Slider({
|
|
|
1838
1838
|
onChange: handleInputChange,
|
|
1839
1839
|
onKeyDown: handleInputKeyDown,
|
|
1840
1840
|
onBlur: handleInputBlur,
|
|
1841
|
+
onPointerDown: (e) => e.stopPropagation(),
|
|
1841
1842
|
onClick: (e) => e.stopPropagation(),
|
|
1842
1843
|
onMouseDown: (e) => e.stopPropagation()
|
|
1843
1844
|
}
|
|
@@ -1849,6 +1850,7 @@ function Slider({
|
|
|
1849
1850
|
onMouseEnter: () => setIsValueHovered(true),
|
|
1850
1851
|
onMouseLeave: () => setIsValueHovered(false),
|
|
1851
1852
|
onClick: handleValueClick,
|
|
1853
|
+
onPointerDown: (e) => isValueEditable && e.stopPropagation(),
|
|
1852
1854
|
onMouseDown: (e) => isValueEditable && e.stopPropagation(),
|
|
1853
1855
|
style: { cursor: isValueEditable ? "text" : "default" },
|
|
1854
1856
|
children: displayValue
|