@zag-js/range-slider
Advanced tools
Comparing version 0.0.0-dev-20230919103407 to 0.0.0-dev-20230920150928
@@ -250,2 +250,3 @@ "use strict"; | ||
...parts.label.attrs, | ||
dir: state.context.dir, | ||
"data-disabled": (0, import_dom_query2.dataAttr)(isDisabled), | ||
@@ -279,2 +280,3 @@ "data-orientation": state.context.orientation, | ||
...parts.output.attrs, | ||
dir: state.context.dir, | ||
"data-disabled": (0, import_dom_query2.dataAttr)(isDisabled), | ||
@@ -290,2 +292,3 @@ "data-orientation": state.context.orientation, | ||
...parts.track.attrs, | ||
dir: state.context.dir, | ||
id: dom.getTrackId(state.context), | ||
@@ -306,2 +309,3 @@ "data-disabled": (0, import_dom_query2.dataAttr)(isDisabled), | ||
...parts.thumb.attrs, | ||
dir: state.context.dir, | ||
"data-index": index, | ||
@@ -400,2 +404,3 @@ id: dom.getThumbId(state.context, index), | ||
...parts.range.attrs, | ||
dir: state.context.dir, | ||
"data-focus": (0, import_dom_query2.dataAttr)(isFocused), | ||
@@ -409,2 +414,3 @@ "data-invalid": (0, import_dom_query2.dataAttr)(isInvalid), | ||
...parts.control.attrs, | ||
dir: state.context.dir, | ||
id: dom.getControlId(state.context), | ||
@@ -431,2 +437,3 @@ "data-disabled": (0, import_dom_query2.dataAttr)(isDisabled), | ||
role: "presentation", | ||
dir: state.context.dir, | ||
"aria-hidden": true, | ||
@@ -433,0 +440,0 @@ "data-orientation": state.context.orientation, |
{ | ||
"name": "@zag-js/range-slider", | ||
"version": "0.0.0-dev-20230919103407", | ||
"version": "0.0.0-dev-20230920150928", | ||
"description": "Core logic for the range-slider widget implemented as a state machine", | ||
@@ -30,12 +30,12 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/anatomy": "0.0.0-dev-20230919103407", | ||
"@zag-js/core": "0.0.0-dev-20230919103407", | ||
"@zag-js/form-utils": "0.0.0-dev-20230919103407", | ||
"@zag-js/dom-query": "0.0.0-dev-20230919103407", | ||
"@zag-js/dom-event": "0.0.0-dev-20230919103407", | ||
"@zag-js/utils": "0.0.0-dev-20230919103407", | ||
"@zag-js/numeric-range": "0.0.0-dev-20230919103407", | ||
"@zag-js/element-size": "0.0.0-dev-20230919103407", | ||
"@zag-js/slider": "0.0.0-dev-20230919103407", | ||
"@zag-js/types": "0.0.0-dev-20230919103407" | ||
"@zag-js/anatomy": "0.0.0-dev-20230920150928", | ||
"@zag-js/core": "0.0.0-dev-20230920150928", | ||
"@zag-js/form-utils": "0.0.0-dev-20230920150928", | ||
"@zag-js/dom-query": "0.0.0-dev-20230920150928", | ||
"@zag-js/dom-event": "0.0.0-dev-20230920150928", | ||
"@zag-js/utils": "0.0.0-dev-20230920150928", | ||
"@zag-js/numeric-range": "0.0.0-dev-20230920150928", | ||
"@zag-js/element-size": "0.0.0-dev-20230920150928", | ||
"@zag-js/slider": "0.0.0-dev-20230920150928", | ||
"@zag-js/types": "0.0.0-dev-20230920150928" | ||
}, | ||
@@ -42,0 +42,0 @@ "devDependencies": { |
@@ -91,2 +91,3 @@ import { | ||
...parts.label.attrs, | ||
dir: state.context.dir, | ||
"data-disabled": dataAttr(isDisabled), | ||
@@ -121,2 +122,3 @@ "data-orientation": state.context.orientation, | ||
...parts.output.attrs, | ||
dir: state.context.dir, | ||
"data-disabled": dataAttr(isDisabled), | ||
@@ -133,2 +135,3 @@ "data-orientation": state.context.orientation, | ||
...parts.track.attrs, | ||
dir: state.context.dir, | ||
id: dom.getTrackId(state.context), | ||
@@ -151,2 +154,3 @@ "data-disabled": dataAttr(isDisabled), | ||
...parts.thumb.attrs, | ||
dir: state.context.dir, | ||
"data-index": index, | ||
@@ -245,2 +249,3 @@ id: dom.getThumbId(state.context, index), | ||
...parts.range.attrs, | ||
dir: state.context.dir, | ||
"data-focus": dataAttr(isFocused), | ||
@@ -255,2 +260,3 @@ "data-invalid": dataAttr(isInvalid), | ||
...parts.control.attrs, | ||
dir: state.context.dir, | ||
id: dom.getControlId(state.context), | ||
@@ -279,2 +285,3 @@ "data-disabled": dataAttr(isDisabled), | ||
role: "presentation", | ||
dir: state.context.dir, | ||
"aria-hidden": true, | ||
@@ -281,0 +288,0 @@ "data-orientation": state.context.orientation, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
188498
2722
+ Added@zag-js/anatomy@0.0.0-dev-20230920150928(transitive)
+ Added@zag-js/core@0.0.0-dev-20230920150928(transitive)
+ Added@zag-js/dom-event@0.0.0-dev-20230920150928(transitive)
+ Added@zag-js/dom-query@0.0.0-dev-20230920150928(transitive)
+ Added@zag-js/element-size@0.0.0-dev-20230920150928(transitive)
+ Added@zag-js/form-utils@0.0.0-dev-20230920150928(transitive)
+ Added@zag-js/mutation-observer@0.0.0-dev-20230920150928(transitive)
+ Added@zag-js/numeric-range@0.0.0-dev-20230920150928(transitive)
+ Added@zag-js/slider@0.0.0-dev-20230920150928(transitive)
+ Added@zag-js/store@0.0.0-dev-20230920150928(transitive)
+ Added@zag-js/text-selection@0.0.0-dev-20230920150928(transitive)
+ Added@zag-js/types@0.0.0-dev-20230920150928(transitive)
+ Added@zag-js/utils@0.0.0-dev-20230920150928(transitive)
- Removed@zag-js/anatomy@0.0.0-dev-20230919103407(transitive)
- Removed@zag-js/core@0.0.0-dev-20230919103407(transitive)
- Removed@zag-js/dom-event@0.0.0-dev-20230919103407(transitive)
- Removed@zag-js/dom-query@0.0.0-dev-20230919103407(transitive)
- Removed@zag-js/element-size@0.0.0-dev-20230919103407(transitive)
- Removed@zag-js/form-utils@0.0.0-dev-20230919103407(transitive)
- Removed@zag-js/mutation-observer@0.0.0-dev-20230919103407(transitive)
- Removed@zag-js/numeric-range@0.0.0-dev-20230919103407(transitive)
- Removed@zag-js/slider@0.0.0-dev-20230919103407(transitive)
- Removed@zag-js/store@0.0.0-dev-20230919103407(transitive)
- Removed@zag-js/text-selection@0.0.0-dev-20230919103407(transitive)
- Removed@zag-js/types@0.0.0-dev-20230919103407(transitive)
- Removed@zag-js/utils@0.0.0-dev-20230919103407(transitive)