@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.mjs CHANGED
@@ -188,10 +188,6 @@ function getOwnerWindow(el) {
188
188
  var _a;
189
189
  return (_a = el == null ? void 0 : el.ownerDocument.defaultView) != null ? _a : window;
190
190
  }
191
- function getNativeEvent(event) {
192
- var _a;
193
- return (_a = event.nativeEvent) != null ? _a : event;
194
- }
195
191
  function getDescriptor(el, options) {
196
192
  var _a;
197
193
  const { type, property } = options;
@@ -230,6 +226,10 @@ function trackInputPropertyMutation(el, options) {
230
226
  run = false;
231
227
  };
232
228
  }
229
+ function getNativeEvent(event) {
230
+ var _a;
231
+ return (_a = event.nativeEvent) != null ? _a : event;
232
+ }
233
233
  function getClosestFormElement(el) {
234
234
  if (isFormElement(el))
235
235
  return el.form;