diff --git a/src/components/load-modal/load-modal.tsx b/src/components/load-modal/load-modal.tsx
index 38633cd3..ed69af0c 100644
--- a/src/components/load-modal/load-modal.tsx
+++ b/src/components/load-modal/load-modal.tsx
@@ -2,9 +2,10 @@ import { observer } from 'mobx-react-lite';
import { tabs_title } from '@/constants/load-modal';
import { useStore } from '@/hooks/useStore';
import { localize } from '@/utils/tmp/dummy';
-import { Modal, Tabs } from '@deriv-com/ui';
import GoogleDrive from '../../pages/dashboard/load-bot-preview/google-drive';
import MobileFullPageModal from '../shared_ui/mobile-full-page-modal';
+import Modal from '../shared_ui/modal';
+import Tabs from '../shared_ui/tabs';
import Local from './local';
import LocalFooter from './local-footer';
import Recent from './recent';
diff --git a/src/components/load-modal/local.tsx b/src/components/load-modal/local.tsx
index 75edc2d2..f809409e 100644
--- a/src/components/load-modal/local.tsx
+++ b/src/components/load-modal/local.tsx
@@ -3,6 +3,7 @@ import classNames from 'classnames';
import { observer } from 'mobx-react-lite';
import { useStore } from '@/hooks/useStore';
import { Icon, Localize, localize } from '@/utils/tmp/dummy';
+import { LegacyClose1pxIcon } from '@deriv/quill-icons';
import { Button } from '@deriv-com/ui';
import LocalFooter from './local-footer';
import WorkspaceControl from './workspace-control';
@@ -31,10 +32,11 @@ const LocalComponent = observer(() => {
- setLoadedLocalFile(null)}
+ data-testid='dt_load-strategy__local-preview-close'
+ height='20px'
+ width='20px'
/>
diff --git a/src/components/shared_ui/dialog/dialog.tsx b/src/components/shared_ui/dialog/dialog.tsx
index 07a6ad60..80cfaf40 100644
--- a/src/components/shared_ui/dialog/dialog.tsx
+++ b/src/components/shared_ui/dialog/dialog.tsx
@@ -3,7 +3,7 @@ import classNames from 'classnames';
import ReactDOM from 'react-dom';
import { CSSTransition } from 'react-transition-group';
import { useOnClickOutside } from '@/hooks/useOnClickOutside';
-import { Icon } from '@/utils/tmp/dummy';
+import { LegacyClose1pxIcon } from '@deriv/quill-icons';
import Button from '../button';
import Text from '../text';
@@ -147,7 +147,7 @@ const Dialog = ({
)}
{has_close_icon && (
-
+
)}
diff --git a/src/components/shared_ui/mobile-dialog/mobile-dialog.tsx b/src/components/shared_ui/mobile-dialog/mobile-dialog.tsx
index c8fc89e1..a6eaab4d 100644
--- a/src/components/shared_ui/mobile-dialog/mobile-dialog.tsx
+++ b/src/components/shared_ui/mobile-dialog/mobile-dialog.tsx
@@ -2,7 +2,7 @@ import React from 'react';
import classNames from 'classnames';
import ReactDOM from 'react-dom';
import { CSSTransition } from 'react-transition-group';
-import { Icon } from '@/utils/tmp/dummy';
+import { LegacyClose1pxIcon } from '@deriv/quill-icons';
import Div100vhContainer from '../div100vh-container';
import Text from '../text/text';
import ThemedScrollbars from '../themed-scrollbars';
@@ -137,7 +137,11 @@ const MobileDialog = (props: React.PropsWithChildren
) => {
className='icons dc-btn-close dc-mobile-dialog__close-btn'
onClick={props.onClose}
>
-
+
)}
diff --git a/src/components/shared_ui/modal/modal.tsx b/src/components/shared_ui/modal/modal.tsx
index b987388f..c330c195 100644
--- a/src/components/shared_ui/modal/modal.tsx
+++ b/src/components/shared_ui/modal/modal.tsx
@@ -1,13 +1,11 @@
import React from 'react';
+import classNames from 'classnames';
import ReactDOM from 'react-dom';
import { CSSTransition } from 'react-transition-group';
-import classNames from 'classnames';
-
import { useOnClickOutside } from '@/hooks/useOnClickOutside';
import { Icon } from '@/utils/tmp/dummy';
-
+import { LegacyClose1pxIcon } from '@deriv/quill-icons';
import Text from '../text/text';
-
import Body from './modal-body';
import Footer from './modal-footer';
@@ -208,7 +206,12 @@ const ModalElement = ({
)}
{has_close_icon && (
-
+
)}
diff --git a/src/components/shared_ui/page-overlay/page-overlay.tsx b/src/components/shared_ui/page-overlay/page-overlay.tsx
index 12c1da2e..a3532f0e 100644
--- a/src/components/shared_ui/page-overlay/page-overlay.tsx
+++ b/src/components/shared_ui/page-overlay/page-overlay.tsx
@@ -3,6 +3,7 @@ import classNames from 'classnames';
import ReactDOM from 'react-dom';
import { CSSTransition } from 'react-transition-group';
import { Icon } from '@/utils/tmp/dummy';
+import { LegacyClose1pxIcon } from '@deriv/quill-icons';
type TPageOverlay = {
header?: React.ReactNode;
@@ -56,7 +57,7 @@ const PageOverlay = ({
window.history.back
}
>
-
+
)}
diff --git a/src/pages/bot-builder/quick-strategy/form-wrappers/desktop-form-wrapper.tsx b/src/pages/bot-builder/quick-strategy/form-wrappers/desktop-form-wrapper.tsx
index ad694479..00176544 100644
--- a/src/pages/bot-builder/quick-strategy/form-wrappers/desktop-form-wrapper.tsx
+++ b/src/pages/bot-builder/quick-strategy/form-wrappers/desktop-form-wrapper.tsx
@@ -4,7 +4,8 @@ import { useFormikContext } from 'formik';
import { observer } from 'mobx-react-lite';
import ThemedScrollbars from '@/components/shared_ui/themed-scrollbars';
import { useStore } from '@/hooks/useStore';
-import { Icon, localize } from '@/utils/tmp/dummy';
+import { localize } from '@/utils/tmp/dummy';
+import { LegacyClose1pxIcon } from '@deriv/quill-icons';
import { Button, Text } from '@deriv-com/ui';
import {
rudderStackSendQsEditStrategyEvent,
@@ -90,7 +91,7 @@ const FormWrapper: React.FC = observer(({ children, onClick
}
}}
>
-
+
diff --git a/src/pages/bot-builder/toolbar/toolbar-icon.tsx b/src/pages/bot-builder/toolbar/toolbar-icon.tsx
index 006c4319..b1491beb 100644
--- a/src/pages/bot-builder/toolbar/toolbar-icon.tsx
+++ b/src/pages/bot-builder/toolbar/toolbar-icon.tsx
@@ -2,32 +2,16 @@ import DesktopWrapper from '@/components/shared_ui/desktop-wrapper';
import MobileWrapper from '@/components/shared_ui/mobile-wrapper';
import Popover from '@/components/shared_ui/popover';
import { popover_zindex } from '@/constants/z-indexes';
-import { Icon } from '@/utils/tmp/dummy';
type TToolbarIcon = {
popover_message: string;
- icon: string;
- icon_id: string;
- action: () => void;
- icon_color?: string;
- data_testid?: string;
+ icon: string | React.ReactNode;
};
-const ToolbarIcon = ({ popover_message, icon, icon_id, icon_color, action, data_testid }: TToolbarIcon) => {
- const renderIcon = () => (
-
onClick={() => {
method();
}}
- />
+ >
+ {icon}
+
{content}
diff --git a/src/pages/dashboard/dashboard.scss b/src/pages/dashboard/dashboard.scss
index ca29669d..a60b5f33 100644
--- a/src/pages/dashboard/dashboard.scss
+++ b/src/pages/dashboard/dashboard.scss
@@ -140,7 +140,6 @@
.title {
text-align: center;
- height: 7.2;
@include mobile {
height: auto;
diff --git a/src/pages/dashboard/load-bot-preview/google-drive.tsx b/src/pages/dashboard/load-bot-preview/google-drive.tsx
index 65f0b85c..db285779 100644
--- a/src/pages/dashboard/load-bot-preview/google-drive.tsx
+++ b/src/pages/dashboard/load-bot-preview/google-drive.tsx
@@ -16,7 +16,7 @@ const GoogleDrive = observer(() => {
}
+ icon={
+ is_mobile ? (
+
+ ) : (
+
+ )
+ }
/>
}
value={save_types.LOCAL}
@@ -105,7 +112,7 @@ const SaveModalForm = ({
label={
}
+ icon={}
google_drive_connected={is_authorised}
onDriveConnect={onDriveConnect}
/>
@@ -118,29 +125,6 @@ const SaveModalForm = ({
/>
- {/* removed this from the save modal popup because it is not there in the design */}
- {/* <>
-
- {({ field }) => (
- setFieldValue('save_as_collection', !save_as_collection)}
- defaultChecked={save_as_collection}
- label={
-
-
-
- }
- classNameLabel='save-type__checkbox-text'
- {...field}
- />
- )}
-
-
- {localize(
- 'Enabling this allows you to save your blocks as one collection which can be easily integrated into other bots.'
- )}
-
- > */}
);
+
const SaveModal = observer(() => {
const { save_modal, google_drive, dashboard, load_modal } = useStore();
const { ui } = useStore();
diff --git a/src/pages/dashboard/user-guide.tsx b/src/pages/dashboard/user-guide.tsx
index 06d42a4a..3f6e3872 100644
--- a/src/pages/dashboard/user-guide.tsx
+++ b/src/pages/dashboard/user-guide.tsx
@@ -1,6 +1,7 @@
import React from 'react';
import { DBOT_TABS } from '@/constants/bot-contents';
-import { Icon, localize } from '@/utils/tmp/dummy';
+import { StandaloneMapBoldIcon } from '@deriv/quill-icons';
+import { Localize } from '@deriv-com/translations';
import { Text } from '@deriv-com/ui';
type TUserGuide = {
@@ -20,10 +21,11 @@ const UserGuide: React.FC = ({ is_mobile, handleTabChange, setActive
}}
data-testid='btn-user-guide'
>
-
+ {/* */}
+
{!is_mobile && (
- {localize('User Guide')}
+
)}
diff --git a/src/pages/tutorials/dbot-tours/onboarding-tour/onboarding-tour-mobile.tsx b/src/pages/tutorials/dbot-tours/onboarding-tour/onboarding-tour-mobile.tsx
index 79de4fef..f66f20b5 100644
--- a/src/pages/tutorials/dbot-tours/onboarding-tour/onboarding-tour-mobile.tsx
+++ b/src/pages/tutorials/dbot-tours/onboarding-tour/onboarding-tour-mobile.tsx
@@ -5,7 +5,8 @@ import ProgressBarTracker from '@/components/shared_ui/progress-bar-tracker';
import Text from '@/components/shared_ui/text';
import { useStore } from '@/hooks/useStore';
import { getSetting } from '@/utils/settings';
-import { Icon, localize } from '@/utils/tmp/dummy';
+import { localize } from '@/utils/tmp/dummy';
+import { LegacyClose1pxIcon } from '@deriv/quill-icons';
import TourButton from '../common/tour-button';
import { DBOT_ONBOARDING_MOBILE, TMobileTourConfig } from '../tour-content';
@@ -68,9 +69,10 @@ const OnboardingTourMobile = observer(() => {
data-testid='dbot-onboard-slider__navbar'
>{`${tour_step_key - 1}/7`}
-