@snapdragonsnursery/react-components 1.1.32 → 1.1.34
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 +1 -1
- package/src/ChildSearchPage.jsx +10 -3
package/package.json
CHANGED
package/src/ChildSearchPage.jsx
CHANGED
|
@@ -45,7 +45,8 @@ import {
|
|
|
45
45
|
import { cn } from "./lib/utils";
|
|
46
46
|
|
|
47
47
|
const ChildSearchPage = ({
|
|
48
|
-
title = "
|
|
48
|
+
title = "Child Search",
|
|
49
|
+
searchPlaceholder = "Search by name or child ID...",
|
|
49
50
|
siteId = null,
|
|
50
51
|
siteIds = null,
|
|
51
52
|
sites = null,
|
|
@@ -436,7 +437,7 @@ const ChildSearchPage = ({
|
|
|
436
437
|
<div className="relative mb-4">
|
|
437
438
|
<Input
|
|
438
439
|
type="text"
|
|
439
|
-
placeholder=
|
|
440
|
+
placeholder={searchPlaceholder}
|
|
440
441
|
value={searchTerm}
|
|
441
442
|
onChange={(e) => setSearchTerm(e.target.value)}
|
|
442
443
|
className="pl-4"
|
|
@@ -467,7 +468,13 @@ const ChildSearchPage = ({
|
|
|
467
468
|
|
|
468
469
|
{/* Advanced Filters */}
|
|
469
470
|
{isAdvancedFiltersOpen && (
|
|
470
|
-
<div
|
|
471
|
+
<div
|
|
472
|
+
className="mt-4 p-4 rounded-lg"
|
|
473
|
+
style={{
|
|
474
|
+
backgroundColor: 'hsl(var(--card))',
|
|
475
|
+
border: '1px solid hsl(var(--border))'
|
|
476
|
+
}}
|
|
477
|
+
>
|
|
471
478
|
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
|
|
472
479
|
{/* Status Filter */}
|
|
473
480
|
<div>
|