├── .browserslistrc ├── .eslintrc.json ├── .github └── workflows │ ├── bundle-size-comment.yml │ ├── bundle-size.yml │ └── ci.yml ├── .gitignore ├── .ladle └── config.mjs ├── .npmignore ├── .nvmrc ├── .prettierignore ├── .prettierrc.json ├── .vscode └── settings.json ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CredScanSuppressions.json ├── LICENSE ├── README.md ├── SECURITY.md ├── azure-pipelines.bundlesize.yml ├── azure-pipelines.yml ├── bundle-size ├── all-exports.fixture.js ├── create-n-dispose.fixture.js └── focus-in-const.fixture.js ├── monosize.config.mjs ├── package.json ├── playwright.config.ts ├── src ├── FocusEvent.ts ├── Keyborg.ts ├── WeakRefInstance.ts └── index.ts ├── tests ├── common │ ├── KeyboardMode.tsx │ └── ShadowRoot.tsx ├── focus-behavior.spec.ts ├── focus-behavior.stories.tsx ├── focus-in-event.spec.ts ├── focus-in-event.stories.tsx ├── shadow-dom.spec.ts └── shadow-dom.stories.tsx ├── tsconfig.json ├── tsup.config.mjs └── vite.config.mts /.browserslistrc: -------------------------------------------------------------------------------- 1 | defaults 2 | not IE 11 3 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/bundle-size-comment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/.github/workflows/bundle-size-comment.yml -------------------------------------------------------------------------------- /.github/workflows/bundle-size.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/.github/workflows/bundle-size.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/.gitignore -------------------------------------------------------------------------------- /.ladle/config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/.ladle/config.mjs -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/.npmignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v14.18.1 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Ignore artifacts: 2 | dist 3 | node_modules 4 | *.yml -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CredScanSuppressions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/CredScanSuppressions.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/SECURITY.md -------------------------------------------------------------------------------- /azure-pipelines.bundlesize.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/azure-pipelines.bundlesize.yml -------------------------------------------------------------------------------- /azure-pipelines.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/azure-pipelines.yml -------------------------------------------------------------------------------- /bundle-size/all-exports.fixture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/bundle-size/all-exports.fixture.js -------------------------------------------------------------------------------- /bundle-size/create-n-dispose.fixture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/bundle-size/create-n-dispose.fixture.js -------------------------------------------------------------------------------- /bundle-size/focus-in-const.fixture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/bundle-size/focus-in-const.fixture.js -------------------------------------------------------------------------------- /monosize.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/monosize.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/package.json -------------------------------------------------------------------------------- /playwright.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/playwright.config.ts -------------------------------------------------------------------------------- /src/FocusEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/src/FocusEvent.ts -------------------------------------------------------------------------------- /src/Keyborg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/src/Keyborg.ts -------------------------------------------------------------------------------- /src/WeakRefInstance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/src/WeakRefInstance.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/src/index.ts -------------------------------------------------------------------------------- /tests/common/KeyboardMode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/tests/common/KeyboardMode.tsx -------------------------------------------------------------------------------- /tests/common/ShadowRoot.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/tests/common/ShadowRoot.tsx -------------------------------------------------------------------------------- /tests/focus-behavior.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/tests/focus-behavior.spec.ts -------------------------------------------------------------------------------- /tests/focus-behavior.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/tests/focus-behavior.stories.tsx -------------------------------------------------------------------------------- /tests/focus-in-event.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/tests/focus-in-event.spec.ts -------------------------------------------------------------------------------- /tests/focus-in-event.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/tests/focus-in-event.stories.tsx -------------------------------------------------------------------------------- /tests/shadow-dom.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/tests/shadow-dom.spec.ts -------------------------------------------------------------------------------- /tests/shadow-dom.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/tests/shadow-dom.stories.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/tsup.config.mjs -------------------------------------------------------------------------------- /vite.config.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/keyborg/HEAD/vite.config.mts --------------------------------------------------------------------------------