veilkit 0.0.0-stage → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +54 -0
- package/LICENSE +21 -0
- package/README.md +801 -2
- package/dist/angular/index.cjs +660 -0
- package/dist/angular/index.cjs.map +1 -0
- package/dist/angular/index.d.cts +113 -0
- package/dist/angular/index.d.ts +113 -0
- package/dist/angular/index.js +660 -0
- package/dist/angular/index.js.map +1 -0
- package/dist/cli/index.cjs +25 -0
- package/dist/cli/index.cjs.map +1 -0
- package/dist/cli/index.d.cts +1 -0
- package/dist/cli/index.d.ts +1 -0
- package/dist/cli/index.js +25 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/controller-B6kFsWzi.d.cts +195 -0
- package/dist/controller-Ceub9kLC.d.ts +195 -0
- package/dist/element/index.cjs +660 -0
- package/dist/element/index.cjs.map +1 -0
- package/dist/element/index.d.cts +48 -0
- package/dist/element/index.d.ts +48 -0
- package/dist/element/index.js +660 -0
- package/dist/element/index.js.map +1 -0
- package/dist/index.cjs +660 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +211 -0
- package/dist/index.d.ts +211 -0
- package/dist/index.js +660 -0
- package/dist/index.js.map +1 -0
- package/dist/native/index.cjs +2 -0
- package/dist/native/index.cjs.map +1 -0
- package/dist/native/index.d.cts +54 -0
- package/dist/native/index.d.ts +54 -0
- package/dist/native/index.js +2 -0
- package/dist/native/index.js.map +1 -0
- package/dist/react/index.cjs +660 -0
- package/dist/react/index.cjs.map +1 -0
- package/dist/react/index.d.cts +121 -0
- package/dist/react/index.d.ts +121 -0
- package/dist/react/index.js +660 -0
- package/dist/react/index.js.map +1 -0
- package/dist/styles.css +509 -0
- package/dist/svelte/index.cjs +660 -0
- package/dist/svelte/index.cjs.map +1 -0
- package/dist/svelte/index.d.cts +48 -0
- package/dist/svelte/index.d.ts +48 -0
- package/dist/svelte/index.js +660 -0
- package/dist/svelte/index.js.map +1 -0
- package/dist/themes/index.cjs +2 -0
- package/dist/themes/index.cjs.map +1 -0
- package/dist/themes/index.d.cts +18 -0
- package/dist/themes/index.d.ts +18 -0
- package/dist/themes/index.js +2 -0
- package/dist/themes/index.js.map +1 -0
- package/dist/types-CnR-rU97.d.cts +176 -0
- package/dist/types-CnR-rU97.d.ts +176 -0
- package/dist/veilkit.min.js +659 -0
- package/dist/vue/index.cjs +660 -0
- package/dist/vue/index.cjs.map +1 -0
- package/dist/vue/index.d.cts +512 -0
- package/dist/vue/index.d.ts +512 -0
- package/dist/vue/index.js +660 -0
- package/dist/vue/index.js.map +1 -0
- package/package.json +254 -4
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { L as LoadingButtonProps, O as OverlayProps, P as PresetProps, b as ProgressProps, S as SkeletonProps, c as SpinnerProps } from '../types-CnR-rU97.cjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Veilkit - Svelte Action (`use:veil`)
|
|
5
|
+
* Auto-measures and wraps element with animated skeleton overlay
|
|
6
|
+
*/
|
|
7
|
+
interface SvelteVeilActionOptions {
|
|
8
|
+
loading: boolean;
|
|
9
|
+
cacheKey?: string;
|
|
10
|
+
persistCache?: boolean;
|
|
11
|
+
reveal?: 'fade' | 'blur-in' | 'slide-up' | 'scale' | 'none';
|
|
12
|
+
}
|
|
13
|
+
declare function veil(node: HTMLElement, options?: SvelteVeilActionOptions): {
|
|
14
|
+
update(newOptions: SvelteVeilActionOptions): void;
|
|
15
|
+
destroy(): void;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Veilkit - SvelteKit Route Progress Integration
|
|
20
|
+
*/
|
|
21
|
+
declare function setupSvelteKitProgress(beforeNavigate?: (cb: any) => void, afterNavigate?: (cb: any) => void): void;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Veilkit - Svelte Runes & Element Helpers
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
declare function skeletonAction(node: HTMLElement, props?: SkeletonProps): {
|
|
28
|
+
destroy(): void;
|
|
29
|
+
};
|
|
30
|
+
declare function spinnerAction(node: HTMLElement, props?: SpinnerProps): {
|
|
31
|
+
destroy(): void;
|
|
32
|
+
};
|
|
33
|
+
declare function progressAction(node: HTMLElement, props?: ProgressProps): {
|
|
34
|
+
destroy(): void;
|
|
35
|
+
};
|
|
36
|
+
declare function overlayAction(node: HTMLElement, props?: OverlayProps): {
|
|
37
|
+
update(newProps: OverlayProps): void;
|
|
38
|
+
destroy(): void;
|
|
39
|
+
};
|
|
40
|
+
declare function presetAction(node: HTMLElement, props: PresetProps): {
|
|
41
|
+
destroy(): void;
|
|
42
|
+
};
|
|
43
|
+
declare function loadingButtonAction(node: HTMLButtonElement, props?: LoadingButtonProps): {
|
|
44
|
+
update(newProps: LoadingButtonProps): void;
|
|
45
|
+
destroy(): void;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export { type SvelteVeilActionOptions, veil as default, loadingButtonAction, overlayAction, presetAction, progressAction, setupSvelteKitProgress, skeletonAction, spinnerAction, veil };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { L as LoadingButtonProps, O as OverlayProps, P as PresetProps, b as ProgressProps, S as SkeletonProps, c as SpinnerProps } from '../types-CnR-rU97.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Veilkit - Svelte Action (`use:veil`)
|
|
5
|
+
* Auto-measures and wraps element with animated skeleton overlay
|
|
6
|
+
*/
|
|
7
|
+
interface SvelteVeilActionOptions {
|
|
8
|
+
loading: boolean;
|
|
9
|
+
cacheKey?: string;
|
|
10
|
+
persistCache?: boolean;
|
|
11
|
+
reveal?: 'fade' | 'blur-in' | 'slide-up' | 'scale' | 'none';
|
|
12
|
+
}
|
|
13
|
+
declare function veil(node: HTMLElement, options?: SvelteVeilActionOptions): {
|
|
14
|
+
update(newOptions: SvelteVeilActionOptions): void;
|
|
15
|
+
destroy(): void;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Veilkit - SvelteKit Route Progress Integration
|
|
20
|
+
*/
|
|
21
|
+
declare function setupSvelteKitProgress(beforeNavigate?: (cb: any) => void, afterNavigate?: (cb: any) => void): void;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Veilkit - Svelte Runes & Element Helpers
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
declare function skeletonAction(node: HTMLElement, props?: SkeletonProps): {
|
|
28
|
+
destroy(): void;
|
|
29
|
+
};
|
|
30
|
+
declare function spinnerAction(node: HTMLElement, props?: SpinnerProps): {
|
|
31
|
+
destroy(): void;
|
|
32
|
+
};
|
|
33
|
+
declare function progressAction(node: HTMLElement, props?: ProgressProps): {
|
|
34
|
+
destroy(): void;
|
|
35
|
+
};
|
|
36
|
+
declare function overlayAction(node: HTMLElement, props?: OverlayProps): {
|
|
37
|
+
update(newProps: OverlayProps): void;
|
|
38
|
+
destroy(): void;
|
|
39
|
+
};
|
|
40
|
+
declare function presetAction(node: HTMLElement, props: PresetProps): {
|
|
41
|
+
destroy(): void;
|
|
42
|
+
};
|
|
43
|
+
declare function loadingButtonAction(node: HTMLButtonElement, props?: LoadingButtonProps): {
|
|
44
|
+
update(newProps: LoadingButtonProps): void;
|
|
45
|
+
destroy(): void;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export { type SvelteVeilActionOptions, veil as default, loadingButtonAction, overlayAction, presetAction, progressAction, setupSvelteKitProgress, skeletonAction, spinnerAction, veil };
|