diff --git a/LICENSE b/LICENSE index 106b093..dc8dbd8 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 People Data Labs +Copyright (c) 2025 People Data Labs Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/package.json b/package.json index 04eccaa..b5c8461 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "pdl-react-autocomplete", - "version": "2.0.6", + "version": "2.1.0", "description": "A react component for the People Data Labs Autocomplete API", - "packageManager": "pnpm@10.6.5", + "packageManager": "pnpm@10.11.0", "source": "src/index.ts", "module": "dist/index.mjs", "types": "dist/index.d.ts", @@ -23,7 +23,8 @@ "lint": "eslint src --fix", "dev": "parcel watch -p 3006", "build": "parcel build", - "pub": "yarn run build && yarn publish" + "pub": "pnpm run build && pnpm publish", + "check-packages": "pnpm dlx npm-check-updates" }, "repository": "https://github.com/peopledatalabs/pdl-react-autocomplete.git", "keywords": [ diff --git a/src/Autocomplete.tsx b/src/Autocomplete.tsx index 0bf3b3c..bf71c8d 100644 --- a/src/Autocomplete.tsx +++ b/src/Autocomplete.tsx @@ -177,6 +177,8 @@ function Autocomplete({ const placeholderText = () => { switch (field) { + case 'all_location': + return 'IE: miami'; case 'class': return 'IE: sales_and_marketing'; case 'company': @@ -187,6 +189,8 @@ function Autocomplete({ return 'IE: computer software'; case 'location': return 'IE: berkeley, california, united states'; + case 'location_name': + return 'IE: berkeley, california, united states'; case 'major': return 'IE: entrepreneurship'; case 'region':