File tree Expand file tree Collapse file tree 8 files changed +24
-24
lines changed
Generics/redesign/Checkbox Expand file tree Collapse file tree 8 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 1
1
import { useEffect , useState } from 'react' ;
2
+ import { Icon } from '../Icon/Icon.js' ;
2
3
import {
3
4
checkboxContainer ,
4
- checkboxLabel ,
5
5
checkboxInput ,
6
+ checkboxLabel ,
7
+ checkedCustomCheckbox ,
6
8
customCheckbox ,
9
+ disabledCheckbox ,
10
+ indeterminateCustomCheckbox ,
7
11
svgCheckmark ,
8
12
svgIndeterminate ,
9
- checkedCustomCheckbox ,
10
- indeterminateCustomCheckbox ,
11
- disabledCheckbox ,
12
13
} from './checkbox.css' ;
13
- import { Icon } from '../Icon/Icon.js' ;
14
14
15
15
export interface CheckboxProps {
16
16
/**
Original file line number Diff line number Diff line change 1
1
import { style } from '@vanilla-extract/css' ;
2
- import { vars , common } from '../theme.css' ;
2
+ import { common , vars } from '../theme.css' ;
3
3
4
4
export const checkboxContainer = style ( {
5
5
display : 'flex' ,
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ import { NodeSettingsModal } from './NodeSettingsModal';
11
11
import { PodmanModal } from './PodmanModal' ;
12
12
import { PreferencesModal } from './PreferencesModal' ;
13
13
import { RemoveNodeModal } from './RemoveNodeModal' ;
14
- import { UpdateModal } from './UpdateModal' ;
15
14
import { ResetConfigModal } from './ResetConfigModal' ;
15
+ import { UpdateModal } from './UpdateModal' ;
16
16
import { modalRoutes } from './modalUtils' ;
17
17
18
18
const ModalManager = ( ) => {
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import Button from '../../Generics/redesign/Button/Button';
6
6
import CopyButton from '../../Generics/redesign/CopyButton/CopyButton.js' ;
7
7
import { HeaderButton } from '../../Generics/redesign/HeaderButton/HeaderButton' ;
8
8
import type { NodeAction } from '../../Generics/redesign/consts' ;
9
+ import { SYNC_STATUS } from '../../Generics/redesign/consts.js' ;
9
10
import { getStatusObject } from '../../Generics/redesign/utils.js' ;
10
11
import type { NodeBackgroundId } from '../../assets/images/nodeBackgrounds' ;
11
12
import electron from '../../electronGlobal' ;
@@ -33,7 +34,6 @@ import {
33
34
descriptionFont ,
34
35
titleFont ,
35
36
} from './NodeScreen.css' ;
36
- import { SYNC_STATUS } from '../../Generics/redesign/consts.js' ;
37
37
38
38
let alphaModalRendered = false ;
39
39
Original file line number Diff line number Diff line change 1
1
import moment from 'moment' ;
2
- import { useEffect , useState , useCallback } from 'react' ;
2
+ import { useCallback , useEffect , useState } from 'react' ;
3
3
import { type NodePackage , NodeStatus } from '../../../common/node' ;
4
4
import { SidebarNodeItem } from '../../Generics/redesign/SidebarNodeItem/SidebarNodeItem' ;
5
+ import { SYNC_STATUS } from '../../Generics/redesign/consts.js' ;
5
6
import { getStatusObject , getSyncStatus } from '../../Generics/redesign/utils' ;
6
7
import { useAppDispatch , useAppSelector } from '../../state/hooks' ;
7
8
import { selectUserNodes } from '../../state/node' ;
@@ -11,7 +12,6 @@ import {
11
12
useGetExecutionPeersQuery ,
12
13
} from '../../state/services' ;
13
14
import { getSyncDataForServiceAndNode } from '../../utils.js' ;
14
- import { SYNC_STATUS } from '../../Generics/redesign/consts.js' ;
15
15
16
16
export type SidebarNodeStatus =
17
17
| 'online'
Original file line number Diff line number Diff line change 1
1
import { useEffect , useState } from 'react' ;
2
2
import { useTranslation } from 'react-i18next' ;
3
3
import type { NodePackage } from '../../../common/node' ;
4
+ import { setModalState } from '../..//state/modal.js' ;
5
+ import Button from '../../Generics/redesign/Button/Button.js' ;
6
+ import { Icon } from '../../Generics/redesign/Icon/Icon.js' ;
7
+ import { UpdateCallout } from '../../Generics/redesign/UpdateCallout/UpdateCallout.js' ;
8
+ import type { NodeOverviewProps } from '../../Generics/redesign/consts.js' ;
9
+ import { useAppDispatch } from '../../state/hooks.js' ;
4
10
import type { ModalConfig } from '../ModalManager/modalUtils' ;
11
+ import { modalRoutes } from '../ModalManager/modalUtils.js' ;
5
12
import {
6
13
container ,
14
+ loadingIcon ,
15
+ statusButton ,
7
16
statusContainer ,
8
17
statusIcon ,
9
- successIcon ,
10
- loadingIcon ,
11
18
statusText ,
12
- statusButton ,
19
+ successIcon ,
13
20
} from './update.css' ;
14
- import { UpdateCallout } from '../../Generics/redesign/UpdateCallout/UpdateCallout.js' ;
15
- import Button from '../../Generics/redesign/Button/Button.js' ;
16
- import { Icon } from '../../Generics/redesign/Icon/Icon.js' ;
17
- import type { NodeOverviewProps } from '../../Generics/redesign/consts.js' ;
18
- import { useAppDispatch } from '../../state/hooks.js' ;
19
- import { setModalState } from '../..//state/modal.js' ;
20
- import { modalRoutes } from '../ModalManager/modalUtils.js' ;
21
21
22
22
export interface UpdateProps {
23
23
updateStatus : string ; // The current status of the update process
Original file line number Diff line number Diff line change 1
1
import { useEffect , useState } from 'react' ;
2
+ import electron from '../../../renderer/electronGlobal.js' ;
3
+ import type { NodeOverviewProps } from '../../Generics/redesign/consts.js' ;
2
4
import { useAppSelector } from '../../state/hooks' ;
3
5
import { selectSelectedNodePackage } from '../../state/node' ;
4
6
import type { ModalConfig } from '../ModalManager/modalUtils' ;
5
7
import Update from './Update' ;
6
- import type { NodeOverviewProps } from '../../Generics/redesign/consts.js' ;
7
- import electron from '../../../renderer/electronGlobal.js' ;
8
8
9
9
export interface UpdateWrapperProps {
10
10
modalOnClose : ( ) => void ;
Original file line number Diff line number Diff line change 1
- import { style , keyframes } from '@vanilla-extract/css' ;
2
- import { vars , common } from '../../Generics/redesign/theme.css' ;
1
+ import { keyframes , style } from '@vanilla-extract/css' ;
2
+ import { common , vars } from '../../Generics/redesign/theme.css' ;
3
3
4
4
export const container = style ( {
5
5
display : 'flex' ,
You can’t perform that action at this time.
0 commit comments