diff --git a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx index a2e56f803c..9e249aa295 100644 --- a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx +++ b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx @@ -8,6 +8,7 @@ export interface RemixPanelProps { } const RemixUIPanelHeader = (props: RemixPanelProps) => { const [plugin, setPlugin] = useState() + const [toggleExpander, setToggleExpander] = useState(false) useEffect(() => { if (props.plugins) { @@ -18,11 +19,43 @@ const RemixUIPanelHeader = (props: RemixPanelProps) => { } }, [props]) + const toggleClass = () => { + setToggleExpander(!toggleExpander) + } + return ( -
{plugin?.profile.displayName || plugin?.profile.name}
-
- {plugin?.profile.verified ? () : '' } - {plugin?.profile.documentation ? () : ''} +
+
+
{plugin?.profile.displayName || plugin?.profile.name}
+
+
+ {plugin?.profile?.maintainedBy?.toLowerCase() === "remix" && ()} + {plugin?.profile.documentation && () } +
+
+ +
+
+
+
+ {plugin?.profile.author && + + plugin.profile.author + } + {plugin?.profile.maintainedBy && + + plugin.profile.maintainedBy + } + {plugin?.profile.documentation && + + + + + } + {plugin?.profile.description && + + plugin?.profile.description + }
) } diff --git a/libs/remix-ui/panel/src/lib/plugins/panel.css b/libs/remix-ui/panel/src/lib/plugins/panel.css index 8356d6ef15..b9988e19af 100644 --- a/libs/remix-ui/panel/src/lib/plugins/panel.css +++ b/libs/remix-ui/panel/src/lib/plugins/panel.css @@ -22,7 +22,6 @@ .swapitHeader { display: flex; align-items: center; - padding: 16px 24px 15px; justify-content: space-between; text-transform: uppercase; } diff --git a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx index 86b8f87dfb..6a9b604907 100644 --- a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx +++ b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx @@ -19,8 +19,8 @@ function ActivePluginCard ({
{ profile.displayName || profile.name } - { profile.verified && - + { profile.maintainedBy.toLowerCase() == "remix" && + } { profile.documentation && diff --git a/libs/remix-ui/plugin-manager/src/lib/components/InactivePluginCard.tsx b/libs/remix-ui/plugin-manager/src/lib/components/InactivePluginCard.tsx index 73b4316276..018b8ed432 100644 --- a/libs/remix-ui/plugin-manager/src/lib/components/InactivePluginCard.tsx +++ b/libs/remix-ui/plugin-manager/src/lib/components/InactivePluginCard.tsx @@ -22,7 +22,7 @@ function InactivePluginCard ({
{ profile.displayName || profile.name } - { profile.verified && + { profile.maintainedBy.toLowerCase() == "remix" && } { profile.documentation && diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index 98a80306bd..06a24ca19b 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -155,7 +155,7 @@ export function Workspace () {
-