@veevarts/design-system 1.8.0-dev.2 → 1.8.0-dev.4
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.
|
@@ -52,6 +52,11 @@ export interface DonationLabels {
|
|
|
52
52
|
* Aria label for custom amount input
|
|
53
53
|
*/
|
|
54
54
|
customAmountAriaLabel?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Label for the add donation button next to the custom input
|
|
57
|
+
* @default 'Add Donation'
|
|
58
|
+
*/
|
|
59
|
+
addDonationButton?: string;
|
|
55
60
|
}
|
|
56
61
|
/**
|
|
57
62
|
* Props for DonationAmounts component
|
|
@@ -74,6 +79,12 @@ export interface DonationAmountsProps {
|
|
|
74
79
|
* Callback fired when donation selection changes
|
|
75
80
|
*/
|
|
76
81
|
onChange?: (donation: SelectedDonation | null) => void;
|
|
82
|
+
/**
|
|
83
|
+
* Callback fired when the "Add Donation" button is pressed.
|
|
84
|
+
* Receives the current selected donation.
|
|
85
|
+
* If provided, an "Add Donation" button is shown next to the custom amount input.
|
|
86
|
+
*/
|
|
87
|
+
onAddDonation?: (donation: SelectedDonation) => void;
|
|
77
88
|
/**
|
|
78
89
|
* Currency code (ISO 4217)
|
|
79
90
|
* @default 'USD'
|
|
@@ -133,6 +144,11 @@ export interface DonationAmountsProps {
|
|
|
133
144
|
* @default 'bordered'
|
|
134
145
|
*/
|
|
135
146
|
inputVariant?: 'flat' | 'bordered' | 'faded' | 'underlined';
|
|
147
|
+
/**
|
|
148
|
+
* Size of the custom amount input and add button
|
|
149
|
+
* @default 'md'
|
|
150
|
+
*/
|
|
151
|
+
size?: 'sm' | 'md' | 'lg';
|
|
136
152
|
/**
|
|
137
153
|
* Additional CSS classes
|
|
138
154
|
*/
|
|
@@ -3,6 +3,8 @@ export interface MembershipSelectCardsProps {
|
|
|
3
3
|
cards?: MembershipSelectCard[] | null;
|
|
4
4
|
locale?: string;
|
|
5
5
|
currency?: string;
|
|
6
|
+
/** Optional Tailwind class to control the height of the scrollable cards list area. */
|
|
7
|
+
listHeightClassName?: string;
|
|
6
8
|
labels?: Partial<MembershipSelectCardsLabels>;
|
|
7
9
|
showRenewal?: boolean;
|
|
8
10
|
defaultRenewalValue?: boolean;
|
|
@@ -35,6 +35,8 @@ export type TicketSelectionData = ExhibitionData[];
|
|
|
35
35
|
export interface TicketSelectionProps {
|
|
36
36
|
/** Maximum number of tickets the user can select globally */
|
|
37
37
|
userMaxLimit?: number;
|
|
38
|
+
/** Initial expanded state for all exhibition groups */
|
|
39
|
+
initialExpanded?: boolean;
|
|
38
40
|
/** Labels for internationalization */
|
|
39
41
|
labels?: Partial<TicketSelectionLabels>;
|
|
40
42
|
/** Regional settings for locale and currency formatting */
|