6877807aaf
Convert the eager typographySettingsStore singleton to getTypographySettingsStore() (+ __resetTypographySettingsStore for tests) and update barrels and consumers (TypographyMenu, FontSampler, SampleList, ComparisonView Line/SliderArea, comparisonStore + its mock). Fix a latent leak while here: the store ran $effect.root and discarded the returned cleanup, so its storage-sync effects outlived every instance. Capture the disposer and expose destroy(), which __reset now calls.
10 lines
221 B
TypeScript
10 lines
221 B
TypeScript
export {
|
|
createTypographySettingsStore,
|
|
getTypographySettingsStore,
|
|
MULTIPLIER_L,
|
|
MULTIPLIER_M,
|
|
MULTIPLIER_S,
|
|
type TypographySettingsStore,
|
|
} from './model';
|
|
export { TypographyMenu } from './ui';
|