feat: version 4.16.1 -- Equipos: filas sin subniveles alineadas con los grupos
Incluye el registro del despliegue de 4.16.0 en ESTADO y PRODUCCION. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "project-linkedcorp-frontend",
|
||||
"private": true,
|
||||
"version": "4.16.0",
|
||||
"version": "4.16.1",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -67,12 +67,12 @@ export function ListView({ columns, rows, searchValue, getSearchHaystack, onRowC
|
||||
</td>
|
||||
)}
|
||||
{columns.map((col, index) => (
|
||||
<td key={col.key} style={index === 0 && child ? { paddingLeft: 38 } : undefined}>
|
||||
{index === 0 && isParent ? (
|
||||
<td key={col.key} style={index === 0 && child ? { paddingLeft: 54 } : undefined}>
|
||||
{index === 0 && getChildren && !child ? (
|
||||
<span className="list-tree-cell">
|
||||
<button type="button" className="tree-toggle" aria-expanded={open} aria-label={t(open ? 'common_collapse' : 'common_expand')} onClick={(e) => { e.stopPropagation(); onToggle(); }}>
|
||||
{isParent ? <button type="button" className="tree-toggle" aria-expanded={open} aria-label={t(open ? 'common_collapse' : 'common_expand')} onClick={(e) => { e.stopPropagation(); onToggle(); }}>
|
||||
{open ? <ChevronDown size={14} /> : <ChevronRight size={14} />}
|
||||
</button>
|
||||
</button> : <span className="tree-toggle list-tree-dot" aria-hidden="true" />}
|
||||
{col.render ? col.render(row) : row[col.key]}
|
||||
</span>
|
||||
) : (col.render ? col.render(row) : row[col.key])}
|
||||
|
||||
@@ -231,6 +231,7 @@ table.list-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
|
||||
.list-table tbody tr:hover { background: rgb(var(--panel)); }
|
||||
.list-table tbody tr:last-child td { border-bottom: none; }
|
||||
.list-tree-cell { display: inline-flex; align-items: center; gap: 6px; }
|
||||
.list-tree-dot::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: rgb(var(--muted)); }
|
||||
.list-empty { padding: 40px 16px; text-align: center; color: rgb(var(--muted)); }
|
||||
.row-menu-btn { opacity: .6; }
|
||||
.row-menu-btn:hover { opacity: 1; }
|
||||
|
||||
Reference in New Issue
Block a user