Skip to content

Commit

Permalink
chore: commit save point
Browse files Browse the repository at this point in the history
  • Loading branch information
artmsilva committed Dec 11, 2024
2 parents 30fb658 + f69d664 commit fa19564
Show file tree
Hide file tree
Showing 32 changed files with 321 additions and 91 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.9.0...v2.10.0) (2024-12-11)

### Bug Fixes

- allow controlled InputSearch to be cleared by passing empty string ([f874afd](https://github.com/washingtonpost/wpds-ui-kit/commit/f874afd58dba13d242e2d38330b4d7ffe6d0ef5a))
- allow props on InputSearch ListItem to pass through for custom styling ([07b7bdc](https://github.com/washingtonpost/wpds-ui-kit/commit/07b7bdc23eb7e05d1e80465bfba1fc2189d6f70b))
- honor disabled prop in InputSearch list item ([62f88ec](https://github.com/washingtonpost/wpds-ui-kit/commit/62f88ecfd087f02e5373b89c36a59a367c9536bc))
- include onSelect callback in InputSelect selected documentation example ([f4697d5](https://github.com/washingtonpost/wpds-ui-kit/commit/f4697d5087f37cdfb93f462295bb4531fb347fe3))
- safely escape strings passed to RegExp in InputSearch ([66fc814](https://github.com/washingtonpost/wpds-ui-kit/commit/66fc8143dc4c43aa555b718b507c50f017b90b44))

### Features

- update wpds-assets ([#676](https://github.com/washingtonpost/wpds-ui-kit/issues/676)) ([0cb0ae6](https://github.com/washingtonpost/wpds-ui-kit/commit/0cb0ae65bcc9faac805f5ec295a6fe3548636278))

# [2.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.8.1...v2.9.0) (2024-12-09)

### Bug Fixes
Expand Down
4 changes: 4 additions & 0 deletions apps/nextjs13-approuter/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.

# [2.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.9.0...v2.10.0) (2024-12-11)

**Note:** Version bump only for package nextjs13-approuter

# [2.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.8.1...v2.9.0) (2024-12-09)

**Note:** Version bump only for package nextjs13-approuter
Expand Down
6 changes: 3 additions & 3 deletions apps/nextjs13-approuter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nextjs13-approuter",
"version": "2.9.0",
"version": "2.10.0",
"private": true,
"scripts": {
"dev": "next dev",
Expand All @@ -9,8 +9,8 @@
"lint": "next lint"
},
"dependencies": {
"@washingtonpost/wpds-kitchen-sink": "2.9.0",
"@washingtonpost/wpds-ui-kit": "2.9.0",
"@washingtonpost/wpds-kitchen-sink": "2.10.0",
"@washingtonpost/wpds-ui-kit": "2.10.0",
"next": "13.5.6",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
4 changes: 4 additions & 0 deletions apps/nextjs13-pagerouter/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.

# [2.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.9.0...v2.10.0) (2024-12-11)

**Note:** Version bump only for package nextjs13-pagerouter

# [2.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.8.1...v2.9.0) (2024-12-09)

**Note:** Version bump only for package nextjs13-pagerouter
Expand Down
6 changes: 3 additions & 3 deletions apps/nextjs13-pagerouter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nextjs13-pagerouter",
"version": "2.9.0",
"version": "2.10.0",
"private": true,
"scripts": {
"dev": "next dev",
Expand All @@ -9,8 +9,8 @@
"lint": "next lint"
},
"dependencies": {
"@washingtonpost/wpds-kitchen-sink": "2.9.0",
"@washingtonpost/wpds-ui-kit": "2.9.0",
"@washingtonpost/wpds-kitchen-sink": "2.10.0",
"@washingtonpost/wpds-ui-kit": "2.10.0",
"next": "13.5.6",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
4 changes: 4 additions & 0 deletions apps/nextjs14-approuter/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.

# [2.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.9.0...v2.10.0) (2024-12-11)

**Note:** Version bump only for package nextjs14-approuter

# [2.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.8.1...v2.9.0) (2024-12-09)

**Note:** Version bump only for package nextjs14-approuter
Expand Down
6 changes: 3 additions & 3 deletions apps/nextjs14-approuter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nextjs14-approuter",
"version": "2.9.0",
"version": "2.10.0",
"private": true,
"scripts": {
"dev": "next dev",
Expand All @@ -9,8 +9,8 @@
"lint": "next lint"
},
"dependencies": {
"@washingtonpost/wpds-kitchen-sink": "2.9.0",
"@washingtonpost/wpds-ui-kit": "2.9.0",
"@washingtonpost/wpds-kitchen-sink": "2.10.0",
"@washingtonpost/wpds-ui-kit": "2.10.0",
"next": "14.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
4 changes: 4 additions & 0 deletions apps/nextjs14-pagerouter/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.

# [2.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.9.0...v2.10.0) (2024-12-11)

**Note:** Version bump only for package nextjs14-pagerouter

# [2.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.8.1...v2.9.0) (2024-12-09)

**Note:** Version bump only for package nextjs14-pagerouter
Expand Down
6 changes: 3 additions & 3 deletions apps/nextjs14-pagerouter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nextjs14-pagerouter",
"version": "2.9.0",
"version": "2.10.0",
"private": true,
"scripts": {
"dev": "next dev",
Expand All @@ -9,8 +9,8 @@
"lint": "next lint"
},
"dependencies": {
"@washingtonpost/wpds-kitchen-sink": "2.9.0",
"@washingtonpost/wpds-ui-kit": "2.9.0",
"@washingtonpost/wpds-kitchen-sink": "2.10.0",
"@washingtonpost/wpds-ui-kit": "2.10.0",
"next": "14.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
10 changes: 10 additions & 0 deletions build.washingtonpost.com/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.10.0](https://github.com/washingtonpost/wpds-docs/compare/v2.9.0...v2.10.0) (2024-12-11)

### Bug Fixes

- include onSelect callback in InputSelect selected documentation example ([f4697d5](https://github.com/washingtonpost/wpds-docs/commit/f4697d5087f37cdfb93f462295bb4531fb347fe3))

### Features

- update wpds-assets ([#676](https://github.com/washingtonpost/wpds-docs/issues/676)) ([0cb0ae6](https://github.com/washingtonpost/wpds-docs/commit/0cb0ae65bcc9faac805f5ec295a6fe3548636278))

# [2.9.0](https://github.com/washingtonpost/wpds-docs/compare/v2.8.1...v2.9.0) (2024-12-09)

### Bug Fixes
Expand Down
11 changes: 10 additions & 1 deletion build.washingtonpost.com/docs/components/input-search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,18 @@ export default function Example() {
const [term, setTerm] = useState("");
const results = searchCities(term);

const [selected, setSelected] = useState("");

return (
<Box css={{ width: "300px", height: "340px" }}>
<InputSearch.Root aria-label="Example-Search" openOnFocus>
<Box css={{ marginBlockEnd: "$100" }}>
<strong>Selected value:</strong> {selected}
</Box>
<InputSearch.Root
aria-label="Example-Search"
openOnFocus
onSelect={(value) => setSelected(value)}
>
<InputSearch.Input
name="city"
id="city"
Expand Down
2 changes: 1 addition & 1 deletion build.washingtonpost.com/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@washingtonpost/wpds-docs",
"version": "2.9.0",
"version": "2.10.0",
"private": true,
"scripts": {
"dev": "next-remote-watch ./docs",
Expand Down
6 changes: 2 additions & 4 deletions build.washingtonpost.com/pages/components/[slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -124,16 +124,14 @@ export const getServerSideProps = async ({ params }) => {
const componentsLookUptable = getNavigation().then((nav) => {
const [foundations, components, resources] = nav;

const {
docs
} = components;
const { docs } = components;

let componentList = docs.map((component) => {
return component.slug.replace("/components/", "");
});

return componentList;
});
});

const slug = componentsLookUptable[params.slug];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ import { MDXRemote } from "next-mdx-remote";
import { NextSeo } from "~/components/next-seo";
import MDXStyling from "~/components/Markdown/Styling";
import Header from "~/components/Typography/Headers";
import {
getNavigation,
getResource,
getHeadings,
} from "~/services";
import { getNavigation, getResource, getHeadings } from "~/services";
import Breadcrumbs from "~/components/Breadcrumbs";
import TableofContents from "~/components/Markdown/Components/tableofcontents";
import { Box } from "@washingtonpost/wpds-ui-kit";
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
"registry": "https://registry.npmjs.org/"
}
},
"version": "2.9.0"
"version": "2.10.0"
}
44 changes: 22 additions & 22 deletions package-lock.json

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

6 changes: 6 additions & 0 deletions packages/eslint-plugin/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.

# [2.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.9.0...v2.10.0) (2024-12-11)

### Features

- update wpds-assets ([#676](https://github.com/washingtonpost/wpds-ui-kit/issues/676)) ([0cb0ae6](https://github.com/washingtonpost/wpds-ui-kit/commit/0cb0ae65bcc9faac805f5ec295a6fe3548636278))

# [2.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v2.8.1...v2.9.0) (2024-12-09)

**Note:** Version bump only for package @washingtonpost/eslint-plugin-wpds
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@washingtonpost/eslint-plugin-wpds",
"version": "2.9.0",
"version": "2.10.0",
"description": "WPDS lint rules",
"author": "WPDS Support <[email protected]>",
"homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme",
Expand Down Expand Up @@ -28,10 +28,10 @@
"@washingtonpost/wpds-ui-kit": "2.9.0"
},
"dependencies": {
"@washingtonpost/wpds-ui-kit": "2.9.0"
"@washingtonpost/wpds-ui-kit": "2.10.0"
},
"devDependencies": {
"jest": "^28.1.0"
},
"gitHead": "a51790c76489c2b2a24ccd29eb8addb83ce29d8e"
"gitHead": "8690322aa8bd22e196ac46a18563253f1dfbe994"
}
Loading

0 comments on commit fa19564

Please sign in to comment.