UNPKG

@ryvora/react-menu

Version:

🍽️ The engine for interactive menus in React. Handles selection, navigation, and open state!

97 lines 2.57 kB
{ "name": "@ryvora/react-menu", "version": "2.0.0", "license": "MIT", "source": "./src/index.ts", "main": "./dist/index.js", "module": "./dist/index.mjs", "files": [ "dist", "README.md" ], "sideEffects": false, "dependencies": { "aria-hidden": "^1.2.4", "react-remove-scroll": "^2.6.3", "@ryvora/primitive": "2.0.0", "@ryvora/react-compose-refs": "2.0.0", "@ryvora/react-dismissable-layer": "2.0.0", "@ryvora/react-context": "2.0.0", "@ryvora/react-focus-guards": "2.0.0", "@ryvora/react-focus-scope": "2.0.0", "@ryvora/react-id": "2.0.0", "@ryvora/react-portal": "2.0.0", "@ryvora/react-direction": "2.0.0", "@ryvora/react-collection": "2.0.0", "@ryvora/react-popper": "2.0.0", "@ryvora/react-primitive": "2.0.0", "@ryvora/react-slot": "2.0.0", "@ryvora/react-use-callback-ref": "2.0.0", "@ryvora/react-presence": "2.0.0", "@ryvora/react-roving-focus": "2.0.0" }, "devDependencies": { "@types/react": "^19.0.7", "@types/react-dom": "^19.0.3", "eslint": "^9.18.0", "react": "^19.1.0", "react-dom": "^19.1.0", "typescript": "^5.7.3", "@repo/builder": "2.0.0", "@repo/typescript-config": "2.0.0", "@repo/eslint-config": "2.0.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "peerDependenciesMeta": { "@types/react": { "optional": true }, "@types/react-dom": { "optional": true } }, "homepage": "https:/npmjs.com/package/@ryvora/primitives", "repository": { "type": "git", "url": "git+https://github.com/ryvora/primitives.git" }, "bugs": { "url": "https://github.com/ryvora/primitives/issues" }, "description": "🍽️ The engine for interactive menus in React. Handles selection, navigation, and open state!", "keywords": [ "react", "menu", "dropdown", "context menu", "select", "navigation", "keyboard", "engine", "ryvora" ], "scripts": { "lint": "eslint --max-warnings 0 src", "clean": "rm -rf dist", "typecheck": "tsc --noEmit", "build": "pnpm exec ryvora-build" }, "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } } }