UNPKG

@tanstack/hotkeys

Version:

Type-safe, framework-agnostic keyboard hotkey management for the browser

32 lines • 1.75 kB
import { BrazilianKeys } from "./brazilian.js"; import { BulgarianKeys } from "./bulgarian.js"; import { CanadianFrenchKeys } from "./canadian-french.js"; import { CroatianKeys } from "./croatian.js"; import { CzechKeys } from "./czech.js"; import { DanishKeys } from "./danish.js"; import { EstonianKeys } from "./estonian.js"; import { FrenchKeys } from "./french.js"; import { GermanKeys } from "./german.js"; import { GreekKeys } from "./greek.js"; import { HebrewKeys } from "./hebrew.js"; import { HungarianKeys } from "./hungarian.js"; import { IcelandicKeys } from "./icelandic.js"; import { ItalianKeys } from "./italian.js"; import { LatinAmericanKeys } from "./latin-american.js"; import { LithuanianKeys } from "./lithuanian.js"; import { PortugueseKeys } from "./portuguese.js"; import { RomanianKeys } from "./romanian.js"; import { RussianKeys } from "./russian.js"; import { SlovakKeys } from "./slovak.js"; import { SpanishKeys } from "./spanish.js"; import { SwedishKeys } from "./swedish.js"; import { SwissGermanKeys } from "./swiss.js"; import { TurkishKeys } from "./turkish.js"; import { UkKeys } from "./uk.js"; import { UkrainianKeys } from "./ukrainian.js"; import { UsKeys } from "./us.js"; /** * Every key of the built-in key sets. tests/key-sets.test.ts checks that it * lists every set. */ export type BuiltInLayoutKey = UsKeys | UkKeys | GermanKeys | SwissGermanKeys | FrenchKeys | CanadianFrenchKeys | SpanishKeys | LatinAmericanKeys | PortugueseKeys | BrazilianKeys | ItalianKeys | DanishKeys | SwedishKeys | IcelandicKeys | CzechKeys | SlovakKeys | HungarianKeys | TurkishKeys | RomanianKeys | CroatianKeys | EstonianKeys | LithuanianKeys | GreekKeys | RussianKeys | UkrainianKeys | BulgarianKeys | HebrewKeys;