File tree Expand file tree Collapse file tree 11 files changed +26
-14
lines changed Expand file tree Collapse file tree 11 files changed +26
-14
lines changed Original file line number Diff line number Diff line change 1- import  classNames  from  'classnames' ; 
21import  React  from  'react' ; 
3- import  ButtonLoading  from  './button_loading ' ; 
4- import   Text   from   '../text' ; 
2+ import  classNames  from  'classnames ' ; 
3+ 
54import  {  Icon  }  from  '@/utils/tmp/dummy' ; 
65
6+ import  Text  from  '../text' ; 
7+ 
8+ import  ButtonLoading  from  './button_loading' ; 
9+ 
710export  type  TButtonCommonProps  =  { 
811    alternate : boolean ; 
912    black : boolean ; 
Original file line number Diff line number Diff line change 11import  Loading ,  {  TLoadingProps  }  from  '../loading/loading' ; 
2+ 
23import  '../loading/loading.scss' ; 
34
45const  ButtonLoading  =  ( 
Original file line number Diff line number Diff line change 11import  Button  from  './button' ; 
2+ 
23import  './button.scss' ; 
34
45export  default  Button ; 
Original file line number Diff line number Diff line change 11import  Loading  from  './loading' ; 
2+ 
23import  './loading.scss' ; 
34
45export  default  Loading ; 
Original file line number Diff line number Diff line change 11import  React  from  'react' ; 
22import  classNames  from  'classnames' ; 
3+ 
34import  Text  from  '../text/text' ; 
45
56export  type  TLoadingProps  =  React . HTMLProps < HTMLDivElement >  &  { 
Original file line number Diff line number Diff line change 1- import  {  render ,  screen ,  fireEvent  }  from  '@testing-library/react' ; 
1+ import  {  fireEvent ,  render ,  screen  }  from  '@testing-library/react' ; 
2+ 
23import  Modal  from  '../modal' ; 
34
45const  modalRoot  =  document . createElement ( 'div' ) ; 
Original file line number Diff line number Diff line change 11import  Modal  from  './modal' ; 
2+ 
23import  './modal.scss' ; 
34
45export  default  Modal ; 
Original file line number Diff line number Diff line change 11import  React  from  'react' ; 
2- import  classNames  from  'classnames' ; 
32import  ReactDOM  from  'react-dom' ; 
43import  {  CSSTransition  }  from  'react-transition-group' ; 
5- import  Body  from  './modal-body' ; 
6- import  Footer  from  './modal-footer' ; 
7- import  Text  from  '../text/text' ; 
4+ import  classNames  from  'classnames' ; 
5+ 
86import  {  useOnClickOutside  }  from  '@/hooks/useOnClickOutside' ; 
97import  {  Icon  }  from  '@/utils/tmp/dummy' ; 
108
9+ import  Text  from  '../text/text' ; 
10+ 
11+ import  Body  from  './modal-body' ; 
12+ import  Footer  from  './modal-footer' ; 
13+ 
1114interface  IClickEvent  extends  MouseEvent  { 
1215    path ?: HTMLElement [ ] ; 
1316} 
Original file line number Diff line number Diff line change @@ -4,12 +4,13 @@ import classNames from 'classnames';
44import  {  observer  }  from  'mobx-react-lite' ; 
55
66import  {  localize  }  from  '@deriv-com/translations' ; 
7- import  Dialog  from  '@/components/shared_ui/dialog' ; 
87
98import  {  NOTIFICATION_TYPE  }  from  '@/components/bot-notification/bot-notification-utils' ; 
109import  DesktopWrapper  from  '@/components/shared_ui/desktop-wrapper' ; 
10+ import  Dialog  from  '@/components/shared_ui/dialog' ; 
1111import  MobileFullPageModal  from  '@/components/shared_ui/mobile-full-page-modal' ; 
1212import  MobileWrapper  from  '@/components/shared_ui/mobile-wrapper' ; 
13+ import  Text  from  '@/components/shared_ui/text' ; 
1314import  {  DBOT_TABS  }  from  '@/constants/bot-contents' ; 
1415import  {  useStore  }  from  '@/hooks/useStore' ; 
1516import  {  Icon  }  from  '@/utils/tmp/dummy' ; 
@@ -18,7 +19,6 @@ import { rudderStackSendQsOpenEventFromDashboard } from '../bot-builder/quick-st
1819
1920import  DashboardBotList  from  './load-bot-preview/dashboard-bot-list' ; 
2021import  GoogleDrive  from  './load-bot-preview/google-drive' ; 
21- import  Text  from  '@/components/shared_ui/text' ; 
2222
2323type  TCardProps  =  { 
2424    has_dashboard_strategies : boolean ; 
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ import React from 'react';
22import  classnames  from  'classnames' ; 
33import  {  observer  }  from  'mobx-react-lite' ; 
44
5+ import  Button  from  '@/components/shared_ui/button' ; 
56import  StaticUrl  from  '@/components/shared_ui/static-url' ; 
67import  {  useStore  }  from  '@/hooks/useStore' ; 
78import  {  Icon ,  Localize ,  localize  }  from  '@/utils/tmp/dummy' ; 
8- import  Button  from  '@/components/shared_ui/button' ; 
99
1010const  GoogleDrive  =  observer ( ( )  =>  { 
1111    const  {  ui,  google_drive,  load_modal }  =  useStore ( ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments