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

abaabil.button

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abaabil.button - npm Package Compare versions

Comparing version 0.0.4 to 0.0.6

2

dist/index.esm.min.js

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

import*as t from"react";import e from"prop-types";import d from"abaabil.temp.icon";const s=t.forwardRef(({as:n="button",icon:a,children:l,actionIcon:r,className:m,disabled:o,isPressed:b,ariaLabel:i,...u},p)=>{const f=a&&!l&&i?i:void 0;return t.createElement(n,{className:`inline-flex items-center justify-center max-w-full h-df text-df px-df rounded-df ${o?"bg-stable-disabled text-on-stable-disabled":"bg-stable text-on-stable hover:bg-stable-hover focus:bg-stable-focus active:bg-stable-active"} ${m}`,...n==="button"?{type:"button"}:{role:"button"},...f&&{"aria-label":f},...typeof b=="boolean"&&{"aria-pressed":b},"aria-disabled":o,disabled:o,ref:p,...u},a?t.createElement(d,{id:a}):null,l?t.createElement("span",{className:"truncate mx-df/2"},l):null,r?t.createElement(d,{id:r,className:"ml-auto"}):null)});s.displayName="Button",s.propTypes={as:e.elementType,icon:e.string,children:e.node,actionIcon:e.string,className:e.string,disabled:e.bool,isPressed:e.bool,ariaLabel:e.string};var x=s;export{x as default};
import*as t from"react";import e from"prop-types";import d from"abaabil.icon";const s=t.forwardRef(({as:n="button",icon:a,children:l,actionIcon:r,className:m,disabled:o,isPressed:b,ariaLabel:i,...u},p)=>{const f=a&&!l&&i?i:void 0;return t.createElement(n,{className:`inline-flex items-center justify-center max-w-full h-df text-df px-df rounded-df ${o?"bg-stable-disabled text-on-stable-disabled":"bg-stable text-on-stable hover:bg-stable-hover focus:bg-stable-focus active:bg-stable-active"} ${m}`,...n==="button"?{type:"button"}:{role:"button"},...f&&{"aria-label":f},...typeof b=="boolean"&&{"aria-pressed":b},"aria-disabled":o,disabled:o,ref:p,...u},a?t.createElement(d,{id:a}):null,l?t.createElement("span",{className:"truncate mx-df/2"},l):null,r?t.createElement(d,{id:r,className:"ml-auto"}):null)});s.displayName="Button",s.propTypes={as:e.elementType,icon:e.string,children:e.node,actionIcon:e.string,className:e.string,disabled:e.bool,isPressed:e.bool,ariaLabel:e.string};var x=s;export{x as default};
{
"name": "abaabil.button",
"author": "Abaabil",
"version": "0.0.4",
"version": "0.0.6",
"main": "dist/index.esm.min.js",

@@ -36,3 +36,3 @@ "files": [

],
"gitHead": "a6bfe6c37f4a998451473ee53b6c066773dd0738"
"gitHead": "ca26fa8328781d475bcff7a236f127ef7b7d284d"
}
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