SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
Standardize X icon 86eumwv52
ali-inkco134d9fb652c2
diff --git a/packages/app/src/builder-ui/ui/dialogs.ts b/packages/app/src/builder-ui/ui/dialogs.tsindex cc0b3196..3c010555 100644--- a/packages/app/src/builder-ui/ui/dialogs.ts+++ b/packages/app/src/builder-ui/ui/dialogs.ts@@ -133,7 +133,7 @@ export async function createRightSidebar(title?, content?, actions?, trActions?,const button = document.createElement('button');button.setAttribute('class',- `button btn-action h-10 action-${btn} items-center px-2 py-1 text-sm font-medium text-[#757575] bg-transparent focus:z-10 ` ++ `button btn-action h-8 action-${btn} items-center px-2 py-1 text-sm font-medium text-[#757575] bg-transparent focus:z-10 ` +(action.cls || ''),);button.innerHTML = action.label || btn;@@ -184,7 +184,7 @@ export async function createRightSidebar(title?, content?, actions?, trActions?,action.class ||action.cls ||'items-center px-2 py-2 text-sm font-medium text-[#757575] bg-transparent';- button.setAttribute('class', `button btn-action h-10 action-${btn} ${cssClass}`);+ button.setAttribute('class', `button btn-action h-8 action-${btn} ${cssClass}`);button.innerHTML = action.label || btn;if (action.click) button.addEventListener('click', action.click);diff --git a/packages/app/src/builder-ui/ui/right-sidebar-title.ts b/packages/app/src/builder-ui/ui/right-sidebar-title.tsindex 610eb019..c1752b59 100644--- a/packages/app/src/builder-ui/ui/right-sidebar-title.ts+++ b/packages/app/src/builder-ui/ui/right-sidebar-title.ts@@ -115,10 +115,7 @@ export const rightSidebarTitle = (title: string, tooltipText: string) => {</div><button class="close-btn p-0.5 rounded-full">- <svg class="w-6 h-6 text-[#757575]" fill="none" stroke="currentColor" viewBox="0 0 24 24">- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"- d="M6 18L18 6M6 6l12 12"></path>- </svg>+ <CloseIcon width={24} height={24} /></button></div></div>diff --git a/packages/app/src/react/features/agent-settings/components/CapabilitiesWidget/index.tsx b/packages/app/src/react/features/agent-settings/components/CapabilitiesWidget/index.tsxindex c61e1ed9..1d2343d2 100644--- a/packages/app/src/react/features/agent-settings/components/CapabilitiesWidget/index.tsx+++ b/packages/app/src/react/features/agent-settings/components/CapabilitiesWidget/index.tsx@@ -5,6 +5,7 @@ import { WIDGETS_PRICING_ALERT_TEXT } from '@react/features/agent-settings/constimport { useAgentSettingsCtx } from '@react/features/agent-settings/contexts/agent-settings.context';import { Component } from '@react/shared/types/agent-data.types';import { EVENTS } from '@shared/posthog/constants/events';+import { CloseIcon } from '@src/react/shared/components/svgs';import { plugins, PluginTarget, PluginType } from '@src/react/shared/plugins/Plugins';import { PostHog } from '@src/shared/posthog';@@ -25,9 +26,6 @@ interface SkillBtnConfig {const CapabilitiesWidget = ({ isOnPaidPlan: isSubscribedToPlan, isWriteAccess }: Props) => {const { latestAgentDeploymentQuery } = useAgentSettingsCtx();---return (<WidgetCard isWriteAccess={isWriteAccess} showOverflow={true}><div className={'bg-gray-50 p-4'} data-qa="agent-skills-container">@@ -98,13 +96,19 @@ function Endpoint({ component }: { component: Component }) {const { agentId } = useAgentSettingsCtx();let pluginItems = (- plugins.getPluginsByTarget(PluginTarget.AgentSettingsSkillsWidgetSkillButton, PluginType.Config) as {+ plugins.getPluginsByTarget(+ PluginTarget.AgentSettingsSkillsWidgetSkillButton,+ PluginType.Config,+ ) as {config: SkillBtnConfig;}[]).flatMap((item) => item.config);// const skillWidgetBtns = pluginItems.map((item) => item.renderBtn(component.id));- const skillWidgetBtns = useMemo(() => pluginItems.map((item) => item.renderBtn(component.id)), [component.id]);+ const skillWidgetBtns = useMemo(+ () => pluginItems.map((item) => item.renderBtn(component.id)),+ [component.id],+ );return (<>@@ -155,12 +159,12 @@ function Endpoint({ component }: { component: Component }) {</div>{/* Close button */}- <button- className="absolute top-4 right-4 text-[#1E1E1E] hover:text-gray-500"+ <div+ className="absolute top-4 right-4 text-[#1E1E1E] hover:text-gray-500 cursor-pointer hover:bg-gray-100 rounded-lg p-2"onClick={() => setIsTriggeringSkill(false)}>- ✕- </button>+ <CloseIcon width={16} height={16} />+ </div></div></div></div>diff --git a/packages/app/src/react/features/agent-settings/dialogs/ChatBot.tsx b/packages/app/src/react/features/agent-settings/dialogs/ChatBot.tsxindex 6eee43ad..82a6379e 100644--- a/packages/app/src/react/features/agent-settings/dialogs/ChatBot.tsx+++ b/packages/app/src/react/features/agent-settings/dialogs/ChatBot.tsx@@ -30,7 +30,6 @@ import { Analytics } from '@src/shared/posthog/services/analytics';import classNames from 'classnames';import { Tooltip } from 'flowbite-react';import { Info } from 'lucide-react';-import { IoClose } from 'react-icons/io5';// const CHATGPT_MODELS_V2 = LLMRegistry.getSortedModelsByFeatures('tools').map((model) => ({// name: model.label,@@ -217,7 +216,12 @@ const ChatBotDialog = ({<Dialog.Panel className="w-full relative transform overflow-hidden rounded-xl bg-white p-6 text-left align-middle shadow-xl transition-all"><Dialog.Title className="text-xl font-semibold leading-6 text-[#1E1E1E] mb-4 flex justify-between items-center"><span>Chatbot Configurations</span>- <IoClose className="cursor-pointer" size={24} onClick={() => closeModal()} />+ <div+ className="cursor-pointer w-8 h-8 bg-transparent rounded-lg hover:text-gray-900 hover:bg-gray-200 p-2"+ onClick={() => closeModal()}+ >+ <CloseIcon width={16} height={16} />+ </div></Dialog.Title><FormikinitialValues={activeData || defaultFormValues}diff --git a/packages/app/src/react/features/agent-settings/dialogs/ChatGpt.tsx b/packages/app/src/react/features/agent-settings/dialogs/ChatGpt.tsxindex c2558b86..55940f7a 100644--- a/packages/app/src/react/features/agent-settings/dialogs/ChatGpt.tsx+++ b/packages/app/src/react/features/agent-settings/dialogs/ChatGpt.tsx@@ -6,6 +6,7 @@ import {MODEL_DESCRIPTION_THRESHOLD,} from '@react/features/agent-settings/constants';import { mapGptEmbodimentProperties } from '@react/features/agent-settings/utils';+import { CloseIcon } from '@react/shared/components/svgs';import { Button } from '@react/shared/components/ui/newDesign/button';import { Spinner } from '@react/shared/components/ui/spinner';import { EMBODIMENT_TYPE } from '@react/shared/enums';@@ -14,7 +15,6 @@ import { errorToast, successToast } from '@src/shared/components/toast';import { useQueryClient } from '@tanstack/react-query';import { ErrorMessage, Field, Form, Formik } from 'formik';import { Fragment, useEffect, useState } from 'react';-import { IoClose } from 'react-icons/io5';interface IFormValues {humanName: string;@@ -159,7 +159,12 @@ const ChatGptDialog = ({<Dialog.Panel className="w-full relative transform overflow-hidden rounded-xl bg-white p-6 text-left align-middle shadow-xl transition-all"><Dialog.Title className="text-xl font-semibold leading-6 text-[#1E1E1E] mb-4 flex justify-between items-center"><span>ChatGPT Configurations</span>- <IoClose className="cursor-pointer" size={24} onClick={() => closeModal()} />+ <div+ className="cursor-pointer w-8 h-8 bg-transparent rounded-lg hover:text-gray-900 hover:bg-gray-200 p-2"+ onClick={() => closeModal()}+ >+ <CloseIcon width={16} height={16} />+ </div></Dialog.Title><FormikinitialValues={activeData}diff --git a/packages/app/src/react/features/agent-settings/dialogs/FormPreview.tsx b/packages/app/src/react/features/agent-settings/dialogs/FormPreview.tsxindex d0393159..284ed45a 100644--- a/packages/app/src/react/features/agent-settings/dialogs/FormPreview.tsx+++ b/packages/app/src/react/features/agent-settings/dialogs/FormPreview.tsx@@ -5,6 +5,7 @@ import { Spinner } from '@react/shared/components/ui/spinner';import { EMBODIMENT_TYPE } from '@react/shared/enums';import { extractError } from '@react/shared/utils/errors';import { validateDomains, validateURL } from '@react/shared/utils/utils';+import { CloseIcon } from '@src/react/shared/components/svgs';import { FormPreviewEmbodimentData } from '@src/react/shared/types/api-results.types';import { errorToast, successToast, warningToast } from '@src/shared/components/toast';import { useQueryClient } from '@tanstack/react-query';@@ -12,7 +13,6 @@ import { Tooltip } from 'flowbite-react';import { ErrorMessage, Field, Form, Formik, FormikProps } from 'formik';import { Info } from 'lucide-react';import { Fragment, useEffect, useState } from 'react';-import { IoClose } from 'react-icons/io5';import { saveEmbodiment } from '../clients';interface IFormPreviewDialogProps {@@ -141,7 +141,12 @@ const FormPreviewDialog = ({<Dialog.Panel className="w-full relative transform overflow-hidden rounded-xl bg-white p-6 text-left align-middle shadow-xl transition-all"><Dialog.Title className="text-xl font-semibold leading-6 text-[#1E1E1E] mb-4 flex justify-between items-center"><span>Form Preview Configuration</span>- <IoClose className="cursor-pointer" size={24} onClick={() => closeModal()} />+ <div+ className="cursor-pointer w-8 h-8 bg-transparent rounded-lg hover:text-gray-900 hover:bg-gray-200 p-2"+ onClick={() => closeModal()}+ >+ <CloseIcon width={16} height={16} />+ </div></Dialog.Title><FormikinitialValues={activeData || defaultFormValues}diff --git a/packages/app/src/react/features/agents/components/modals/deploy-agent-modal.tsx b/packages/app/src/react/features/agents/components/modals/deploy-agent-modal.tsxindex 279120e1..4ec8b86d 100644--- a/packages/app/src/react/features/agents/components/modals/deploy-agent-modal.tsx+++ b/packages/app/src/react/features/agents/components/modals/deploy-agent-modal.tsx@@ -2,7 +2,6 @@ import { AgentSettingsProvider } from '@react/features/agent-settings/contexts/aimport ChatbotCodeSnippetModal from '@react/features/agent-settings/modals/chatbotCode.modal';import { useGetOnboardingData } from '@react/features/onboarding/hooks/useGetUserOnboardingSettings';import useMutateOnboardingData from '@react/features/onboarding/hooks/useMutateOnboardingData';-import { Button as ButtonOld } from '@react/shared/components/ui/button';import { Input } from '@react/shared/components/ui/input';import { Label } from '@react/shared/components/ui/label';import { Button } from '@react/shared/components/ui/newDesign/button';@@ -27,7 +26,7 @@ import { builderStore } from '@src/shared/state_stores/builder/store';import { useQuery } from '@tanstack/react-query';import { Tooltip } from 'flowbite-react';import { useFormik } from 'formik';-import { Info, X } from 'lucide-react';+import { Info } from 'lucide-react';import React, { useEffect, useState } from 'react';import * as Yup from 'yup';import { CloseIcon } from '../../../../shared/components/svgs';@@ -545,18 +544,15 @@ function DeployAgentModal({ userInfo, deploymentSidebarCtx }) {<p className="text-xs text-gray-500">Click to deploy a new version</p></div><div className="flex items-center gap-2">- <ButtonOld- variant="ghost"- size="icon"- className="h-[22px] w-[22px]"+ <div+ className="text-[#1E1E1E] hover:text-gray-500 cursor-pointer hover:bg-gray-100 rounded-lg p-2"onClick={(e) => {e.stopPropagation();toggleDeployModal();}}>- <X className="text-[#111827]" />- <span className="sr-only">Close</span>- </ButtonOld>+ <CloseIcon width={16} height={16} />+ </div></div></div>) : (@@ -565,29 +561,12 @@ function DeployAgentModal({ userInfo, deploymentSidebarCtx }) {<div className="flex justify-between items-center mb-4"><div className="flex items-center gap-2">{hasDeployment && (- <ButtonOld- variant="ghost"- size="icon"- className="h-[22px] w-[22px] -ml-2"+ <div+ className="text-[#1E1E1E] hover:text-gray-500 cursor-pointer hover:bg-gray-100 rounded-lg p-2"onClick={handleCollapseModal}>- <svg- width="16"- height="16"- viewBox="0 0 24 24"- fill="none"- xmlns="http://www.w3.org/2000/svg"- >- <path- d="M15 18L9 12L15 6"- stroke="#111827"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- />- </svg>- <span className="sr-only">Back</span>- </ButtonOld>+ <CloseIcon width={16} height={16} />+ </div>)}<h2 className="text-xl font-semibold text-[#1E1E1E] flex items-center gap-1">Deploy Agent@@ -614,15 +593,12 @@ function DeployAgentModal({ userInfo, deploymentSidebarCtx }) {</Tooltip></h2></div>- <ButtonOld- variant="ghost"- size="icon"- className="h-[22px] w-[22px]"+ <div+ className="text-[#1E1E1E] hover:text-gray-500 cursor-pointer hover:bg-gray-100 rounded-lg p-2"onClick={toggleDeployModal}>- <X className="text-[#111827]" />- <span className="sr-only">Close</span>- </ButtonOld>+ <CloseIcon width={16} height={16} />+ </div></div><Tabs defaultValue="agent-cloud" className="w-full relative"><TabsList className="grid w-full grid-cols-3 mb-4 h-auto">diff --git a/packages/app/src/react/features/builder/components/VariablesWidget.tsx b/packages/app/src/react/features/builder/components/VariablesWidget.tsxindex 75ec8be8..5012c117 100644--- a/packages/app/src/react/features/builder/components/VariablesWidget.tsx+++ b/packages/app/src/react/features/builder/components/VariablesWidget.tsx@@ -13,7 +13,7 @@ import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';import { Tooltip } from 'flowbite-react';import { Component, useEffect, useRef, useState } from 'react';import { FiTrash2 } from 'react-icons/fi';-import { IoClose, IoKeyOutline } from 'react-icons/io5';+import { IoKeyOutline } from 'react-icons/io5';import { LuInfo } from 'react-icons/lu';type KeyValuePair = {@@ -460,14 +460,15 @@ const VariablesWidget = ({ agentId, workspace }: { agentId: string; workspace: W<LuInfo size={20} /></Tooltip><Tooltip content="Close" placement="top">- <IoClose- className="cursor-pointer"- size={22}+ <div+ className="cursor-pointer w-8 h-8 bg-transparent rounded-lg hover:text-gray-900 hover:bg-gray-200 p-2"onClick={(e) => {e?.stopPropagation();handleClose();}}- />+ >+ <CloseIcon width={16} height={16} />+ </div></Tooltip></div></div>diff --git a/packages/app/src/react/features/builder/components/agent-deployment-sidebar/DeploymentSidebarContent.tsx b/packages/app/src/react/features/builder/components/agent-deployment-sidebar/DeploymentSidebarContent.tsxindex e862d0d5..32ca8e01 100644--- a/packages/app/src/react/features/builder/components/agent-deployment-sidebar/DeploymentSidebarContent.tsx+++ b/packages/app/src/react/features/builder/components/agent-deployment-sidebar/DeploymentSidebarContent.tsx@@ -75,20 +75,19 @@ const DeploymentSidebarContent = () => {<Tooltip content="Close" placement="left" arrow={false}><buttontype="button"- className="close-btn p-0.5 rounded-full"+ className="close-btn text-[#757575] hover:bg-gray-100 rounded-lg p-2"onClick={() => window.dispatchEvent(new CustomEvent('toggle-sidebar-request'))}><svg- className="w-6 h-6 text-[#757575]"- fill="none"- stroke="currentColor"+ width="16"+ height="16"viewBox="0 0 24 24"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"><path- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="2"- d="M6 18L18 6M6 6l12 12"+ d="M20.7457 3.32851C20.3552 2.93798 19.722 2.93798 19.3315 3.32851L12.0371 10.6229L4.74275 3.32851C4.35223 2.93798 3.71906 2.93798 3.32854 3.32851C2.93801 3.71903 2.93801 4.3522 3.32854 4.74272L10.6229 12.0371L3.32856 19.3314C2.93803 19.722 2.93803 20.3551 3.32856 20.7457C3.71908 21.1362 4.35225 21.1362 4.74277 20.7457L12.0371 13.4513L19.3315 20.7457C19.722 21.1362 20.3552 21.1362 20.7457 20.7457C21.1362 20.3551 21.1362 19.722 20.7457 19.3315L13.4513 12.0371L20.7457 4.74272C21.1362 4.3522 21.1362 3.71903 20.7457 3.32851Z"+ fill="#0F0F0F"/></svg></button>diff --git a/packages/app/src/react/features/builder/components/debug-log-menu/TabNavigation.tsx b/packages/app/src/react/features/builder/components/debug-log-menu/TabNavigation.tsxindex 30fe0374..2e0f7b62 100644--- a/packages/app/src/react/features/builder/components/debug-log-menu/TabNavigation.tsx+++ b/packages/app/src/react/features/builder/components/debug-log-menu/TabNavigation.tsx@@ -1,5 +1,8 @@import { ServerStatus } from '@src/react/features/builder/components/debug-log-menu/ServerStatus';-import { DebugMenuTab, useDebugLogMenuCtx } from '@src/react/features/builder/contexts/debug-log-menu.context';+import {+ DebugMenuTab,+ useDebugLogMenuCtx,+} from '@src/react/features/builder/contexts/debug-log-menu.context';import { FC } from 'react';interface UnreadBadgeProps {@@ -106,22 +109,21 @@ export const TabNavigation: FC = () => {<buttontype="button"- className="p-0.5 rounded-full"+ className="text-[#757575] hover:bg-gray-100 rounded-lg p-2"onClick={toggleBottomBar}data-testid="close-button"aria-label="Close debug menu"><svg- className="w-6 h-6 text-[#757575]"- fill="none"- stroke="currentColor"+ width="16"+ height="16"viewBox="0 0 24 24"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"><path- strokeLinecap="round"- strokeLinejoin="round"- strokeWidth="2"- d="M6 18L18 6M6 6l12 12"+ d="M20.7457 3.32851C20.3552 2.93798 19.722 2.93798 19.3315 3.32851L12.0371 10.6229L4.74275 3.32851C4.35223 2.93798 3.71906 2.93798 3.32854 3.32851C2.93801 3.71903 2.93801 4.3522 3.32854 4.74272L10.6229 12.0371L3.32856 19.3314C2.93803 19.722 2.93803 20.3551 3.32856 20.7457C3.71908 21.1362 4.35225 21.1362 4.74277 20.7457L12.0371 13.4513L19.3315 20.7457C19.722 21.1362 20.3552 21.1362 20.7457 20.7457C21.1362 20.3551 21.1362 19.722 20.7457 19.3315L13.4513 12.0371L20.7457 4.74272C21.1362 4.3522 21.1362 3.71903 20.7457 3.32851Z"+ fill="#0F0F0F"/></svg></button>diff --git a/packages/app/src/react/features/builder/components/debug-log-menu/tabs/network/components/RequestDetailPanel.tsx b/packages/app/src/react/features/builder/components/debug-log-menu/tabs/network/components/RequestDetailPanel.tsxindex 4f49b14f..747bbd84 100644--- a/packages/app/src/react/features/builder/components/debug-log-menu/tabs/network/components/RequestDetailPanel.tsx+++ b/packages/app/src/react/features/builder/components/debug-log-menu/tabs/network/components/RequestDetailPanel.tsx@@ -1,3 +1,4 @@+import { CloseIcon } from '@react/shared/components/svgs';import { DetailTabNav } from '@src/react/features/builder/components/debug-log-menu/tabs/network/components/DetailTabNav';import { CostTab } from '@src/react/features/builder/components/debug-log-menu/tabs/network/detail-tabs/CostTab';import { HeadersTab } from '@src/react/features/builder/components/debug-log-menu/tabs/network/detail-tabs/HeadersTab';@@ -6,7 +7,6 @@ import { ResponseTab } from '@src/react/features/builder/components/debug-log-meimport { TimingTab } from '@src/react/features/builder/components/debug-log-menu/tabs/network/detail-tabs/TimingTab';import { NetworkRequest } from '@src/react/features/builder/contexts/debug-log-menu.context';import { FC, useState } from 'react';-import { IoClose } from 'react-icons/io5';interface RequestDetailPanelProps {request: NetworkRequest;@@ -31,7 +31,7 @@ export const RequestDetailPanel: FC<RequestDetailPanelProps> = ({ request, onCloonClick={onClose}className="p-1 text-gray-500 hover:text-gray-700 hover:bg-gray-200 rounded transition-colors">- <IoClose size={18} />+ <CloseIcon width={16} height={16} /></button></div>diff --git a/packages/app/src/react/shared/components/ui/dialog.tsx b/packages/app/src/react/shared/components/ui/dialog.tsxindex 9e8db429..718af1ba 100644--- a/packages/app/src/react/shared/components/ui/dialog.tsx+++ b/packages/app/src/react/shared/components/ui/dialog.tsx@@ -1,6 +1,6 @@import * as DialogPrimitive from '@radix-ui/react-dialog';+import { CloseIcon } from '@react/shared/components/svgs';import { cn } from '@react/shared/utils/general';-import { X } from 'lucide-react';import * as React from 'react';const Dialog = DialogPrimitive.Root;@@ -41,8 +41,8 @@ const DialogContent = React.forwardRef<{...props}>{children}- <DialogPrimitive.Close className="absolute right-5 top-5 rounded-sm ring-offset-background transition-opacity hover:opacity-70 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">- <X className="h-5 w-5 font-bold" color="#1E1E1E" strokeWidth={2} />+ <DialogPrimitive.Close className="absolute right-6 top-6 p-2 rounded-lg hover:text-gray-900 hover:bg-gray-200 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">+ <CloseIcon width={16} height={16} /><span className="sr-only">Close</span></DialogPrimitive.Close></DialogPrimitive.Content>@@ -97,6 +97,5 @@ export {DialogOverlay,DialogPortal,DialogTitle,- DialogTrigger+ DialogTrigger,};-diff --git a/packages/app/src/react/shared/components/ui/modals/ConfirmModal.tsx b/packages/app/src/react/shared/components/ui/modals/ConfirmModal.tsxindex 3dc23147..a56c559a 100644--- a/packages/app/src/react/shared/components/ui/modals/ConfirmModal.tsx+++ b/packages/app/src/react/shared/components/ui/modals/ConfirmModal.tsx@@ -48,17 +48,17 @@ const ConfirmModal = (props: Props) => {)}<buttontype="button"- className="absolute right-4 inline-flex items-center justify-center w-8 h-8 ml-auto text-sm text-gray-400 bg-transparent rounded-lg hover:text-gray-900 hover:bg-gray-200 dark:hover:bg-gray-600 dark:hover:text-white"+ className="absolute right-2 inline-flex items-center justify-center w-8 h-8 ml-auto text-sm text-gray-400 bg-transparent rounded-lg hover:text-gray-900 hover:bg-gray-200 dark:hover:bg-gray-600 dark:hover:text-white"onClick={props.onClose}>- <CloseIcon />+ <CloseIcon width={16} height={16} /></button></div>{props.children && props.children}{/* Code snippet textarea */}- <div className="px-4 pt-2 pb-2">+ <div className="px-2 pt-2 pb-2">{/* <p className="mb-4 text-sm text-gray-900">{props.message}</p> */}<div className="flex justify-end items-center flex-row gap-2">{props.handleCancel && (diff --git a/packages/app/src/react/shared/components/ui/modals/Modal.tsx b/packages/app/src/react/shared/components/ui/modals/Modal.tsxindex cc6401e3..6b70ba31 100644--- a/packages/app/src/react/shared/components/ui/modals/Modal.tsx+++ b/packages/app/src/react/shared/components/ui/modals/Modal.tsx@@ -1,7 +1,7 @@import { Dialog, Transition } from '@headlessui/react';+import { CloseIcon } from '@react/shared/components/svgs';import classNames from 'classnames';import React, { Fragment } from 'react';-import { IoClose } from 'react-icons/io5';type Props = {onClose: () => void;@@ -83,14 +83,15 @@ const Modal = ({</div>{!hideCloseIcon && (- <IoClose- className="cursor-pointer"- size={22}+ <div+ className="cursor-pointer w-8 h-8 bg-transparent rounded-lg hover:text-gray-900 hover:bg-gray-200 p-2"onClick={(e) => {e.stopPropagation();onClose();}}- />+ >+ <CloseIcon width={16} height={16} />+ </div>)}</div></Dialog.Title>diff --git a/packages/app/views/pages/partials/studio/left-sidebar-agent.ejs b/packages/app/views/pages/partials/studio/left-sidebar-agent.ejsindex 2724e4a8..f4e90a92 100644--- a/packages/app/views/pages/partials/studio/left-sidebar-agent.ejs+++ b/packages/app/views/pages/partials/studio/left-sidebar-agent.ejs@@ -25,7 +25,7 @@</div><buttontype="button"- class="close-btn p-0.5 rounded-full text-[#757575]"+ class="close-btn text-[#757575] hover:bg-gray-100 rounded-lg p-2"data-tooltip-target="tooltip-close-settings"data-tooltip-placement="left"@click="toggleSidebar"diff --git a/packages/app/views/pages/partials/studio/left-sidebar-build.ejs b/packages/app/views/pages/partials/studio/left-sidebar-build.ejsindex 5f8e784f..44337d61 100644--- a/packages/app/views/pages/partials/studio/left-sidebar-build.ejs+++ b/packages/app/views/pages/partials/studio/left-sidebar-build.ejs@@ -6,7 +6,7 @@</div><buttontype="button"- class="close-btn p-0.5 rounded-full text-[#757575]"+ class="close-btn text-[#757575] hover:bg-gray-100 rounded-lg p-2"data-tooltip-target="tooltip-close-components"data-tooltip-placement="left"@click="diff --git a/packages/app/views/pages/partials/studio/left-sidebar-help.ejs b/packages/app/views/pages/partials/studio/left-sidebar-help.ejsindex 0c5c269a..64f471f1 100644--- a/packages/app/views/pages/partials/studio/left-sidebar-help.ejs+++ b/packages/app/views/pages/partials/studio/left-sidebar-help.ejs@@ -22,7 +22,7 @@<div><buttontype="button"- class="close-btn p-0.5 rounded-full text-[#757575]"+ class="close-btn text-[#757575] hover:bg-gray-100 rounded-lg p-2"data-tooltip-target="tooltip-close-help"data-tooltip-placement="left"@click="