Update sidebar component and styleUtils
This commit is contained in:
parent
306bdd9fd5
commit
a2dfadcf4a
2 changed files with 6 additions and 7 deletions
|
|
@ -6,8 +6,9 @@ export function sortKeys(a: string, b: string) {
|
||||||
"outputs",
|
"outputs",
|
||||||
"prompts",
|
"prompts",
|
||||||
"data",
|
"data",
|
||||||
|
"prompts",
|
||||||
"models",
|
"models",
|
||||||
"utilities",
|
"helpers",
|
||||||
];
|
];
|
||||||
const indexA = order.indexOf(a.toLowerCase());
|
const indexA = order.indexOf(a.toLowerCase());
|
||||||
const indexB = order.indexOf(b.toLowerCase());
|
const indexB = order.indexOf(b.toLowerCase());
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,8 @@ import {
|
||||||
Binary,
|
Binary,
|
||||||
BookMarked,
|
BookMarked,
|
||||||
BookmarkPlus,
|
BookmarkPlus,
|
||||||
PlusCircle,
|
|
||||||
PlusSquare,
|
|
||||||
Bot,
|
Bot,
|
||||||
Boxes,
|
Boxes,
|
||||||
GitCompare,
|
|
||||||
Braces,
|
Braces,
|
||||||
BrainCircuit,
|
BrainCircuit,
|
||||||
Check,
|
Check,
|
||||||
|
|
@ -90,6 +87,8 @@ import {
|
||||||
Pin,
|
Pin,
|
||||||
Play,
|
Play,
|
||||||
Plus,
|
Plus,
|
||||||
|
PlusCircle,
|
||||||
|
PlusSquare,
|
||||||
PocketKnife,
|
PocketKnife,
|
||||||
Redo,
|
Redo,
|
||||||
RefreshCcw,
|
RefreshCcw,
|
||||||
|
|
@ -231,7 +230,7 @@ export const nodeColors: { [char: string]: string } = {
|
||||||
textsplitters: "#B47CB5",
|
textsplitters: "#B47CB5",
|
||||||
toolkits: "#DB2C2C",
|
toolkits: "#DB2C2C",
|
||||||
wrappers: "#E6277A",
|
wrappers: "#E6277A",
|
||||||
utilities: "#31A3CC",
|
helpers: "#31A3CC",
|
||||||
langchain_utilities: "#31A3CC",
|
langchain_utilities: "#31A3CC",
|
||||||
output_parsers: "#E6A627",
|
output_parsers: "#E6A627",
|
||||||
str: "#31a3cc",
|
str: "#31a3cc",
|
||||||
|
|
@ -354,7 +353,7 @@ export const nodeIconsLucide: iconsType = {
|
||||||
toolkits: Package2,
|
toolkits: Package2,
|
||||||
textsplitters: Scissors,
|
textsplitters: Scissors,
|
||||||
wrappers: Gift,
|
wrappers: Gift,
|
||||||
utilities: Wand2,
|
helpers: Wand2,
|
||||||
langchain_utilities: PocketKnife,
|
langchain_utilities: PocketKnife,
|
||||||
WolframAlphaAPIWrapper: SvgWolfram,
|
WolframAlphaAPIWrapper: SvgWolfram,
|
||||||
output_parsers: Compass,
|
output_parsers: Compass,
|
||||||
|
|
@ -475,4 +474,3 @@ export const nodeIconsLucide: iconsType = {
|
||||||
Delete,
|
Delete,
|
||||||
Command,
|
Command,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue