@srimandir/pitru-paksh-common 2.36.2 → 2.36.3

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.
@@ -53,5 +53,6 @@ export declare const ANCESTOR_OPTIONS: [{
53
53
  }];
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
- /** Custom (free-text) ancestor names carry no gender, so they default to the male avatar. */
56
+ export declare const CUSTOM_ANCESTOR_AVATAR_URL = "https://srm-cdn.a4b.io/yoda/1789386222504.svg";
57
+ /** Custom (free-text) ancestor names carry no gender/option entry, so they get a dedicated icon. */
57
58
  export declare function getAncestorAvatarUrl(ancestorKey: string): string;
@@ -1,3 +1,3 @@
1
- export { ALL_ANCESTORS_ID, ANCESTOR_OPTIONS, MALE_ANCESTOR_AVATAR_URL, FEMALE_ANCESTOR_AVATAR_URL, getAncestorAvatarUrl, } from './ancestor.constants';
1
+ export { ALL_ANCESTORS_ID, ANCESTOR_OPTIONS, MALE_ANCESTOR_AVATAR_URL, FEMALE_ANCESTOR_AVATAR_URL, CUSTOM_ANCESTOR_AVATAR_URL, getAncestorAvatarUrl, } from './ancestor.constants';
2
2
  export { DEATH_TITHI_OPTIONS } from './deathTithi.constants';
3
3
  export { TITHI_NAME_KEYS } from './tithi.constants';
package/dist/index.d.ts CHANGED
@@ -115,7 +115,7 @@ export type { SarvaPitruCardProps } from './components/SarvaPitruCard';
115
115
  export { SARVA_PITRU_CARD_DEFAULT_COPY, getSarvaPitruCardDefaultCopy, } from './components/SarvaPitruCard';
116
116
  export type { SarvaPitruCardLocale, SarvaPitruCardDefaultCopy, } from './components/SarvaPitruCard';
117
117
  export { cn } from '../../common/dist/common.js';
118
- export { ALL_ANCESTORS_ID, ANCESTOR_OPTIONS, MALE_ANCESTOR_AVATAR_URL, FEMALE_ANCESTOR_AVATAR_URL, getAncestorAvatarUrl, } from './constants';
118
+ export { ALL_ANCESTORS_ID, ANCESTOR_OPTIONS, MALE_ANCESTOR_AVATAR_URL, FEMALE_ANCESTOR_AVATAR_URL, CUSTOM_ANCESTOR_AVATAR_URL, getAncestorAvatarUrl, } from './constants';
119
119
  export { DEATH_TITHI_OPTIONS, TITHI_NAME_KEYS } from './constants';
120
120
  export type { AncestorOptionData, DeathTithiMethod } from './types';
121
121
  export type { OutcomeAncestorItem, OutcomeMandapArrangementData, OutcomePackageSelectOption, OutcomePackageSelectProps, OutcomeRitualData, } from './types/outcome.types';
@@ -115,7 +115,7 @@ export type { SarvaPitruCardProps } from './components/SarvaPitruCard';
115
115
  export { SARVA_PITRU_CARD_DEFAULT_COPY, getSarvaPitruCardDefaultCopy, } from './components/SarvaPitruCard';
116
116
  export type { SarvaPitruCardLocale, SarvaPitruCardDefaultCopy, } from './components/SarvaPitruCard';
117
117
  export { cn } from '../../common/dist/common.js';
118
- export { ALL_ANCESTORS_ID, ANCESTOR_OPTIONS, MALE_ANCESTOR_AVATAR_URL, FEMALE_ANCESTOR_AVATAR_URL, getAncestorAvatarUrl, } from './constants';
118
+ export { ALL_ANCESTORS_ID, ANCESTOR_OPTIONS, MALE_ANCESTOR_AVATAR_URL, FEMALE_ANCESTOR_AVATAR_URL, CUSTOM_ANCESTOR_AVATAR_URL, getAncestorAvatarUrl, } from './constants';
119
119
  export { DEATH_TITHI_OPTIONS, TITHI_NAME_KEYS } from './constants';
120
120
  export type { AncestorOptionData, DeathTithiMethod } from './types';
121
121
  export type { OutcomeAncestorItem, OutcomeMandapArrangementData, OutcomePackageSelectOption, OutcomePackageSelectProps, OutcomeRitualData, } from './types/outcome.types';