@srimandir/pitru-paksh-common 2.2.3 → 2.2.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.
|
@@ -51,9 +51,10 @@ export interface PujaDetailsFormProps {
|
|
|
51
51
|
*/
|
|
52
52
|
gotraOptions?: string[];
|
|
53
53
|
/**
|
|
54
|
-
* When `true`, this puja is for all ancestors ("Sarva Pitru") —
|
|
55
|
-
*
|
|
56
|
-
*
|
|
54
|
+
* When `true`, this puja is for all ancestors ("Sarva Pitru") — a
|
|
55
|
+
* read-only "For all ancestors" field is shown above the ancestor name
|
|
56
|
+
* fields, which stay editable so the devotee can still additionally name
|
|
57
|
+
* specific ancestors. Defaults to `false`.
|
|
57
58
|
*/
|
|
58
59
|
isSarvaPitru?: boolean;
|
|
59
60
|
onBackClick?: () => void;
|
|
@@ -35,12 +35,21 @@ 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
|
-
* `selected` is true, but that's left to the caller so both
|
|
41
|
-
* visible" and "reveal on select" patterns are supported.
|
|
38
|
+
* Extra content rendered below the header row, nested inside the card's own
|
|
39
|
+
* border: an editable value, an info row, or any custom node. Typically shown
|
|
40
|
+
* only while `selected` is true, but that's left to the caller so both
|
|
41
|
+
* "always 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;
|
|
44
53
|
}
|
|
45
54
|
/**
|
|
46
55
|
* A selectable option row/card used across Pitru Paksha flows: an icon or
|