diff --git a/src/entities/Font/lib/index.ts b/src/entities/Font/lib/index.ts new file mode 100644 index 0000000..add6359 --- /dev/null +++ b/src/entities/Font/lib/index.ts @@ -0,0 +1,4 @@ +export { + createFontCollection, + type FontCollectionStore, +} from './helpers/createFontCollection.svelte'; diff --git a/src/entities/Font/model/index.ts b/src/entities/Font/model/index.ts new file mode 100644 index 0000000..7a58cd1 --- /dev/null +++ b/src/entities/Font/model/index.ts @@ -0,0 +1,38 @@ +export { fontCollection } from './store/fontCollection.svelte'; + +export type { + // Domain types + FontCategory, + FontCollectionFilters, + FontCollectionSort, + // Store types + FontCollectionState, + FontCollectionStore, + FontFeatures, + FontFiles, + FontItem, + FontMetadata, + FontProvider, + // Fontshare API types + FontshareApiModel, + FontshareAxis, + FontshareDesigner, + FontshareFeature, + FontshareFont, + FontshareLink, + FontsharePublisher, + FontshareStyle, + FontshareStyleProperties, + FontshareTag, + FontshareWeight, + FontStyleUrls, + FontSubset, + FontVariant, + FontWeight, + FontWeightItalic, + // Google Fonts API types + GoogleFontsApiModel, + // Normalization types + UnifiedFont, + UnifiedFontVariant, +} from './types'; diff --git a/src/features/FetchFonts/ui/index.ts b/src/features/FetchFonts/ui/index.ts new file mode 100644 index 0000000..e71451a --- /dev/null +++ b/src/features/FetchFonts/ui/index.ts @@ -0,0 +1,3 @@ +import FontSearch from './FontSearch/FontSearch.svelte'; + +export { FontSearch }; diff --git a/src/features/SetupFont/lib/index.ts b/src/features/SetupFont/lib/index.ts new file mode 100644 index 0000000..f1001f9 --- /dev/null +++ b/src/features/SetupFont/lib/index.ts @@ -0,0 +1 @@ +export { createTypographyControlManager } from './controlManager/controlManager.svelte'; diff --git a/src/features/SetupFont/model/index.ts b/src/features/SetupFont/model/index.ts new file mode 100644 index 0000000..8f7451c --- /dev/null +++ b/src/features/SetupFont/model/index.ts @@ -0,0 +1,16 @@ +export { + 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 './const/const'; + +export { controlManager } from './state/manager.svelte';