@kyper/graphs
Advanced tools
Comparing version
@@ -20,2 +20,3 @@ import React, { useState } from 'react' | ||
toggleButtonTextOptions = { more: 'View more', less: 'View less' }, | ||
...rest | ||
}) => { | ||
@@ -48,3 +49,3 @@ const uniqueId = generateGuid() | ||
return ( | ||
<div className={`kyper-horizontal-bar ${css(styles)}`}> | ||
<div className={`kyper-horizontal-bar ${css(styles)}`} {...rest}> | ||
<div className="header" id={`header-${uniqueId}`}> | ||
@@ -54,7 +55,7 @@ {data.columns | ||
.map(col => ( | ||
<th key={col.name}> | ||
<Text as="XSmall" className="col-name" uppercase={true}> | ||
<div key={col.name}> | ||
<Text as="XSmall" bold={true} className="col-name" uppercase={true}> | ||
{col.name} | ||
</Text> | ||
</th> | ||
</div> | ||
))} | ||
@@ -111,3 +112,3 @@ </div> | ||
<Button | ||
ariaLabel={viewAll ? 'View less rows' : 'View more rows'} | ||
aria-label={viewAll ? 'View less rows' : 'View more rows'} | ||
onClick={() => changeViewAll(!viewAll)} | ||
@@ -114,0 +115,0 @@ variant="link" |
{ | ||
"name": "@kyper/graphs", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Kyper Graphs", | ||
@@ -38,3 +38,3 @@ "author": "MX", | ||
}, | ||
"gitHead": "2ffdb1a4a6c35eff06b03a3388e9d505749908c0" | ||
"gitHead": "37e124b3c5cdc0f4b5589f3ee1971c917e708c2c" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
42306
0.08%1297
0.08%0
-100%