bitty-tui 0.0.2 → 0.0.4

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/dist/cli.js CHANGED
File without changes
@@ -31,5 +31,5 @@ export function VaultList({ filteredCiphers, isFocused, selected, onSelect, }) {
31
31
  showStatusMessage("📋 Copied to clipboard!", "success");
32
32
  }
33
33
  }, { isActive: isFocused });
34
- return (_jsx(Box, { flexDirection: "column", width: "40%", borderStyle: "round", borderColor: isFocused ? primaryLight : "gray", borderRightColor: "gray", paddingX: 1, overflow: "hidden", children: _jsx(ScrollView, { isActive: isFocused, count: stdout.rows - 14, list: filteredCiphers, selectedIndex: selected ?? 0, onSelect: onSelect, children: ({ el: cipher, selected }) => (_jsxs(Box, { justifyContent: "space-between", backgroundColor: selected ? (isFocused ? primary : primaryDark) : "", children: [_jsxs(Box, { children: [_jsxs(Text, { children: [getTypeIcon(cipher.type), " "] }), _jsx(Text, { color: selected && isFocused ? "white" : "default", wrap: "truncate", children: cipher.name })] }), cipher.favorite && _jsx(Text, { color: "yellow", children: "\u2605" })] }, cipher.id)) }) }));
34
+ return (_jsx(Box, { flexDirection: "column", width: "40%", borderStyle: "round", borderColor: isFocused ? primaryLight : "gray", borderRightColor: "gray", paddingX: 1, overflow: "hidden", children: _jsx(ScrollView, { isActive: isFocused, count: Math.max(stdout.rows - 14, 20), list: filteredCiphers, selectedIndex: selected ?? 0, onSelect: onSelect, children: ({ el: cipher, selected }) => (_jsxs(Box, { justifyContent: "space-between", backgroundColor: selected ? (isFocused ? primary : primaryDark) : "", children: [_jsxs(Box, { children: [_jsxs(Text, { children: [getTypeIcon(cipher.type), " "] }), _jsx(Text, { color: selected && isFocused ? "white" : "default", wrap: "truncate", children: cipher.name })] }), cipher.favorite && _jsx(Text, { color: "yellow", children: "\u2605" })] }, cipher.id)) }) }));
35
35
  }
package/package.json CHANGED
@@ -1,7 +1,17 @@
1
1
  {
2
2
  "name": "bitty-tui",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "license": "MIT",
5
+ "repository": "https://github.com/mceck/bitty",
6
+ "keywords": [
7
+ "bitwarden",
8
+ "vaultwarden",
9
+ "tui",
10
+ "cli",
11
+ "terminal",
12
+ "ink",
13
+ "react"
14
+ ],
5
15
  "bin": {
6
16
  "bitty": "dist/cli.js"
7
17
  },
package/readme.md CHANGED
@@ -13,6 +13,8 @@ Bitwarden compatible TUI for your terminal.
13
13
  ![bw-dashboard](./media/screen1.png)
14
14
  ![bw-dashboard](./media/screen2.png)
15
15
 
16
+ Works also with Vaultwarden.
17
+
16
18
  ## Acknowledgments
17
19
 
18
20
  - [Bitwarden](https://github.com/bitwarden)