UNPKG

@acusti/dropdown

Version:

React component that renders a dropdown with a trigger and supports searching, keyboard access, and more

70 lines (69 loc) 2.04 kB
{ "name": "@acusti/dropdown", "version": "0.50.1", "type": "module", "sideEffects": false, "exports": "./dist/Dropdown.js", "main": "./dist/Dropdown.js", "types": "./dist/Dropdown.d.ts", "files": [ "dist" ], "description": "React component that renders a dropdown with a trigger and supports searching, keyboard access, and more", "keywords": [ "react", "react-component", "dropdown", "menu", "combobox", "search", "typeahead", "a11y", "accessibility", "key-navigation", "ssr", "typescript", "ts" ], "scripts": { "test": "vitest", "build": "vite build" }, "repository": { "type": "git", "url": "https://github.com/acusti/uikit.git", "directory": "packages/dropdown" }, "author": "andrew patton <andrew@acusti.ca> (https://www.acusti.ca)", "license": "Unlicense", "bugs": { "url": "https://github.com/acusti/uikit/issues" }, "homepage": "https://github.com/acusti/uikit/tree/main/packages/dropdown#readme", "devDependencies": { "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/react": "^19.1.8", "@vitejs/plugin-react": "^4.6.0", "babel-plugin-react-compiler": "rc", "happy-dom": "^18.0.1", "react": "^19", "react-dom": "^19", "typescript": "5.8.3", "unplugin-dts": "^1.0.0-beta.2", "vite": "^7.0.0-0", "vitest": "^3.2.4" }, "dependencies": { "@acusti/matchmaking": "^0.10.0", "@acusti/styling": "^2.1.0", "@acusti/use-bounding-client-rect": "^2.0.1", "@acusti/use-keyboard-events": "^0.11.0", "clsx": "^2" }, "peerDependencies": { "react": "^19 || ~0.0.0-experimental < 0.0.0-f", "react-dom": "^19 || ~0.0.0-experimental < 0.0.0-f" } }