Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

abaabil.button

Package Overview
Dependencies
Maintainers
0
Versions
42
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.1.7 to 0.1.8

2

dist/index.esm.min.js

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

import*as e from"react";import f from"abaabil.icon";const u=e.forwardRef(({as:n="button",icon:t,children:a,actionIcon:o,className:m="",disabled:l,isPressed:s,ariaLabel:r,...d},c)=>{const b=t&&!a&&r?r:void 0;return e.createElement(n,{className:`inline-flex items-center justify-center max-w-full h-df text-df px-df rounded-df ${l?"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"},...b&&{"aria-label":b},...typeof s=="boolean"&&{"aria-pressed":s},"aria-disabled":l,disabled:l,ref:c,...d},t?e.createElement(f,{id:t}):null,a?e.createElement("span",{className:"truncate mx-df/2"},a):null,o?e.createElement(f,{id:o,className:"ml-auto"}):null)});u.displayName="Button";var p=u;export{p as default};
import*as e from"react";import b from"abaabil.icon";const f=e.forwardRef(({as:u="button",icon:t,children:a,actionIcon:n,className:m="",disabled:l,isPressed:o,ariaLabel:s,...d},c)=>{const r=t&&!a&&s?s:void 0;return e.createElement(u,{className:`inline-flex items-center justify-center max-w-full h-default text-default px-default rounded-default ${l?"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}`,...u==="button"?{type:"button"}:{role:"button"},...r&&{"aria-label":r},...typeof o=="boolean"&&{"aria-pressed":o},"aria-disabled":l,disabled:l,ref:c,...d},t?e.createElement(b,{id:t}):null,a?e.createElement("span",{className:"truncate mx-default/2"},a):null,n?e.createElement(b,{id:n,className:"ml-auto"}):null)});f.displayName="Button";var p=f;export{p as default};
{
"name": "abaabil.button",
"author": "Abaabil",
"version": "0.1.7",
"version": "0.1.8",
"main": "dist/index.esm.min.js",

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

"dependencies": {
"abaabil.icon": "^0.1.5"
"abaabil.icon": "^0.1.6"
},

@@ -36,3 +36,3 @@ "peerDependencies": {

],
"gitHead": "275397127f2a46040e1a262a4191d3a99b8c6b01"
"gitHead": "c1e41159e3f282e52e4f2d520611ab9da3634960"
}
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