diff --git a/src/shared/lib/index.ts b/src/shared/lib/index.ts index e2f6b3f..4effc6f 100644 --- a/src/shared/lib/index.ts +++ b/src/shared/lib/index.ts @@ -5,6 +5,7 @@ export { createDebouncedState, createEntityStore, createFilter, + createLenisContext, createPersistentStore, createResponsiveManager, createTypographyControl, @@ -13,11 +14,13 @@ export { type EntityStore, type Filter, type FilterModel, + getLenisContext, type LineData, type PersistentStore, type Property, type ResponsiveManager, responsiveManager, + setLenisContext, type TypographyControl, type VirtualItem, type Virtualizer, @@ -27,10 +30,12 @@ export { export { buildQueryString, clampNumber, + debounce, getDecimalPlaces, roundToStepPrecision, smoothScroll, splitArray, + throttle, } from './utils'; export { springySlideFade } from './transitions'; diff --git a/src/shared/lib/utils/index.ts b/src/shared/lib/utils/index.ts index 8bfc45f..904d58c 100644 --- a/src/shared/lib/utils/index.ts +++ b/src/shared/lib/utils/index.ts @@ -13,3 +13,4 @@ export { getDecimalPlaces } from './getDecimalPlaces/getDecimalPlaces'; export { roundToStepPrecision } from './roundToStepPrecision/roundToStepPrecision'; export { smoothScroll } from './smoothScroll/smoothScroll'; export { splitArray } from './splitArray/splitArray'; +export { throttle } from './throttle/throttle'; diff --git a/src/shared/ui/index.ts b/src/shared/ui/index.ts index 0adbb94..d1e57cf 100644 --- a/src/shared/ui/index.ts +++ b/src/shared/ui/index.ts @@ -13,4 +13,5 @@ export { default as SearchBar } from './SearchBar/SearchBar.svelte'; export { default as Section } from './Section/Section.svelte'; export { default as Skeleton } from './Skeleton/Skeleton.svelte'; export { default as Slider } from './Slider/Slider.svelte'; +export { default as SmoothScroll } from './SmoothScroll/SmoothScroll.svelte'; export { default as VirtualList } from './VirtualList/VirtualList.svelte';