abaabil.button
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2906
3
2
0
+ Addednanoid@3.3.7(transitive)
- Removednanoid@3.3.8(transitive)
Updatedabaabil.icon@^0.1.6