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

@spark-ui/visually-hidden

Package Overview
Dependencies
Maintainers
7
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spark-ui/visually-hidden - npm Package Compare versions

Comparing version 7.3.7 to 8.0.0

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

# [8.0.0](https://github.com/adevinta/spark/compare/v7.3.7...v8.0.0) (2025-01-13)
**Note:** Version bump only for package @spark-ui/visually-hidden
## [7.3.7](https://github.com/adevinta/spark/compare/v7.3.6...v7.3.7) (2025-01-08)

@@ -8,0 +12,0 @@

2

dist/index.js

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

"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),i=r.forwardRef((e,t)=>r.createElement("span",{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));i.displayName="VisuallyHidden",exports.VisuallyHidden=i;
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),r=({ref:i,...e})=>t.createElement("span",{...e,ref:i,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}});r.displayName="VisuallyHidden",exports.VisuallyHidden=r;

@@ -7,4 +7,20 @@ {

"methods": [],
"props": {}
"props": {
"ref": {
"defaultValue": null,
"description": "",
"name": "ref",
"declarations": [
{
"fileName": "visually-hidden/src/VisuallyHidden.tsx",
"name": "TypeLiteral"
}
],
"required": false,
"type": {
"name": "Ref<HTMLElement>"
}
}
}
}
}

@@ -1,5 +0,8 @@

import { HTMLAttributes, PropsWithChildren } from 'react';
export type VisuallyHiddenProps = PropsWithChildren<HTMLAttributes<HTMLElement>>;
export declare const VisuallyHidden: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & {
children?: import("react").ReactNode;
} & import("react").RefAttributes<HTMLElement>>;
import { HTMLAttributes, PropsWithChildren, Ref } from 'react';
export type VisuallyHiddenProps = PropsWithChildren<HTMLAttributes<HTMLElement>> & {
ref?: Ref<HTMLElement>;
};
export declare const VisuallyHidden: {
({ ref, ...props }: VisuallyHiddenProps): import("react").JSX.Element;
displayName: string;
};
{
"name": "@spark-ui/visually-hidden",
"version": "7.3.7",
"version": "8.0.0",
"description": "Hides content from the screen in an accessible way",

@@ -45,3 +45,3 @@ "publishConfig": {

"license": "MIT",
"gitHead": "ca2b7a1f2a4a921fd4c6ad8521c2dfd90471f7d6"
"gitHead": "309903aa55f44ebd43d2a1fe43691f110a5036ea"
}

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