diff --git a/packages/core/docs/vibe-3-changelog.md b/packages/core/docs/vibe-3-changelog.md index 1da046ff18..8fd84a7534 100644 --- a/packages/core/docs/vibe-3-changelog.md +++ b/packages/core/docs/vibe-3-changelog.md @@ -37,6 +37,7 @@ codemod: `avatar-component-migration` - `dataTestId` -> `data-testid` [codemod] - `children` prop is now mandatory +- Removed `sm`, `md`, `lg` sizes, use `small`, `medium`, `large` accordingly ### ButtonGroup diff --git a/packages/core/src/components/Button/ButtonConstants.ts b/packages/core/src/components/Button/ButtonConstants.ts index 9efd104d0d..51afa5365f 100644 --- a/packages/core/src/components/Button/ButtonConstants.ts +++ b/packages/core/src/components/Button/ButtonConstants.ts @@ -24,13 +24,7 @@ export enum ButtonColor { // FIXED_DARK = "fixed-dark" } -export const OLD_BUTTON_SIZES = { - sm: SIZES.SMALL, - md: SIZES.MEDIUM, - lg: SIZES.LARGE -} as const; - -export type Size = (typeof SIZES)[keyof typeof SIZES] | keyof typeof OLD_BUTTON_SIZES; +export type Size = (typeof SIZES)[keyof typeof SIZES]; export const BUTTON_KIND_CLASS_NAMES = { PRIMARY: ""