tycono 0.1.107-beta.2 → 0.1.107
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/package.json
CHANGED
|
@@ -396,18 +396,17 @@ export const CommandMode: React.FC<CommandModeProps> = ({
|
|
|
396
396
|
{/* Quick action bar — shown when arrow down from input */}
|
|
397
397
|
{quickBarActive && (
|
|
398
398
|
<Box paddingX={0} marginTop={0}>
|
|
399
|
-
{QUICK_ACTIONS.map((action, i) =>
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
<Text color="gray" dimColor> \u2190\u2192 select Enter open \u2191 back</Text>
|
|
399
|
+
{QUICK_ACTIONS.map((action, i) => {
|
|
400
|
+
const selected = i === quickBarIndex;
|
|
401
|
+
return (
|
|
402
|
+
<Box key={action} marginRight={1}>
|
|
403
|
+
<Text color={selected ? 'cyan' : 'gray'} bold={selected}>
|
|
404
|
+
{selected ? `[ ${action} ]` : ` ${action} `}
|
|
405
|
+
</Text>
|
|
406
|
+
</Box>
|
|
407
|
+
);
|
|
408
|
+
})}
|
|
409
|
+
<Text color="gray" dimColor> \u2190\u2192 Enter \u2191back</Text>
|
|
411
410
|
</Box>
|
|
412
411
|
)}
|
|
413
412
|
</Box>
|