tf-checkout-react 2.0.0-beta.1 → 2.0.0-beta.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.
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.esm.js +662 -341
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +662 -341
- package/dist/index.js.map +1 -1
- package/dist/styles/tickets.css +18 -1
- package/package.json +1 -1
- package/src/EmbeddedCheckout.tsx +9 -6
- package/src/auth/AuthModal.tsx +3 -3
- package/src/auth/ForgotPasswordForm.tsx +4 -6
- package/src/auth/LoginForm.tsx +2 -2
- package/src/auth/RegisterForm.tsx +2 -2
- package/src/auth/ResetPasswordForm.tsx +7 -7
- package/src/configure.ts +1 -5
- package/src/confirmer.ts +1 -5
- package/src/sections/AddOns.tsx +14 -7
- package/src/sections/BillingInfo.tsx +40 -33
- package/src/sections/Confirmation.tsx +10 -8
- package/src/sections/IDVerification.tsx +16 -9
- package/src/sections/OrderConfirmation.tsx +32 -23
- package/src/sections/OrderIDVerification.tsx +23 -11
- package/src/sections/OrderSummary.tsx +7 -5
- package/src/sections/Payment.tsx +18 -14
- package/src/sections/Tickets.tsx +48 -25
- package/src/sections/billing/BillingAddressFields.tsx +19 -13
- package/src/sections/billing/TicketHoldersCard.tsx +103 -94
- package/src/styles/tickets.css +18 -1
- package/src/ui/CheckoutProvider.tsx +5 -1
- package/src/ui/InstallmentPicker.tsx +8 -4
- package/src/ui/Loader.tsx +11 -7
- package/src/ui/PaymentMethods.tsx +82 -76
- package/src/ui/Stepper.tsx +27 -23
- package/src/ui/TimerBanner.tsx +7 -3
package/dist/index.d.mts
CHANGED
|
@@ -451,6 +451,11 @@ interface TicketType {
|
|
|
451
451
|
waitingListMaxQuantity?: number;
|
|
452
452
|
/** Raw rich-text description (may contain HTML). */
|
|
453
453
|
descriptionRich: string | null;
|
|
454
|
+
/** Organiser-written scarcity badge for this type ("Selling fast", "Limited
|
|
455
|
+
* stock", or any custom text), else null. Free text in whatever language the
|
|
456
|
+
* organiser typed — render verbatim, never translate. The old checkout shows
|
|
457
|
+
* it only while the type can actually be bought. */
|
|
458
|
+
badgeText?: string | null;
|
|
454
459
|
/** Present for time-slot tickets: the session this id belongs to (display
|
|
455
460
|
* metadata only — the id already encodes the session). */
|
|
456
461
|
timeSlot?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -451,6 +451,11 @@ interface TicketType {
|
|
|
451
451
|
waitingListMaxQuantity?: number;
|
|
452
452
|
/** Raw rich-text description (may contain HTML). */
|
|
453
453
|
descriptionRich: string | null;
|
|
454
|
+
/** Organiser-written scarcity badge for this type ("Selling fast", "Limited
|
|
455
|
+
* stock", or any custom text), else null. Free text in whatever language the
|
|
456
|
+
* organiser typed — render verbatim, never translate. The old checkout shows
|
|
457
|
+
* it only while the type can actually be bought. */
|
|
458
|
+
badgeText?: string | null;
|
|
454
459
|
/** Present for time-slot tickets: the session this id belongs to (display
|
|
455
460
|
* metadata only — the id already encodes the session). */
|
|
456
461
|
timeSlot?: {
|