@snapdragonsnursery/react-components 1.18.0 → 1.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snapdragonsnursery/react-components",
3
- "version": "1.18.0",
3
+ "version": "1.18.1",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -304,6 +304,10 @@ export const EmployeeSelect = ({
304
304
  <div className="px-3 py-6 text-center text-sm text-muted-foreground">
305
305
  Start typing to search for employees...
306
306
  </div>
307
+ ) : isSearching ? (
308
+ <div className="px-3 py-6 text-center">
309
+ <div className="animate-spin rounded-full h-6 w-6 border-b-2 border-primary mx-auto"></div>
310
+ </div>
307
311
  ) : processedItems.length === 0 ? (
308
312
  <div className="px-3 py-6 text-center text-sm text-muted-foreground">
309
313
  No employees found