shadowdocs 2.5.4 → 2.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +1 -1
- package/dist/ui/components/Menu.js +1 -1
- package/package.json +1 -1
- package/src/ui/components/Menu.tsx +1 -1
package/bin/cli.js
CHANGED
|
@@ -29,6 +29,6 @@ export default function Menu({ onSelect }) {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
|
-
return (_jsxs(Box, { flexDirection: "column", borderStyle: "bold", borderColor: "cyan", padding: 1, children: [_jsxs(Box, { flexDirection: "column", marginBottom: 1, children: [_jsx(Box, { children: ['S', 'H', 'A', 'D', 'O', 'W', 'D', 'O', 'C', 'S'].map((letter, i) => (_jsx(Text, { bold: true, color: rainbowColors[i], children: letter }, i))) }), _jsx(Text, { bold: true, color: "yellow", children: '═'.repeat(21) })] }), _jsx(Text, { bold: true, color: "cyan", children: "\u25B6 COMMANDS" }), _jsx(Text, { dimColor: true, children: '─'.repeat(20) }), menuItems.map((item, index) => (_jsx(Box, { flexDirection: "column", marginBottom: 1, children: index === selectedIndex ? (_jsxs(_Fragment, { children: [_jsxs(Text, { bold: true, color: "yellow", children: [" \u25B6 [", item.key, "]"] }), _jsxs(Text, { bold: true, color: "green", children: [" \u25B6 ", item.label] }), _jsxs(Text, { dimColor: true, children: [" ", item.desc] })] })) : (_jsxs(Text, { children: [" [", item.key, "] ", item.label] })) }, item.key))), _jsx(Text, { children: "\n" }), _jsx(Text, { bold: true, color: "cyan", children: "\u25B6 NAVIGATION" }), _jsx(Text, { dimColor: true, children: '─'.repeat(20) }), _jsx(Text, { color: "green", children: " w/\u2191 : Up s/\u2193 : Down" }), _jsx(Text, { color: "green", children: " Enter : Select q : Quit" }), _jsx(Text, { color: "green", children: " g/i/e/s/h : Quick select" }), _jsx(Text, { children: "\n" }), _jsx(Text, { bold: true, color: "yellow", children: '═'.repeat(21) }), _jsx(Text, { bold: true, color: "magenta", children: " Version 2.4
|
|
32
|
+
return (_jsxs(Box, { flexDirection: "column", borderStyle: "bold", borderColor: "cyan", padding: 1, children: [_jsxs(Box, { flexDirection: "column", marginBottom: 1, children: [_jsx(Box, { children: ['S', 'H', 'A', 'D', 'O', 'W', 'D', 'O', 'C', 'S'].map((letter, i) => (_jsx(Text, { bold: true, color: rainbowColors[i], children: letter }, i))) }), _jsx(Text, { bold: true, color: "yellow", children: '═'.repeat(21) })] }), _jsx(Text, { bold: true, color: "cyan", children: "\u25B6 COMMANDS" }), _jsx(Text, { dimColor: true, children: '─'.repeat(20) }), menuItems.map((item, index) => (_jsx(Box, { flexDirection: "column", marginBottom: 1, children: index === selectedIndex ? (_jsxs(_Fragment, { children: [_jsxs(Text, { bold: true, color: "yellow", children: [" \u25B6 [", item.key, "]"] }), _jsxs(Text, { bold: true, color: "green", children: [" \u25B6 ", item.label] }), _jsxs(Text, { dimColor: true, children: [" ", item.desc] })] })) : (_jsxs(Text, { children: [" [", item.key, "] ", item.label] })) }, item.key))), _jsx(Text, { children: "\n" }), _jsx(Text, { bold: true, color: "cyan", children: "\u25B6 NAVIGATION" }), _jsx(Text, { dimColor: true, children: '─'.repeat(20) }), _jsx(Text, { color: "green", children: " w/\u2191 : Up s/\u2193 : Down" }), _jsx(Text, { color: "green", children: " Enter : Select q : Quit" }), _jsx(Text, { color: "green", children: " g/i/e/s/h : Quick select" }), _jsx(Text, { children: "\n" }), _jsx(Text, { bold: true, color: "yellow", children: '═'.repeat(21) }), _jsx(Text, { bold: true, color: "magenta", children: " Version 2.5.4 " }), _jsx(Text, { bold: true, color: "yellow", children: '═'.repeat(21) })] }));
|
|
33
33
|
}
|
|
34
34
|
//# sourceMappingURL=Menu.js.map
|
package/package.json
CHANGED
|
@@ -77,7 +77,7 @@ export default function Menu({ onSelect }: MenuProps) {
|
|
|
77
77
|
|
|
78
78
|
<Text>{"\n"}</Text>
|
|
79
79
|
<Text bold color="yellow">{'═'.repeat(21)}</Text>
|
|
80
|
-
<Text bold color="magenta"> Version 2.4
|
|
80
|
+
<Text bold color="magenta"> Version 2.5.4 </Text>
|
|
81
81
|
<Text bold color="yellow">{'═'.repeat(21)}</Text>
|
|
82
82
|
</Box>
|
|
83
83
|
);
|