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

@react-spectrum/icon

Package Overview
Dependencies
Maintainers
0
Versions
918
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-spectrum/icon - npm Package Compare versions

Comparing version

to
3.0.0-nightly-fee532d6a-241217

12

dist/Icon.main.js

@@ -5,4 +5,4 @@ require("./vars.b0351abd.css");

var $hx3aW$reactariautils = require("@react-aria/utils");
var $hx3aW$reactspectrumprovider = require("@react-spectrum/provider");
var $hx3aW$react = require("react");
var $hx3aW$reactspectrumprovider = require("@react-spectrum/provider");

@@ -48,5 +48,11 @@

let { styleProps: styleProps } = (0, $hx3aW$reactspectrumutils.useStyleProps)(otherProps, $2f297c87d3047269$var$iconStyleProps);
let provider = (0, $hx3aW$reactspectrumprovider.useProvider)();
let provider;
try {
// eslint-disable-next-line react-hooks/rules-of-hooks
provider = (0, $hx3aW$reactspectrumprovider.useProvider)();
} catch {
// ignore
}
let scale = 'M';
if (provider !== null) scale = provider.scale === 'large' ? 'L' : 'M';
if (provider != null) scale = provider.scale === 'large' ? 'L' : 'M';
if (!ariaHidden) ariaHidden = undefined;

@@ -53,0 +59,0 @@ // Use user specified size, falling back to provider scale if size is undef

@@ -5,4 +5,4 @@ import "./vars.b0351abd.css";

import {filterDOMProps as $hJE0A$filterDOMProps} from "@react-aria/utils";
import {useProvider as $hJE0A$useProvider} from "@react-spectrum/provider";
import $hJE0A$react from "react";
import {useProvider as $hJE0A$useProvider} from "@react-spectrum/provider";

@@ -42,5 +42,11 @@

let { styleProps: styleProps } = (0, $hJE0A$useStyleProps)(otherProps, $6bfb67578ee6effd$var$iconStyleProps);
let provider = (0, $hJE0A$useProvider)();
let provider;
try {
// eslint-disable-next-line react-hooks/rules-of-hooks
provider = (0, $hJE0A$useProvider)();
} catch {
// ignore
}
let scale = 'M';
if (provider !== null) scale = provider.scale === 'large' ? 'L' : 'M';
if (provider != null) scale = provider.scale === 'large' ? 'L' : 'M';
if (!ariaHidden) ariaHidden = undefined;

@@ -47,0 +53,0 @@ // Use user specified size, falling back to provider scale if size is undef

@@ -5,4 +5,4 @@ require("./vars.b0351abd.css");

var $anCtz$reactariautils = require("@react-aria/utils");
var $anCtz$reactspectrumprovider = require("@react-spectrum/provider");
var $anCtz$react = require("react");
var $anCtz$reactspectrumprovider = require("@react-spectrum/provider");

@@ -38,5 +38,11 @@

let { styleProps: styleProps } = (0, $anCtz$reactspectrumutils.useStyleProps)(otherProps);
let provider = (0, $anCtz$reactspectrumprovider.useProvider)();
let provider;
try {
// eslint-disable-next-line react-hooks/rules-of-hooks
provider = (0, $anCtz$reactspectrumprovider.useProvider)();
} catch {
// ignore
}
let scale = 'M';
if (provider !== null) scale = provider.scale === 'large' ? 'L' : 'M';
if (provider != null) scale = provider.scale === 'large' ? 'L' : 'M';
if (!ariaHidden) ariaHidden = undefined;

@@ -43,0 +49,0 @@ return /*#__PURE__*/ (0, ($parcel$interopDefault($anCtz$react))).cloneElement(children, {

@@ -5,4 +5,4 @@ import "./vars.b0351abd.css";

import {filterDOMProps as $g4kmm$filterDOMProps} from "@react-aria/utils";
import {useProvider as $g4kmm$useProvider} from "@react-spectrum/provider";
import $g4kmm$react from "react";
import {useProvider as $g4kmm$useProvider} from "@react-spectrum/provider";

@@ -32,5 +32,11 @@

let { styleProps: styleProps } = (0, $g4kmm$useStyleProps)(otherProps);
let provider = (0, $g4kmm$useProvider)();
let provider;
try {
// eslint-disable-next-line react-hooks/rules-of-hooks
provider = (0, $g4kmm$useProvider)();
} catch {
// ignore
}
let scale = 'M';
if (provider !== null) scale = provider.scale === 'large' ? 'L' : 'M';
if (provider != null) scale = provider.scale === 'large' ? 'L' : 'M';
if (!ariaHidden) ariaHidden = undefined;

@@ -37,0 +43,0 @@ return /*#__PURE__*/ (0, $g4kmm$react).cloneElement(children, {

{
"name": "@react-spectrum/icon",
"version": "3.0.0-nightly-fb28ab3b4-241024",
"version": "3.0.0-nightly-fee532d6a-241217",
"description": "Spectrum UI components in React",

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

"dependencies": {
"@react-aria/utils": "^3.0.0-nightly-fb28ab3b4-241024",
"@react-spectrum/utils": "^3.0.0-nightly-fb28ab3b4-241024",
"@react-types/shared": "^3.0.0-nightly-fb28ab3b4-241024",
"@react-aria/utils": "3.0.0-nightly-fee532d6a-241217",
"@react-spectrum/utils": "3.0.0-nightly-fee532d6a-241217",
"@react-types/shared": "3.0.0-nightly-fee532d6a-241217",
"@swc/helpers": "^0.5.0"

@@ -49,9 +49,8 @@ },

"peerDependencies": {
"@react-spectrum/provider": "^3.0.0-nightly-fb28ab3b4-241024",
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
"@react-spectrum/provider": "3.0.0-nightly-fee532d6a-241217",
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
},
"publishConfig": {
"access": "public"
},
"stableVersion": "3.7.16"
}
}

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet