Major overhaul to the theme and now functioning.

This commit is contained in:
2026-01-05 16:07:30 -05:00
parent 5823ca3c39
commit a475dfeab6
5218 changed files with 1643729 additions and 13229 deletions
@@ -0,0 +1,24 @@
// Types
import type { ComponentPublicInstance, InjectionKey, Ref } from 'vue';
import type { LocaleInstance, RtlInstance } from './locale.js';
import type { EasingFunction } from '../util/index.js';
export interface GoToInstance {
rtl: Ref<boolean>;
options: InternalGoToOptions;
}
export interface InternalGoToOptions {
container: ComponentPublicInstance | HTMLElement | string;
duration: number;
layout: boolean;
offset: number;
easing: string | EasingFunction;
patterns: Record<string, EasingFunction>;
}
export type GoToOptions = Partial<InternalGoToOptions>;
export declare const GoToSymbol: InjectionKey<GoToInstance>;
export declare function createGoTo(options: GoToOptions | undefined, locale: LocaleInstance & RtlInstance): GoToInstance;
export declare function scrollTo(_target: ComponentPublicInstance | HTMLElement | number | string, _options: GoToOptions, horizontal?: boolean, goTo?: GoToInstance): Promise<unknown>;
export declare function useGoTo(_options?: GoToOptions): {
(target: string | number | HTMLElement | ComponentPublicInstance, options?: Partial<Partial<InternalGoToOptions>> | undefined): Promise<unknown>;
horizontal: (target: string | number | HTMLElement | ComponentPublicInstance, options?: Partial<Partial<InternalGoToOptions>> | undefined) => Promise<unknown>;
};