Skip to content

Commit 5b3f9d3

Browse files
authored
Merge pull request #426 from fcollonval/410-dark-theme-history
Correct dark theming
2 parents 47613e2 + 6598448 commit 5b3f9d3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+532
-487
lines changed

jest.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
module.exports = {
22
automock: false,
33
moduleNameMapper: {
4-
'\\.(css|less|sass|scss)$': 'identity-obj-proxy'
4+
'\\.(css|less|sass|scss)$': 'identity-obj-proxy',
5+
'\\.(svg)$': '<rootDir>/testutils/jest-file-mock.js'
56
},
67
preset: 'ts-jest/presets/js-with-babel',
78
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
8-
setupFiles: ['./setupJest.js'],
9+
setupFiles: ['<rootDir>/testutils/jest-setup-files.js'],
910
testPathIgnorePatterns: ['/dev_mode/', '/lib/', '/node_modules/'],
1011
testRegex: '/tests/test-.*/.*.spec.ts[x]?$',
1112
transformIgnorePatterns: ['/node_modules/(?!(@jupyterlab/.*)/)'],

package.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
"style/*.css",
3232
"style/images/*.svg"
3333
],
34+
"sideEffects": [
35+
"style/*.css"
36+
],
3437
"jupyterlab": {
3538
"extension": true,
3639
"discovery": {
@@ -46,14 +49,15 @@
4649
}
4750
},
4851
"dependencies": {
49-
"@jupyterlab/application": "^1.0.0",
50-
"@jupyterlab/apputils": "^1.0.0",
51-
"@jupyterlab/console": "^1.0.0",
52-
"@jupyterlab/coreutils": "^3.0.0",
53-
"@jupyterlab/filebrowser": "^1.0.0",
54-
"@jupyterlab/mainmenu": "^1.0.0",
55-
"@jupyterlab/services": "^4.0.0",
56-
"@jupyterlab/terminal": "^1.0.0",
52+
"@jupyterlab/application": "^1.1.0",
53+
"@jupyterlab/apputils": "^1.1.0",
54+
"@jupyterlab/console": "^1.1.0",
55+
"@jupyterlab/coreutils": "^3.1.0",
56+
"@jupyterlab/filebrowser": "^1.1.0",
57+
"@jupyterlab/mainmenu": "^1.1.0",
58+
"@jupyterlab/services": "^4.1.0",
59+
"@jupyterlab/terminal": "^1.1.0",
60+
"@jupyterlab/ui-components": "^1.1.0",
5761
"@phosphor/widgets": "^1.8.0",
5862
"nbdime": "~5.0.1",
5963
"react": "~16.8.4",

src/components/BranchHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
branchHeaderCenterContent,
2626
branchTrackingIconStyle,
2727
branchTrackingLabelStyle
28-
} from '../componentsStyle/BranchHeaderStyle';
28+
} from '../style/BranchHeaderStyle';
2929

3030
import { classes } from 'typestyle';
3131

src/components/CommitBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
textInputStyle,
55
stagedCommitStyle,
66
stagedCommitMessageStyle
7-
} from '../componentsStyle/BranchHeaderStyle';
7+
} from '../style/BranchHeaderStyle';
88

99
import { classes } from 'typestyle';
1010

src/components/FileItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
changeStageButtonStyle,
66
diffFileButtonStyle,
77
discardFileButtonStyle
8-
} from '../componentsStyle/GitStageStyle';
8+
} from '../style/GitStageStyle';
99

1010
import {
1111
disabledFileStyle,
@@ -22,7 +22,7 @@ import {
2222
selectedFileChangedLabelStyle,
2323
selectedFileStyle,
2424
sideBarExpandedFileLabelStyle
25-
} from '../componentsStyle/FileItemStyle';
25+
} from '../style/FileItemStyle';
2626

2727
import { classes } from 'typestyle';
2828

src/components/FileList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131
spreadsheetFileIconStyle,
3232
yamlFileIconSelectedStyle,
3333
yamlFileIconStyle
34-
} from '../componentsStyle/FileListStyle';
34+
} from '../style/FileListStyle';
3535
import { Git, IGitShowPrefixResult } from '../git';
3636
import { GitStage } from './GitStage';
3737

src/components/GitPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
panelContainerStyle,
2727
panelWarningStyle,
2828
findRepoButtonStyle
29-
} from '../componentsStyle/GitPanelStyle';
29+
} from '../style/GitPanelStyle';
3030
import { IRenderMimeRegistry } from '@jupyterlab/rendermime';
3131

3232
/** Interface for GitPanel component state */

src/components/GitStage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
caretrightImageStyle,
1313
changeStageButtonLeftStyle,
1414
discardFileButtonStyle
15-
} from '../componentsStyle/GitStageStyle';
15+
} from '../style/GitStageStyle';
1616

1717
import { FileItem } from './FileItem';
1818

src/components/GitWidget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { ISignal, Signal } from '@phosphor/signaling';
1414

1515
import { GitPanel } from './GitPanel';
1616

17-
import { gitWidgetStyle } from '../componentsStyle/GitWidgetStyle';
17+
import { gitWidgetStyle } from '../style/GitWidgetStyle';
1818

1919
import { IDiffCallback } from '../git';
2020

src/components/HistorySideBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { JupyterFrontEnd } from '@jupyterlab/application';
22
import * as React from 'react';
3-
import { historySideBarStyle } from '../componentsStyle/HistorySideBarStyle';
3+
import { historySideBarStyle } from '../style/HistorySideBarStyle';
44
import { IGitBranchResult, ISingleCommitInfo, IDiffCallback } from '../git';
55
import { PastCommitNode } from './PastCommitNode';
66
import { IRenderMimeRegistry } from '@jupyterlab/rendermime';

0 commit comments

Comments
 (0)