@zag-js/slider 0.1.4 → 0.1.5
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.js +4 -4
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -212,10 +212,6 @@ function getOwnerWindow(el) {
|
|
|
212
212
|
var _a;
|
|
213
213
|
return (_a = el == null ? void 0 : el.ownerDocument.defaultView) != null ? _a : window;
|
|
214
214
|
}
|
|
215
|
-
function getNativeEvent(event) {
|
|
216
|
-
var _a;
|
|
217
|
-
return (_a = event.nativeEvent) != null ? _a : event;
|
|
218
|
-
}
|
|
219
215
|
function getDescriptor(el, options) {
|
|
220
216
|
var _a;
|
|
221
217
|
const { type, property } = options;
|
|
@@ -254,6 +250,10 @@ function trackInputPropertyMutation(el, options) {
|
|
|
254
250
|
run = false;
|
|
255
251
|
};
|
|
256
252
|
}
|
|
253
|
+
function getNativeEvent(event) {
|
|
254
|
+
var _a;
|
|
255
|
+
return (_a = event.nativeEvent) != null ? _a : event;
|
|
256
|
+
}
|
|
257
257
|
function getClosestFormElement(el) {
|
|
258
258
|
if (isFormElement(el))
|
|
259
259
|
return el.form;
|