@zag-js/toggle-group
Advanced tools
Comparing version 0.0.0-dev-20230823223510 to 0.0.0-dev-20230824140837
@@ -74,2 +74,3 @@ "use strict"; | ||
"data-orientation": state.context.orientation, | ||
"data-focus": (0, import_dom_query2.dataAttr)(state.context.focusedId != null), | ||
style: { outline: "none" }, | ||
@@ -99,2 +100,3 @@ onMouseDown() { | ||
"data-ownedby": dom.getRootId(state.context), | ||
"data-focus": (0, import_dom_query2.dataAttr)(isFocused), | ||
disabled: isDisabled, | ||
@@ -101,0 +103,0 @@ tabIndex: rovingFocus ? rovingTabIndex : void 0, |
{ | ||
"name": "@zag-js/toggle-group", | ||
"version": "0.0.0-dev-20230823223510", | ||
"version": "0.0.0-dev-20230824140837", | ||
"description": "Core logic for the toggle widget implemented as a state machine", | ||
@@ -30,8 +30,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@zag-js/anatomy": "0.0.0-dev-20230823223510", | ||
"@zag-js/dom-query": "0.0.0-dev-20230823223510", | ||
"@zag-js/dom-event": "0.0.0-dev-20230823223510", | ||
"@zag-js/utils": "0.0.0-dev-20230823223510", | ||
"@zag-js/core": "0.0.0-dev-20230823223510", | ||
"@zag-js/types": "0.0.0-dev-20230823223510" | ||
"@zag-js/anatomy": "0.0.0-dev-20230824140837", | ||
"@zag-js/dom-query": "0.0.0-dev-20230824140837", | ||
"@zag-js/dom-event": "0.0.0-dev-20230824140837", | ||
"@zag-js/utils": "0.0.0-dev-20230824140837", | ||
"@zag-js/core": "0.0.0-dev-20230824140837", | ||
"@zag-js/types": "0.0.0-dev-20230824140837" | ||
}, | ||
@@ -38,0 +38,0 @@ "devDependencies": { |
@@ -28,2 +28,3 @@ import { getEventKey, type EventKeyMap } from "@zag-js/dom-event" | ||
"data-orientation": state.context.orientation, | ||
"data-focus": dataAttr(state.context.focusedId != null), | ||
style: { outline: "none" }, | ||
@@ -55,2 +56,3 @@ onMouseDown() { | ||
"data-ownedby": dom.getRootId(state.context), | ||
"data-focus": dataAttr(isFocused), | ||
disabled: isDisabled, | ||
@@ -57,0 +59,0 @@ tabIndex: rovingFocus ? rovingTabIndex : undefined, |
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
75758
1131
+ Added@zag-js/anatomy@0.0.0-dev-20230824140837(transitive)
+ Added@zag-js/core@0.0.0-dev-20230824140837(transitive)
+ Added@zag-js/dom-event@0.0.0-dev-20230824140837(transitive)
+ Added@zag-js/dom-query@0.0.0-dev-20230824140837(transitive)
+ Added@zag-js/store@0.0.0-dev-20230824140837(transitive)
+ Added@zag-js/text-selection@0.0.0-dev-20230824140837(transitive)
+ Added@zag-js/types@0.0.0-dev-20230824140837(transitive)
+ Added@zag-js/utils@0.0.0-dev-20230824140837(transitive)
- Removed@zag-js/anatomy@0.0.0-dev-20230823223510(transitive)
- Removed@zag-js/core@0.0.0-dev-20230823223510(transitive)
- Removed@zag-js/dom-event@0.0.0-dev-20230823223510(transitive)
- Removed@zag-js/dom-query@0.0.0-dev-20230823223510(transitive)
- Removed@zag-js/store@0.0.0-dev-20230823223510(transitive)
- Removed@zag-js/text-selection@0.0.0-dev-20230823223510(transitive)
- Removed@zag-js/types@0.0.0-dev-20230823223510(transitive)
- Removed@zag-js/utils@0.0.0-dev-20230823223510(transitive)