From fe6598b73091fac969092a3e04d58c9cdb6d7c74 Mon Sep 17 00:00:00 2001 From: Vaggelis Yfantis Date: Mon, 2 Oct 2023 11:55:28 +0300 Subject: [PATCH] chore(clerk-js,types): Update names of descriptors --- packages/clerk-js/src/ui/customizables/elementDescriptors.ts | 4 ++-- packages/clerk-js/src/ui/elements/Pagination.tsx | 4 ++-- packages/types/src/appearance.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/clerk-js/src/ui/customizables/elementDescriptors.ts b/packages/clerk-js/src/ui/customizables/elementDescriptors.ts index a91891deed..2a98c8463e 100644 --- a/packages/clerk-js/src/ui/customizables/elementDescriptors.ts +++ b/packages/clerk-js/src/ui/customizables/elementDescriptors.ts @@ -192,8 +192,8 @@ export const APPEARANCE_KEYS = containsAllElementsConfigKeys([ 'tableHead', - 'paginationPageButton', - 'paginationInfoText', + 'paginationButton', + 'paginationRowText', 'selectButton', 'selectSearchInput', diff --git a/packages/clerk-js/src/ui/elements/Pagination.tsx b/packages/clerk-js/src/ui/elements/Pagination.tsx index 767eab1d03..39b5dd8609 100644 --- a/packages/clerk-js/src/ui/elements/Pagination.tsx +++ b/packages/clerk-js/src/ui/elements/Pagination.tsx @@ -31,7 +31,7 @@ const PageButton = (props: PropsOfComponent & { isActive?: boolea }, sx, ]} - elementDescriptor={descriptors.paginationPageButton} + elementDescriptor={descriptors.paginationButton} {...rest} /> ); @@ -53,7 +53,7 @@ const RowInformation = (props: RowInfoProps) => { } = props; return ( - + ; - paginationPageButton: WithOptions; - paginationInfoText: WithOptions; + paginationButton: WithOptions; + paginationRowText: WithOptions; selectButton: WithOptions; selectSearchInput: WithOptions;