manolis-ui 0.27.6 → 0.28.0
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.ts +49 -1
- package/dist/manolis-ui.js +991 -975
- package/dist/manolis-ui.umd.cjs +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -229,13 +229,16 @@ loading: boolean;
|
|
|
229
229
|
title: string;
|
|
230
230
|
class: string;
|
|
231
231
|
color: string;
|
|
232
|
-
imgUrl: string;
|
|
233
232
|
alt: string;
|
|
233
|
+
imgUrl: string;
|
|
234
234
|
description: string;
|
|
235
235
|
background: string;
|
|
236
236
|
imgHeight: string;
|
|
237
237
|
imgWidth: string;
|
|
238
238
|
horizontal: boolean;
|
|
239
|
+
imgLoading: "lazy" | "eager";
|
|
240
|
+
imgFetchpriority: "high" | "low" | "auto";
|
|
241
|
+
imgDecoding: "async" | "sync" | "auto";
|
|
239
242
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
240
243
|
|
|
241
244
|
declare const __VLS_component_7: DefineComponent<ExtractPropTypes< {
|
|
@@ -3216,8 +3219,12 @@ export declare const Alert: __VLS_WithTemplateSlots_20<typeof __VLS_component_20
|
|
|
3216
3219
|
declare type AlertType = 'info' | 'success' | 'warning' | 'error' | 'default';
|
|
3217
3220
|
|
|
3218
3221
|
export declare const Avatar: DefineComponent<Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_8> & Readonly<{}>, {
|
|
3222
|
+
loading: "lazy" | "eager";
|
|
3219
3223
|
onlineStatus: "online" | "offline" | "none";
|
|
3220
3224
|
fullyRounded: boolean;
|
|
3225
|
+
alt: string;
|
|
3226
|
+
fetchpriority: "high" | "low" | "auto";
|
|
3227
|
+
decoding: "async" | "sync" | "auto";
|
|
3221
3228
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3222
3229
|
|
|
3223
3230
|
export declare const Badge: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
@@ -3533,6 +3540,30 @@ declare interface Props_10 {
|
|
|
3533
3540
|
imgHeight?: string;
|
|
3534
3541
|
imgWidth?: string;
|
|
3535
3542
|
horizontal?: boolean;
|
|
3543
|
+
/**
|
|
3544
|
+
* Controls browser-level lazy/eager loading of the card image.
|
|
3545
|
+
* Set to "eager" for above-the-fold / LCP images, "lazy" (default) for below-the-fold images.
|
|
3546
|
+
*/
|
|
3547
|
+
imgLoading?: "lazy" | "eager";
|
|
3548
|
+
/**
|
|
3549
|
+
* Hints browser fetch priority for the image.
|
|
3550
|
+
* Set to "high" for the Largest Contentful Paint (LCP) image on a page.
|
|
3551
|
+
*/
|
|
3552
|
+
imgFetchpriority?: "high" | "low" | "auto";
|
|
3553
|
+
/**
|
|
3554
|
+
* Controls how the browser decodes the image.
|
|
3555
|
+
* "async" (default) allows non-blocking decoding for better paint performance.
|
|
3556
|
+
*/
|
|
3557
|
+
imgDecoding?: "async" | "sync" | "auto";
|
|
3558
|
+
/**
|
|
3559
|
+
* Intrinsic pixel width of the image. Providing this alongside `imgNaturalHeight`
|
|
3560
|
+
* lets the browser reserve space before the image loads, preventing layout shift (CLS).
|
|
3561
|
+
*/
|
|
3562
|
+
imgNaturalWidth?: number;
|
|
3563
|
+
/**
|
|
3564
|
+
* Intrinsic pixel height of the image. Pair with `imgNaturalWidth` to prevent CLS.
|
|
3565
|
+
*/
|
|
3566
|
+
imgNaturalHeight?: number;
|
|
3536
3567
|
}
|
|
3537
3568
|
|
|
3538
3569
|
declare interface Props_11 {
|
|
@@ -3677,6 +3708,23 @@ declare interface Props_8 {
|
|
|
3677
3708
|
onlineStatus?: "online" | "offline" | "none";
|
|
3678
3709
|
initials?: string;
|
|
3679
3710
|
fullyRounded?: boolean;
|
|
3711
|
+
/** Alt text for the avatar image. Important for accessibility and SEO. */
|
|
3712
|
+
alt?: string;
|
|
3713
|
+
/**
|
|
3714
|
+
* Controls browser-level lazy/eager loading of the avatar image.
|
|
3715
|
+
* Set to "eager" for avatars visible in the initial viewport (e.g. hero, header).
|
|
3716
|
+
*/
|
|
3717
|
+
loading?: "lazy" | "eager";
|
|
3718
|
+
/**
|
|
3719
|
+
* Hints browser fetch priority for the image.
|
|
3720
|
+
* Set to "high" for above-the-fold avatars that are part of the LCP.
|
|
3721
|
+
*/
|
|
3722
|
+
fetchpriority?: "high" | "low" | "auto";
|
|
3723
|
+
/**
|
|
3724
|
+
* Controls how the browser decodes the image.
|
|
3725
|
+
* "async" (default) allows non-blocking decoding for better paint performance.
|
|
3726
|
+
*/
|
|
3727
|
+
decoding?: "async" | "sync" | "auto";
|
|
3680
3728
|
}
|
|
3681
3729
|
|
|
3682
3730
|
declare interface Props_9 {
|