Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prep for Release v2.0.0 #1425

Merged
merged 2 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ Currently, this repo is in Prerelease. When it is released, this project will ad

## Prerelease

## 2.0.0 (September 28, 2023)

### Breaking Changes

- This update introduces a number of visual breaking changes related to typography styles.
- Removes the `FilterBar` and `MultiSelect` components.
- Removes the `useFilterBar` and `useMultiSelect` hooks.

### Adds

- Adds the `isUnderlined` prop to the `Link` component.
Expand All @@ -26,11 +34,6 @@ Currently, this repo is in Prerelease. When it is released, this project will ad
- Updates all components to implement the `Typo2023` styles.
- Updates the `Breadcrumbs`, `Card`, `Heading`, `Pagination`, and `SkipNavigation` components to implement the `Typo2023` link patterns.

### Remvoes

- Revmoves the `FilterBar` and `MultiSelect` components.
- Removes the `useFilterBar` and `useMultiSelect` hooks.

## 1.7.3 (September 13, 2023)

### Updates
Expand Down
204 changes: 102 additions & 102 deletions package-lock.json

Large diffs are not rendered by default.

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.0.0-rc8",
"version": "2.0.0",
"description": "NYPL Reservoir Design System React Components",
"repository": {
"type": "git",
Expand Down
8 changes: 4 additions & 4 deletions src/components/Accordion/Accordion.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# Accordion

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.1.0` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.1.0` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/AlphabetFilter/AlphabetFilter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# AlphabetFilter

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `1.2.0` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `1.2.0` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/AudioPlayer/AudioPlayer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# Audio Player

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `1.2.0` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `1.2.0` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/Breadcrumbs/Breadcrumbs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# Breadcrumbs

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.0.3` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.0.3` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/Button/Button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# Button

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.0.4` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.0.4` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/Card/Card.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# Card

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.24.0` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.24.0` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/Checkbox/Checkbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# Checkbox

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.1.0` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.1.0` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/DatePicker/DatePicker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# DatePicker

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.24.0` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.24.0` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/FeedbackBox/FeedbackBox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# FeedbackBox

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `1.3.0` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `1.3.0` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/Fieldset/Fieldset.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import { Link } from "../Link/Link";

# Fieldset

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.25.3` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.25.3` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/HelperErrorText/HelperErrorText.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# HelperErrorText

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.0.10` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.0.10` |
| Latest | `2.0.0` |

## Table of Contents

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 @@ -7,10 +7,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.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/Image/Image.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# Image

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.0.6` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.0.6` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/Label/Label.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# Label

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.0.10` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.0.10` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
10 changes: 5 additions & 5 deletions src/components/Link/Link.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import * as LinkStories from "./Link.stories";

# Link

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.0.4` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.0.4` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down Expand Up @@ -96,7 +96,7 @@ deprecated.

IMPORTANT: Links that look like buttons should still act like links and not act
like buttons. Refer to the <Link href="#accessibility"
target="_self">Accessibility</Link> section above for clarification.
target="_self">Accessibility</Link> section above for clarification.

<Canvas of={LinkStories.AllLinkTypes} />

Expand Down
12 changes: 6 additions & 6 deletions src/components/Modal/Modal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import Link from "../Link/Link";

# Modal

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.1.0` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.1.0` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down Expand Up @@ -52,7 +52,7 @@ Modal should not be used to display media like image and videos.
### Modal titles

Modals must have a title and the title should communicate the general idea of the modal intention, such as the outcome
of an action. Titles should use the same or similar phrasing as the call-to-action that was used to activate the modal.
of an action. Titles should use the same or similar phrasing as the call-to-action that was used to activate the modal.

### Modal descriptions

Expand All @@ -71,7 +71,7 @@ main action button label.

Avoid asking a question in a modal title. Questions such as “Are you sure you want to quit?” or “Do you want to cancel?”
are redundant and can undermine a user's confidence in a decision they've already made when taking the previous action
that activated the modal. Asking a question also leads to a yes/no set of actions, which can become confusing. Instead,
that activated the modal. Asking a question also leads to a yes/no set of actions, which can become confusing. Instead,
re-frame the wording of the modal title to focus on the outcome or effect.

It’s OK to ask a question in a modal description to confirm if a user wants to go ahead with an action.
Expand Down
8 changes: 4 additions & 4 deletions src/components/MultiSelect/MultiSelect.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# MultiSelect

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `1.4.0` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `1.4.0` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/Notification/Notification.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# Notification

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.23.2` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.23.2` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/Pagination/Pagination.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# Pagination

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.0.10` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.0.10` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/ProgressIndicator/ProgressIndicator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# ProgressIndicator

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.25.4` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.25.4` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/Radio/Radio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# Radio

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

## Table of Contents

Expand Down
8 changes: 4 additions & 4 deletions src/components/SearchBar/SearchBar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Link from "../Link/Link";

# SearchBar

| Component Version | DS Version |
| ----------------- | ------------ |
| Added | `0.0.4` |
| Latest | `Prerelease` |
| Component Version | DS Version |
| ----------------- | ---------- |
| Added | `0.0.4` |
| Latest | `2.0.0` |

## Table of Contents

Expand Down
Loading