@veevarts/design-system 1.12.0 → 1.12.1-beta.2
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/components/Select/Select.d.ts +3 -0
- package/dist/components/Select/Select.test.d.ts +1 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/index.cjs +10 -10
- package/dist/index.js +1163 -1129
- package/dist/patterns/EventDetails/EventDetails.d.ts +3 -1
- package/package.json +1 -1
|
@@ -20,6 +20,8 @@ export interface EventDetailsProps {
|
|
|
20
20
|
classes?: string;
|
|
21
21
|
/** @property {boolean} [showImage] - Optional flag to show or hide the event image. Defaults to true. */
|
|
22
22
|
showImage?: boolean;
|
|
23
|
+
/** @property {'lazy' | 'eager'} [imageLoading] - Optional loading strategy for the event image. Use `'lazy'` for off-screen placements (long lists, below-the-fold). Defaults to `'eager'` since the banner is typically above-the-fold. */
|
|
24
|
+
imageLoading?: 'lazy' | 'eager';
|
|
23
25
|
/** @property {string} [showMoreButtonClassName] - Optional Tailwind CSS utility classes for the 'Show more/less' button. */
|
|
24
26
|
showMoreButtonClassName?: string;
|
|
25
27
|
/** @property {Object} labels - Labels for the event details, used for localization. */
|
|
@@ -33,5 +35,5 @@ export interface EventDetailsProps {
|
|
|
33
35
|
* @function EventDetails
|
|
34
36
|
* @description Displays a card with event information such as name, image, date, time, location, and description.
|
|
35
37
|
*/
|
|
36
|
-
export declare const EventDetails: ({ classes, name, imageUrl, eventDate, eventTime, location, description, showImage, showMoreButtonClassName, labels, }: EventDetailsProps) => JSX.Element;
|
|
38
|
+
export declare const EventDetails: ({ classes, name, imageUrl, eventDate, eventTime, location, description, showImage, imageLoading, showMoreButtonClassName, labels, }: EventDetailsProps) => JSX.Element;
|
|
37
39
|
export default EventDetails;
|