2026-01-09 16:14:38 +03:00
|
|
|
export {
|
2026-01-13 20:00:36 +03:00
|
|
|
normalizeFontshareFont,
|
|
|
|
|
normalizeFontshareFonts,
|
|
|
|
|
normalizeGoogleFont,
|
|
|
|
|
normalizeGoogleFonts,
|
|
|
|
|
} from './normalize/normalize';
|
2026-02-05 11:40:23 +03:00
|
|
|
|
|
|
|
|
export { getFontUrl } from './getFontUrl/getFontUrl';
|
2026-02-19 13:58:12 +03:00
|
|
|
|
|
|
|
|
// Mock data helpers for Storybook and testing
|
|
|
|
|
export {
|
|
|
|
|
createCategoriesFilter,
|
|
|
|
|
createErrorState,
|
|
|
|
|
createGenericFilter,
|
|
|
|
|
createLoadingState,
|
|
|
|
|
createMockComparisonStore,
|
|
|
|
|
// Filter mocks
|
|
|
|
|
createMockFilter,
|
|
|
|
|
createMockFontApiResponse,
|
|
|
|
|
createMockFontStoreState,
|
|
|
|
|
// Store mocks
|
|
|
|
|
createMockQueryState,
|
|
|
|
|
createMockReactiveState,
|
|
|
|
|
createMockStore,
|
|
|
|
|
createProvidersFilter,
|
|
|
|
|
createSubsetsFilter,
|
|
|
|
|
createSuccessState,
|
|
|
|
|
FONTHARE_FONTS,
|
|
|
|
|
generateMixedCategoryFonts,
|
|
|
|
|
generateMockFonts,
|
|
|
|
|
generatePaginatedFonts,
|
|
|
|
|
generateSequentialFilter,
|
|
|
|
|
GENERIC_FILTERS,
|
|
|
|
|
getAllMockFonts,
|
|
|
|
|
getFontsByCategory,
|
|
|
|
|
getFontsByProvider,
|
|
|
|
|
GOOGLE_FONTS,
|
|
|
|
|
MOCK_FILTERS,
|
|
|
|
|
MOCK_FILTERS_ALL_SELECTED,
|
|
|
|
|
MOCK_FILTERS_EMPTY,
|
|
|
|
|
MOCK_FILTERS_SELECTED,
|
|
|
|
|
MOCK_FONT_STORE_STATES,
|
|
|
|
|
MOCK_STORES,
|
|
|
|
|
type MockFilterOptions,
|
|
|
|
|
type MockFilters,
|
|
|
|
|
mockFontshareFont,
|
|
|
|
|
type MockFontshareFontOptions,
|
|
|
|
|
type MockFontStoreState,
|
|
|
|
|
// Font mocks
|
|
|
|
|
mockGoogleFont,
|
|
|
|
|
// Types
|
|
|
|
|
type MockGoogleFontOptions,
|
|
|
|
|
type MockQueryObserverResult,
|
|
|
|
|
type MockQueryState,
|
|
|
|
|
mockUnifiedFont,
|
|
|
|
|
type MockUnifiedFontOptions,
|
|
|
|
|
UNIFIED_FONTS,
|
|
|
|
|
} from './mocks';
|