@alikhalilll/a-skeleton 1.2.0 → 1.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/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/package.json +2 -2
- package/web-types.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -200,12 +200,12 @@ interface ASkeletonBlockProps {
|
|
|
200
200
|
//#region src/components/ASkeleton.vue.d.ts
|
|
201
201
|
type __VLS_Slots = ASkeletonSlots;
|
|
202
202
|
declare const __VLS_base: import("vue").DefineComponent<ASkeletonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ASkeletonProps> & Readonly<{}>, {
|
|
203
|
-
animation: SkeletonAnimation;
|
|
204
203
|
mode: ASkeletonMode;
|
|
205
204
|
maxDepth: number;
|
|
206
205
|
maxNodes: number;
|
|
207
206
|
minNodeSize: number;
|
|
208
207
|
persist: boolean;
|
|
208
|
+
animation: SkeletonAnimation;
|
|
209
209
|
fallback: SkeletonFallback;
|
|
210
210
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
211
211
|
declare const __VLS_export$18: typeof __VLS_base;
|
|
@@ -219,9 +219,9 @@ declare const _default$14: typeof __VLS_export$17;
|
|
|
219
219
|
//#endregion
|
|
220
220
|
//#region src/components/ASkeletonBlock.vue.d.ts
|
|
221
221
|
declare const __VLS_export$16: import("vue").DefineComponent<ASkeletonBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ASkeletonBlockProps> & Readonly<{}>, {
|
|
222
|
+
animation: SkeletonAnimation;
|
|
222
223
|
type: ShapeNodeType;
|
|
223
224
|
lines: number;
|
|
224
|
-
animation: SkeletonAnimation;
|
|
225
225
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
226
226
|
declare const _default$3: typeof __VLS_export$16;
|
|
227
227
|
//#endregion
|
|
@@ -372,9 +372,9 @@ declare const StructuralSkeleton: import("vue").DefineComponent<import("vue").Ex
|
|
|
372
372
|
default: number;
|
|
373
373
|
};
|
|
374
374
|
}>> & Readonly<{}>, {
|
|
375
|
-
animation: string | null;
|
|
376
375
|
maxDepth: number;
|
|
377
376
|
maxNodes: number;
|
|
377
|
+
animation: string | null;
|
|
378
378
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
379
379
|
//#endregion
|
|
380
380
|
//#region src/components/variants/ASkeletonText.vue.d.ts
|
|
@@ -386,8 +386,8 @@ interface Props$14 {
|
|
|
386
386
|
class?: HTMLAttributes['class'];
|
|
387
387
|
}
|
|
388
388
|
declare const __VLS_export$14: import("vue").DefineComponent<Props$14, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$14> & Readonly<{}>, {
|
|
389
|
-
lines: number;
|
|
390
389
|
animation: "pulse" | "shimmer" | "wave" | "none";
|
|
390
|
+
lines: number;
|
|
391
391
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
392
392
|
declare const _default$17: typeof __VLS_export$14;
|
|
393
393
|
//#endregion
|
|
@@ -488,8 +488,8 @@ interface Props$7 {
|
|
|
488
488
|
class?: HTMLAttributes['class'];
|
|
489
489
|
}
|
|
490
490
|
declare const __VLS_export$7: import("vue").DefineComponent<Props$7, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$7> & Readonly<{}>, {
|
|
491
|
-
lines: 1 | 2 | 3;
|
|
492
491
|
animation: "pulse" | "shimmer" | "wave" | "none";
|
|
492
|
+
lines: 1 | 2 | 3;
|
|
493
493
|
avatar: boolean;
|
|
494
494
|
trailing: boolean;
|
|
495
495
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -506,8 +506,8 @@ interface Props$6 {
|
|
|
506
506
|
class?: HTMLAttributes['class'];
|
|
507
507
|
}
|
|
508
508
|
declare const __VLS_export$6: import("vue").DefineComponent<Props$6, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$6> & Readonly<{}>, {
|
|
509
|
-
lines: number;
|
|
510
509
|
animation: "pulse" | "shimmer" | "wave" | "none";
|
|
510
|
+
lines: number;
|
|
511
511
|
media: boolean;
|
|
512
512
|
heading: boolean;
|
|
513
513
|
actions: boolean;
|
|
@@ -525,9 +525,9 @@ interface Props$5 {
|
|
|
525
525
|
}
|
|
526
526
|
declare const __VLS_export$5: import("vue").DefineComponent<Props$5, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$5> & Readonly<{}>, {
|
|
527
527
|
animation: "pulse" | "shimmer" | "wave" | "none";
|
|
528
|
+
showHeader: boolean;
|
|
528
529
|
rows: number;
|
|
529
530
|
columns: number;
|
|
530
|
-
showHeader: boolean;
|
|
531
531
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
532
532
|
declare const _default$16: typeof __VLS_export$5;
|
|
533
533
|
//#endregion
|
|
@@ -542,8 +542,8 @@ interface Props$4 {
|
|
|
542
542
|
declare const __VLS_export$4: import("vue").DefineComponent<Props$4, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$4> & Readonly<{}>, {
|
|
543
543
|
animation: "pulse" | "shimmer" | "wave" | "none";
|
|
544
544
|
height: number | string;
|
|
545
|
-
showHeader: boolean;
|
|
546
545
|
bars: number;
|
|
546
|
+
showHeader: boolean;
|
|
547
547
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
548
548
|
declare const _default$6: typeof __VLS_export$4;
|
|
549
549
|
//#endregion
|
package/dist/index.d.ts
CHANGED
|
@@ -200,12 +200,12 @@ interface ASkeletonBlockProps {
|
|
|
200
200
|
//#region src/components/ASkeleton.vue.d.ts
|
|
201
201
|
type __VLS_Slots = ASkeletonSlots;
|
|
202
202
|
declare const __VLS_base: import("vue").DefineComponent<ASkeletonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ASkeletonProps> & Readonly<{}>, {
|
|
203
|
-
animation: SkeletonAnimation;
|
|
204
203
|
mode: ASkeletonMode;
|
|
205
204
|
maxDepth: number;
|
|
206
205
|
maxNodes: number;
|
|
207
206
|
minNodeSize: number;
|
|
208
207
|
persist: boolean;
|
|
208
|
+
animation: SkeletonAnimation;
|
|
209
209
|
fallback: SkeletonFallback;
|
|
210
210
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
211
211
|
declare const __VLS_export$18: typeof __VLS_base;
|
|
@@ -219,9 +219,9 @@ declare const _default$14: typeof __VLS_export$17;
|
|
|
219
219
|
//#endregion
|
|
220
220
|
//#region src/components/ASkeletonBlock.vue.d.ts
|
|
221
221
|
declare const __VLS_export$16: import("vue").DefineComponent<ASkeletonBlockProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ASkeletonBlockProps> & Readonly<{}>, {
|
|
222
|
+
animation: SkeletonAnimation;
|
|
222
223
|
type: ShapeNodeType;
|
|
223
224
|
lines: number;
|
|
224
|
-
animation: SkeletonAnimation;
|
|
225
225
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
226
226
|
declare const _default$3: typeof __VLS_export$16;
|
|
227
227
|
//#endregion
|
|
@@ -372,9 +372,9 @@ declare const StructuralSkeleton: import("vue").DefineComponent<import("vue").Ex
|
|
|
372
372
|
default: number;
|
|
373
373
|
};
|
|
374
374
|
}>> & Readonly<{}>, {
|
|
375
|
-
animation: string | null;
|
|
376
375
|
maxDepth: number;
|
|
377
376
|
maxNodes: number;
|
|
377
|
+
animation: string | null;
|
|
378
378
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
379
379
|
//#endregion
|
|
380
380
|
//#region src/components/variants/ASkeletonText.vue.d.ts
|
|
@@ -386,8 +386,8 @@ interface Props$14 {
|
|
|
386
386
|
class?: HTMLAttributes['class'];
|
|
387
387
|
}
|
|
388
388
|
declare const __VLS_export$14: import("vue").DefineComponent<Props$14, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$14> & Readonly<{}>, {
|
|
389
|
-
lines: number;
|
|
390
389
|
animation: "pulse" | "shimmer" | "wave" | "none";
|
|
390
|
+
lines: number;
|
|
391
391
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
392
392
|
declare const _default$17: typeof __VLS_export$14;
|
|
393
393
|
//#endregion
|
|
@@ -488,8 +488,8 @@ interface Props$7 {
|
|
|
488
488
|
class?: HTMLAttributes['class'];
|
|
489
489
|
}
|
|
490
490
|
declare const __VLS_export$7: import("vue").DefineComponent<Props$7, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$7> & Readonly<{}>, {
|
|
491
|
-
lines: 1 | 2 | 3;
|
|
492
491
|
animation: "pulse" | "shimmer" | "wave" | "none";
|
|
492
|
+
lines: 1 | 2 | 3;
|
|
493
493
|
avatar: boolean;
|
|
494
494
|
trailing: boolean;
|
|
495
495
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -506,8 +506,8 @@ interface Props$6 {
|
|
|
506
506
|
class?: HTMLAttributes['class'];
|
|
507
507
|
}
|
|
508
508
|
declare const __VLS_export$6: import("vue").DefineComponent<Props$6, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$6> & Readonly<{}>, {
|
|
509
|
-
lines: number;
|
|
510
509
|
animation: "pulse" | "shimmer" | "wave" | "none";
|
|
510
|
+
lines: number;
|
|
511
511
|
media: boolean;
|
|
512
512
|
heading: boolean;
|
|
513
513
|
actions: boolean;
|
|
@@ -525,9 +525,9 @@ interface Props$5 {
|
|
|
525
525
|
}
|
|
526
526
|
declare const __VLS_export$5: import("vue").DefineComponent<Props$5, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$5> & Readonly<{}>, {
|
|
527
527
|
animation: "pulse" | "shimmer" | "wave" | "none";
|
|
528
|
+
showHeader: boolean;
|
|
528
529
|
rows: number;
|
|
529
530
|
columns: number;
|
|
530
|
-
showHeader: boolean;
|
|
531
531
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
532
532
|
declare const _default$16: typeof __VLS_export$5;
|
|
533
533
|
//#endregion
|
|
@@ -542,8 +542,8 @@ interface Props$4 {
|
|
|
542
542
|
declare const __VLS_export$4: import("vue").DefineComponent<Props$4, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$4> & Readonly<{}>, {
|
|
543
543
|
animation: "pulse" | "shimmer" | "wave" | "none";
|
|
544
544
|
height: number | string;
|
|
545
|
-
showHeader: boolean;
|
|
546
545
|
bars: number;
|
|
546
|
+
showHeader: boolean;
|
|
547
547
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
548
548
|
declare const _default$6: typeof __VLS_export$4;
|
|
549
549
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alikhalilll/a-skeleton",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Self-generating Vue 3 / Nuxt 3+ skeleton loader. First paint mirrors the slot's HTML structure; second load replays a pixel-aligned shape captured from the real DOM. Themeable via CSS vars. Part of the @alikhalilll/a-* toolkit.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "alikhalilll",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"url": "git+https://github.com/alikhalilll/ali-nuxt-toolkit.git",
|
|
10
10
|
"directory": "packages/ui-components/ASkeleton"
|
|
11
11
|
},
|
|
12
|
-
"homepage": "https://alikhalilll.github.io/ali-nuxt-toolkit/ui",
|
|
12
|
+
"homepage": "https://alikhalilll.github.io/ali-nuxt-toolkit/ui/skeleton#setup",
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/alikhalilll/ali-nuxt-toolkit/issues"
|
|
15
15
|
},
|