From 2b62ec3553d1372f925d16283b381942b619d14b Mon Sep 17 00:00:00 2001 From: Eli Grey <~@eligrey.com> Date: Mon, 10 Jun 2024 14:11:47 -0700 Subject: [PATCH] Expose settings.uiShadowRoot (#132) --- package.json | 2 +- src/ui.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8fa11fb..4517fd4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Transcend Inc.", "name": "@transcend-io/airgap.js-types", "description": "TypeScript types for airgap.js interoperability with custom consent UIs", - "version": "10.12.4", + "version": "10.12.5", "homepage": "https://github.com/transcend-io/airgap.js-types", "repository": { "type": "git", diff --git a/src/ui.ts b/src/ui.ts index 3c4d0f6..314d6f8 100644 --- a/src/ui.ts +++ b/src/ui.ts @@ -186,6 +186,12 @@ export const OptionalConsentManagerConfig = t.partial({ languages: t.string, /** The override value for the consent banner z-index */ uiZIndex: t.string, + /** + * The override value for the consent banner shadow root state + * + * Potential values: 'closed' (default) and 'open' + */ + uiShadowRoot: t.string, }); /** type overload */