@srimandir/pitru-paksh-common 2.36.3 → 2.36.5
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/DatePickerSheet/DatePickerSheet.d.ts +4 -6
- package/dist/components/L2Card/L2Card.d.ts +2 -2
- package/dist/components/VideoPlayer/VideoPlayer.d.ts +9 -0
- package/dist/pitru-paksh-common.js +1326 -1300
- package/dist/pitru-paksh-common.umd.cjs +8 -8
- package/dist/style.css +1 -1
- package/package.json +4 -4
|
@@ -19,11 +19,9 @@ export interface DatePickerSheetProps {
|
|
|
19
19
|
initialDate?: PickedDate;
|
|
20
20
|
minYear?: number;
|
|
21
21
|
maxYear?: number;
|
|
22
|
-
/**
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
* date is ever selectable. Takes precedence over `maxYear` when set.
|
|
26
|
-
*/
|
|
22
|
+
/** Day-precise lower bound. Takes precedence over `minYear` and also restricts month/day within its own year. */
|
|
23
|
+
minDate?: PickedDate;
|
|
24
|
+
/** Day-precise upper bound. Takes precedence over `maxYear` and also restricts month/day within its own year. */
|
|
27
25
|
maxDate?: PickedDate;
|
|
28
26
|
}
|
|
29
|
-
export declare function DatePickerSheet({ isOpen, onClose, avatarUrl, heading, monthLabels, confirmLabel, onConfirm, timezoneLabel, initialDate, minYear, maxYear, maxDate, }: DatePickerSheetProps): import("react").JSX.Element;
|
|
27
|
+
export declare function DatePickerSheet({ isOpen, onClose, avatarUrl, heading, monthLabels, confirmLabel, onConfirm, timezoneLabel, initialDate, minYear, maxYear, minDate, maxDate, }: DatePickerSheetProps): import("react").JSX.Element;
|
|
@@ -32,7 +32,7 @@ export interface L2CardProps {
|
|
|
32
32
|
/** e.g. "2k people booked" — only rendered while expanded */
|
|
33
33
|
bookedLabel?: string;
|
|
34
34
|
title: string;
|
|
35
|
-
/**
|
|
35
|
+
/** Usecase/summary line shown directly below the title — only rendered while expanded */
|
|
36
36
|
description?: string;
|
|
37
37
|
/** Only rendered while expanded */
|
|
38
38
|
learnMoreLabel?: string;
|
|
@@ -51,4 +51,4 @@ export interface L2CardProps {
|
|
|
51
51
|
cta: ReactNode;
|
|
52
52
|
className?: string;
|
|
53
53
|
}
|
|
54
|
-
export declare function L2Card({ chipNumber, chipLabel, isAdded, onEditClick, editButtonAriaLabel, onExpandClick, expandButtonAriaLabel, imageUrl, imageAlt, imageComponent: ImageComponent, ratingLabel, bookedLabel, title, learnMoreLabel, onLearnMoreClick, learnMoreHref, dateLabel, locationLabel, priceInfoLabel, onPriceInfoClick, price, cta, className, }: L2CardProps): import("react").JSX.Element;
|
|
54
|
+
export declare function L2Card({ chipNumber, chipLabel, isAdded, onEditClick, editButtonAriaLabel, onExpandClick, expandButtonAriaLabel, imageUrl, imageAlt, imageComponent: ImageComponent, ratingLabel, bookedLabel, title, description, learnMoreLabel, onLearnMoreClick, learnMoreHref, dateLabel, locationLabel, priceInfoLabel, onPriceInfoClick, price, cta, className, }: L2CardProps): import("react").JSX.Element;
|
|
@@ -8,5 +8,14 @@ export interface VideoPlayerProps {
|
|
|
8
8
|
/** Enforced on both the outer container and the video/poster itself. */
|
|
9
9
|
width?: string | number;
|
|
10
10
|
height?: string | number;
|
|
11
|
+
/**
|
|
12
|
+
* Crops the video/poster to cover its container instead of sizing off its
|
|
13
|
+
* own intrinsic aspect ratio, centered on both axes — for callers that size
|
|
14
|
+
* this component purely via `className` (e.g. an `absolute inset-0 size-full`
|
|
15
|
+
* wrapper) rather than the `width`/`height` props. Implied whenever `width`
|
|
16
|
+
* or `height` is set.
|
|
17
|
+
*/
|
|
18
|
+
fill?: boolean;
|
|
19
|
+
autoPlay?: boolean;
|
|
11
20
|
}
|
|
12
21
|
export declare const VideoPlayer: React.ForwardRefExoticComponent<VideoPlayerProps & React.RefAttributes<HTMLDivElement>>;
|