Skip to content

Commit

Permalink
Expose settings.uiShadowRoot
Browse files Browse the repository at this point in the history
  • Loading branch information
eligrey committed Jun 10, 2024
1 parent d42d40e commit b585c2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions src/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit b585c2a

Please sign in to comment.