@alfalab/core-components-badge
Advanced tools
Comparing version 5.0.1 to 5.0.2
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var tslib = require('tslib'); | ||
@@ -12,5 +14,6 @@ var React = require('react'); | ||
var styles = {"wrapper":"badge__wrapper_1p24c","s":"badge__s_1p24c","m":"badge__m_1p24c","xl":"badge__xl_1p24c","component":"badge__component_1p24c","count":"badge__count_1p24c","outlineCount":"badge__outlineCount_1p24c","l":"badge__l_1p24c","heightS":"badge__heightS_1p24c","heightM":"badge__heightM_1p24c","heightL":"badge__heightL_1p24c","heightXL":"badge__heightXL_1p24c","heightXXL":"badge__heightXXL_1p24c","icon":"badge__icon_1p24c","positive":"badge__positive_1p24c","attention":"badge__attention_1p24c","negative":"badge__negative_1p24c","link":"badge__link_1p24c","tertiary":"badge__tertiary_1p24c","secondary":"badge__secondary_1p24c","primary":"badge__primary_1p24c","outline":"badge__outline_1p24c","outlineColor":"badge__outlineColor_1p24c","dot":"badge__dot_1p24c","isHidden":"badge__isHidden_1p24c"}; | ||
var styles = {"wrapper":"badge__wrapper_914m3","s":"badge__s_914m3","m":"badge__m_914m3","xl":"badge__xl_914m3","component":"badge__component_914m3","count":"badge__count_914m3","outlineCount":"badge__outlineCount_914m3","l":"badge__l_914m3","heightS":"badge__heightS_914m3","heightM":"badge__heightM_914m3","heightL":"badge__heightL_914m3","heightXL":"badge__heightXL_914m3","heightXXL":"badge__heightXXL_914m3","icon":"badge__icon_914m3","positive":"badge__positive_914m3","attention":"badge__attention_914m3","negative":"badge__negative_914m3","link":"badge__link_914m3","tertiary":"badge__tertiary_914m3","secondary":"badge__secondary_914m3","primary":"badge__primary_914m3","outline":"badge__outline_914m3","outlineColor":"badge__outlineColor_914m3","dot":"badge__dot_914m3","isHidden":"badge__isHidden_914m3"}; | ||
require('./index.css') | ||
// eslint-disable-next-line complexity | ||
var Badge = function (_a) { | ||
@@ -17,0 +20,0 @@ var _b, _c; |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var tslib = require('tslib'); | ||
@@ -14,2 +16,3 @@ var React = require('react'); | ||
// eslint-disable-next-line complexity | ||
var Badge = function (_a) { | ||
@@ -16,0 +19,0 @@ var _b, _c; |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var Component = require('./Component.js'); | ||
@@ -4,0 +6,0 @@ require('tslib'); |
@@ -5,5 +5,6 @@ import { __assign } from 'tslib'; | ||
var styles = {"wrapper":"badge__wrapper_1p24c","s":"badge__s_1p24c","m":"badge__m_1p24c","xl":"badge__xl_1p24c","component":"badge__component_1p24c","count":"badge__count_1p24c","outlineCount":"badge__outlineCount_1p24c","l":"badge__l_1p24c","heightS":"badge__heightS_1p24c","heightM":"badge__heightM_1p24c","heightL":"badge__heightL_1p24c","heightXL":"badge__heightXL_1p24c","heightXXL":"badge__heightXXL_1p24c","icon":"badge__icon_1p24c","positive":"badge__positive_1p24c","attention":"badge__attention_1p24c","negative":"badge__negative_1p24c","link":"badge__link_1p24c","tertiary":"badge__tertiary_1p24c","secondary":"badge__secondary_1p24c","primary":"badge__primary_1p24c","outline":"badge__outline_1p24c","outlineColor":"badge__outlineColor_1p24c","dot":"badge__dot_1p24c","isHidden":"badge__isHidden_1p24c"}; | ||
var styles = {"wrapper":"badge__wrapper_914m3","s":"badge__s_914m3","m":"badge__m_914m3","xl":"badge__xl_914m3","component":"badge__component_914m3","count":"badge__count_914m3","outlineCount":"badge__outlineCount_914m3","l":"badge__l_914m3","heightS":"badge__heightS_914m3","heightM":"badge__heightM_914m3","heightL":"badge__heightL_914m3","heightXL":"badge__heightXL_914m3","heightXXL":"badge__heightXXL_914m3","icon":"badge__icon_914m3","positive":"badge__positive_914m3","attention":"badge__attention_914m3","negative":"badge__negative_914m3","link":"badge__link_914m3","tertiary":"badge__tertiary_914m3","secondary":"badge__secondary_914m3","primary":"badge__primary_914m3","outline":"badge__outline_914m3","outlineColor":"badge__outlineColor_914m3","dot":"badge__dot_914m3","isHidden":"badge__isHidden_914m3"}; | ||
require('./index.css') | ||
// eslint-disable-next-line complexity | ||
var Badge = function (_a) { | ||
@@ -10,0 +11,0 @@ var _b, _c; |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var Component = require('./Component.js'); | ||
@@ -4,0 +6,0 @@ require('tslib'); |
import React from 'react'; | ||
import cn from 'classnames'; | ||
const styles = {"wrapper":"badge__wrapper_1p24c","s":"badge__s_1p24c","m":"badge__m_1p24c","xl":"badge__xl_1p24c","component":"badge__component_1p24c","count":"badge__count_1p24c","outlineCount":"badge__outlineCount_1p24c","l":"badge__l_1p24c","heightS":"badge__heightS_1p24c","heightM":"badge__heightM_1p24c","heightL":"badge__heightL_1p24c","heightXL":"badge__heightXL_1p24c","heightXXL":"badge__heightXXL_1p24c","icon":"badge__icon_1p24c","positive":"badge__positive_1p24c","attention":"badge__attention_1p24c","negative":"badge__negative_1p24c","link":"badge__link_1p24c","tertiary":"badge__tertiary_1p24c","secondary":"badge__secondary_1p24c","primary":"badge__primary_1p24c","outline":"badge__outline_1p24c","outlineColor":"badge__outlineColor_1p24c","dot":"badge__dot_1p24c","isHidden":"badge__isHidden_1p24c"}; | ||
const styles = {"wrapper":"badge__wrapper_914m3","s":"badge__s_914m3","m":"badge__m_914m3","xl":"badge__xl_914m3","component":"badge__component_914m3","count":"badge__count_914m3","outlineCount":"badge__outlineCount_914m3","l":"badge__l_914m3","heightS":"badge__heightS_914m3","heightM":"badge__heightM_914m3","heightL":"badge__heightL_914m3","heightXL":"badge__heightXL_914m3","heightXXL":"badge__heightXXL_914m3","icon":"badge__icon_914m3","positive":"badge__positive_914m3","attention":"badge__attention_914m3","negative":"badge__negative_914m3","link":"badge__link_914m3","tertiary":"badge__tertiary_914m3","secondary":"badge__secondary_914m3","primary":"badge__primary_914m3","outline":"badge__outline_914m3","outlineColor":"badge__outlineColor_914m3","dot":"badge__dot_914m3","isHidden":"badge__isHidden_914m3"}; | ||
require('./index.css') | ||
// eslint-disable-next-line complexity | ||
const Badge = ({ className, size = 'm', view, visibleIconOutline = false, visibleColorOutline = false, content, height = 16, iconColor, dataTestId, }) => { | ||
@@ -8,0 +9,0 @@ const isCountView = view === 'count'; |
{ | ||
"name": "@alfalab/core-components-badge", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"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
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
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
48842
1157