@srimandir/pitru-paksh-common 2.4.4 → 2.6.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/components/PujaDetailsForm/PujaDetailsForm.types.d.ts +3 -4
- package/dist/components/SelectorCard/SelectorCard.d.ts +4 -13
- package/dist/pitru-paksh-common.js +978 -991
- package/dist/pitru-paksh-common.umd.cjs +7 -7
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/pitru-paksh-common.d.ts +0 -82
|
@@ -51,10 +51,9 @@ export interface PujaDetailsFormProps {
|
|
|
51
51
|
*/
|
|
52
52
|
gotraOptions?: string[];
|
|
53
53
|
/**
|
|
54
|
-
* When `true`, this puja is for all ancestors ("Sarva Pitru") —
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* specific ancestors. Defaults to `false`.
|
|
54
|
+
* When `true`, this puja is for all ancestors ("Sarva Pitru") — the
|
|
55
|
+
* editable ancestor name fields are hidden entirely and replaced with a
|
|
56
|
+
* single read-only "For all ancestors" field. Defaults to `false`.
|
|
58
57
|
*/
|
|
59
58
|
isSarvaPitru?: boolean;
|
|
60
59
|
onBackClick?: () => void;
|
|
@@ -35,21 +35,12 @@ export interface SelectorCardProps extends Omit<React.ButtonHTMLAttributes<HTMLB
|
|
|
35
35
|
/** Extra classes for the corner ribbon, e.g. to change its color/theme. */
|
|
36
36
|
tagClassName?: string;
|
|
37
37
|
/**
|
|
38
|
-
* Extra content rendered below the header row
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
38
|
+
* Extra content rendered below the header row: an editable value, an info
|
|
39
|
+
* row, a highlighted note, or any custom node. Typically shown only while
|
|
40
|
+
* `selected` is true, but that's left to the caller so both "always
|
|
41
|
+
* visible" and "reveal on select" patterns are supported.
|
|
42
42
|
*/
|
|
43
43
|
children?: React.ReactNode;
|
|
44
|
-
/**
|
|
45
|
-
* An explainer note rendered as its own surface *behind* the card, instead of
|
|
46
|
-
* nested inside it like `children` — pulled up behind the card via negative
|
|
47
|
-
* margin so the card's higher stacking order covers the seam between them.
|
|
48
|
-
* Typically shown only while `selected` is true; that's left to the caller.
|
|
49
|
-
*/
|
|
50
|
-
note?: React.ReactNode;
|
|
51
|
-
/** Extra classes for the `note` surface, e.g. to change its text color. */
|
|
52
|
-
noteClassName?: string;
|
|
53
44
|
}
|
|
54
45
|
/**
|
|
55
46
|
* A selectable option row/card used across Pitru Paksha flows: an icon or
|