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

@alfalab/core-components-badge

Package Overview
Dependencies
Maintainers
14
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alfalab/core-components-badge - npm Package Compare versions

Comparing version 5.4.0 to 5.5.0

3

Component.d.ts

@@ -53,3 +53,6 @@ /// <reference types="react" />

};
/**
* @deprecated Используйте StatusBadge или Indicator
*/
declare const Badge: ({ className, size, view, visibleIconOutline, visibleColorOutline, content, height, iconColor, color, iconUnderlayColor, dataTestId, }: BadgeProps) => React.JSX.Element;
export { IconColorType, BadgeProps, Badge };

5

Component.js

@@ -14,5 +14,8 @@ 'use strict';

var styles = {"wrapper":"badge__wrapper_1gne5","s":"badge__s_1gne5","m":"badge__m_1gne5","xl":"badge__xl_1gne5","component":"badge__component_1gne5","background-accent":"badge__background-accent_1gne5","background-specialbg-secondary-transparent":"badge__background-specialbg-secondary-transparent_1gne5","background-primary":"badge__background-primary_1gne5","count":"badge__count_1gne5","outlineCount":"badge__outlineCount_1gne5","l":"badge__l_1gne5","heightS":"badge__heightS_1gne5","heightM":"badge__heightM_1gne5","heightL":"badge__heightL_1gne5","heightXL":"badge__heightXL_1gne5","heightXXL":"badge__heightXXL_1gne5","icon":"badge__icon_1gne5","positive":"badge__positive_1gne5","attention":"badge__attention_1gne5","negative":"badge__negative_1gne5","link":"badge__link_1gne5","tertiary":"badge__tertiary_1gne5","secondary":"badge__secondary_1gne5","primary":"badge__primary_1gne5","graphic-static-light":"badge__graphic-static-light_1gne5","graphic-primary":"badge__graphic-primary_1gne5","outline":"badge__outline_1gne5","outlineColor":"badge__outlineColor_1gne5","dot":"badge__dot_1gne5","isHidden":"badge__isHidden_1gne5"};
var styles = {"wrapper":"badge__wrapper_2f5dc","s":"badge__s_2f5dc","m":"badge__m_2f5dc","xl":"badge__xl_2f5dc","component":"badge__component_2f5dc","background-accent":"badge__background-accent_2f5dc","background-specialbg-secondary-transparent":"badge__background-specialbg-secondary-transparent_2f5dc","background-primary":"badge__background-primary_2f5dc","count":"badge__count_2f5dc","outlineCount":"badge__outlineCount_2f5dc","l":"badge__l_2f5dc","heightS":"badge__heightS_2f5dc","heightM":"badge__heightM_2f5dc","heightL":"badge__heightL_2f5dc","heightXL":"badge__heightXL_2f5dc","heightXXL":"badge__heightXXL_2f5dc","icon":"badge__icon_2f5dc","positive":"badge__positive_2f5dc","attention":"badge__attention_2f5dc","negative":"badge__negative_2f5dc","link":"badge__link_2f5dc","tertiary":"badge__tertiary_2f5dc","secondary":"badge__secondary_2f5dc","primary":"badge__primary_2f5dc","graphic-static-light":"badge__graphic-static-light_2f5dc","graphic-primary":"badge__graphic-primary_2f5dc","outline":"badge__outline_2f5dc","outlineColor":"badge__outlineColor_2f5dc","dot":"badge__dot_2f5dc","isHidden":"badge__isHidden_2f5dc"};
require('./index.css')
/**
* @deprecated Используйте StatusBadge или Indicator
*/
// eslint-disable-next-line complexity

@@ -19,0 +22,0 @@ var Badge = function (_a) {

@@ -53,3 +53,6 @@ /// <reference types="react" />

};
/**
* @deprecated Используйте StatusBadge или Indicator
*/
declare const Badge: ({ className, size, view, visibleIconOutline, visibleColorOutline, content, height, iconColor, color, iconUnderlayColor, dataTestId, }: BadgeProps) => React.JSX.Element;
export { IconColorType, BadgeProps, Badge };

@@ -16,2 +16,5 @@ 'use strict';

/**
* @deprecated Используйте StatusBadge или Indicator
*/
// eslint-disable-next-line complexity

@@ -18,0 +21,0 @@ var Badge = function (_a) {

@@ -53,3 +53,6 @@ /// <reference types="react" />

};
/**
* @deprecated Используйте StatusBadge или Indicator
*/
declare const Badge: ({ className, size, view, visibleIconOutline, visibleColorOutline, content, height, iconColor, color, iconUnderlayColor, dataTestId, }: BadgeProps) => React.JSX.Element;
export { IconColorType, BadgeProps, Badge };

@@ -5,5 +5,8 @@ import { __assign } from 'tslib';

var styles = {"wrapper":"badge__wrapper_1gne5","s":"badge__s_1gne5","m":"badge__m_1gne5","xl":"badge__xl_1gne5","component":"badge__component_1gne5","background-accent":"badge__background-accent_1gne5","background-specialbg-secondary-transparent":"badge__background-specialbg-secondary-transparent_1gne5","background-primary":"badge__background-primary_1gne5","count":"badge__count_1gne5","outlineCount":"badge__outlineCount_1gne5","l":"badge__l_1gne5","heightS":"badge__heightS_1gne5","heightM":"badge__heightM_1gne5","heightL":"badge__heightL_1gne5","heightXL":"badge__heightXL_1gne5","heightXXL":"badge__heightXXL_1gne5","icon":"badge__icon_1gne5","positive":"badge__positive_1gne5","attention":"badge__attention_1gne5","negative":"badge__negative_1gne5","link":"badge__link_1gne5","tertiary":"badge__tertiary_1gne5","secondary":"badge__secondary_1gne5","primary":"badge__primary_1gne5","graphic-static-light":"badge__graphic-static-light_1gne5","graphic-primary":"badge__graphic-primary_1gne5","outline":"badge__outline_1gne5","outlineColor":"badge__outlineColor_1gne5","dot":"badge__dot_1gne5","isHidden":"badge__isHidden_1gne5"};
var styles = {"wrapper":"badge__wrapper_2f5dc","s":"badge__s_2f5dc","m":"badge__m_2f5dc","xl":"badge__xl_2f5dc","component":"badge__component_2f5dc","background-accent":"badge__background-accent_2f5dc","background-specialbg-secondary-transparent":"badge__background-specialbg-secondary-transparent_2f5dc","background-primary":"badge__background-primary_2f5dc","count":"badge__count_2f5dc","outlineCount":"badge__outlineCount_2f5dc","l":"badge__l_2f5dc","heightS":"badge__heightS_2f5dc","heightM":"badge__heightM_2f5dc","heightL":"badge__heightL_2f5dc","heightXL":"badge__heightXL_2f5dc","heightXXL":"badge__heightXXL_2f5dc","icon":"badge__icon_2f5dc","positive":"badge__positive_2f5dc","attention":"badge__attention_2f5dc","negative":"badge__negative_2f5dc","link":"badge__link_2f5dc","tertiary":"badge__tertiary_2f5dc","secondary":"badge__secondary_2f5dc","primary":"badge__primary_2f5dc","graphic-static-light":"badge__graphic-static-light_2f5dc","graphic-primary":"badge__graphic-primary_2f5dc","outline":"badge__outline_2f5dc","outlineColor":"badge__outlineColor_2f5dc","dot":"badge__dot_2f5dc","isHidden":"badge__isHidden_2f5dc"};
require('./index.css')
/**
* @deprecated Используйте StatusBadge или Indicator
*/
// eslint-disable-next-line complexity

@@ -10,0 +13,0 @@ var Badge = function (_a) {

@@ -53,3 +53,6 @@ /// <reference types="react" />

};
/**
* @deprecated Используйте StatusBadge или Indicator
*/
declare const Badge: ({ className, size, view, visibleIconOutline, visibleColorOutline, content, height, iconColor, color, iconUnderlayColor, dataTestId, }: BadgeProps) => React.JSX.Element;
export { IconColorType, BadgeProps, Badge };
import React from 'react';
import cn from 'classnames';
const styles = {"wrapper":"badge__wrapper_1gne5","s":"badge__s_1gne5","m":"badge__m_1gne5","xl":"badge__xl_1gne5","component":"badge__component_1gne5","background-accent":"badge__background-accent_1gne5","background-specialbg-secondary-transparent":"badge__background-specialbg-secondary-transparent_1gne5","background-primary":"badge__background-primary_1gne5","count":"badge__count_1gne5","outlineCount":"badge__outlineCount_1gne5","l":"badge__l_1gne5","heightS":"badge__heightS_1gne5","heightM":"badge__heightM_1gne5","heightL":"badge__heightL_1gne5","heightXL":"badge__heightXL_1gne5","heightXXL":"badge__heightXXL_1gne5","icon":"badge__icon_1gne5","positive":"badge__positive_1gne5","attention":"badge__attention_1gne5","negative":"badge__negative_1gne5","link":"badge__link_1gne5","tertiary":"badge__tertiary_1gne5","secondary":"badge__secondary_1gne5","primary":"badge__primary_1gne5","graphic-static-light":"badge__graphic-static-light_1gne5","graphic-primary":"badge__graphic-primary_1gne5","outline":"badge__outline_1gne5","outlineColor":"badge__outlineColor_1gne5","dot":"badge__dot_1gne5","isHidden":"badge__isHidden_1gne5"};
const styles = {"wrapper":"badge__wrapper_2f5dc","s":"badge__s_2f5dc","m":"badge__m_2f5dc","xl":"badge__xl_2f5dc","component":"badge__component_2f5dc","background-accent":"badge__background-accent_2f5dc","background-specialbg-secondary-transparent":"badge__background-specialbg-secondary-transparent_2f5dc","background-primary":"badge__background-primary_2f5dc","count":"badge__count_2f5dc","outlineCount":"badge__outlineCount_2f5dc","l":"badge__l_2f5dc","heightS":"badge__heightS_2f5dc","heightM":"badge__heightM_2f5dc","heightL":"badge__heightL_2f5dc","heightXL":"badge__heightXL_2f5dc","heightXXL":"badge__heightXXL_2f5dc","icon":"badge__icon_2f5dc","positive":"badge__positive_2f5dc","attention":"badge__attention_2f5dc","negative":"badge__negative_2f5dc","link":"badge__link_2f5dc","tertiary":"badge__tertiary_2f5dc","secondary":"badge__secondary_2f5dc","primary":"badge__primary_2f5dc","graphic-static-light":"badge__graphic-static-light_2f5dc","graphic-primary":"badge__graphic-primary_2f5dc","outline":"badge__outline_2f5dc","outlineColor":"badge__outlineColor_2f5dc","dot":"badge__dot_2f5dc","isHidden":"badge__isHidden_2f5dc"};
require('./index.css')
/**
* @deprecated Используйте StatusBadge или Indicator
*/
// eslint-disable-next-line complexity

@@ -8,0 +11,0 @@ const Badge = ({ className, size = 'm', view, visibleIconOutline = false, visibleColorOutline = false, content, height = 16, iconColor, color = 'accent', iconUnderlayColor = 'static-light', dataTestId, }) => {

{
"name": "@alfalab/core-components-badge",
"version": "5.4.0",
"version": "5.5.0",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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