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

@hudoro/badges

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hudoro/badges - npm Package Compare versions

Comparing version 0.1.1-beta.14 to 0.1.1-beta.15

15

dist/badges.es.js

@@ -861,10 +861,8 @@ import M from "react";

width: V[g],
height: V[g]
height: V[g],
// color: renderColorLeftIcon(rest.disabled ? "disable" : status),
// onClick: onClickLeftIcon,
// style: {
// color: `${renderColorLeftIcon(
// rest.disabled ? "disable" : status
// )}`,
// },
style: {
color: "inherit"
}
}) : (

@@ -877,3 +875,6 @@ // <LeftIcon width={iconSizes[size]} height={iconSizes[size]} />

width: V[g],
height: V[g]
height: V[g],
style: {
color: "inherit"
}
// color: renderColorLeftIcon(rest.disabled ? "disable" : status),

@@ -880,0 +881,0 @@ // onClick: onClickLeftIcon,

@@ -236,2 +236,2 @@ (function(x,_){typeof exports=="object"&&typeof module<"u"?_(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],_):(x=typeof globalThis<"u"?globalThis:x||self,_(x.Badges={},x.React))})(this,function(x,_){"use strict";var B={exports:{}},A={};/**

}
`,nr="hudoro-badges-styles";(g=>{if(!document.getElementById(nr)){const b=document.createElement("style");b.id=nr,b.textContent=g,document.head.appendChild(b)}})(jr);const N={xs:14,sm:16,md:18,lg:18},Dr=({size:g="md",variant:b="info",text:w,LeftIcon:m,RightIcon:h,border:C,corners:T="rounded"})=>Pr.jsxs("div",{className:Fr(g,b,C,T),children:[m?_.cloneElement(m,{width:N[g],height:N[g]}):null,w,h?_.cloneElement(h,{width:N[g],height:N[g]}):null]}),Fr=(g,b,w,m)=>{let h=["hudoro-badges"];return g&&h.push(`hudoro-badges-${g}`),b&&h.push(`hudoro-badges-${b}`),w&&h.push("hudoro-badges-border"),m==="rounded"?h.push("hudoro-badges-rounded"):h.push("hudoro-badges-circular"),h.join(" ")};x.Badges=Dr,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})});
`,nr="hudoro-badges-styles";(g=>{if(!document.getElementById(nr)){const b=document.createElement("style");b.id=nr,b.textContent=g,document.head.appendChild(b)}})(jr);const N={xs:14,sm:16,md:18,lg:18},Dr=({size:g="md",variant:b="info",text:w,LeftIcon:m,RightIcon:h,border:C,corners:T="rounded"})=>Pr.jsxs("div",{className:Fr(g,b,C,T),children:[m?_.cloneElement(m,{width:N[g],height:N[g],style:{color:"inherit"}}):null,w,h?_.cloneElement(h,{width:N[g],height:N[g],style:{color:"inherit"}}):null]}),Fr=(g,b,w,m)=>{let h=["hudoro-badges"];return g&&h.push(`hudoro-badges-${g}`),b&&h.push(`hudoro-badges-${b}`),w&&h.push("hudoro-badges-border"),m==="rounded"?h.push("hudoro-badges-rounded"):h.push("hudoro-badges-circular"),h.join(" ")};x.Badges=Dr,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})});
{
"name": "@hudoro/badges",
"version": "0.1.1-beta.14",
"version": "0.1.1-beta.15",
"description": "Badges component for Hudoro UI",

@@ -5,0 +5,0 @@ "author": "Prawito Hudoro",

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