@lockerverse/sdk 0.2.234 → 0.2.236
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 +13 -0
- package/dist/types.js +1 -1
- package/package.json +1 -1
package/MIGRATIONS.md
CHANGED
|
@@ -4,6 +4,19 @@ 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.236 — community styling across auction surfaces
|
|
8
|
+
|
|
9
|
+
- **Automatic:** after updating matching SDK and React packages, the auction browser, catalog, standalone item cards, item checkout, and its result share the community accent. Cards use solid branded actions and a matching hover/focus border. Hex, CSS named, RGB and HSL accents receive contrasting text. The SDK composites translucent colors against the selected theme. Explicit `style` values take precedence; provide `--lockerverse-accent-contrast` for a contextual CSS color during server rendering. The Auburn Vault collection uses its configured two-column layout on wide screens.
|
|
10
|
+
- **Host adoption:** use `getAuctionPresentationStyle(auction, overrides?, theme?)` from `@lockerverse/react/auction-presentation` or `@lockerverse/react/auction` when composing a custom host view. A standalone result can use the helper with its community color and pass the returned `style`. Pinned embeds can continue using `getAuctionEmbedPresentation` for their catalog options.
|
|
11
|
+
- **Script hosts:** update the pinned script URL to `@0.2.236`. Keep `accent` when an explicit override is intended. React hosts keep control of headings, filters, navigation, and themes.
|
|
12
|
+
- **Check:** check the same auction's catalog, item, and result action colors in light and dark themes. Verify host color overrides and card focus without creating a live transaction.
|
|
13
|
+
|
|
14
|
+
## 0.2.235 — shared auction embed presentation
|
|
15
|
+
|
|
16
|
+
- **Script hosts:** update the script URL to `@0.2.235`. A pinned auction shows its items without the catalog header or filters. Its actions use the community color. Omit `accent` to use that color, or supply an explicit override. Auburn’s installed collection uses two columns on wide screens.
|
|
17
|
+
- **React embed hosts:** import `getAuctionEmbedPresentation(auction)` from `@lockerverse/react/auction-presentation` (safe for server components) or `@lockerverse/react/auction`. Spread `catalog` or `item` onto the corresponding component. `defaultTheme` provides the collection-specific default when applicable. Other React integrations need no host changes.
|
|
18
|
+
- **Check:** compare the same pinned auction in the script and hosted page in both themes. Check card actions, focus, item links, and the payment button without submitting a bid or payment.
|
|
19
|
+
|
|
7
20
|
## 0.2.234 — light auction catalog colors
|
|
8
21
|
|
|
9
22
|
Light catalogs use the configured accent for selected status filters and a darker accent border for hovered or focused cards. Update the package or pinned embed URL to adopt the styles.
|
package/dist/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=`0.2.
|
|
1
|
+
const e=`0.2.236`;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
|