@snapdragonsnursery/react-components 1.1.37 → 1.1.38

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.37",
3
+ "version": "1.1.38",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -745,14 +745,9 @@ const ChildSearchPage = ({
745
745
  {/* Pagination */}
746
746
  {(pagination.totalCount > 0 || children.length > 0) && (
747
747
  <div className="px-6 py-8 border-t border-gray-200 dark:border-gray-700" style={{ padding: '32px 24px' }}>
748
- {/* Pagination Info and Controls */}
749
- <div className="flex items-center justify-between">
750
- <div className="text-sm text-gray-600 dark:text-gray-400">
751
- Page {pagination.page} of {pagination.totalPages || 1}
752
- </div>
753
-
754
- {/* Pagination Controls */}
755
- {(pagination.totalPages > 1 || children.length > 0) && (
748
+ {/* Pagination Controls */}
749
+ {(pagination.totalPages > 1 || children.length > 0) && (
750
+ <div className="flex justify-center">
756
751
  <Pagination>
757
752
  <PaginationContent>
758
753
  <PaginationItem>
@@ -840,12 +835,8 @@ const ChildSearchPage = ({
840
835
  </PaginationItem>
841
836
  </PaginationContent>
842
837
  </Pagination>
843
- )}
844
-
845
- <div className="text-sm text-gray-600 dark:text-gray-400">
846
- {pagination.totalCount || children.length} total children
847
838
  </div>
848
- </div>
839
+ )}
849
840
  </div>
850
841
  )}
851
842
  </>