webssh2_client 2.0.0-alpha.3 → 2.0.0-alpha.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/README.md CHANGED
@@ -60,6 +60,14 @@ For server setup instructions, refer to the [WebSSH2 server documentation](https
60
60
  ## Client Features
61
61
 
62
62
  - Web-based SSH client with xterm.js terminal emulation
63
+ - **Terminal Search Functionality:**
64
+ - Real-time search with live match highlighting
65
+ - Case-sensitive and regex search options
66
+ - Whole word matching
67
+ - Match counter (current/total)
68
+ - OS-aware keyboard shortcuts (Ctrl+F on Windows/Linux, ⌘F on macOS)
69
+ - Navigation with Enter/Shift+Enter or arrow buttons
70
+ - F3/Shift+F3 for quick match navigation
63
71
  - Customizable terminal settings:
64
72
  - Font size and family
65
73
  - Color schemes
@@ -221,13 +229,20 @@ For backward compatibility, the original `headerBackground` parameter is still s
221
229
 
222
230
  ```
223
231
  # Solid Colors
224
- bg-red-600, bg-blue-500, bg-green-500, bg-yellow-500, bg-purple-500
225
- bg-slate-700, bg-gray-800
232
+ bg-red-500, bg-red-600, bg-blue-500, bg-blue-600, bg-green-500, bg-yellow-500
233
+ bg-purple-500, bg-pink-500, bg-indigo-500, bg-cyan-500, bg-emerald-500, bg-slate-700
226
234
 
227
- # Gradients (Direction + Colors)
228
- bg-gradient-to-r from-red-600 to-red-700
229
- bg-gradient-to-br from-purple-500 via-pink-500 to-yellow-400
230
- bg-gradient-to-tl from-blue-400 to-cyan-500
235
+ # Gradients (All 8 Directions Available)
236
+ bg-gradient-to-r, bg-gradient-to-l, bg-gradient-to-t, bg-gradient-to-b
237
+ bg-gradient-to-tr, bg-gradient-to-tl, bg-gradient-to-br, bg-gradient-to-bl
238
+
239
+ # Color Ranges (from/to/via)
240
+ from-red-500 to from-red-700, from-blue-500 to from-blue-700
241
+ from-green-500 to from-green-700, from-yellow-400 to from-yellow-500
242
+ from-orange-400 to from-orange-500, from-purple-500 to from-purple-600
243
+ from-indigo-500 to from-indigo-600, from-pink-500 to from-pink-600
244
+ from-cyan-400 to from-cyan-500, from-emerald-500, from-teal-500, from-slate-700
245
+ via-yellow-500, via-pink-500, via-purple-500, via-blue-500
231
246
  ```
232
247
 
233
248
  **📝 Text Styling**
@@ -235,7 +250,8 @@ bg-gradient-to-tl from-blue-400 to-cyan-500
235
250
  ```
236
251
  # Sizes: text-xs, text-sm, text-base, text-lg, text-xl, text-2xl, text-3xl, text-4xl
237
252
  # Weights: font-normal, font-medium, font-semibold, font-bold, font-black
238
- # Colors: text-white, text-black, text-yellow-100, text-red-100, text-blue-100
253
+ # Colors: text-white, text-black, text-yellow-100, text-blue-100, text-red-100, text-green-100, text-gray-100
254
+ # Alignment: text-center, text-left
239
255
 
240
256
  # Examples
241
257
  text-2xl font-bold text-white
@@ -249,6 +265,7 @@ text-4xl font-black text-yellow-100
249
265
  # Available: h-4, h-5, h-6, h-7, h-8, h-10, h-12, h-14, h-16
250
266
  # Default was h-6 (24px), now customizable
251
267
 
268
+ h-5 # Very compact header
252
269
  h-8 # Compact header
253
270
  h-12 # Standard header
254
271
  h-16 # Prominent header
@@ -262,22 +279,26 @@ animate-pulse # Pulsing effect for alerts
262
279
  animate-bounce # Bouncing for urgent notifications
263
280
 
264
281
  # Shadows
265
- shadow-md, shadow-lg, shadow-xl
282
+ shadow, shadow-md, shadow-lg, shadow-xl
266
283
 
267
284
  # Borders
268
- border-2 border-white border-dashed
269
- rounded-lg, rounded-xl
285
+ border, border-2, border-4
286
+ border-red-500, border-blue-500, border-white
287
+ border-dashed, border-solid
288
+
289
+ # Border Radius
290
+ rounded, rounded-lg, rounded-xl
270
291
  ```
271
292
 
272
293
  **📍 Layout & Positioning**
273
294
 
274
295
  ```
275
296
  # Text Alignment
276
- text-left, text-center, text-right
297
+ text-left, text-center
277
298
 
278
- # Spacing
279
- px-4, px-6 (horizontal padding)
280
- py-2, py-3 (vertical padding)
299
+ # Spacing (Padding)
300
+ px-2, px-4, px-6 (horizontal padding)
301
+ py-1, py-2, py-3 (vertical padding)
281
302
 
282
303
  # Flexbox (for complex layouts)
283
304
  flex items-center justify-center
@@ -317,10 +338,10 @@ bg-purple-600 rounded-lg h-10 font-semibold
317
338
 
318
339
  **⚡ Quick Reference:**
319
340
 
320
- - **Colors**: red, blue, green, yellow, purple, pink, cyan, emerald, slate, gray
321
- - **Shades**: 400 (lighter), 500 (medium), 600 (darker), 700 (darkest common)
341
+ - **Solid Colors**: red-500/600, blue-500/600, green-500, yellow-500, purple-500, pink-500, indigo-500, cyan-500, emerald-500, slate-700
342
+ - **Gradient Colors**: Full range 400-700 for red/blue/green, 400-500 for yellow/orange, 500-600 for purple/indigo/pink, etc.
322
343
  - **Text sizes**: xs, sm, base, lg, xl, 2xl, 3xl, 4xl
323
- - **Heights**: 4-16 (h-4 = 16px, h-16 = 64px)
344
+ - **Heights**: 4, 5, 6, 7, 8, 10, 12, 14, 16 (h-4 = 16px, h-16 = 64px)
324
345
  - **Combine freely**: `bg-blue-500 h-12 text-xl font-bold animate-pulse shadow-lg`
325
346
 
326
347
  ##### Styling System Features
@@ -338,7 +359,7 @@ The system automatically detects whether you're using:
338
359
  - **Layout:** Heights, padding, margins, flexbox
339
360
  - **Borders:** Styles, colors, radius
340
361
  - **Effects:** Shadows, animations
341
- - **Bundle Optimized:** Curated safelist keeps CSS file size reasonable (~38KB)
362
+ - **Bundle Optimized:** Curated safelist keeps CSS file size reasonable (~33KB)
342
363
 
343
364
  **Backward Compatibility:**
344
365
 
@@ -1,4 +1,4 @@
1
- <!-- Version Version 2.0.0-alpha.3 - 2025-09-07T02:29:57.066Z - 5a009ff -->
1
+ <!-- Version Version 2.0.0-alpha.4 - 2025-09-07T18:45:01.214Z - 624afa7 -->
2
2
  <!-- webssh2-client -->
3
3
  <!-- /client/src/client.htm -->
4
4
  <!DOCTYPE html>
@@ -14,6 +14,9 @@
14
14
  color: #f5f5f5 !important;
15
15
  }
16
16
  </style>
17
+ <script>
18
+ window.webssh2Config = null;
19
+ </script>
17
20
  <script type="module" crossorigin src="./webssh2.bundle.js"></script>
18
21
  <link rel="stylesheet" crossorigin href="./webssh2.css">
19
22
  </head>