@snapdragonsnursery/react-components 1.1.27 → 1.1.29

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.1.27",
3
+ "version": "1.1.29",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -425,8 +425,8 @@ const ChildSearchPage = ({
425
425
  const endItem = Math.min(pagination.page * pagination.pageSize, actualTotalCount);
426
426
 
427
427
  return (
428
- <div className="bg-blue-100 dark:bg-blue-900">
429
- <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
428
+ <div className="bg-gray-50 dark:bg-gray-900">
429
+ <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
430
430
  {/* Header */}
431
431
  <div className="mb-8">
432
432
  <h1 className="text-3xl font-bold text-gray-900 dark:text-white">
@@ -665,7 +665,7 @@ const ChildSearchPage = ({
665
665
  {!loading && !error && (
666
666
  <>
667
667
  {/* Results Header */}
668
- <div className="px-6 py-4 border-b border-gray-200 dark:border-gray-700">
668
+ <div className="px-6 py-6 border-b border-gray-200 dark:border-gray-700">
669
669
  <div className="flex items-center justify-between">
670
670
  <div className="text-sm text-gray-600 dark:text-gray-400">
671
671
  {(pagination.totalCount > 0 || children.length > 0)
@@ -677,7 +677,7 @@ const ChildSearchPage = ({
677
677
 
678
678
  {/* Table */}
679
679
  {children.length > 0 ? (
680
- <div className="overflow-x-auto">
680
+ <div className="overflow-x-auto mb-6">
681
681
  <Table>
682
682
  <TableHeader>
683
683
  {table.getHeaderGroups().map((headerGroup) => (
@@ -730,7 +730,7 @@ const ChildSearchPage = ({
730
730
  </Table>
731
731
  </div>
732
732
  ) : (
733
- <div className="p-6 text-center text-gray-500 dark:text-gray-400">
733
+ <div className="p-6 text-center text-gray-500 dark:text-gray-400 mb-6">
734
734
  {debouncedSearchTerm
735
735
  ? "No children found matching your search."
736
736
  : "Start typing to search for children."}
@@ -739,9 +739,9 @@ const ChildSearchPage = ({
739
739
 
740
740
  {/* Pagination */}
741
741
  {(pagination.totalCount > 0 || children.length > 0) && (
742
- <div className="px-6 py-6 border-t border-gray-200 dark:border-gray-700">
742
+ <div className="px-6 py-8 border-t border-gray-200 dark:border-gray-700">
743
743
  {/* Pagination Info */}
744
- <div className="flex items-center justify-between mb-4">
744
+ <div className="flex items-center justify-between mb-6">
745
745
  <div className="text-sm text-gray-600 dark:text-gray-400">
746
746
  Page {pagination.page} of {pagination.totalPages || 1}
747
747
  </div>