chaser-components
Advanced tools
Comparing version 6.1.2 to 6.1.3
@@ -5,2 +5,10 @@ # Changelog | ||
### [6.1.3](https://bitbucket.org/chasertech/chaser-components/compare/v6.1.2...v6.1.3) (2021-03-26) | ||
### Bug Fixes | ||
* **DEV-3549:** fix banner icon ([dc5d717](https://bitbucket.org/chasertech/chaser-components/commit/dc5d717e024bd3c99cb7f067003e3f988dc6b2f8)) | ||
* **DEV-3549:** remove i tag ([96f56ab](https://bitbucket.org/chasertech/chaser-components/commit/96f56ab821cbcbe6ebf09c99d74ba8d36c787026)) | ||
### [6.1.2](https://bitbucket.org/chasertech/chaser-components/compare/v6.1.1...v6.1.2) (2021-03-26) | ||
@@ -7,0 +15,0 @@ |
{ | ||
"name": "chaser-components", | ||
"description": "Chaser HQ Component Library", | ||
"version": "6.1.2", | ||
"version": "6.1.3", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "module": "dist/index.modern.js", |
@@ -35,2 +35,3 @@ import React, { useState } from 'react'; | ||
cursor: 'pointer', | ||
flex: '0 0 16px', | ||
opacity: 0.4, | ||
@@ -66,4 +67,8 @@ ':hover': { | ||
<Shelf flexWrap="nowrap" width="100%" justifyContent="space-between"> | ||
<Shelf flexWrap="nowrap" gap="xsmall"> | ||
{icon && getIcon(icon, intent)} | ||
<Shelf flexWrap="nowrap" gap="xsmall" alignItems="center"> | ||
{icon && ( | ||
<div style={{ flex: '0 0 16px' }}> | ||
{getIcon(icon, intent)} | ||
</div> | ||
)} | ||
<Text color={lineColorMap(intent)}>{children}</Text> | ||
@@ -70,0 +75,0 @@ </Shelf> |
@@ -11,11 +11,10 @@ import * as React from 'react'; | ||
return Comp ? ( | ||
<i className={className}> | ||
<Comp | ||
name={name} | ||
width={size} | ||
height={size} | ||
color={get(theme, `colors.${color}`, color)} | ||
{...rest} | ||
/> | ||
</i> | ||
<Comp | ||
className={className} | ||
name={name} | ||
width={size} | ||
height={size} | ||
color={get(theme, `colors.${color}`, color)} | ||
{...rest} | ||
/> | ||
) : null; | ||
@@ -22,0 +21,0 @@ }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1627280
189
18232