An open source design system that's fully customizable and agent ready
TypeScript
fix: theme audit — Pagination dot xdsClassName + Popover radius token (#799)
Cindy Zhang11ed295eb6b6
diff --git a/packages/core/src/Pagination/XDSPagination.tsx b/packages/core/src/Pagination/XDSPagination.tsxindex 861d53c350..2187ce16ce 100644--- a/packages/core/src/Pagination/XDSPagination.tsx+++ b/packages/core/src/Pagination/XDSPagination.tsx@@ -503,11 +503,17 @@ export function XDSPagination({aria-current={i + 1 === page ? 'page' : undefined}onClick={() => handlePageChange(i + 1)}disabled={isDisabled}- {...stylex.props(- styles.dot,- isSm && styles.dotSm,- i + 1 === page && styles.dotActive,- isDisabled && styles.dotDisabled,+ {...mergeProps(+ xdsClassName('pagination-dot', {+ active: i + 1 === page ? 'active' : null,+ size,+ }),+ stylex.props(+ styles.dot,+ isSm && styles.dotSm,+ i + 1 === page && styles.dotActive,+ isDisabled && styles.dotDisabled,+ ),)}/>))}diff --git a/packages/core/src/Popover/XDSPopover.tsx b/packages/core/src/Popover/XDSPopover.tsxindex 7f8480e8e2..830694f9b0 100644--- a/packages/core/src/Popover/XDSPopover.tsx+++ b/packages/core/src/Popover/XDSPopover.tsx@@ -194,8 +194,7 @@ const styles = stylex.create({container: {backgroundColor: colorVars['--color-surface'],color: colorVars['--color-text-primary'],- '--popover-radius': radiusVars['--radius-2'],- borderRadius: 'var(--popover-radius)',+ borderRadius: radiusVars['--radius-2'],boxShadow: shadowVars['--shadow-menu'],},contentPadding: {