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

hui-ui

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hui-ui - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

11

lib/list/list-table.jsx

@@ -19,5 +19,5 @@ import React from 'react';

if (isTh) {
return <th key={`th_${Math.random()}`} style={style}>{tdDom}</th>;
return <th key={`th_${Math.random()}`} style={style} {...td.attr}>{tdDom}</th>;
} else {
return <td key={`td_${Math.random()}`} style={style}>{tdDom}</td>;
return <td key={`td_${Math.random()}`} style={style} {...td.attr}>{tdDom}</td>;
}

@@ -39,6 +39,11 @@

const tds = trs.map(td => this.getTdContent(td));
return <tr style={BodyStyle} key={`tableBody${trindex}`}>{tds}</tr>;
return <tr style={BodyStyle} key={`tableBody${trindex}`} onClick={this.click.bind(this, trs, trindex)}>{tds}</tr>;
})
}
click(item, index) {
const clickEvt = this.props.dataSource && this.props.dataSource.body && this.props.dataSource.body.click;
clickEvt && clickEvt(item, index);
}
render() {

@@ -45,0 +50,0 @@ const tableStyle = this.props.dataSource.style || {};

{
"name": "hui-ui",
"version": "0.0.13",
"version": "0.0.14",
"description": "hui-ui",

@@ -5,0 +5,0 @@ "main": "index.js",

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