New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@react-spectrum/switch

Package Overview
Dependencies
Maintainers
0
Versions
877
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-spectrum/switch - npm Package Compare versions

Comparing version 3.0.0-nightly-987f174ba-241015 to 3.0.0-nightly-988096cf3-250215

dist/vars.3485d42f.css

10

dist/Switch.main.js

@@ -1,2 +0,2 @@

require("./vars.ee098a37.css");
require("./vars.3485d42f.css");
var $faeb9d1b92049ba7$exports = require("./toggle_vars_css.main.js");

@@ -39,3 +39,3 @@ var $3aWe4$reactspectrumutils = require("@react-spectrum/utils");

function $e216104aee091306$var$Switch(props, ref) {
const $e216104aee091306$export$b5d5cf8927ab7262 = /*#__PURE__*/ (0, $3aWe4$react.forwardRef)(function Switch(props, ref) {
props = (0, $3aWe4$reactspectrumprovider.useProviderProps)(props);

@@ -72,9 +72,5 @@ let { isEmphasized: isEmphasized = false, isDisabled: isDisabled = false, autoFocus: autoFocus, children: children, ...otherProps } = props;

}, children));
}
/**
* Switches allow users to turn an individual option on or off.
* They are usually used to activate or deactivate a specific setting.
*/ const $e216104aee091306$export$b5d5cf8927ab7262 = /*#__PURE__*/ (0, $3aWe4$react.forwardRef)($e216104aee091306$var$Switch);
});
//# sourceMappingURL=Switch.main.js.map

@@ -1,6 +0,6 @@

import "./vars.ee098a37.css";
import "./vars.3485d42f.css";
import $cEq2J$toggle_vars_cssmodulejs from "./toggle_vars_css.module.js";
import {useStyleProps as $cEq2J$useStyleProps, useFocusableRef as $cEq2J$useFocusableRef, classNames as $cEq2J$classNames} from "@react-spectrum/utils";
import {FocusRing as $cEq2J$FocusRing} from "@react-aria/focus";
import $cEq2J$react, {useRef as $cEq2J$useRef, forwardRef as $cEq2J$forwardRef} from "react";
import $cEq2J$react, {forwardRef as $cEq2J$forwardRef, useRef as $cEq2J$useRef} from "react";
import {useHover as $cEq2J$useHover} from "@react-aria/interactions";

@@ -33,3 +33,3 @@ import {useProviderProps as $cEq2J$useProviderProps} from "@react-spectrum/provider";

function $8341c396cee1c5fc$var$Switch(props, ref) {
const $8341c396cee1c5fc$export$b5d5cf8927ab7262 = /*#__PURE__*/ (0, $cEq2J$forwardRef)(function Switch(props, ref) {
props = (0, $cEq2J$useProviderProps)(props);

@@ -66,7 +66,3 @@ let { isEmphasized: isEmphasized = false, isDisabled: isDisabled = false, autoFocus: autoFocus, children: children, ...otherProps } = props;

}, children));
}
/**
* Switches allow users to turn an individual option on or off.
* They are usually used to activate or deactivate a specific setting.
*/ const $8341c396cee1c5fc$export$b5d5cf8927ab7262 = /*#__PURE__*/ (0, $cEq2J$forwardRef)($8341c396cee1c5fc$var$Switch);
});

@@ -73,0 +69,0 @@

{
"name": "@react-spectrum/switch",
"version": "3.0.0-nightly-987f174ba-241015",
"version": "3.0.0-nightly-988096cf3-250215",
"description": "Spectrum UI components in React",

@@ -39,9 +39,9 @@ "license": "Apache-2.0",

"dependencies": {
"@react-aria/focus": "^3.0.0-nightly-987f174ba-241015",
"@react-aria/interactions": "^3.0.0-nightly-987f174ba-241015",
"@react-aria/switch": "^3.0.0-nightly-987f174ba-241015",
"@react-spectrum/utils": "^3.0.0-nightly-987f174ba-241015",
"@react-stately/toggle": "^3.0.0-nightly-987f174ba-241015",
"@react-types/shared": "^3.0.0-nightly-987f174ba-241015",
"@react-types/switch": "^3.0.0-nightly-987f174ba-241015",
"@react-aria/focus": "3.0.0-nightly-988096cf3-250215",
"@react-aria/interactions": "3.0.0-nightly-988096cf3-250215",
"@react-aria/switch": "3.0.0-nightly-988096cf3-250215",
"@react-spectrum/utils": "3.0.0-nightly-988096cf3-250215",
"@react-stately/toggle": "3.0.0-nightly-988096cf3-250215",
"@react-types/shared": "3.0.0-nightly-988096cf3-250215",
"@react-types/switch": "3.0.0-nightly-988096cf3-250215",
"@swc/helpers": "^0.5.0"

@@ -53,9 +53,8 @@ },

"peerDependencies": {
"@react-spectrum/provider": "^3.0.0-nightly-987f174ba-241015",
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
"@react-spectrum/provider": "3.0.0-nightly-988096cf3-250215",
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
},
"publishConfig": {
"access": "public"
},
"stableVersion": "3.5.9"
}
}

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

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

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