PAY-12564: add GlobalMessage display rule to EmbeddedCheckoutV3AppearanceRules#1991
Conversation
Original prompt from Peg
|
🦋 Changeset detectedLatest commit: 4cbe793 The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
Reviews (1): Last reviewed commit: "feat(base): add GlobalMessage display ru..." | Re-trigger Greptile |
Description
Mirrors the new appearance rule introduced in Paella-Labs/crossbit-main#27986 into the public
@crossmint/client-sdk-basetypes.Adds
GlobalMessagetoEmbeddedCheckoutV3AppearanceRulesso integrators can opt in/out of global-message banners in the embedded checkout:This is the SDK-side type that backs the runtime
GlobalMessagebehavior in the web checkout (Express Checkout now usesdefaultVisible={false}and only renders the banner whenrules.GlobalMessage.display === "visible").Test plan
pnpm --filter @crossmint/client-sdk-base buildpasses (after building workspace deps).pnpm exec biome check --diagnostic-level=error --max-diagnostics=200 packages/client/base/src/types/embed/v3/CrossmintEmbeddedCheckoutV3Props.tspasses.@crossmint/client-sdk-base.Package updates
@crossmint/client-sdk-base: minor bump (new optionalGlobalMessagerule inEmbeddedCheckoutV3AppearanceRules).Link to Devin session: https://crossmint.devinenterprise.com/sessions/52f46c7183fa4e76a894c8d6c4b71f1a
Requested by: @pabloe-crossmint