@lockerverse/react 0.2.201 → 0.2.203
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/MIGRATIONS.md +39 -0
- package/README.md +8 -0
- package/dist/auction-item-layout.css +35 -0
- package/dist/auction-item.js +1 -1
- package/dist/auction-item.js.map +1 -1
- package/dist/auction-payment-view.js +1 -1
- package/dist/auction-payment-view.js.map +1 -1
- package/dist/auction-payment.js +1 -1
- package/dist/auction-payment.js.map +1 -1
- package/dist/auction-result.d.ts +1 -0
- package/dist/auction-result.d.ts.map +1 -1
- package/dist/auction-result2.js +1 -1
- package/dist/auction-result2.js.map +1 -1
- package/dist/lockerverse-donate-launcher.d.ts.map +1 -1
- package/dist/lockerverse-donate-launcher.js +1 -1
- package/dist/lockerverse-donate-launcher.js.map +1 -1
- package/dist/lockerverse-payment.js +1 -1
- package/dist/lockerverse-payment.js.map +1 -1
- package/dist/payment-form.d.ts.map +1 -1
- package/dist/styles.css +63 -0
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/guides/auctions.md +20 -1
- package/guides/events.md +1 -1
- package/guides/integration.md +1 -1
- package/guides/payment-widgets.md +9 -1
- package/guides/signup.md +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-form.d.ts","names":[],"sources":["../src/lockerverse-payment.tsx","../src/payment-form.tsx"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"payment-form.d.ts","names":[],"sources":["../src/lockerverse-payment.tsx","../src/payment-form.tsx"],"mappings":";;;;iBAyfgB,qBACd,WACG,aACF,0CAAuB,IAAA;;;iBChcV,0BACd,SAAS,KAAK,iCAA8B,oCAAA"}
|
package/dist/styles.css
CHANGED
|
@@ -139,6 +139,11 @@
|
|
|
139
139
|
border-top: 1px solid var(--lockerverse-subtle);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
+
.lockerverse-payment__contact:first-child {
|
|
143
|
+
padding-top: 0;
|
|
144
|
+
border-top: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
142
147
|
.lockerverse-payment__contact label:not(:first-child) {
|
|
143
148
|
margin-top: 4px;
|
|
144
149
|
}
|
|
@@ -1601,3 +1606,61 @@
|
|
|
1601
1606
|
cursor: not-allowed;
|
|
1602
1607
|
opacity: 0.45;
|
|
1603
1608
|
}
|
|
1609
|
+
|
|
1610
|
+
/* Ticket products retain the host palette and place quantity on a perforated stub. */
|
|
1611
|
+
.lockerverse-launcher__product-control {
|
|
1612
|
+
display: flex;
|
|
1613
|
+
justify-content: flex-end;
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
.lockerverse-launcher__page
|
|
1617
|
+
.lockerverse-launcher__product-list:has([data-ticket]) {
|
|
1618
|
+
gap: 14px;
|
|
1619
|
+
overflow: visible;
|
|
1620
|
+
background: transparent;
|
|
1621
|
+
border: 0;
|
|
1622
|
+
border-radius: 0;
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
.lockerverse-launcher__page
|
|
1626
|
+
.lockerverse-launcher__product-list:has([data-ticket])
|
|
1627
|
+
> .lockerverse-launcher__product {
|
|
1628
|
+
background: color-mix(in srgb, var(--lockerverse-text) 4%, transparent);
|
|
1629
|
+
border: 1px solid var(--lockerverse-border);
|
|
1630
|
+
border-radius: 14px;
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
.lockerverse-launcher__product[data-ticket] {
|
|
1634
|
+
column-gap: 0;
|
|
1635
|
+
padding-inline: 24px 16px;
|
|
1636
|
+
border-radius: 12px;
|
|
1637
|
+
mask:
|
|
1638
|
+
radial-gradient(circle at 0 50%, transparent 8px, #000 8.5px) left / 51%
|
|
1639
|
+
100% no-repeat,
|
|
1640
|
+
radial-gradient(circle at 100% 50%, transparent 8px, #000 8.5px) right / 51%
|
|
1641
|
+
100% no-repeat;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
.lockerverse-launcher__product[data-ticket]
|
|
1645
|
+
.lockerverse-launcher__product-copy {
|
|
1646
|
+
padding-right: 20px;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
.lockerverse-launcher__product[data-ticket]
|
|
1650
|
+
.lockerverse-launcher__product-control {
|
|
1651
|
+
align-items: center;
|
|
1652
|
+
align-self: stretch;
|
|
1653
|
+
padding-left: 20px;
|
|
1654
|
+
border-left: 1px dashed var(--lockerverse-border);
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
@media (max-width: 400px) {
|
|
1658
|
+
.lockerverse-launcher__product[data-ticket]
|
|
1659
|
+
.lockerverse-launcher__product-copy {
|
|
1660
|
+
padding-right: 12px;
|
|
1661
|
+
}
|
|
1662
|
+
.lockerverse-launcher__product[data-ticket]
|
|
1663
|
+
.lockerverse-launcher__product-control {
|
|
1664
|
+
padding-left: 12px;
|
|
1665
|
+
}
|
|
1666
|
+
}
|
package/dist/types.d.ts
CHANGED
|
@@ -34,6 +34,8 @@ type LockerversePaymentViewProps = Omit<ComponentPropsWithoutRef<"section">, "ch
|
|
|
34
34
|
branding?: LockerversePaymentBranding;
|
|
35
35
|
/** Show the SDK confirmation panel after a completed payment or free order. */
|
|
36
36
|
completionView?: "inline" | "summary";
|
|
37
|
+
/** Order summary placement. Payment defaults to top; the two-step launcher defaults to bottom. */
|
|
38
|
+
paymentSummaryPosition?: "top" | "bottom" | "hidden";
|
|
37
39
|
/** Opt in to session recovery. Use a stable key scoped to environment, community, and widget. */
|
|
38
40
|
recoveryStorageKey?: string;
|
|
39
41
|
/** Initial values for configured custom fields. Buyers can edit them. Read once per checkout form. */
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../src/types.ts"],"mappings":";;;;;;;KAOY;EACN;EAAqB;;EACrB;EAAqB;;EACrB;;KAEM,0BAA0B;KAE1B;EACV;EACA;EACA;;KAGU,0BAA0B;KAE1B;EACV;EACA;;KAGU;EACV;EACA;;KAGU,8BACP,MAAM,kBAAkB,gBACxB,kBAAkB;KAElB,8BAA8B,KACjC;EAGA,WAAW;;EAEX;;EAEA;;EAEA,2BAA2B;EAC3B,WAAW;EACX,qBAAqB,SAAS;EAC9B,2BACE,UAAU;EAEZ,sBAAsB,SAAS;EAC/B,gBAAgB;EAChB,WAAW;EACX,eAAe;EACf,QAAQ;EACR,QAAQ;;KAGE,0BAA0B;EACpC,QAAQ;;KAGE;KAKA,iCAAiC,KAC3C;EAGA;EACA,WAAW;;EAEX;;EAEA,kBAAkB;;EAElB,mBAAmB;;EAEnB;;EAEA"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../src/types.ts"],"mappings":";;;;;;;KAOY;EACN;EAAqB;;EACrB;EAAqB;;EACrB;;KAEM,0BAA0B;KAE1B;EACV;EACA;EACA;;KAGU,0BAA0B;KAE1B;EACV;EACA;;KAGU;EACV;EACA;;KAGU,8BACP,MAAM,kBAAkB,gBACxB,kBAAkB;KAElB,8BAA8B,KACjC;EAGA,WAAW;;EAEX;;EAEA;;EAEA;;EAEA,2BAA2B;EAC3B,WAAW;EACX,qBAAqB,SAAS;EAC9B,2BACE,UAAU;EAEZ,sBAAsB,SAAS;EAC/B,gBAAgB;EAChB,WAAW;EACX,eAAe;EACf,QAAQ;EACR,QAAQ;;KAGE,0BAA0B;EACpC,QAAQ;;KAGE;KAKA,iCAAiC,KAC3C;EAGA;EACA,WAAW;;EAEX;;EAEA,kBAAkB;;EAElB,mBAAmB;;EAEnB;;EAEA"}
|
package/guides/auctions.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Lockerverse auctions guide
|
|
2
2
|
|
|
3
|
-
Package: @lockerverse/react@0.2.
|
|
3
|
+
Package: @lockerverse/react@0.2.203
|
|
4
4
|
|
|
5
5
|
Generated from this release's maintained documentation. Do not edit this copy.
|
|
6
6
|
|
|
@@ -575,3 +575,22 @@ and live refresh. Check desktop and 390 by 844 layouts, unavailable states,
|
|
|
575
575
|
quantity and bid validation, gallery, and both result return controls. Use the
|
|
576
576
|
SDK simulated result preview. Open checkout to inspect saved fees and shipping,
|
|
577
577
|
but do not submit a live bid or payment.
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
## Fixed and maximum bids
|
|
581
|
+
|
|
582
|
+
Items with `supportsMaximumBids: true` offer **Fixed bid** and **Maximum bid**.
|
|
583
|
+
Fixed is the default. A fixed bid places the entered amount. A maximum bid lets
|
|
584
|
+
Lockerverse bid only as much as needed to lead, up to the private submitted limit.
|
|
585
|
+
The winner pays the final sale price plus applicable fees, not necessarily their
|
|
586
|
+
maximum. Checkout shows the maximum possible total before submission.
|
|
587
|
+
|
|
588
|
+
For custom UI, pass `bidType: "maximum"` and the maximum in integer USD cents as
|
|
589
|
+
`amount` to `client.createBid`. Omit `bidType`, or pass `"fixed"`, for a fixed bid.
|
|
590
|
+
Only offer maximum bidding when the current item response supports it. The public
|
|
591
|
+
`maxBidAmount` field remains the current public price; it is not a private limit.
|
|
592
|
+
|
|
593
|
+
Guest checkout requires no account or email verification. Each accepted submission
|
|
594
|
+
is independent and cannot be edited or canceled. A later submission can compete
|
|
595
|
+
with that guest's earlier maximum. The completion callback confirms submission
|
|
596
|
+
only, not the leading bid, final card-setup acceptance, a win, or payment.
|
package/guides/events.md
CHANGED
package/guides/integration.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Lockerverse payment-widgets guide
|
|
2
2
|
|
|
3
|
-
Package: @lockerverse/react@0.2.
|
|
3
|
+
Package: @lockerverse/react@0.2.203
|
|
4
4
|
|
|
5
5
|
Generated from this release's maintained documentation. Do not edit this copy.
|
|
6
6
|
|
|
@@ -305,6 +305,14 @@ branding, themes, metadata, and recovery properties are the same as
|
|
|
305
305
|
`LockerversePayment`. API and transport options belong to
|
|
306
306
|
`useLockerverseWidget`.
|
|
307
307
|
|
|
308
|
+
The launcher starts checkout with contact fields. Tips and the order summary
|
|
309
|
+
appear near the payment button. Set `paymentSummaryPosition` to `"top"`,
|
|
310
|
+
`"bottom"`, or `"hidden"` to choose the summary placement. The launcher defaults
|
|
311
|
+
to `"bottom"`; standalone `LockerversePayment` defaults to `"top"`. With a hidden
|
|
312
|
+
summary, the payment button still displays the final amount. Ticket products
|
|
313
|
+
(`fulfillmentType: "event_admission"`) use ticket edges and a perforated quantity
|
|
314
|
+
stub; other products keep their usual card style.
|
|
315
|
+
|
|
308
316
|
For a hosted two-step page, use the same launcher without a trigger or dialog:
|
|
309
317
|
|
|
310
318
|
```tsx
|
package/guides/signup.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lockerverse/react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.203",
|
|
4
4
|
"description": "Tree-shakable React payment and signup UI for Lockerverse",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"embla-carousel-react": "8.6.0",
|
|
137
137
|
"lucide-react": "0.536.0",
|
|
138
138
|
"valibot": "1.4.2",
|
|
139
|
-
"@lockerverse/sdk": "0.2.
|
|
139
|
+
"@lockerverse/sdk": "0.2.203"
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
142
142
|
"@size-limit/file": "13.0.3",
|