@react-aria/label
Advanced tools
Comparing version
@@ -31,3 +31,3 @@ var $eXjoL$reactariautils = require("@react-aria/utils"); | ||
}; | ||
} else if (!ariaLabelledby && !ariaLabel) console.warn('If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility'); | ||
} else if (!ariaLabelledby && !ariaLabel && process.env.NODE_ENV !== 'production') console.warn('If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility'); | ||
let fieldProps = (0, $eXjoL$reactariautils.useLabels)({ | ||
@@ -34,0 +34,0 @@ id: id, |
@@ -25,3 +25,3 @@ import {useId as $83Elw$useId, useLabels as $83Elw$useLabels} from "@react-aria/utils"; | ||
}; | ||
} else if (!ariaLabelledby && !ariaLabel) console.warn('If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility'); | ||
} else if (!ariaLabelledby && !ariaLabel && process.env.NODE_ENV !== 'production') console.warn('If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility'); | ||
let fieldProps = (0, $83Elw$useLabels)({ | ||
@@ -28,0 +28,0 @@ id: id, |
{ | ||
"name": "@react-aria/label", | ||
"version": "3.0.0-nightly-56e575731-241121", | ||
"version": "3.0.0-nightly-58122b179-250527", | ||
"description": "Spectrum UI components in React", | ||
@@ -9,3 +9,7 @@ "license": "Apache-2.0", | ||
"exports": { | ||
"types": "./dist/types.d.ts", | ||
"source": "./src/index.ts", | ||
"types": [ | ||
"./dist/types.d.ts", | ||
"./src/index.ts" | ||
], | ||
"import": "./dist/import.mjs", | ||
@@ -26,13 +30,13 @@ "require": "./dist/main.js" | ||
"dependencies": { | ||
"@react-aria/utils": "^3.0.0-nightly-56e575731-241121", | ||
"@react-types/shared": "^3.0.0-nightly-56e575731-241121", | ||
"@react-aria/utils": "3.0.0-nightly-58122b179-250527", | ||
"@react-types/shared": "3.0.0-nightly-58122b179-250527", | ||
"@swc/helpers": "^0.5.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", | ||
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"stableVersion": "3.7.13" | ||
} | ||
} |
@@ -55,3 +55,3 @@ /* | ||
}; | ||
} else if (!ariaLabelledby && !ariaLabel) { | ||
} else if (!ariaLabelledby && !ariaLabel && process.env.NODE_ENV !== 'production') { | ||
console.warn('If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility'); | ||
@@ -58,0 +58,0 @@ } |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
39727
1.06%5
25%3
Infinity%+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed