Skip to content

Commit

Permalink
Merge pull request #1451 from NYPL/development
Browse files Browse the repository at this point in the history
Release v2.1.1
  • Loading branch information
bigfishdesign13 authored Oct 30, 2023
2 parents 1cd65b7 + cdfa9b1 commit 24125ed
Show file tree
Hide file tree
Showing 34 changed files with 13,361 additions and 10,123 deletions.
9 changes: 9 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const config: StorybookConfig = {
},
"@storybook/addon-jest",
],

// This gets added automatically through react-vite,
// but leaving it here just to point it out.
// core: {
Expand All @@ -34,16 +35,19 @@ const config: StorybookConfig = {
name: "@storybook/react-vite",
options: {},
},

refs: {
"@chakra-ui/react": { disable: true },
},

stories: [
"../src/docs/Welcome.mdx",
"../src/docs/Chakra.mdx",
"../src/components/**/*.mdx",
"../src/components/**/*.stories.tsx",
"../src/hooks/*.mdx",
],

typescript: {
// Type-check stories during Storybook build.
check: true,
Expand All @@ -62,6 +66,7 @@ const config: StorybookConfig = {
},
},
},

async viteFinal(config, { configType }) {
return mergeConfig(config, {
// Customize the Vite config here:
Expand All @@ -73,6 +78,10 @@ const config: StorybookConfig = {
},
});
},

docs: {
autodocs: true,
},
};

export default config;
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,31 @@ Currently, this repo is in Prerelease. When it is released, this project will ad

## Prerelease

## 2.1.1 (October 26, 2023)

### Adds

- Adds a changelog to the story pages for the `Heading` component.

### Updates

- Updates the `Heading` component to set the `aria-roledescription` value as `"subtitle"` (a more familiar and recognizable value) for the `overline` element.
- Updates the `FeedbackBox` and `NewsletterSignup` components to set the `tabindex` on the internal elements to `"-1"`.
- Updates `DatePicker`'s `TextInput` to always have an `aria-label` attribute that tells screen reader users how to access the calendar.
- Updates Storybook to `v7.5.1`.

### Fixes

- Fixes a bug in the `Hero` component where custom background colors were not rendering properly in dark mode for the `"campaign"` and `"tertiary"` variants.

### Deprecates

- Deprecates the `"secondary"` and `"fiftyFifty"` variants of the `Hero` component.

## 2.1.0 (October 18, 2023)

### Adds

- Adds the `ComponentChangelogTable` component.
- Adds a changelog to the story pages for the `DatePicker`, `FeedbackBox`, `Hero`, `Slider`, and `TextInput` components.
- Adds the `FeaturedContent` component.
Expand Down
Loading

0 comments on commit 24125ed

Please sign in to comment.