Skip to content

Commit

Permalink
chore: document changes
Browse files Browse the repository at this point in the history
  • Loading branch information
talkor committed Aug 5, 2024
1 parent 3e3737c commit 2c77204
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions packages/core/docs/vibe-3-changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 1 addition & 7 deletions packages/core/src/components/Button/ButtonConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: ""
Expand Down

0 comments on commit 2c77204

Please sign in to comment.