fix: import/export
This commit is contained in:
@@ -4,22 +4,8 @@
|
||||
* Exports service functions for fetching fonts from Google Fonts and Fontshare
|
||||
*/
|
||||
|
||||
export {
|
||||
cancelGoogleFontsQueries,
|
||||
fetchGoogleFontsQuery,
|
||||
getGoogleFontsQueryKey,
|
||||
invalidateGoogleFonts,
|
||||
prefetchGoogleFonts,
|
||||
useGoogleFontsQuery,
|
||||
} from './model/services/fetchGoogleFonts';
|
||||
export type { GoogleFontsQueryParams } from './model/services/fetchGoogleFonts';
|
||||
export { createGoogleFontsStore } from './model/services/fetchGoogleFonts';
|
||||
|
||||
export {
|
||||
cancelFontshareFontsQueries,
|
||||
fetchFontshareFontsQuery,
|
||||
getFontshareQueryKey,
|
||||
invalidateFontshareFonts,
|
||||
prefetchFontshareFonts,
|
||||
useFontshareFontsQuery,
|
||||
} from './model/services/fetchFontshareFonts';
|
||||
export type { FontshareQueryParams } from './model/services/fetchFontshareFonts';
|
||||
export { createFontshareStore } from './model/services/fetchFontshareFonts';
|
||||
|
||||
export { FontSearch } from './ui';
|
||||
|
||||
@@ -4,9 +4,8 @@ import {
|
||||
FONT_PROVIDERS,
|
||||
FONT_SUBSETS,
|
||||
} from '../const/const';
|
||||
import type { FilterGroupConfig } from '../const/types/common';
|
||||
|
||||
const filtersData: FilterGroupConfig[] = [
|
||||
const filtersData = [
|
||||
{
|
||||
id: 'providers',
|
||||
label: 'Font provider',
|
||||
|
||||
@@ -1,3 +1,18 @@
|
||||
import SetupFontMenu from './ui/SetupFontMenu.svelte';
|
||||
|
||||
export {
|
||||
controlManager,
|
||||
DEFAULT_FONT_SIZE,
|
||||
DEFAULT_FONT_WEIGHT,
|
||||
DEFAULT_LINE_HEIGHT,
|
||||
FONT_SIZE_STEP,
|
||||
FONT_WEIGHT_STEP,
|
||||
LINE_HEIGHT_STEP,
|
||||
MAX_FONT_SIZE,
|
||||
MAX_FONT_WEIGHT,
|
||||
MAX_LINE_HEIGHT,
|
||||
MIN_FONT_SIZE,
|
||||
MIN_FONT_WEIGHT,
|
||||
MIN_LINE_HEIGHT,
|
||||
} from './model';
|
||||
export { SetupFontMenu };
|
||||
|
||||
Reference in New Issue
Block a user