UNPKG

@acusti/dropdown

Version:

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

69 lines (68 loc) 1.97 kB
{ "name": "@acusti/dropdown", "version": "0.56.0", "description": "React component that renders a dropdown with a trigger and supports searching, keyboard access, and more", "keywords": [ "a11y", "accessibility", "combobox", "dropdown", "key-navigation", "menu", "react", "react-component", "search", "ssr", "ts", "typeahead", "typescript" ], "homepage": "https://github.com/acusti/uikit/tree/main/packages/dropdown#readme", "bugs": { "url": "https://github.com/acusti/uikit/issues" }, "license": "Unlicense", "author": "andrew patton <andrew@acusti.ca> (https://www.acusti.ca)", "repository": { "type": "git", "url": "https://github.com/acusti/uikit.git", "directory": "packages/dropdown" }, "files": [ "dist" ], "type": "module", "sideEffects": false, "main": "./dist/Dropdown.js", "types": "./dist/Dropdown.d.ts", "exports": "./dist/Dropdown.js", "scripts": { "test": "vitest", "build": "vite build", "tsc": "tsc --noEmit" }, "dependencies": { "@acusti/matchmaking": "^0.10.0", "@acusti/use-keyboard-events": "^0.11.0", "clsx": "^2" }, "devDependencies": { "@testing-library/dom": "^10.4.1", "@testing-library/react": "^16.3.2", "@testing-library/user-event": "^14.6.1", "@types/react": "^19.2.10", "@vitejs/plugin-react": "^5.0.4", "babel-plugin-react-compiler": "^1", "happy-dom": "^20.4.0", "react": "^19", "react-dom": "^19", "typescript": "5.9.2", "unplugin-dts": "^1.0.0-beta.6", "vite": "^8.0.0-0", "vitest": "^4" }, "peerDependencies": { "react": "^19 || ~0.0.0-experimental < 0.0.0-f", "react-dom": "^19 || ~0.0.0-experimental < 0.0.0-f" } }