├── .eslintrc.js ├── .github └── workflows │ └── build.yml ├── .gitignore ├── .husky └── pre-commit ├── .npmrc ├── .prettierrc.js ├── .vscode └── settings.json ├── example ├── index.html ├── index.tsx ├── postcss.config.js └── tsconfig.json ├── netlify.toml ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── readme.md ├── renovate.json ├── rollup.config.js ├── scripts ├── empty-project │ └── package.json └── netlify.sh ├── src ├── components │ ├── Guide.module.css │ ├── Guide.tsx │ ├── GuidePanelAnimated.module.css │ ├── GuidePanelAnimated.tsx │ └── Provider.tsx ├── constants │ └── key-map.ts ├── context │ └── ShortcutContext.tsx ├── enums │ ├── index.ts │ └── modifier.ts ├── global.d.ts ├── helper │ └── index.ts ├── hooks │ ├── index.ts │ ├── use-media-color.ts │ ├── use-shortcut-list.ts │ ├── use-shortcut-options.ts │ ├── use-shortcut.ts │ └── use-state-to-ref.ts ├── index.ts ├── scripts │ ├── empty-project │ │ └── package.json │ └── netlify.sh ├── tsconfig.build.json ├── tsconfig.cjs.json ├── tsconfig.json ├── types │ ├── index.ts │ └── key.ts └── utils │ ├── chunk.ts │ ├── clsx.ts │ ├── css.ts │ ├── debounce.ts │ ├── input.ts │ ├── merge.ts │ └── tool.ts ├── tsconfig.json ├── vite.config.js └── vitest.config.ts /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | lint-staged 5 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/.npmrc -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('@innei-util/prettier') 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/example/index.html -------------------------------------------------------------------------------- /example/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/example/index.tsx -------------------------------------------------------------------------------- /example/postcss.config.js: -------------------------------------------------------------------------------- 1 | ../postcss.config.js -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/netlify.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/postcss.config.js -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/readme.md -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/renovate.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/rollup.config.js -------------------------------------------------------------------------------- /scripts/empty-project/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/scripts/empty-project/package.json -------------------------------------------------------------------------------- /scripts/netlify.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/scripts/netlify.sh -------------------------------------------------------------------------------- /src/components/Guide.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/components/Guide.module.css -------------------------------------------------------------------------------- /src/components/Guide.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/components/Guide.tsx -------------------------------------------------------------------------------- /src/components/GuidePanelAnimated.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/components/GuidePanelAnimated.module.css -------------------------------------------------------------------------------- /src/components/GuidePanelAnimated.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/components/GuidePanelAnimated.tsx -------------------------------------------------------------------------------- /src/components/Provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/components/Provider.tsx -------------------------------------------------------------------------------- /src/constants/key-map.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/constants/key-map.ts -------------------------------------------------------------------------------- /src/context/ShortcutContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/context/ShortcutContext.tsx -------------------------------------------------------------------------------- /src/enums/index.ts: -------------------------------------------------------------------------------- 1 | export * from './modifier' 2 | -------------------------------------------------------------------------------- /src/enums/modifier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/enums/modifier.ts -------------------------------------------------------------------------------- /src/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/global.d.ts -------------------------------------------------------------------------------- /src/helper/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/helper/index.ts -------------------------------------------------------------------------------- /src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/hooks/index.ts -------------------------------------------------------------------------------- /src/hooks/use-media-color.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/hooks/use-media-color.ts -------------------------------------------------------------------------------- /src/hooks/use-shortcut-list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/hooks/use-shortcut-list.ts -------------------------------------------------------------------------------- /src/hooks/use-shortcut-options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/hooks/use-shortcut-options.ts -------------------------------------------------------------------------------- /src/hooks/use-shortcut.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/hooks/use-shortcut.ts -------------------------------------------------------------------------------- /src/hooks/use-state-to-ref.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/hooks/use-state-to-ref.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/scripts/empty-project/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/scripts/empty-project/package.json -------------------------------------------------------------------------------- /src/scripts/netlify.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/scripts/netlify.sh -------------------------------------------------------------------------------- /src/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/tsconfig.build.json -------------------------------------------------------------------------------- /src/tsconfig.cjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/tsconfig.cjs.json -------------------------------------------------------------------------------- /src/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/tsconfig.json -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/types/key.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/types/key.ts -------------------------------------------------------------------------------- /src/utils/chunk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/utils/chunk.ts -------------------------------------------------------------------------------- /src/utils/clsx.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/utils/clsx.ts -------------------------------------------------------------------------------- /src/utils/css.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/utils/css.ts -------------------------------------------------------------------------------- /src/utils/debounce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/utils/debounce.ts -------------------------------------------------------------------------------- /src/utils/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/utils/input.ts -------------------------------------------------------------------------------- /src/utils/merge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/utils/merge.ts -------------------------------------------------------------------------------- /src/utils/tool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/src/utils/tool.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/vite.config.js -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reactify-component/react-shortcut-guide/HEAD/vitest.config.ts --------------------------------------------------------------------------------