UNPKG

restrict-focus

Version:

A small library to restrict focus/tabbing to only within a specified element. Shadow DOM aware, so it works with web components.

39 lines (38 loc) 903 B
{ "name": "restrict-focus", "version": "0.2.2-test2", "description": "A small library to restrict focus/tabbing to only within a specified element. Shadow DOM aware, so it works with web components.", "homepage": "https://github.com/nullset/restrict-focus", "files": [ "dist" ], "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/restrict-focus.js", "default": "./dist/restrict-focus.js" } }, "types": "./dist/index.d.ts", "keywords": [ "focus", "tab", "tabbing", "shadowDOM", "web components" ], "author": "Nathan Wright", "license": "ISC", "scripts": { "dev": "vite --port 8082", "serve": "vite preview", "build": "vite build" }, "devDependencies": { "@types/node": "^22.10.9", "typescript": "~5.7.3", "vite": "^6.0.5", "vite-plugin-dts": "^4.5.0" } }