feat(fonts): implement Phase 1 - Create Proxy API Client
- Created src/entities/Font/api/proxy/proxyFonts.ts - Implemented fetchProxyFonts function with full pagination support - Implemented fetchProxyFontById convenience function - Added TypeScript interfaces: ProxyFontsParams, ProxyFontsResponse - Added comprehensive JSDoc documentation - Updated src/entities/Font/api/index.ts to export proxy API Phase 1/7: Proxy API Integration for GlyphDiff
This commit is contained in:
@@ -27,9 +27,10 @@ import { type SlideParams } from 'svelte/transition';
|
||||
|
||||
interface Props {
|
||||
showFilters?: boolean;
|
||||
isOpen?: boolean;
|
||||
}
|
||||
|
||||
let { showFilters = $bindable(false) }: Props = $props();
|
||||
let { showFilters = $bindable(false), isOpen = $bindable(false) }: Props = $props();
|
||||
|
||||
onMount(() => {
|
||||
/**
|
||||
@@ -68,6 +69,7 @@ function toggleFilters() {
|
||||
class="w-full"
|
||||
placeholder="Search fonts by name..."
|
||||
bind:value={filterManager.queryValue}
|
||||
bind:isOpen
|
||||
>
|
||||
<SuggestedFonts />
|
||||
</SearchBar>
|
||||
|
||||
Reference in New Issue
Block a user