Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…moving unused references to chroma-js, updating dependencies to latest levels, correctly importing chroma-js
  • Loading branch information
aaronreed708 committed Aug 14, 2024
1 parent c4cd174 commit cc1f5d3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@
"prepare": "tsc"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@types/jest": "^29.5.1",
"babel-jest": "^29.5.0",
"@babel/preset-env": "^7.25.3",
"@types/jest": "^29.5.12",
"babel-jest": "^29.7.0",
"jest": "^29.5.0",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typedoc": "^0.23.28",
"typescript": "^4.9.4"
"ts-jest": "^29.2.4",
"ts-node": "^10.9.2",
"typedoc": "^0.26.5",
"typescript": "^5.5.4"
},
"dependencies": {
"@types/chroma-js": "^2.1.5",
"chroma-js": "^2.4.2"
"@types/chroma-js": "^2.4.4",
"chroma-js": "^2.6.0"
}
}
1 change: 0 additions & 1 deletion src/atoms/colorPalette.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* Copyright (c) 2023 Discover Financial Services
* Licensed under Apache-2.0 License. See License.txt in the project root for license information
*/
import * as chroma from "chroma-js";
import { Node } from "../common/node";
import { Atom } from "./atom";
import { MyMap } from "../util/myMap";
Expand Down
2 changes: 1 addition & 1 deletion src/atoms/colorThemes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Licensed under Apache-2.0 License. See License.txt in the project root for license information
*/
/* eslint-disable */
import * as chroma from "chroma-js";
import chroma from "chroma-js";
import { Atom } from "./atom";
import { ColorPalette } from "./colorPalette";
import { Node } from "../common/node";
Expand Down
1 change: 0 additions & 1 deletion src/atoms/inputBackground.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* Copyright (c) 2023 Discover Financial Services
* Licensed under Apache-2.0 License. See License.txt in the project root for license information
*/
import * as chroma from "chroma-js";
import { TitledShade, PropertyTitledShade } from "../common/props";
import { ColorTheme } from "./colorThemes";
import { Atom } from "./atom";
Expand Down
2 changes: 1 addition & 1 deletion src/common/shade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c) 2023 Discover Financial Services
* Licensed under Apache-2.0 License. See License.txt in the project root for license information
*/
import * as chroma from "chroma-js";
import chroma from "chroma-js";
import { Logger } from "../util/logger";
import { Util } from "../util/util";

Expand Down

0 comments on commit cc1f5d3

Please sign in to comment.