@zag-js/slider 0.0.0-dev-20230414153403 → 0.0.0-dev-20230420095643

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 CHANGED
@@ -438,9 +438,9 @@ function connect(state, send, normalize) {
438
438
  const markerState = value > state.context.value ? "over-value" : value < state.context.value ? "under-value" : "at-value";
439
439
  return normalize.element({
440
440
  ...parts.marker.attrs,
441
+ id: dom.getMarkerId(state.context, value),
441
442
  role: "presentation",
442
443
  "data-orientation": state.context.orientation,
443
- id: dom.getMarkerId(state.context, value),
444
444
  "data-value": value,
445
445
  "data-disabled": (0, import_dom_query2.dataAttr)(isDisabled),
446
446
  "data-state": markerState,
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  connect
3
- } from "./chunk-XHNKYJMN.mjs";
3
+ } from "./chunk-EN2LUVB3.mjs";
4
4
  import {
5
5
  anatomy
6
6
  } from "./chunk-3Y7IIPR5.mjs";
@@ -433,9 +433,9 @@ function connect(state, send, normalize) {
433
433
  const markerState = value > state.context.value ? "over-value" : value < state.context.value ? "under-value" : "at-value";
434
434
  return normalize.element({
435
435
  ...parts.marker.attrs,
436
+ id: dom.getMarkerId(state.context, value),
436
437
  role: "presentation",
437
438
  "data-orientation": state.context.orientation,
438
- id: dom.getMarkerId(state.context, value),
439
439
  "data-value": value,
440
440
  "data-disabled": (0, import_dom_query2.dataAttr)(isDisabled),
441
441
  "data-state": markerState,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  connect
3
- } from "./chunk-XHNKYJMN.mjs";
3
+ } from "./chunk-EN2LUVB3.mjs";
4
4
  import "./chunk-3Y7IIPR5.mjs";
5
5
  import "./chunk-5CWNUPC7.mjs";
6
6
  import "./chunk-IJAAAKZQ.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/slider",
3
- "version": "0.0.0-dev-20230414153403",
3
+ "version": "0.0.0-dev-20230420095643",
4
4
  "description": "Core logic for the slider widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -29,7 +29,7 @@
29
29
  "@zag-js/anatomy": "0.1.4",
30
30
  "@zag-js/core": "0.5.0",
31
31
  "@zag-js/dom-query": "0.1.4",
32
- "@zag-js/dom-event": "0.0.0-dev-20230414153403",
32
+ "@zag-js/dom-event": "0.6.0",
33
33
  "@zag-js/form-utils": "0.2.5",
34
34
  "@zag-js/utils": "0.3.4",
35
35
  "@zag-js/element-size": "0.3.2",
@@ -241,9 +241,9 @@ function connect(state, send, normalize) {
241
241
  const markerState = value > state.context.value ? "over-value" : value < state.context.value ? "under-value" : "at-value";
242
242
  return normalize.element({
243
243
  ...parts.marker.attrs,
244
+ id: dom.getMarkerId(state.context, value),
244
245
  role: "presentation",
245
246
  "data-orientation": state.context.orientation,
246
- id: dom.getMarkerId(state.context, value),
247
247
  "data-value": value,
248
248
  "data-disabled": dataAttr(isDisabled),
249
249
  "data-state": markerState,