@react-spectrum/switch
Advanced tools
Comparing version 3.0.0-nightly-987f174ba-241015 to 3.0.0-nightly-988096cf3-250215
@@ -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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
72207
810
+ Added@internationalized/date@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@internationalized/message@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@internationalized/number@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@internationalized/string@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-aria/focus@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-aria/i18n@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-aria/interactions@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-aria/overlays@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-aria/ssr@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-aria/switch@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-aria/toggle@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-aria/utils@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-aria/visually-hidden@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-spectrum/provider@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-spectrum/utils@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-stately/flags@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-stately/overlays@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-stately/toggle@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-stately/utils@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-types/button@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-types/checkbox@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-types/overlays@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-types/provider@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-types/shared@3.0.0-nightly-988096cf3-250215(transitive)
+ Added@react-types/switch@3.0.0-nightly-988096cf3-250215(transitive)
- Removed@internationalized/date@3.7.0(transitive)
- Removed@internationalized/message@3.1.6(transitive)
- Removed@internationalized/number@3.6.0(transitive)
- Removed@internationalized/string@3.2.5(transitive)
- Removed@react-aria/focus@3.19.1(transitive)
- Removed@react-aria/i18n@3.12.5(transitive)
- Removed@react-aria/interactions@3.23.0(transitive)
- Removed@react-aria/overlays@3.25.0(transitive)
- Removed@react-aria/ssr@3.9.7(transitive)
- Removed@react-aria/switch@3.6.11(transitive)
- Removed@react-aria/toggle@3.10.11(transitive)
- Removed@react-aria/utils@3.27.0(transitive)
- Removed@react-aria/visually-hidden@3.8.19(transitive)
- Removed@react-spectrum/provider@3.10.1(transitive)
- Removed@react-spectrum/utils@3.12.1(transitive)
- Removed@react-stately/overlays@3.6.13(transitive)
- Removed@react-stately/toggle@3.8.1(transitive)
- Removed@react-stately/utils@3.10.5(transitive)
- Removed@react-types/button@3.10.2(transitive)
- Removed@react-types/checkbox@3.9.1(transitive)
- Removed@react-types/overlays@3.8.12(transitive)
- Removed@react-types/provider@3.8.6(transitive)
- Removed@react-types/shared@3.27.0(transitive)
- Removed@react-types/switch@3.5.8(transitive)
Updated@react-aria/interactions@3.0.0-nightly-988096cf3-250215