Skip to content

Commit

Permalink
Merge pull request #1459 from NYPL/release-2.1.2
Browse files Browse the repository at this point in the history
Prep for Release v2.1.2
  • Loading branch information
bigfishdesign13 authored Nov 9, 2023
2 parents 7c5e615 + fe4a299 commit 74b67ee
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 23 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,19 @@ Currently, this repo is in Prerelease. When it is released, this project will ad

## Prerelease

## 2.1.2 (November 9, 2023)

### Adds

- Adds the `sizeBasedOn` prop to the `Logo` component.
- Added the `autoComplete` prop to the `TextInput` component for setting the "autocomplete" attribute manually.

### Updates

- Updates max version for Chakra UI to 1.8.9 for minor bug fixes.
- Updates max version for Chakra UI to `1.8.9` for minor bug fixes.
- Updates the layout for the `"campaign"` variant of the `Hero` component to have consistent padding on its left and right sides.
- Updates the `getSectionColors` function to also return dark mode color variants.
- Updates the `NewsletterSignup` component's `newsletterSignupType` prop to render proper dark mode variant colors.

## 2.1.1 (October 26, 2023)

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nypl/design-system-react-components",
"version": "2.1.1",
"version": "2.1.2",
"description": "NYPL Reservoir Design System React Components",
"repository": {
"type": "git",
Expand Down
8 changes: 4 additions & 4 deletions src/components/Hero/Hero.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import Link from "../Link/Link";

# Hero

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.2.0` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.2.0` |
| Latest | `2.1.2` |

## Table of Contents

Expand Down
4 changes: 2 additions & 2 deletions src/components/Hero/heroChangelogData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { ChangelogData } from "../../utils/ComponentChangelogTable";

export const changelogData: ChangelogData[] = [
{
date: "Prerelease",
version: "Prerelease",
date: "2023-11-09",
version: "2.1.2",
type: "Update",
affects: ["Styles"],
notes: [
Expand Down
8 changes: 4 additions & 4 deletions src/components/Logo/Logo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import Link from "../Link/Link";

# Logo

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.25.9` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.25.9` |
| Latest | `2.1.2` |

## Table of Contents

Expand Down
4 changes: 2 additions & 2 deletions src/components/Logo/logoChangelogData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { ChangelogData } from "../../utils/ComponentChangelogTable";

export const changelogData: ChangelogData[] = [
{
date: "Prerelease",
version: "Prerelease",
date: "2023-11-09",
version: "2.1.2",
type: "Update",
affects: ["Documentation", "Functionality", "Styles"],
notes: ["Adds `sizeBasedOn` prop to the `Logo` component."],
Expand Down
2 changes: 1 addition & 1 deletion src/components/NewsletterSignup/NewsletterSignup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { changelogData } from "./newsletterSignupChangelogData";
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `2.1.0` |
| Latest | `2.1.1` |
| Latest | `2.1.2` |

## Table of Contents

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
import { ChangelogData } from "../../utils/ComponentChangelogTable";

export const changelogData: ChangelogData[] = [
{
date: "2023-11-09",
version: "2.1.2",
type: "Update",
affects: ["Styles"],
notes: [
"Updates the dark mode color variants for the `newsletterSignupType` prop.",
],
},
{
date: "2023-10-26",
version: "2.1.1",
Expand Down
8 changes: 4 additions & 4 deletions src/components/TextInput/TextInput.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import { changelogData } from "./textInputChangelogData";

# TextInput

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.22.0` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.22.0` |
| Latest | `2.1.2` |

## Table of Contents

Expand Down
4 changes: 2 additions & 2 deletions src/components/TextInput/textInputChangelogData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { ChangelogData } from "../../utils/ComponentChangelogTable";

export const changelogData: ChangelogData[] = [
{
date: "Prerelease",
version: "Prerelease",
date: "2023-11-09",
version: "2.1.2",
type: "Update",
affects: ["Accessibility"],
notes: [
Expand Down

1 comment on commit 74b67ee

@vercel
Copy link

@vercel vercel bot commented on 74b67ee Nov 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.