An open source design system that's fully customizable and agent ready
TypeScript
fix: component audit — PowerSearch token, RadioList exports (#1359)
Cindy Zhang3573cf9304d8
diff --git a/packages/core/src/PowerSearch/XDSPowerSearch.tsx b/packages/core/src/PowerSearch/XDSPowerSearch.tsxindex 1bd6d1db61..3973c8aa15 100644--- a/packages/core/src/PowerSearch/XDSPowerSearch.tsx+++ b/packages/core/src/PowerSearch/XDSPowerSearch.tsx@@ -33,7 +33,12 @@ import type {XDSIconType} from '../Icon';import type {XDSIconName} from '../Icon/globalIconRegistry';import type {XDSInputStatus} from '../Field';import {useXDSPopover} from '../Popover/useXDSPopover';-import {spacingVars, colorVars, typeScaleVars} from '../theme/tokens.stylex';+import {+ spacingVars,+ colorVars,+ typeScaleVars,+ fontWeightVars,+} from '../theme/tokens.stylex';import {useInternalConfig} from './useInternalConfig';import {usePowerSearchSource} from './usePowerSearchSource';import {formatFilterValue} from './formatFilterValue';@@ -78,7 +83,7 @@ const OPERATOR_VALUE_TYPE_TO_ICON: Record<string, XDSIconName> = {const tokenValueStyles = stylex.create({value: {- fontWeight: 'bold',+ fontWeight: fontWeightVars['--font-weight-bold'],},});diff --git a/packages/core/src/RadioList/index.ts b/packages/core/src/RadioList/index.tsindex 82996f96b3..4fbf3c6a2d 100644--- a/packages/core/src/RadioList/index.ts+++ b/packages/core/src/RadioList/index.ts@@ -9,7 +9,11 @@* SYNC: When modified, update this header*/-export {XDSRadioList} from './XDSRadioList';-export type {XDSRadioListProps, XDSRadioListSize} from './XDSRadioList';+export {XDSRadioList, XDSRadioListContext} from './XDSRadioList';+export type {+ XDSRadioListProps,+ XDSRadioListSize,+ XDSRadioListContextValue,+} from './XDSRadioList';export {XDSRadioListItem} from './XDSRadioListItem';export type {XDSRadioListItemProps} from './XDSRadioListItem';