@lockerverse/sdk 0.2.262 → 0.2.264
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 +26 -1
- package/dist/types.js +1 -1
- package/package.json +1 -1
package/MIGRATIONS.md
CHANGED
|
@@ -4,7 +4,32 @@ This file ships in both @lockerverse/sdk and @lockerverse/react. Use the copy in
|
|
|
4
4
|
the target installed release. This is an agent-run procedure, not an install
|
|
5
5
|
script. Installing a package does not edit host code or guarantee these steps ran.
|
|
6
6
|
|
|
7
|
-
## 0.2.
|
|
7
|
+
## 0.2.264 — native checkout dialog spacing
|
|
8
|
+
|
|
9
|
+
- **Affected:** the payment-widgets guide only; no code change.
|
|
10
|
+
- **Host adoption:** the native checkout dialog body uses `px-3 py-4 sm:px-4`
|
|
11
|
+
(12px sides on phones, 16px from 640px, 16px top and bottom), the spacing
|
|
12
|
+
that the hosted widget page puts around the same form. This corrects the
|
|
13
|
+
0.2.263 note, which said the body has no padding.
|
|
14
|
+
- **Check:** the form fields start at the same distance from the dialog edge
|
|
15
|
+
as on the hosted widget page in the same dialog.
|
|
16
|
+
|
|
17
|
+
## 0.2.263 — checkout matches the hosted widget page
|
|
18
|
+
|
|
19
|
+
- **Affected:** `LockerversePayment` and `LockerverseSignup`.
|
|
20
|
+
- **Automatic:** the form roots have no 480px maximum width any more; the form
|
|
21
|
+
fills its container, as on the hosted widget page. A host `branding` prop now
|
|
22
|
+
overrides only the fields it sets: a name or accent color keeps the community
|
|
23
|
+
logo (and the community accent when none is given). `imageUrl: null` still
|
|
24
|
+
hides the logo.
|
|
25
|
+
- **Host adoption:** in a checkout dialog, remove `max-w-*` and centering
|
|
26
|
+
wrappers around the form (see 0.2.264 for the dialog body spacing). A host that
|
|
27
|
+
wants a narrower inline form sets `style={{ maxWidth: 480 }}` or wraps it in
|
|
28
|
+
a sized container.
|
|
29
|
+
- **Check:** open checkout in the site dialog: the community logo shows, and
|
|
30
|
+
the form spacing matches the hosted widget page in the same dialog.
|
|
31
|
+
|
|
32
|
+
## 0.2.262 — centered payment and sign-up forms
|
|
8
33
|
|
|
9
34
|
- **Affected:** `LockerversePayment` (`.lockerverse-payment`) and
|
|
10
35
|
`LockerverseSignup` (`.lockerverse-signup`). The form root has a 480px
|
package/dist/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=`0.2.
|
|
1
|
+
const e=`0.2.264`;var t=class extends Error{failureKind;code;operation;reportable;recoveryRecommended;sdkVersion;serverCode;status;constructor({failureKind:t,code:n,message:r,operation:i,reportable:a,recoveryRecommended:o=!1,serverCode:s,status:c}){super(r),this.name=`LockerverseSdkError`,this.failureKind=t,this.code=n,this.operation=i,this.reportable=a,this.recoveryRecommended=o,this.sdkVersion=e,this.serverCode=s,this.status=c}};export{t as n,e as t};
|
|
2
2
|
//# sourceMappingURL=types.js.map
|