feat(fonts): implement Phase 4 - Update UI Components

- Replaced fontshareStore with unifiedFontStore in FontSearch.svelte
- Replaced fontshareStore with unifiedFontStore in SuggestedFonts.svelte
- Updated Font entity exports to include unifiedFontStore
- Updated model exports to include unified store exports
- Kept fontshareStore exports as deprecated for backward compatibility

Phase 4/7: Proxy API Integration for GlyphDiff
This commit is contained in:
Ilia Mashkov
2026-01-29 14:43:07 +03:00
parent 10801a641a
commit d6607e5705
4 changed files with 33 additions and 9 deletions

View File

@@ -1,3 +1,14 @@
// Proxy API (PRIMARY)
export {
fetchProxyFontById,
fetchProxyFonts,
} from './api/proxy/proxyFonts';
export type {
ProxyFontsParams,
ProxyFontsResponse,
} from './api/proxy/proxyFonts';
// Fontshare API (DEPRECATED)
export {
fetchAllFontshareFonts,
fetchFontshareFontBySlug,
@@ -7,6 +18,8 @@ export type {
FontshareParams,
FontshareResponse,
} from './api/fontshare/fontshare';
// Google Fonts API (DEPRECATED)
export {
fetchGoogleFontFamily,
fetchGoogleFonts,
@@ -61,13 +74,17 @@ export type {
export {
appliedFontsManager,
createFontshareStore,
createUnifiedFontStore,
fetchFontshareFontsQuery,
fontshareStore,
selectedFontsStore,
unifiedFontStore,
} from './model';
// Stores
// Stores (DEPRECATED)
export {
createFontshareStore,
fontshareStore,
} from './model';
export {
createGoogleFontsStore,
GoogleFontsStore,