Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix: correct radius tokens in Selector, Typeahead, PowerSearch (#1001)

Ernest9e19be753c49
diff --git a/packages/core/src/PowerSearch/PowerSearchEditPopover.tsx b/packages/core/src/PowerSearch/PowerSearchEditPopover.tsx
index 300b620660..f586a9a71e 100644
--- a/packages/core/src/PowerSearch/PowerSearchEditPopover.tsx
+++ b/packages/core/src/PowerSearch/PowerSearchEditPopover.tsx
@@ -36,7 +36,7 @@ import type {
const styles = stylex.create({
container: {
backgroundColor: colorVars['--color-background-surface'],
- borderRadius: radiusVars['--radius-element'],
+ borderRadius: radiusVars['--radius-container'],
boxShadow: shadowVars['--shadow-low'],
overflow: 'hidden',
},
diff --git a/packages/core/src/Selector/XDSSelector.tsx b/packages/core/src/Selector/XDSSelector.tsx
index cb3a60c0d0..636226d1dc 100644
--- a/packages/core/src/Selector/XDSSelector.tsx
+++ b/packages/core/src/Selector/XDSSelector.tsx
@@ -133,7 +133,7 @@ const styles = stylex.create({
maxHeight: '300px',
overflowY: 'auto',
padding: spacingVars['--spacing-1'],
- borderRadius: radiusVars['--radius-element'],
+ borderRadius: radiusVars['--radius-container'],
backgroundColor: colorVars['--color-background-surface'],
boxShadow: shadowVars['--shadow-low'],
opacity: 1,
@@ -171,7 +171,7 @@ const styles = stylex.create({
gap: spacingVars['--spacing-2'],
width: '100%',
padding: spacingVars['--spacing-2'],
- borderRadius: radiusVars['--radius-inner'],
+ borderRadius: radiusVars['--radius-element'],
fontFamily: typographyVars['--font-family-body'],
fontSize: typeScaleVars['--text-label-size'],
color: colorVars['--color-text-primary'],
diff --git a/packages/core/src/Typeahead/XDSBaseTypeahead.tsx b/packages/core/src/Typeahead/XDSBaseTypeahead.tsx
index 13d7d21a86..cbcee5054a 100644
--- a/packages/core/src/Typeahead/XDSBaseTypeahead.tsx
+++ b/packages/core/src/Typeahead/XDSBaseTypeahead.tsx
@@ -177,7 +177,7 @@ const styles = stylex.create({
maxHeight: '300px',
overflowY: 'auto',
padding: spacingVars['--spacing-1'],
- borderRadius: radiusVars['--radius-element'],
+ borderRadius: radiusVars['--radius-container'],
backgroundColor: colorVars['--color-background-surface'],
boxShadow: shadowVars['--shadow-low'],
},
@@ -194,7 +194,7 @@ const styles = stylex.create({
alignItems: 'center',
width: '100%',
padding: spacingVars['--spacing-2'],
- borderRadius: radiusVars['--radius-inner'],
+ borderRadius: radiusVars['--radius-element'],
cursor: 'pointer',
outline: 'none',
backgroundColor: 'transparent',