-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #678 from XYOracleNetwork/feature/active-module-st…
…yles active module details
- Loading branch information
Showing
37 changed files
with
412 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 0 additions & 71 deletions
71
packages/sdk/packages/node-renderer/src/components/RelationalGraph.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
export * from './lib' | ||
export * from './module' | ||
export * from './ProvidedNodeRenderer' | ||
export * from './RelationalGraph' | ||
export * from './relational' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
packages/sdk/packages/node-renderer/src/components/module/graph/DetailsFlexbox.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import CancelRoundedIcon from '@mui/icons-material/CancelRounded' | ||
import { IconButton } from '@mui/material' | ||
import { FlexBoxProps, FlexGrowCol, FlexRow } from '@xylabs/react-flexbox' | ||
|
||
export interface DetailsFlexboxProps extends FlexBoxProps { | ||
onClose?: () => void | ||
} | ||
|
||
export const DetailsFlexbox: React.FC<DetailsFlexboxProps> = ({ children, onClose }) => { | ||
return ( | ||
<FlexGrowCol alignItems="end" justifyContent="start" id="module-detail" width="100%" p={2} gap={2}> | ||
<FlexRow justifyContent="end"> | ||
<IconButton onClick={onClose} size={'small'}> | ||
<CancelRoundedIcon /> | ||
</IconButton> | ||
</FlexRow> | ||
{children} | ||
</FlexGrowCol> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 35 additions & 12 deletions
47
packages/sdk/packages/node-renderer/src/components/module/graph/GraphFlexBox.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 0 additions & 68 deletions
68
packages/sdk/packages/node-renderer/src/components/module/graph/NodeHover.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.