Skip to content

Commit

Permalink
update autofocus values
Browse files Browse the repository at this point in the history
  • Loading branch information
linh-transcend committed Dec 6, 2024
1 parent b9e0156 commit 4ce8d0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
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": "12.6.0",
"version": "12.7.0",
"homepage": "https://github.com/transcend-io/airgap.js-types",
"repository": {
"type": "git",
Expand Down
7 changes: 5 additions & 2 deletions src/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,11 @@ export const OptionalConsentManagerConfig = t.partial({
* Potential values: 'closed' (default) and 'open'
*/
uiShadowRoot: t.string,
/** The override value for whether to focus on the first descendant of the root arg w/data-initialFocus attribute */
autofocus: t.boolean,
/**
* The override value for whether to focus on the first descendant of the root arg w/data-initialFocus attribute
* Potential values: 'on' (default) and 'off'
* */
autofocus: t.string,
});

/** type overload */
Expand Down

0 comments on commit 4ce8d0a

Please sign in to comment.