ywana-core8 0.0.268 → 0.0.269

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.268",
3
+ "version": "0.0.269",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
package/src/css/html.css CHANGED
@@ -34,4 +34,12 @@ body {
34
34
 
35
35
  td.actions {
36
36
  display: flex;
37
+ }
38
+
39
+ /**
40
+ * until https://github.com/facebook/create-react-app/issues/11771
41
+ * gets fixed, let's hide the problem and not address it
42
+ */
43
+ body > iframe[style*="2147483647"]:not([id="webpack-dev-server-client-overlay"]) {
44
+ display: none;
37
45
  }
package/src/html/table.js CHANGED
@@ -118,13 +118,13 @@ export const DataTable = (props) => {
118
118
  const DataTableRow = (props) => {
119
119
 
120
120
  const { row, columns = [], onSelect, editable } = props
121
-
121
+ const { className} = row
122
122
  const [isInfoOpen, toggleInfo] = useState(false)
123
123
  const infoIcon = isInfoOpen ? 'expand_more' : 'expand_less'
124
124
 
125
125
  return (
126
126
  <Fragment>
127
- <tr onClick={ev => onSelect(row, ev)}>
127
+ <tr className={className} onClick={ev => onSelect(row, ev)}>
128
128
  {columns.map((column, index) => <DataTableCell key={`${column.id}_${index}`} row={row} column={column} cell={row[column.id]} editable={editable} />)}
129
129
  {row.info ? <td><Icon icon={infoIcon} clickable action={() => toggleInfo(!isInfoOpen)} /></td> : <td></td>}
130
130
  </tr>