Socket
Socket
Sign inDemoInstall

@zag-js/toggle-group

Package Overview
Dependencies
Maintainers
1
Versions
549
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/toggle-group - npm Package Compare versions

Comparing version 0.0.0-dev-20230823223510 to 0.0.0-dev-20230824140837

2

dist/index.js

@@ -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,

14

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc