File size: 1,226 Bytes
15c3607
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
 *
 * FORMS & INPUTS
 *
 * Form-related utility components.
 *
 */

/**
 * **InputWithSuggestions** - Input field with autocomplete suggestions
 *
 * Text input with dropdown suggestions and keyboard navigation.
 * Supports autocomplete functionality with suggestion loading.
 *
 * **Features:**
 * - Autocomplete dropdown with suggestions
 * - Keyboard navigation (arrow keys, enter)
 * - Loading state for suggestions
 * - Focus and blur handling
 */
export { default as InputWithSuggestions } from './InputWithSuggestions.svelte';

/**
 * **KeyValuePairs** - Editable key-value list
 *
 * Dynamic list of key-value pairs with add/remove functionality.
 * Used for HTTP headers, metadata, and configuration.
 *
 * **Features:**
 * - Add new pairs with button
 * - Remove individual pairs
 * - Customizable placeholders and labels
 * - Empty state message
 * - Auto-resize value textarea
 */
export { default as KeyValuePairs } from './KeyValuePairs.svelte';

/**
 * **SearchInput** - Search field with clear button
 *
 * Input field optimized for search with clear button and keyboard handling.
 * Supports placeholder, autofocus, and change callbacks.
 */
export { default as SearchInput } from './SearchInput.svelte';