ywana-core8 0.0.266 → 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/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +8 -0
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/css/html.css +8 -0
- package/src/domain/TablePage.js +1 -1
- package/src/html/table.js +2 -2
package/package.json
CHANGED
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/domain/TablePage.js
CHANGED
@@ -129,7 +129,7 @@ export const TablePage = (props) => {
|
|
129
129
|
{canQuery ? <TableQueries schema={schema} /> : null}
|
130
130
|
{canFilter ? <TableFilters schema={schema} /> : null}
|
131
131
|
</menu>
|
132
|
-
) : null
|
132
|
+
) : null }
|
133
133
|
<main key={id} className="table-page">
|
134
134
|
<TableEditor icon={icon} title={name} schema={schema} delay={delay} editable={editable} groupBy={groupBy} filter={tableFilter} actions={tableActions} canDelete={canDelete} />
|
135
135
|
</main>
|
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>
|