This repository was archived by the owner on Jan 6, 2026. It is now read-only.
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 11import { useEffect , useState } from 'react' ;
2+ import { Icon } from '../Icon/Icon.js' ;
23import {
34 checkboxContainer ,
4- checkboxLabel ,
55 checkboxInput ,
6+ checkboxLabel ,
7+ checkedCustomCheckbox ,
68 customCheckbox ,
9+ disabledCheckbox ,
10+ indeterminateCustomCheckbox ,
711 svgCheckmark ,
812 svgIndeterminate ,
9- checkedCustomCheckbox ,
10- indeterminateCustomCheckbox ,
11- disabledCheckbox ,
1213} from './checkbox.css' ;
13- import { Icon } from '../Icon/Icon.js' ;
1414
1515export interface CheckboxProps {
1616 /**
Original file line number Diff line number Diff line change 11import { style } from '@vanilla-extract/css' ;
2- import { vars , common } from '../theme.css' ;
2+ import { common , vars } from '../theme.css' ;
33
44export const checkboxContainer = style ( {
55 display : 'flex' ,
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ import { NodeSettingsModal } from './NodeSettingsModal';
1111import { PodmanModal } from './PodmanModal' ;
1212import { PreferencesModal } from './PreferencesModal' ;
1313import { RemoveNodeModal } from './RemoveNodeModal' ;
14- import { UpdateModal } from './UpdateModal' ;
1514import { ResetConfigModal } from './ResetConfigModal' ;
15+ import { UpdateModal } from './UpdateModal' ;
1616import { modalRoutes } from './modalUtils' ;
1717
1818const ModalManager = ( ) => {
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import Button from '../../Generics/redesign/Button/Button';
66import CopyButton from '../../Generics/redesign/CopyButton/CopyButton.js' ;
77import { HeaderButton } from '../../Generics/redesign/HeaderButton/HeaderButton' ;
88import type { NodeAction } from '../../Generics/redesign/consts' ;
9+ import { SYNC_STATUS } from '../../Generics/redesign/consts.js' ;
910import { getStatusObject } from '../../Generics/redesign/utils.js' ;
1011import type { NodeBackgroundId } from '../../assets/images/nodeBackgrounds' ;
1112import electron from '../../electronGlobal' ;
@@ -33,7 +34,6 @@ import {
3334 descriptionFont ,
3435 titleFont ,
3536} from './NodeScreen.css' ;
36- import { SYNC_STATUS } from '../../Generics/redesign/consts.js' ;
3737
3838let alphaModalRendered = false ;
3939
Original file line number Diff line number Diff line change 11import moment from 'moment' ;
2- import { useEffect , useState , useCallback } from 'react' ;
2+ import { useCallback , useEffect , useState } from 'react' ;
33import { type NodePackage , NodeStatus } from '../../../common/node' ;
44import { SidebarNodeItem } from '../../Generics/redesign/SidebarNodeItem/SidebarNodeItem' ;
5+ import { SYNC_STATUS } from '../../Generics/redesign/consts.js' ;
56import { getStatusObject , getSyncStatus } from '../../Generics/redesign/utils' ;
67import { useAppDispatch , useAppSelector } from '../../state/hooks' ;
78import { selectUserNodes } from '../../state/node' ;
@@ -11,7 +12,6 @@ import {
1112 useGetExecutionPeersQuery ,
1213} from '../../state/services' ;
1314import { getSyncDataForServiceAndNode } from '../../utils.js' ;
14- import { SYNC_STATUS } from '../../Generics/redesign/consts.js' ;
1515
1616export type SidebarNodeStatus =
1717 | 'online'
Original file line number Diff line number Diff line change 11import { useEffect , useState } from 'react' ;
22import { useTranslation } from 'react-i18next' ;
33import 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' ;
410import type { ModalConfig } from '../ModalManager/modalUtils' ;
11+ import { modalRoutes } from '../ModalManager/modalUtils.js' ;
512import {
613 container ,
14+ loadingIcon ,
15+ statusButton ,
716 statusContainer ,
817 statusIcon ,
9- successIcon ,
10- loadingIcon ,
1118 statusText ,
12- statusButton ,
19+ successIcon ,
1320} 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' ;
2121
2222export interface UpdateProps {
2323 updateStatus : string ; // The current status of the update process
Original file line number Diff line number Diff line change 11import { useEffect , useState } from 'react' ;
2+ import electron from '../../../renderer/electronGlobal.js' ;
3+ import type { NodeOverviewProps } from '../../Generics/redesign/consts.js' ;
24import { useAppSelector } from '../../state/hooks' ;
35import { selectSelectedNodePackage } from '../../state/node' ;
46import type { ModalConfig } from '../ModalManager/modalUtils' ;
57import Update from './Update' ;
6- import type { NodeOverviewProps } from '../../Generics/redesign/consts.js' ;
7- import electron from '../../../renderer/electronGlobal.js' ;
88
99export interface UpdateWrapperProps {
1010 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' ;
33
44export const container = style ( {
55 display : 'flex' ,
You can’t perform that action at this time.
0 commit comments