@srimandir/pitru-paksh-common 2.36.6 → 2.36.7
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/AddAncestorSheet/AddAncestorSheet.d.ts +1 -3
- package/dist/components/DatePickerSheet/DatePickerSheet.d.ts +1 -2
- package/dist/components/TithiPickerSheet/TithiPickerSheet.d.ts +1 -2
- package/dist/constants/ancestor.constants.d.ts +1 -0
- package/dist/pitru-paksh-common.js +730 -729
- package/dist/pitru-paksh-common.umd.cjs +6 -6
- package/dist/style.css +1 -1
- package/package.json +3 -4
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { BottomSheetCloseReason } from '../../../../common/dist/common.js';
|
|
2
1
|
export interface AddAncestorSheetProps {
|
|
3
2
|
isOpen: boolean;
|
|
4
|
-
|
|
5
|
-
onClose: (reason?: BottomSheetCloseReason) => void;
|
|
3
|
+
onClose: () => void;
|
|
6
4
|
onSave: (names: string[]) => void;
|
|
7
5
|
title: string;
|
|
8
6
|
fieldLabel: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BottomSheetCloseReason } from '../../../../common/dist/common.js';
|
|
2
1
|
export interface PickedDate {
|
|
3
2
|
day: number;
|
|
4
3
|
/** 1-12 */
|
|
@@ -7,7 +6,7 @@ export interface PickedDate {
|
|
|
7
6
|
}
|
|
8
7
|
export interface DatePickerSheetProps {
|
|
9
8
|
isOpen: boolean;
|
|
10
|
-
onClose: (
|
|
9
|
+
onClose: () => void;
|
|
11
10
|
/** Shows a small circular avatar next to `heading`, e.g. to identify which ancestor's date this is. Omit for a plain heading. */
|
|
12
11
|
avatarUrl?: string;
|
|
13
12
|
heading: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { BottomSheetCloseReason } from '../../../../common/dist/common.js';
|
|
2
1
|
export interface TithiPickerSheetProps {
|
|
3
2
|
isOpen: boolean;
|
|
4
|
-
onClose: (
|
|
3
|
+
onClose: () => void;
|
|
5
4
|
avatarUrl: string;
|
|
6
5
|
heading: string;
|
|
7
6
|
tithis: string[];
|
|
@@ -54,5 +54,6 @@ export declare const ANCESTOR_OPTIONS: [{
|
|
|
54
54
|
export declare const MALE_ANCESTOR_AVATAR_URL = "https://srm-cdn.a4b.io/yoda/1788334548628.webp";
|
|
55
55
|
export declare const FEMALE_ANCESTOR_AVATAR_URL = "https://srm-cdn.a4b.io/yoda/1788334564281.webp";
|
|
56
56
|
export declare const CUSTOM_ANCESTOR_AVATAR_URL = "https://srm-cdn.a4b.io/yoda/1789386222504.svg";
|
|
57
|
+
export declare const SARV_PITRU_ANCESTOR_AVATAR_URL = "https://srm-cdn.a4b.io/yoda/1789653082304.webp";
|
|
57
58
|
/** Custom (free-text) ancestor names carry no gender/option entry, so they get a dedicated icon. */
|
|
58
59
|
export declare function getAncestorAvatarUrl(ancestorKey: string): string;
|