Socket
Socket
Sign inDemoInstall

tailwindcss-visuallyhidden

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

13

index.js

@@ -6,2 +6,13 @@ module.exports = function (variants) {

const original = {
clip: 'auto',
clipPath: 'none',
height: 'auto',
margin: 'auto',
overflow: 'auto',
position: 'relative',
width: 'auto',
whiteSpace: 'normal',
}
const focusable = {

@@ -32,2 +43,4 @@ clip: 'auto',

[`.not-${className}`]: original,
[`.${className}.${focusClassName}:active`]: focusable,

@@ -34,0 +47,0 @@ [`.${className}.${focusClassName}:focus`]: focusable,

2

package.json
{
"name": "tailwindcss-visuallyhidden",
"version": "1.0.1",
"version": "1.0.2",
"description": "Visually Hidden utility plugin for tailwindcss framework",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -55,3 +55,3 @@ # Visually Hidden Utility Tailwind Plugin

As per the [tailwind plugin docs](https://tailwindcss.com/docs/plugins/) you are able to pass variants (repsonsive, hover etc) as a parameter.
As per the [tailwind plugin docs](https://tailwindcss.com/docs/plugins/) you are able to pass variants (responsive, hover etc) as a parameter.

@@ -58,0 +58,0 @@ ```js

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc