Skip to content

Commit

Permalink
fix build by not exporting LightTooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiion committed Aug 28, 2024
1 parent 9f6d72d commit 0bd63e6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
19 changes: 17 additions & 2 deletions packages/kxp-components/src/LabeledBNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,26 @@ import { findFirstInProps, NodePropertyTree } from "@slub/edb-graph-traversal";
import { useMemo } from "react";
import { dcterms, foaf, rdfs, skos } from "@tpluscode/rdf-ns-builders";
import { geonames, radatana } from "@slub/edb-marc-to-rdf";
import { LightTooltip } from "./LightTooltip";
import { Button } from "@mui/material";
import {
Button,
styled,
Tooltip,
tooltipClasses,
TooltipProps,
} from "@mui/material";

import { KXPAllPropTable } from "./KXPAllPropTable";

const LightTooltip = styled(({ className, ...props }: TooltipProps) => (
<Tooltip {...props} classes={{ popper: className }} />
))(({ theme }) => ({
[`& .${tooltipClasses.tooltip}`]: {
backgroundColor: theme.palette.common.white,
color: "rgba(0, 0, 0, 0.87)",
boxShadow: theme.shadows[1],
fontSize: 11,
},
}));
export const LabeledBNode = ({
bnode,
properties,
Expand Down
12 changes: 0 additions & 12 deletions packages/kxp-components/src/LightTooltip.tsx

This file was deleted.

1 change: 0 additions & 1 deletion packages/kxp-components/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export * from "./K10PlusSearchTable";
export * from "./LabledLink";
export * from "./LightTooltip";
export * from "./LabeledBNode";
export * from "./KXPAllPropTable";

0 comments on commit 0bd63e6

Please sign in to comment.