Skip to content

Commit

Permalink
Merge branch 'main' into sc-book-bookmark-icon
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamwasp authored Nov 30, 2023
2 parents 5cc3b78 + 591e8ed commit 25ddc91
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 11 deletions.
4 changes: 4 additions & 0 deletions packages/gamut-kit/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [0.6.369](https://github.com/Codecademy/gamut/compare/@codecademy/[email protected]...@codecademy/[email protected]) (2023-11-30)

**Note:** Version bump only for package @codecademy/gamut-kit

### [0.6.368](https://github.com/Codecademy/gamut/compare/@codecademy/[email protected]...@codecademy/[email protected]) (2023-11-27)

**Note:** Version bump only for package @codecademy/gamut-kit
Expand Down
4 changes: 2 additions & 2 deletions packages/gamut-kit/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@codecademy/gamut-kit",
"description": "Styleguide & Component library for Codecademy",
"version": "0.6.368",
"version": "0.6.369",
"author": "Codecademy Engineering <[email protected]>",
"dependencies": {
"@codecademy/gamut": "55.10.4",
"@codecademy/gamut": "55.10.5",
"@codecademy/gamut-icons": "9.11.1",
"@codecademy/gamut-illustrations": "0.41.1",
"@codecademy/gamut-patterns": "0.9.11",
Expand Down
6 changes: 6 additions & 0 deletions packages/gamut/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [55.10.5](https://github.com/Codecademy/gamut/compare/@codecademy/[email protected]...@codecademy/[email protected]) (2023-11-30)

### Bug Fixes

- **Badge:** color of secondary badges ([a9b41ba](https://github.com/Codecademy/gamut/commit/a9b41ba7e17c6a309e09067506ddc2a7ebdc7f44))

### [55.10.4](https://github.com/Codecademy/gamut/compare/@codecademy/[email protected]...@codecademy/[email protected]) (2023-11-27)

**Note:** Version bump only for package @codecademy/gamut
Expand Down
2 changes: 1 addition & 1 deletion packages/gamut/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@codecademy/gamut",
"description": "Styleguide & Component library for Codecademy",
"version": "55.10.4",
"version": "55.10.5",
"author": "Codecademy Engineering <[email protected]>",
"dependencies": {
"@codecademy/gamut-icons": "9.11.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/gamut/src/Badge/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const colorVariants = variant({
textColor: 'navy',
},
secondary: {
bg: `text-disabled`,
bg: 'text-secondary',
textColor: 'background',
},
tertiary: {
Expand Down
6 changes: 6 additions & 0 deletions packages/styleguide/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

### [66.8.5](https://github.com/Codecademy/gamut/compare/@codecademy/[email protected]...@codecademy/[email protected]) (2023-11-30)

### Bug Fixes

- **Badge:** color of secondary badges ([a9b41ba](https://github.com/Codecademy/gamut/commit/a9b41ba7e17c6a309e09067506ddc2a7ebdc7f44))

### [66.8.4](https://github.com/Codecademy/gamut/compare/@codecademy/[email protected]...@codecademy/[email protected]) (2023-11-27)

**Note:** Version bump only for package @codecademy/styleguide
Expand Down
4 changes: 2 additions & 2 deletions packages/styleguide/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@codecademy/styleguide",
"description": "Styleguide & Component library for codecademy.com",
"version": "66.8.4",
"version": "66.8.5",
"author": "Codecademy Engineering",
"dependencies": {
"@codecademy/gamut": "55.10.4",
"@codecademy/gamut": "55.10.5",
"@codecademy/gamut-icons": "9.11.1",
"@codecademy/gamut-illustrations": "0.41.1",
"@codecademy/gamut-patterns": "0.9.11",
Expand Down
10 changes: 5 additions & 5 deletions packages/styleguide/stories/Atoms/Badge.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ We have two `size` options, which should be used according to their context:
- Use `sm` when the `Badge` is inline with other components such as <LinkTo kind='Typography/Text'>Text</LinkTo>

<Canvas>
<Story
name="default size"
args={{ variant: 'tertiary', children: 'default size' }}
>
<Story name="default size" args={{ children: 'default size' }}>
{BadgeTemplate.bind({})}
</Story>
<Story name="small" args={{ size: 'sm', children: 'sm size' }}>
<Story
name="small"
args={{ children: 'sm size', size: 'sm', variant: 'tertiary' }}
>
{BadgeTemplate.bind({})}
</Story>
</Canvas>
Expand Down

0 comments on commit 25ddc91

Please sign in to comment.