diff --git a/frontend/.changeset/twenty-eggs-beam.md b/frontend/.changeset/twenty-eggs-beam.md new file mode 100644 index 00000000..7136200d --- /dev/null +++ b/frontend/.changeset/twenty-eggs-beam.md @@ -0,0 +1,6 @@ +--- +"@liam-hq/erd-core": patch +"@liam-hq/cli": patch +--- + +Restored columnType visibility. diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableColumnList/TableColumn/TableColumn.module.css b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableColumnList/TableColumn/TableColumn.module.css index add21772..7fb2309e 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableColumnList/TableColumn/TableColumn.module.css +++ b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableColumnList/TableColumn/TableColumn.module.css @@ -48,7 +48,7 @@ transition: opacity 300ms var(--default-timing-function); } -.wrapper:hover .columnType { +:global([data-erd='table-node']):hover .columnType { opacity: 1; } diff --git a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableNode.tsx b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableNode.tsx index 90a3d216..be222159 100644 --- a/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableNode.tsx +++ b/frontend/packages/erd-core/src/components/ERDRenderer/ERDContent/TableNode/TableNode.tsx @@ -43,6 +43,7 @@ export const TableNode: FC = ({ data }) => { isActive && styles.wrapperActive, )} onClick={handleClick} + data-erd="table-node" > {showMode === 'ALL_FIELDS' && }