diff --git a/.eslintrc.js b/.eslintrc.js index 6ba42ac7f..16c1e775c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -37,12 +37,16 @@ module.exports = { rules: { "react/prop-types": "off", "@washingtonpost/wpds/theme-colors": "warn", - "no-restricted-syntax": [ - "error", + }, + }, + // warning 'React' is defined but never used @typescript-eslint/no-unused-vars -- allow unused React + { + files: ["**/*.tsx"], + rules: { + "@typescript-eslint/no-unused-vars": [ + "warn", { - selector: - "ImportDeclaration[source.value='react'][specifiers.0.type='ImportDefaultSpecifier']", - message: "Default React import not allowed", + varsIgnorePattern: "React", }, ], }, diff --git a/.storybook/main.js b/.storybook/main.js index 732c9efd3..2c26c2055 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -3,10 +3,7 @@ import { dirname, join } from "path"; require("dotenv").config(); module.exports = { - stories: [ - "../packages/kit/src/**/*.stories.tsx", - "../ui/(**|!(node_modules))/src/*.stories.@(ts|tsx|js|jsx)", - ], + stories: ["../packages/kit/src/**/*.stories.tsx"], exclude: ["node_modules", "dist"], addons: [ diff --git a/Makefile b/Makefile index c1bd0793a..1b201a4dc 100644 --- a/Makefile +++ b/Makefile @@ -35,3 +35,9 @@ validate: npm run lint:check npm run format:check npm run test + +v2-migrate-component: + node scripts/move-component-to-new-dir.js $(componentName) + npx storybook@latest migrate csf-2-to-3 --glob="./packages/kit/src/$(componentName)/*.stories.tsx" + npx jscodeshift ./packages/kit/src/$(componentName) -t ./scripts/transform-wpds-imports.js --extensions=tsx + npx react-codemod update-react-imports ./packages/kit/src diff --git a/apps/nextjs13-approuter/package.json b/apps/nextjs13-approuter/package.json index b634f05f9..8c08e842a 100644 --- a/apps/nextjs13-approuter/package.json +++ b/apps/nextjs13-approuter/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build-no": "next build", "start": "next start", "lint": "next lint" }, diff --git a/apps/nextjs13-pagerouter/package.json b/apps/nextjs13-pagerouter/package.json index 5191d8033..d4708802a 100644 --- a/apps/nextjs13-pagerouter/package.json +++ b/apps/nextjs13-pagerouter/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build-no": "next build", "start": "next start", "lint": "next lint" }, @@ -14,9 +14,5 @@ "next": "13.5.6", "@washingtonpost/wpds-ui-kit": "*", "@washingtonpost/wpds-kitchen-sink": "*" - }, - "overrides": { - "react": "^18", - "react-dom": "^18" } } diff --git a/apps/nextjs14-approuter/package.json b/apps/nextjs14-approuter/package.json index 1a74e033e..39a032fa3 100644 --- a/apps/nextjs14-approuter/package.json +++ b/apps/nextjs14-approuter/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build-no": "next build", "start": "next start", "lint": "next lint" }, diff --git a/apps/nextjs14-pagerouter/package.json b/apps/nextjs14-pagerouter/package.json index d9921359c..54806f9be 100644 --- a/apps/nextjs14-pagerouter/package.json +++ b/apps/nextjs14-pagerouter/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build-no": "next build", "start": "next start", "lint": "next lint" }, @@ -14,9 +14,5 @@ "next": "14.0.3", "@washingtonpost/wpds-ui-kit": "*", "@washingtonpost/wpds-kitchen-sink": "*" - }, - "overrides": { - "react": "^18", - "react-dom": "^18" } } diff --git a/build.washingtonpost.com/.eslintrc.js b/build.washingtonpost.com/.eslintrc.js deleted file mode 100644 index c376ce25a..000000000 --- a/build.washingtonpost.com/.eslintrc.js +++ /dev/null @@ -1,61 +0,0 @@ -module.exports = { - root: true, - parser: "@typescript-eslint/parser", - parserOptions: { - ecmaVersion: 2021, - sourceType: "module", - }, - plugins: [ - "@typescript-eslint", - "jest", - "react", - "testing-library", - "jest-dom", - "use-encapsulation", - "@washingtonpost/wpds", - ], - extends: [ - "next/core-web-vitals", - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "prettier", - "plugin:import/recommended", - "plugin:import/typescript", - "plugin:react/recommended", - "plugin:testing-library/react", - "plugin:testing-library/dom", - "plugin:jest-dom/recommended", - "plugin:storybook/recommended", - ], - overrides: [ - { - files: ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)"], - extends: ["plugin:testing-library/react"], - }, - { - files: ["**/*.tsx"], - rules: { - "react/prop-types": "off", - "@washingtonpost/wpds/theme-colors": "warn", - }, - }, - ], - env: { - browser: true, - es6: true, - node: true, - }, - settings: { - react: { - version: "detect", - }, - "import/resolver": { - node: { - extensions: [".js", ".jsx", ".ts", ".tsx", ".css"], - }, - }, - }, - rules: { - "react/prop-types": 0, - }, -}; diff --git a/build.washingtonpost.com/components/Contributors.jsx b/build.washingtonpost.com/components/Contributors.jsx index 4d5e13640..579f33897 100644 --- a/build.washingtonpost.com/components/Contributors.jsx +++ b/build.washingtonpost.com/components/Contributors.jsx @@ -2,7 +2,7 @@ import React from "react"; import { theme, Avatar, styled } from "@washingtonpost/wpds-ui-kit"; import { Header } from "~/components/Markdown/Components/headers"; -import Image from "next/image"; +import Image from "next/legacy/image"; import CustomLink from "./Typography/link"; const StyledGrid = styled({ diff --git a/build.washingtonpost.com/components/Footer.js b/build.washingtonpost.com/components/Footer.js index 088779c38..6a43e985b 100644 --- a/build.washingtonpost.com/components/Footer.js +++ b/build.washingtonpost.com/components/Footer.js @@ -109,7 +109,11 @@ export const Footer = () => { }} > Community - + { Twitter - + { Github - + Coming soon ) : item.frontMatter.data.status == "Alpha" ? ( - + ) : ( - + {item.frontMatter.data.title} )} @@ -264,7 +264,11 @@ export default function Sidebar({ navigation, setMobileMenu }) { disabled={item.data.status === "Coming soon"} > {item.data.status !== "" ? ( - + ) : ( - + {item.data.title} )} @@ -307,7 +315,7 @@ export default function Sidebar({ navigation, setMobileMenu }) { onClick={() => setMobileMenu(false)} isCurrent={router.asPath.includes("release-notes") ? "active" : ""} > - +
Release Notes @@ -318,7 +326,7 @@ export default function Sidebar({ navigation, setMobileMenu }) { - +
Support
diff --git a/build.washingtonpost.com/components/Markdown/Components/InlineImage.js b/build.washingtonpost.com/components/Markdown/Components/InlineImage.js index bad1ff94e..a97a6837b 100644 --- a/build.washingtonpost.com/components/Markdown/Components/InlineImage.js +++ b/build.washingtonpost.com/components/Markdown/Components/InlineImage.js @@ -1,6 +1,6 @@ import React from "react"; import { styled, css } from "@washingtonpost/wpds-ui-kit"; -import Image from "next/image"; +import Image from "next/legacy/image"; export default function InlineImage({ maxWidth, diff --git a/build.washingtonpost.com/components/Markdown/Components/YouTubeEmbed.js b/build.washingtonpost.com/components/Markdown/Components/YouTubeEmbed.js index 246529879..eeaf20f24 100644 --- a/build.washingtonpost.com/components/Markdown/Components/YouTubeEmbed.js +++ b/build.washingtonpost.com/components/Markdown/Components/YouTubeEmbed.js @@ -1,5 +1,5 @@ import React from "react"; -import Image from "next/image"; +import Image from "next/legacy/image"; import { css, Icon, diff --git a/build.washingtonpost.com/components/Markdown/Components/inlineSVG.js b/build.washingtonpost.com/components/Markdown/Components/inlineSVG.js index ef76d4cdc..929f567a0 100644 --- a/build.washingtonpost.com/components/Markdown/Components/inlineSVG.js +++ b/build.washingtonpost.com/components/Markdown/Components/inlineSVG.js @@ -1,7 +1,7 @@ import React from "react"; import { ReactSVG } from "react-svg"; -import Tokens from "@washingtonpost/wpds-theme/src/wpds.tokens.json"; -import Image from "next/image"; +import Tokens from "@washingtonpost/wpds-ui-kit/src/theme/wpds.tokens.json"; +import Image from "next/legacy/image"; import { css, styled } from "@washingtonpost/wpds-ui-kit"; const SVGContainer = styled("div", { diff --git a/build.washingtonpost.com/components/Markdown/Components/link.js b/build.washingtonpost.com/components/Markdown/Components/link.js index 2891fee8f..093036a76 100644 --- a/build.washingtonpost.com/components/Markdown/Components/link.js +++ b/build.washingtonpost.com/components/Markdown/Components/link.js @@ -39,7 +39,7 @@ export default function CustomLink({ }); return ( - + ( - + {children} diff --git a/build.washingtonpost.com/components/Markdown/Examples/ColorSamples.jsx b/build.washingtonpost.com/components/Markdown/Examples/ColorSamples.jsx index 852b09dd3..f3d5632e2 100644 --- a/build.washingtonpost.com/components/Markdown/Examples/ColorSamples.jsx +++ b/build.washingtonpost.com/components/Markdown/Examples/ColorSamples.jsx @@ -1,7 +1,7 @@ import React, { useEffect, useState } from "react"; import { Box, styled, AlertBanner, theme } from "@washingtonpost/wpds-ui-kit"; import { toast } from "react-toastify"; -import Tokens from "@washingtonpost/wpds-theme/src/wpds.tokens.json"; +import Tokens from "@washingtonpost/wpds-ui-kit/src/theme/wpds.tokens.json"; import { Grid } from "../Components/Grid"; diff --git a/build.washingtonpost.com/components/Markdown/Examples/HexRGBAColorSamples.jsx b/build.washingtonpost.com/components/Markdown/Examples/HexRGBAColorSamples.jsx index daae84efc..0acad80b1 100644 --- a/build.washingtonpost.com/components/Markdown/Examples/HexRGBAColorSamples.jsx +++ b/build.washingtonpost.com/components/Markdown/Examples/HexRGBAColorSamples.jsx @@ -1,7 +1,7 @@ import React, { useEffect, useState } from "react"; import { Box, styled, AlertBanner, theme } from "@washingtonpost/wpds-ui-kit"; import { toast } from "react-toastify"; -import Tokens from "@washingtonpost/wpds-theme/src/hexcodes.tokens.json"; +import Tokens from "@washingtonpost/wpds-ui-kit/src/theme/hexcodes.tokens.json"; import { StyledItem, StyledToggleGroup } from "../Components/ToggleGroupRadix"; import { Grid } from "../Components/Grid"; diff --git a/build.washingtonpost.com/components/Markdown/Examples/IconSamples.jsx b/build.washingtonpost.com/components/Markdown/Examples/IconSamples.jsx index 96ef2079f..473d0af15 100644 --- a/build.washingtonpost.com/components/Markdown/Examples/IconSamples.jsx +++ b/build.washingtonpost.com/components/Markdown/Examples/IconSamples.jsx @@ -6,7 +6,7 @@ import * as AllAssets from "@washingtonpost/wpds-assets"; import { toast } from "react-toastify"; import MDXStyling from "~/components/Markdown/Styling"; import { Grid } from "../Components/Grid"; -import { InputText } from "@washingtonpost/wpds-input-text"; +import { InputText } from "@washingtonpost/wpds-ui-kit"; import Search from "@washingtonpost/wpds-assets/asset/search"; import { Icon, theme, AlertBanner, Box } from "@washingtonpost/wpds-ui-kit"; import { paramCase } from "param-case"; diff --git a/build.washingtonpost.com/components/Markdown/Styling.js b/build.washingtonpost.com/components/Markdown/Styling.js index 594c36131..2c456a05f 100644 --- a/build.washingtonpost.com/components/Markdown/Styling.js +++ b/build.washingtonpost.com/components/Markdown/Styling.js @@ -13,7 +13,7 @@ import { } from "~/components/Markdown/Components/list"; import dynamic from "next/dynamic"; import { Grid, Cell } from "./Components/Grid"; -import { AlertBanner } from "@washingtonpost/wpds-alert-banner"; +import { AlertBanner } from "@washingtonpost/wpds-ui-kit"; import { ComponentStatus } from "../ComponentPage/ComponentStatus"; import CollapsibleContainer from "./Components/collapsible"; const InputCheckbox = dynamic(() => diff --git a/build.washingtonpost.com/components/NavigationBar.js b/build.washingtonpost.com/components/NavigationBar.js index 2d98485d1..abf908868 100644 --- a/build.washingtonpost.com/components/NavigationBar.js +++ b/build.washingtonpost.com/components/NavigationBar.js @@ -197,7 +197,7 @@ export const NavigationBar = ({ setMobileMenu, mobileMenuState, isClosed }) => { - + setMobileMenu(!mobileMenuState)} @@ -207,14 +207,14 @@ export const NavigationBar = ({ setMobileMenu, mobileMenuState, isClosed }) => { - + Resources - + Support diff --git a/build.washingtonpost.com/components/Thumbnail.js b/build.washingtonpost.com/components/Thumbnail.js index cfaf70cf3..468aba727 100644 --- a/build.washingtonpost.com/components/Thumbnail.js +++ b/build.washingtonpost.com/components/Thumbnail.js @@ -6,7 +6,7 @@ import { P } from "~/components/Markdown/Styling"; import { ThumbnailGrid } from "./Markdown/Components/ResourcesGrids"; -import Image from "next/image"; +import Image from "next/legacy/image"; export const THUMBNAIL_WIDE = "wide"; export const THUMBNAIL_SQUARE = "square"; diff --git a/build.washingtonpost.com/components/Typography/link.js b/build.washingtonpost.com/components/Typography/link.js index 0f00cd6cc..783cc6961 100644 --- a/build.washingtonpost.com/components/Typography/link.js +++ b/build.washingtonpost.com/components/Typography/link.js @@ -26,7 +26,7 @@ export const A = styled("a", { export default function CustomLink({ useSignal, as, href, ...otherProps }) { return ( - + ); diff --git a/build.washingtonpost.com/components/logo.js b/build.washingtonpost.com/components/logo.js index df3a6d162..363a489d3 100644 --- a/build.washingtonpost.com/components/logo.js +++ b/build.washingtonpost.com/components/logo.js @@ -29,6 +29,7 @@ export default function Logo() { passHref href="/" aria-label="The Washington Post Design System's Homepage" + legacyBehavior > diff --git a/build.washingtonpost.com/docs/foundations/principles.mdx b/build.washingtonpost.com/docs/foundations/principles.mdx index 9ba2eff09..ed8277f9f 100644 --- a/build.washingtonpost.com/docs/foundations/principles.mdx +++ b/build.washingtonpost.com/docs/foundations/principles.mdx @@ -14,7 +14,7 @@ When we refer to color we exclude the entire grayscale. The use of color in our system is limited and it is deliberate. Our products focus on the content and the reader experience. Color should always be a minimal distraction and used with intention. -import Tokens from "@washingtonpost/wpds-theme/src/wpds.tokens.json"; +import Tokens from "@washingtonpost/wpds-ui-kit/src/theme/wpds.tokens.json"; - [Guidance](/foundations/principles#Guidance) - [Themes](/foundations/principles#Themes) diff --git a/build.washingtonpost.com/package.json b/build.washingtonpost.com/package.json index 48f26a04c..d9992bb56 100644 --- a/build.washingtonpost.com/package.json +++ b/build.washingtonpost.com/package.json @@ -13,8 +13,9 @@ }, "dependencies": { "@babel/standalone": "^7.17.11", - "@codesandbox/sandpack-react": "^2.0.27", + "@codesandbox/sandpack-react": "2.13.2", "@docsearch/react": "^3.0.0", + "@mdx-js/react": "^3.0.1", "@octokit/core": "^4.0.5", "@radix-ui/react-accordion": "^1.0.0", "@radix-ui/react-checkbox": "^1.0.0", @@ -23,24 +24,23 @@ "@stitches/react": "1.2.8", "@washingtonpost/site-favicons": "^0.1.3", "@washingtonpost/tachyons-css": "^1.8.0", - "@washingtonpost/wpds-accordion": "1.17.0", - "@washingtonpost/wpds-assets": "1.23.0", + "@washingtonpost/wpds-assets": "latest", "@washingtonpost/wpds-kitchen-sink": "1.17.0", "@washingtonpost/wpds-tailwind-theme": "1.17.0", - "@washingtonpost/wpds-tokens": "1.17.0", - "@washingtonpost/wpds-ui-kit": "1.17.0", + "@washingtonpost/wpds-tokens": "*", + "@washingtonpost/wpds-ui-kit": "*", "fuse.js": "^6.6.2", "gray-matter": "^4.0.2", "lz-string": "^1.4.4", - "next": "^13.5.6", - "next-mdx-remote": "4.1.0", + "next": "^14", + "next-mdx-remote": "^4.4.1", "next-seo": "5.15.0", "next-themes": "0.2.1", "param-case": "^3.0.4", "pascal-case": "^3.1.2", "react": "^18.2.0", - "react-dom": "^18.2.0", "react-docgen": "^5.4.0", + "react-dom": "^18.2.0", "react-error-boundary": "^3.1.4", "react-hook-form": "^7.41.0", "react-phone-number-input": "^3.2.13", @@ -55,7 +55,7 @@ "@next/bundle-analyzer": "^12.1.0", "@types/lz-string": "^1.3.34", "@types/node": "^17.0.21", - "@types/react": "^17.0.38", + "@types/react": "^18.2.42", "autoprefixer": "^10.4.13", "babel-plugin-extract-react-types": "^0.1.14", "eslint": "8.6.0", @@ -72,11 +72,5 @@ "repository": { "type": "git", "url": "https://github.com/washingtonpost/wpds-docs.git" - }, - "overrides": { - "@washingtonpost/wpds-assets": "1.23.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "next": "^13.5.6" } } diff --git a/build.washingtonpost.com/pages/404.js b/build.washingtonpost.com/pages/404.js index 4a0327d7d..e430ad0b3 100644 --- a/build.washingtonpost.com/pages/404.js +++ b/build.washingtonpost.com/pages/404.js @@ -35,6 +35,8 @@ const onClick = () => { metaKey: true, }) ); + + return false; }; export const StyledLink = ({ children }) => { return ( diff --git a/build.washingtonpost.com/pages/components/[slug].js b/build.washingtonpost.com/pages/components/[slug].js index bb732f702..ba20a6951 100644 --- a/build.washingtonpost.com/pages/components/[slug].js +++ b/build.washingtonpost.com/pages/components/[slug].js @@ -81,13 +81,15 @@ export default function Page({
- + {source && ( + + )}
); diff --git a/build.washingtonpost.com/pages/foundations/[slug].js b/build.washingtonpost.com/pages/foundations/[slug].js index c81968000..ba97ca771 100644 --- a/build.washingtonpost.com/pages/foundations/[slug].js +++ b/build.washingtonpost.com/pages/foundations/[slug].js @@ -36,7 +36,9 @@ export default function Page({ source, iconData }) { )}
- + {source && ( + + )}
); diff --git a/build.washingtonpost.com/pages/index.js b/build.washingtonpost.com/pages/index.js index 411ba3ffc..c1c4572c8 100644 --- a/build.washingtonpost.com/pages/index.js +++ b/build.washingtonpost.com/pages/index.js @@ -10,7 +10,7 @@ import { } from "~/components/Markdown/Components/ResourcesGrids"; import { SeeAllLink, sortByRank, NewCustomLink } from "~/components/utils"; -import Image from "next/image"; +import Image from "next/legacy/image"; import { Contributors } from "~/components/Contributors"; const HeroBlock = styled("div", { diff --git a/build.washingtonpost.com/pages/kitchen-sink.tsx b/build.washingtonpost.com/pages/kitchen-sink.tsx index 7e64ea72f..2ed45de9b 100644 --- a/build.washingtonpost.com/pages/kitchen-sink.tsx +++ b/build.washingtonpost.com/pages/kitchen-sink.tsx @@ -1,7 +1,8 @@ /* eslint-disable @next/next/no-img-element */ import * as React from "react"; -import { KitchenSink } from "@washingtonpost/wpds-kitchen-sink"; +// import { KitchenSink } from "@washingtonpost/wpds-kitchen-sink"; export default function KitchenSinkPage() { - return ; + // return ; + return
TODO: KitchenSink
; } diff --git a/build.washingtonpost.com/pages/playroom.js b/build.washingtonpost.com/pages/playroom.js index 639be5091..4fea0b545 100644 --- a/build.washingtonpost.com/pages/playroom.js +++ b/build.washingtonpost.com/pages/playroom.js @@ -257,15 +257,17 @@ export default function Playroom({ - + {receivedSource.compiledSource && ( + + )} ); diff --git a/build.washingtonpost.com/pages/resources/[category]/[slug].js b/build.washingtonpost.com/pages/resources/[category]/[slug].js index a6593977a..59f7b38f5 100644 --- a/build.washingtonpost.com/pages/resources/[category]/[slug].js +++ b/build.washingtonpost.com/pages/resources/[category]/[slug].js @@ -63,7 +63,7 @@ export default function Page({ current, source, headings }) {
- + {source && }
); diff --git a/build.washingtonpost.com/pages/resources/working-examples.tsx b/build.washingtonpost.com/pages/resources/working-examples.tsx index 8ffca953b..32ee96782 100644 --- a/build.washingtonpost.com/pages/resources/working-examples.tsx +++ b/build.washingtonpost.com/pages/resources/working-examples.tsx @@ -18,7 +18,7 @@ import { styled, } from "@washingtonpost/wpds-ui-kit"; -import { cities } from "@washingtonpost/wpds-input-search/src/cities"; +import { cities } from "@washingtonpost/wpds-ui-kit/src/input-search/cities"; const STATES = [ "Alabama", diff --git a/build.washingtonpost.com/pages/support/[slug].js b/build.washingtonpost.com/pages/support/[slug].js index 4cdf0ab9f..ae36f337c 100644 --- a/build.washingtonpost.com/pages/support/[slug].js +++ b/build.washingtonpost.com/pages/support/[slug].js @@ -33,7 +33,7 @@ export default function Page({ source }) { )}
- + {source && }
); diff --git a/build.washingtonpost.com/pages/zzz/[slug].js b/build.washingtonpost.com/pages/zzz/[slug].js index cdd27b585..e2c79fce9 100644 --- a/build.washingtonpost.com/pages/zzz/[slug].js +++ b/build.washingtonpost.com/pages/zzz/[slug].js @@ -33,7 +33,7 @@ export default function Page({ source }) { )}
- + {source && }{" "}
); diff --git a/build.washingtonpost.com/services/getPropsTable.js b/build.washingtonpost.com/services/getPropsTable.js index e3e36fb60..1ce282c8b 100644 --- a/build.washingtonpost.com/services/getPropsTable.js +++ b/build.washingtonpost.com/services/getPropsTable.js @@ -24,7 +24,7 @@ export const getPropsTable = async (component = "icon") => { try { const componentsData = docgen.parse( - `../ui/${component}/src/index.ts`, + `../packages/kit/src/${component}/index.ts`, options ); diff --git a/build.washingtonpost.com/snippets/inputs/input-base.jsx b/build.washingtonpost.com/snippets/inputs/input-base.jsx index 4cfc9c0b8..da105ef1b 100644 --- a/build.washingtonpost.com/snippets/inputs/input-base.jsx +++ b/build.washingtonpost.com/snippets/inputs/input-base.jsx @@ -4,7 +4,7 @@ import React from "react"; * See documentation for full component api ```jsx //Example -import { InputText } from "@washingtonpost/wpds-input-text"; +import { InputText } from "@washingtonpost/wpds-ui-kit"; export default function Example() { const HelperText = () => { diff --git a/build.washingtonpost.com/snippets/inputs/text-area.jsx b/build.washingtonpost.com/snippets/inputs/text-area.jsx index 9ddf0b29f..6de6a5266 100644 --- a/build.washingtonpost.com/snippets/inputs/text-area.jsx +++ b/build.washingtonpost.com/snippets/inputs/text-area.jsx @@ -4,7 +4,7 @@ import React from "react"; * See documentation for full component api ```jsx //Example -import { InputTextarea } from "@washingtonpost/wpds-input-textarea"; +import { InputTextarea } from "@washingtonpost/wpds-ui-kit"; export default function Example() { return ( diff --git a/jest.config.js b/jest.config.js index d0080e805..72ee48e7b 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,6 @@ /** @type {import("jest").Config} */ module.exports = { - roots: ["./ui", "./packages"], + roots: ["./packages"], preset: "ts-jest", testEnvironment: "./custom-env.ts", cacheDirectory: ".jest-cache", diff --git a/package-lock.json b/package-lock.json index bfa00a6a9..73b13aa0c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,14 +6,12 @@ "": { "name": "root", "workspaces": [ - "./ui/*", "./build.washingtonpost.com", "./apps/*", "./packages/*" ], "dependencies": { "@babel/standalone": "^7.17.11", - "@washingtonpost/wpds-assets": "^1.22.0", "typescript": "4.5.5" }, "devDependencies": { @@ -143,16 +141,14 @@ }, "apps/nextjs14-approuter/node_modules/@next/env": { "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/env/-/env-14.0.3.tgz", - "integrity": "sha512-7xRqh9nMvP5xrW4/+L0jgRRX+HoNRGnfJpD+5Wq6/13j3dsdzxO3BCXn7D3hMqsDb+vjZnJq+vI7+EtgrYZTeA==" + "license": "MIT" }, "apps/nextjs14-approuter/node_modules/@next/swc-darwin-arm64": { "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.0.3.tgz", - "integrity": "sha512-64JbSvi3nbbcEtyitNn2LEDS/hcleAFpHdykpcnrstITFlzFgB/bW0ER5/SJJwUPj+ZPY+z3e+1jAfcczRLVGw==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "darwin" @@ -161,149 +157,9 @@ "node": ">= 10" } }, - "apps/nextjs14-approuter/node_modules/@next/swc-darwin-x64": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.0.3.tgz", - "integrity": "sha512-RkTf+KbAD0SgYdVn1XzqE/+sIxYGB7NLMZRn9I4Z24afrhUpVJx6L8hsRnIwxz3ERE2NFURNliPjJ2QNfnWicQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-approuter/node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.0.3.tgz", - "integrity": "sha512-3tBWGgz7M9RKLO6sPWC6c4pAw4geujSwQ7q7Si4d6bo0l6cLs4tmO+lnSwFp1Tm3lxwfMk0SgkJT7EdwYSJvcg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-approuter/node_modules/@next/swc-linux-arm64-musl": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.0.3.tgz", - "integrity": "sha512-v0v8Kb8j8T23jvVUWZeA2D8+izWspeyeDGNaT2/mTHWp7+37fiNfL8bmBWiOmeumXkacM/AB0XOUQvEbncSnHA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-approuter/node_modules/@next/swc-linux-x64-gnu": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.0.3.tgz", - "integrity": "sha512-VM1aE1tJKLBwMGtyBR21yy+STfl0MapMQnNrXkxeyLs0GFv/kZqXS5Jw/TQ3TSUnbv0QPDf/X8sDXuMtSgG6eg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-approuter/node_modules/@next/swc-linux-x64-musl": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.0.3.tgz", - "integrity": "sha512-64EnmKy18MYFL5CzLaSuUn561hbO1Gk16jM/KHznYP3iCIfF9e3yULtHaMy0D8zbHfxset9LTOv6cuYKJgcOxg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-approuter/node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.0.3.tgz", - "integrity": "sha512-WRDp8QrmsL1bbGtsh5GqQ/KWulmrnMBgbnb+59qNTW1kVi1nG/2ndZLkcbs2GX7NpFLlToLRMWSQXmPzQm4tog==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-approuter/node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.0.3.tgz", - "integrity": "sha512-EKffQeqCrj+t6qFFhIFTRoqb2QwX1mU7iTOvMyLbYw3QtqTw9sMwjykyiMlZlrfm2a4fA84+/aeW+PMg1MjuTg==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-approuter/node_modules/@next/swc-win32-x64-msvc": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.0.3.tgz", - "integrity": "sha512-ERhKPSJ1vQrPiwrs15Pjz/rvDHZmkmvbf/BjPN/UCOI++ODftT0GtasDPi0j+y6PPJi5HsXw+dpRaXUaw4vjuQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-approuter/node_modules/caniuse-lite": { - "version": "1.0.30001587", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001587.tgz", - "integrity": "sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ] - }, "apps/nextjs14-approuter/node_modules/next": { "version": "14.0.3", - "resolved": "https://registry.npmjs.org/next/-/next-14.0.3.tgz", - "integrity": "sha512-AbYdRNfImBr3XGtvnwOxq8ekVCwbFTv/UJoLwmaX89nk9i051AEY4/HAWzU0YpaTDw8IofUpmuIlvzWF13jxIw==", + "license": "MIT", "dependencies": { "@next/env": "14.0.3", "@swc/helpers": "0.5.2", @@ -383,16 +239,14 @@ }, "apps/nextjs14-pagerouter/node_modules/@next/env": { "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/env/-/env-14.0.3.tgz", - "integrity": "sha512-7xRqh9nMvP5xrW4/+L0jgRRX+HoNRGnfJpD+5Wq6/13j3dsdzxO3BCXn7D3hMqsDb+vjZnJq+vI7+EtgrYZTeA==" + "license": "MIT" }, "apps/nextjs14-pagerouter/node_modules/@next/swc-darwin-arm64": { "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.0.3.tgz", - "integrity": "sha512-64JbSvi3nbbcEtyitNn2LEDS/hcleAFpHdykpcnrstITFlzFgB/bW0ER5/SJJwUPj+ZPY+z3e+1jAfcczRLVGw==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "darwin" @@ -401,149 +255,9 @@ "node": ">= 10" } }, - "apps/nextjs14-pagerouter/node_modules/@next/swc-darwin-x64": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.0.3.tgz", - "integrity": "sha512-RkTf+KbAD0SgYdVn1XzqE/+sIxYGB7NLMZRn9I4Z24afrhUpVJx6L8hsRnIwxz3ERE2NFURNliPjJ2QNfnWicQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-pagerouter/node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.0.3.tgz", - "integrity": "sha512-3tBWGgz7M9RKLO6sPWC6c4pAw4geujSwQ7q7Si4d6bo0l6cLs4tmO+lnSwFp1Tm3lxwfMk0SgkJT7EdwYSJvcg==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-pagerouter/node_modules/@next/swc-linux-arm64-musl": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.0.3.tgz", - "integrity": "sha512-v0v8Kb8j8T23jvVUWZeA2D8+izWspeyeDGNaT2/mTHWp7+37fiNfL8bmBWiOmeumXkacM/AB0XOUQvEbncSnHA==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-pagerouter/node_modules/@next/swc-linux-x64-gnu": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.0.3.tgz", - "integrity": "sha512-VM1aE1tJKLBwMGtyBR21yy+STfl0MapMQnNrXkxeyLs0GFv/kZqXS5Jw/TQ3TSUnbv0QPDf/X8sDXuMtSgG6eg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-pagerouter/node_modules/@next/swc-linux-x64-musl": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.0.3.tgz", - "integrity": "sha512-64EnmKy18MYFL5CzLaSuUn561hbO1Gk16jM/KHznYP3iCIfF9e3yULtHaMy0D8zbHfxset9LTOv6cuYKJgcOxg==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-pagerouter/node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.0.3.tgz", - "integrity": "sha512-WRDp8QrmsL1bbGtsh5GqQ/KWulmrnMBgbnb+59qNTW1kVi1nG/2ndZLkcbs2GX7NpFLlToLRMWSQXmPzQm4tog==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-pagerouter/node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.0.3.tgz", - "integrity": "sha512-EKffQeqCrj+t6qFFhIFTRoqb2QwX1mU7iTOvMyLbYw3QtqTw9sMwjykyiMlZlrfm2a4fA84+/aeW+PMg1MjuTg==", - "cpu": [ - "ia32" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-pagerouter/node_modules/@next/swc-win32-x64-msvc": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.0.3.tgz", - "integrity": "sha512-ERhKPSJ1vQrPiwrs15Pjz/rvDHZmkmvbf/BjPN/UCOI++ODftT0GtasDPi0j+y6PPJi5HsXw+dpRaXUaw4vjuQ==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "apps/nextjs14-pagerouter/node_modules/caniuse-lite": { - "version": "1.0.30001587", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001587.tgz", - "integrity": "sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ] - }, "apps/nextjs14-pagerouter/node_modules/next": { "version": "14.0.3", - "resolved": "https://registry.npmjs.org/next/-/next-14.0.3.tgz", - "integrity": "sha512-AbYdRNfImBr3XGtvnwOxq8ekVCwbFTv/UJoLwmaX89nk9i051AEY4/HAWzU0YpaTDw8IofUpmuIlvzWF13jxIw==", + "license": "MIT", "dependencies": { "@next/env": "14.0.3", "@swc/helpers": "0.5.2", @@ -617,8 +331,9 @@ "hasInstallScript": true, "dependencies": { "@babel/standalone": "^7.17.11", - "@codesandbox/sandpack-react": "^2.0.27", + "@codesandbox/sandpack-react": "2.13.2", "@docsearch/react": "^3.0.0", + "@mdx-js/react": "^3.0.1", "@octokit/core": "^4.0.5", "@radix-ui/react-accordion": "^1.0.0", "@radix-ui/react-checkbox": "^1.0.0", @@ -627,17 +342,16 @@ "@stitches/react": "1.2.8", "@washingtonpost/site-favicons": "^0.1.3", "@washingtonpost/tachyons-css": "^1.8.0", - "@washingtonpost/wpds-accordion": "1.17.0", - "@washingtonpost/wpds-assets": "1.23.0", + "@washingtonpost/wpds-assets": "latest", "@washingtonpost/wpds-kitchen-sink": "1.17.0", "@washingtonpost/wpds-tailwind-theme": "1.17.0", - "@washingtonpost/wpds-tokens": "1.17.0", - "@washingtonpost/wpds-ui-kit": "1.17.0", + "@washingtonpost/wpds-tokens": "*", + "@washingtonpost/wpds-ui-kit": "*", "fuse.js": "^6.6.2", "gray-matter": "^4.0.2", "lz-string": "^1.4.4", - "next": "^13.5.6", - "next-mdx-remote": "4.1.0", + "next": "^14", + "next-mdx-remote": "^4.4.1", "next-seo": "5.15.0", "next-themes": "0.2.1", "param-case": "^3.0.4", @@ -659,7 +373,7 @@ "@next/bundle-analyzer": "^12.1.0", "@types/lz-string": "^1.3.34", "@types/node": "^17.0.21", - "@types/react": "^17.0.38", + "@types/react": "^18.2.42", "autoprefixer": "^10.4.13", "babel-plugin-extract-react-types": "^0.1.14", "eslint": "8.6.0", @@ -674,138 +388,37 @@ "tailwindcss": "^3.3.2" } }, - "build.washingtonpost.com/node_modules/@types/react": { - "version": "17.0.71", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/prop-types": "*", - "@types/scheduler": "*", - "csstype": "^3.0.2" - } - }, - "build.washingtonpost.com/node_modules/@washingtonpost/wpds-assets": { - "version": "1.23.0", - "license": "ISC", - "dependencies": { - "react": "^16.0.1 || ^17.0.2", - "react-dom": "^16.0.1 || ^17.0.2" - }, - "peerDependencies": { - "react": "^16.0.1 || ^17.0.2", - "react-dom": "^16.0.1 || ^17.0.2" - } - }, - "build.washingtonpost.com/node_modules/@washingtonpost/wpds-assets/node_modules/react": { - "version": "17.0.2", + "build.washingtonpost.com/node_modules/@mdx-js/react": { + "version": "3.0.1", "license": "MIT", "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "@types/mdx": "^2.0.0" }, - "engines": { - "node": ">=0.10.0" - } - }, - "build.washingtonpost.com/node_modules/@washingtonpost/wpds-assets/node_modules/react-dom": { - "version": "17.0.2", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "scheduler": "^0.20.2" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" }, "peerDependencies": { - "react": "17.0.2" + "@types/react": ">=16", + "react": ">=16" } }, - "build.washingtonpost.com/node_modules/@washingtonpost/wpds-card": { - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2" - } + "build.washingtonpost.com/node_modules/@next/env": { + "version": "14.1.0", + "license": "MIT" }, - "build.washingtonpost.com/node_modules/@washingtonpost/wpds-ui-kit": { - "version": "1.17.0", + "build.washingtonpost.com/node_modules/@next/swc-darwin-arm64": { + "version": "14.1.0", + "cpu": [ + "arm64" + ], "license": "MIT", - "dependencies": { - "@washingtonpost/eslint-plugin-wpds": "1.17.0", - "@washingtonpost/wpds-accordion": "1.17.0", - "@washingtonpost/wpds-action-menu": "1.17.0", - "@washingtonpost/wpds-alert-banner": "1.17.0", - "@washingtonpost/wpds-app-bar": "1.17.0", - "@washingtonpost/wpds-avatar": "1.17.0", - "@washingtonpost/wpds-box": "1.17.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-card": "1.17.0", - "@washingtonpost/wpds-carousel": "1.17.0", - "@washingtonpost/wpds-checkbox": "1.17.0", - "@washingtonpost/wpds-container": "1.17.0", - "@washingtonpost/wpds-divider": "1.17.0", - "@washingtonpost/wpds-drawer": "1.17.0", - "@washingtonpost/wpds-error-message": "1.17.0", - "@washingtonpost/wpds-fieldset": "1.17.0", - "@washingtonpost/wpds-helper-text": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-input-label": "1.17.0", - "@washingtonpost/wpds-input-password": "1.17.0", - "@washingtonpost/wpds-input-search": "1.17.0", - "@washingtonpost/wpds-input-shared": "1.17.0", - "@washingtonpost/wpds-input-text": "1.17.0", - "@washingtonpost/wpds-input-textarea": "1.17.0", - "@washingtonpost/wpds-navigation-menu": "1.17.0", - "@washingtonpost/wpds-pagination-dots": "1.17.0", - "@washingtonpost/wpds-popover": "1.17.0", - "@washingtonpost/wpds-radio-group": "1.17.0", - "@washingtonpost/wpds-scrim": "1.17.0", - "@washingtonpost/wpds-select": "1.17.0", - "@washingtonpost/wpds-switch": "1.17.0", - "@washingtonpost/wpds-tabs": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "@washingtonpost/wpds-tooltip": "1.17.0", - "@washingtonpost/wpds-visually-hidden": "1.17.0" - }, - "peerDependencies": { - "@washingtonpost/eslint-plugin-wpds": "*", - "@washingtonpost/wpds-accordion": "*", - "@washingtonpost/wpds-action-menu": "*", - "@washingtonpost/wpds-alert-banner": "*", - "@washingtonpost/wpds-app-bar": "*", - "@washingtonpost/wpds-avatar": "*", - "@washingtonpost/wpds-box": "*", - "@washingtonpost/wpds-button": "*", - "@washingtonpost/wpds-card": "*", - "@washingtonpost/wpds-carousel": "*", - "@washingtonpost/wpds-checkbox": "*", - "@washingtonpost/wpds-container": "*", - "@washingtonpost/wpds-divider": "*", - "@washingtonpost/wpds-drawer": "*", - "@washingtonpost/wpds-error-message": "*", - "@washingtonpost/wpds-fieldset": "*", - "@washingtonpost/wpds-helper-text": "*", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-input-label": "*", - "@washingtonpost/wpds-input-password": "*", - "@washingtonpost/wpds-input-search": "*", - "@washingtonpost/wpds-input-shared": "*", - "@washingtonpost/wpds-input-text": "*", - "@washingtonpost/wpds-input-textarea": "*", - "@washingtonpost/wpds-navigation-menu": "*", - "@washingtonpost/wpds-pagination-dots": "*", - "@washingtonpost/wpds-popover": "*", - "@washingtonpost/wpds-radio-group": "*", - "@washingtonpost/wpds-scrim": "*", - "@washingtonpost/wpds-select": "*", - "@washingtonpost/wpds-switch": "*", - "@washingtonpost/wpds-tabs": "*", - "@washingtonpost/wpds-theme": "*", - "@washingtonpost/wpds-tooltip": "*", - "@washingtonpost/wpds-visually-hidden": "*" + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" } }, "build.washingtonpost.com/node_modules/eslint": { @@ -862,12 +475,74 @@ "url": "https://opencollective.com/eslint" } }, - "build.washingtonpost.com/node_modules/scheduler": { - "version": "0.20.2", + "build.washingtonpost.com/node_modules/next": { + "version": "14.1.0", "license": "MIT", "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "@next/env": "14.1.0", + "@swc/helpers": "0.5.2", + "busboy": "1.6.0", + "caniuse-lite": "^1.0.30001579", + "graceful-fs": "^4.2.11", + "postcss": "8.4.31", + "styled-jsx": "5.1.1" + }, + "bin": { + "next": "dist/bin/next" + }, + "engines": { + "node": ">=18.17.0" + }, + "optionalDependencies": { + "@next/swc-darwin-arm64": "14.1.0", + "@next/swc-darwin-x64": "14.1.0", + "@next/swc-linux-arm64-gnu": "14.1.0", + "@next/swc-linux-arm64-musl": "14.1.0", + "@next/swc-linux-x64-gnu": "14.1.0", + "@next/swc-linux-x64-musl": "14.1.0", + "@next/swc-win32-arm64-msvc": "14.1.0", + "@next/swc-win32-ia32-msvc": "14.1.0", + "@next/swc-win32-x64-msvc": "14.1.0" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.1.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "sass": "^1.3.0" + }, + "peerDependenciesMeta": { + "@opentelemetry/api": { + "optional": true + }, + "sass": { + "optional": true + } + } + }, + "build.washingtonpost.com/node_modules/postcss": { + "version": "8.4.31", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.6", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -879,7 +554,7 @@ } }, "node_modules/@adobe/css-tools": { - "version": "4.3.2", + "version": "4.3.3", "dev": true, "license": "MIT" }, @@ -921,104 +596,104 @@ } }, "node_modules/@algolia/cache-browser-local-storage": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT", "dependencies": { - "@algolia/cache-common": "4.20.0" + "@algolia/cache-common": "4.22.1" } }, "node_modules/@algolia/cache-common": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT" }, "node_modules/@algolia/cache-in-memory": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT", "dependencies": { - "@algolia/cache-common": "4.20.0" + "@algolia/cache-common": "4.22.1" } }, "node_modules/@algolia/client-account": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT", "dependencies": { - "@algolia/client-common": "4.20.0", - "@algolia/client-search": "4.20.0", - "@algolia/transporter": "4.20.0" + "@algolia/client-common": "4.22.1", + "@algolia/client-search": "4.22.1", + "@algolia/transporter": "4.22.1" } }, "node_modules/@algolia/client-analytics": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT", "dependencies": { - "@algolia/client-common": "4.20.0", - "@algolia/client-search": "4.20.0", - "@algolia/requester-common": "4.20.0", - "@algolia/transporter": "4.20.0" + "@algolia/client-common": "4.22.1", + "@algolia/client-search": "4.22.1", + "@algolia/requester-common": "4.22.1", + "@algolia/transporter": "4.22.1" } }, "node_modules/@algolia/client-common": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT", "dependencies": { - "@algolia/requester-common": "4.20.0", - "@algolia/transporter": "4.20.0" + "@algolia/requester-common": "4.22.1", + "@algolia/transporter": "4.22.1" } }, "node_modules/@algolia/client-personalization": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT", "dependencies": { - "@algolia/client-common": "4.20.0", - "@algolia/requester-common": "4.20.0", - "@algolia/transporter": "4.20.0" + "@algolia/client-common": "4.22.1", + "@algolia/requester-common": "4.22.1", + "@algolia/transporter": "4.22.1" } }, "node_modules/@algolia/client-search": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT", "dependencies": { - "@algolia/client-common": "4.20.0", - "@algolia/requester-common": "4.20.0", - "@algolia/transporter": "4.20.0" + "@algolia/client-common": "4.22.1", + "@algolia/requester-common": "4.22.1", + "@algolia/transporter": "4.22.1" } }, "node_modules/@algolia/logger-common": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT" }, "node_modules/@algolia/logger-console": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT", "dependencies": { - "@algolia/logger-common": "4.20.0" + "@algolia/logger-common": "4.22.1" } }, "node_modules/@algolia/requester-browser-xhr": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT", "dependencies": { - "@algolia/requester-common": "4.20.0" + "@algolia/requester-common": "4.22.1" } }, "node_modules/@algolia/requester-common": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT" }, "node_modules/@algolia/requester-node-http": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT", "dependencies": { - "@algolia/requester-common": "4.20.0" + "@algolia/requester-common": "4.22.1" } }, "node_modules/@algolia/transporter": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT", "dependencies": { - "@algolia/cache-common": "4.20.0", - "@algolia/logger-common": "4.20.0", - "@algolia/requester-common": "4.20.0" + "@algolia/cache-common": "4.22.1", + "@algolia/logger-common": "4.22.1", + "@algolia/requester-common": "4.22.1" } }, "node_modules/@alloc/quick-lru": { @@ -1138,19 +813,19 @@ } }, "node_modules/@babel/core": { - "version": "7.23.5", + "version": "7.23.9", "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.5", - "@babel/helper-compilation-targets": "^7.22.15", + "@babel/generator": "^7.23.6", + "@babel/helper-compilation-targets": "^7.23.6", "@babel/helper-module-transforms": "^7.23.3", - "@babel/helpers": "^7.23.5", - "@babel/parser": "^7.23.5", - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.5", - "@babel/types": "^7.23.5", + "@babel/helpers": "^7.23.9", + "@babel/parser": "^7.23.9", + "@babel/template": "^7.23.9", + "@babel/traverse": "^7.23.9", + "@babel/types": "^7.23.9", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -1173,7 +848,7 @@ } }, "node_modules/@babel/eslint-parser": { - "version": "7.23.3", + "version": "7.23.10", "dev": true, "license": "MIT", "dependencies": { @@ -1206,10 +881,10 @@ } }, "node_modules/@babel/generator": { - "version": "7.23.5", + "version": "7.23.6", "license": "MIT", "dependencies": { - "@babel/types": "^7.23.5", + "@babel/types": "^7.23.6", "@jridgewell/gen-mapping": "^0.3.2", "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" @@ -1241,12 +916,12 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.22.15", + "version": "7.23.6", "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.22.9", - "@babel/helper-validator-option": "^7.22.15", - "browserslist": "^4.21.9", + "@babel/compat-data": "^7.23.5", + "@babel/helper-validator-option": "^7.23.5", + "browserslist": "^4.22.2", "lru-cache": "^5.1.1", "semver": "^6.3.1" }, @@ -1262,7 +937,7 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.23.5", + "version": "7.23.10", "dev": true, "license": "MIT", "dependencies": { @@ -1316,7 +991,7 @@ } }, "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.4.3", + "version": "0.5.0", "dev": true, "license": "MIT", "dependencies": { @@ -1513,12 +1188,12 @@ } }, "node_modules/@babel/helpers": { - "version": "7.23.5", + "version": "7.23.9", "license": "MIT", "dependencies": { - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.5", - "@babel/types": "^7.23.5" + "@babel/template": "^7.23.9", + "@babel/traverse": "^7.23.9", + "@babel/types": "^7.23.9" }, "engines": { "node": ">=6.9.0" @@ -1594,7 +1269,7 @@ } }, "node_modules/@babel/parser": { - "version": "7.23.5", + "version": "7.23.9", "license": "MIT", "bin": { "parser": "bin/babel-parser.js" @@ -1634,7 +1309,7 @@ } }, "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { - "version": "7.23.3", + "version": "7.23.7", "dev": true, "license": "MIT", "dependencies": { @@ -1944,7 +1619,7 @@ } }, "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.23.4", + "version": "7.23.9", "dev": true, "license": "MIT", "dependencies": { @@ -2036,15 +1711,14 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.23.5", + "version": "7.23.8", "dev": true, "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-compilation-targets": "^7.23.6", "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-function-name": "^7.23.0", - "@babel/helper-optimise-call-expression": "^7.22.5", "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-replace-supers": "^7.22.20", "@babel/helper-split-export-declaration": "^7.22.6", @@ -2184,11 +1858,12 @@ } }, "node_modules/@babel/plugin-transform-for-of": { - "version": "7.23.3", + "version": "7.23.6", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2303,7 +1978,7 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.23.3", + "version": "7.23.9", "dev": true, "license": "MIT", "dependencies": { @@ -2608,15 +2283,15 @@ } }, "node_modules/@babel/plugin-transform-runtime": { - "version": "7.23.4", + "version": "7.23.9", "dev": true, "license": "MIT", "dependencies": { "@babel/helper-module-imports": "^7.22.15", "@babel/helper-plugin-utils": "^7.22.5", - "babel-plugin-polyfill-corejs2": "^0.4.6", - "babel-plugin-polyfill-corejs3": "^0.8.5", - "babel-plugin-polyfill-regenerator": "^0.5.3", + "babel-plugin-polyfill-corejs2": "^0.4.8", + "babel-plugin-polyfill-corejs3": "^0.9.0", + "babel-plugin-polyfill-regenerator": "^0.5.5", "semver": "^6.3.1" }, "engines": { @@ -2706,12 +2381,12 @@ } }, "node_modules/@babel/plugin-transform-typescript": { - "version": "7.23.5", + "version": "7.23.6", "dev": true, "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.23.5", + "@babel/helper-create-class-features-plugin": "^7.23.6", "@babel/helper-plugin-utils": "^7.22.5", "@babel/plugin-syntax-typescript": "^7.23.3" }, @@ -2782,17 +2457,17 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.23.5", + "version": "7.23.9", "dev": true, "license": "MIT", "dependencies": { "@babel/compat-data": "^7.23.5", - "@babel/helper-compilation-targets": "^7.22.15", + "@babel/helper-compilation-targets": "^7.23.6", "@babel/helper-plugin-utils": "^7.22.5", "@babel/helper-validator-option": "^7.23.5", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.23.3", "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.23.3", - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.23.3", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.23.7", "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-class-properties": "^7.12.13", @@ -2813,13 +2488,13 @@ "@babel/plugin-syntax-top-level-await": "^7.14.5", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", "@babel/plugin-transform-arrow-functions": "^7.23.3", - "@babel/plugin-transform-async-generator-functions": "^7.23.4", + "@babel/plugin-transform-async-generator-functions": "^7.23.9", "@babel/plugin-transform-async-to-generator": "^7.23.3", "@babel/plugin-transform-block-scoped-functions": "^7.23.3", "@babel/plugin-transform-block-scoping": "^7.23.4", "@babel/plugin-transform-class-properties": "^7.23.3", "@babel/plugin-transform-class-static-block": "^7.23.4", - "@babel/plugin-transform-classes": "^7.23.5", + "@babel/plugin-transform-classes": "^7.23.8", "@babel/plugin-transform-computed-properties": "^7.23.3", "@babel/plugin-transform-destructuring": "^7.23.3", "@babel/plugin-transform-dotall-regex": "^7.23.3", @@ -2827,7 +2502,7 @@ "@babel/plugin-transform-dynamic-import": "^7.23.4", "@babel/plugin-transform-exponentiation-operator": "^7.23.3", "@babel/plugin-transform-export-namespace-from": "^7.23.4", - "@babel/plugin-transform-for-of": "^7.23.3", + "@babel/plugin-transform-for-of": "^7.23.6", "@babel/plugin-transform-function-name": "^7.23.3", "@babel/plugin-transform-json-strings": "^7.23.4", "@babel/plugin-transform-literals": "^7.23.3", @@ -2835,7 +2510,7 @@ "@babel/plugin-transform-member-expression-literals": "^7.23.3", "@babel/plugin-transform-modules-amd": "^7.23.3", "@babel/plugin-transform-modules-commonjs": "^7.23.3", - "@babel/plugin-transform-modules-systemjs": "^7.23.3", + "@babel/plugin-transform-modules-systemjs": "^7.23.9", "@babel/plugin-transform-modules-umd": "^7.23.3", "@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5", "@babel/plugin-transform-new-target": "^7.23.3", @@ -2861,9 +2536,9 @@ "@babel/plugin-transform-unicode-regex": "^7.23.3", "@babel/plugin-transform-unicode-sets-regex": "^7.23.3", "@babel/preset-modules": "0.1.6-no-external-plugins", - "babel-plugin-polyfill-corejs2": "^0.4.6", - "babel-plugin-polyfill-corejs3": "^0.8.5", - "babel-plugin-polyfill-regenerator": "^0.5.3", + "babel-plugin-polyfill-corejs2": "^0.4.8", + "babel-plugin-polyfill-corejs3": "^0.9.0", + "babel-plugin-polyfill-regenerator": "^0.5.5", "core-js-compat": "^3.31.0", "semver": "^6.3.1" }, @@ -2949,14 +2624,14 @@ } }, "node_modules/@babel/register": { - "version": "7.22.15", + "version": "7.23.7", "dev": true, "license": "MIT", "dependencies": { "clone-deep": "^4.0.1", "find-cache-dir": "^2.0.0", "make-dir": "^2.1.0", - "pirates": "^4.0.5", + "pirates": "^4.0.6", "source-map-support": "^0.5.16" }, "engines": { @@ -3097,7 +2772,7 @@ "license": "MIT" }, "node_modules/@babel/runtime": { - "version": "7.23.5", + "version": "7.23.9", "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" @@ -3107,7 +2782,7 @@ } }, "node_modules/@babel/runtime-corejs3": { - "version": "7.23.5", + "version": "7.23.9", "dev": true, "license": "MIT", "dependencies": { @@ -3119,37 +2794,37 @@ } }, "node_modules/@babel/standalone": { - "version": "7.23.5", + "version": "7.23.10", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/template": { - "version": "7.22.15", + "version": "7.23.9", "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/parser": "^7.22.15", - "@babel/types": "^7.22.15" + "@babel/code-frame": "^7.23.5", + "@babel/parser": "^7.23.9", + "@babel/types": "^7.23.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.23.5", + "version": "7.23.9", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.5", + "@babel/generator": "^7.23.6", "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-function-name": "^7.23.0", "@babel/helper-hoist-variables": "^7.22.5", "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.5", - "@babel/types": "^7.23.5", - "debug": "^4.1.0", + "@babel/parser": "^7.23.9", + "@babel/types": "^7.23.9", + "debug": "^4.3.1", "globals": "^11.1.0" }, "engines": { @@ -3164,7 +2839,7 @@ } }, "node_modules/@babel/types": { - "version": "7.23.5", + "version": "7.23.9", "license": "MIT", "dependencies": { "@babel/helper-string-parser": "^7.23.4", @@ -3185,7 +2860,7 @@ "license": "MIT" }, "node_modules/@codemirror/autocomplete": { - "version": "6.11.1", + "version": "6.12.0", "license": "MIT", "dependencies": { "@codemirror/language": "^6.0.0", @@ -3201,11 +2876,11 @@ } }, "node_modules/@codemirror/commands": { - "version": "6.3.2", + "version": "6.3.3", "license": "MIT", "dependencies": { "@codemirror/language": "^6.0.0", - "@codemirror/state": "^6.2.0", + "@codemirror/state": "^6.4.0", "@codemirror/view": "^6.0.0", "@lezer/common": "^1.1.0" } @@ -3222,7 +2897,7 @@ } }, "node_modules/@codemirror/lang-html": { - "version": "6.4.7", + "version": "6.4.8", "license": "MIT", "dependencies": { "@codemirror/autocomplete": "^6.0.0", @@ -3237,7 +2912,7 @@ } }, "node_modules/@codemirror/lang-javascript": { - "version": "6.2.1", + "version": "6.2.2", "license": "MIT", "dependencies": { "@codemirror/autocomplete": "^6.0.0", @@ -3250,11 +2925,11 @@ } }, "node_modules/@codemirror/language": { - "version": "6.9.3", + "version": "6.10.1", "license": "MIT", "dependencies": { "@codemirror/state": "^6.0.0", - "@codemirror/view": "^6.0.0", + "@codemirror/view": "^6.23.0", "@lezer/common": "^1.1.0", "@lezer/highlight": "^1.0.0", "@lezer/lr": "^1.0.0", @@ -3262,7 +2937,7 @@ } }, "node_modules/@codemirror/lint": { - "version": "6.4.2", + "version": "6.5.0", "license": "MIT", "dependencies": { "@codemirror/state": "^6.0.0", @@ -3271,29 +2946,31 @@ } }, "node_modules/@codemirror/state": { - "version": "6.3.3", + "version": "6.4.1", "license": "MIT" }, "node_modules/@codemirror/view": { - "version": "6.22.1", + "version": "6.24.1", "license": "MIT", "dependencies": { - "@codemirror/state": "^6.1.4", + "@codemirror/state": "^6.4.0", "style-mod": "^4.1.0", "w3c-keyname": "^2.2.4" } }, "node_modules/@codesandbox/nodebox": { "version": "0.1.8", - "license": "SEE LICENSE IN ./LICENSE", + "resolved": "https://registry.npmjs.org/@codesandbox/nodebox/-/nodebox-0.1.8.tgz", + "integrity": "sha512-2VRS6JDSk+M+pg56GA6CryyUSGPjBEe8Pnae0QL3jJF1mJZJVMDKr93gJRtBbLkfZN6LD/DwMtf+2L0bpWrjqg==", "dependencies": { "outvariant": "^1.4.0", "strict-event-emitter": "^0.4.3" } }, "node_modules/@codesandbox/sandpack-client": { - "version": "2.10.0", - "license": "Apache-2.0", + "version": "2.13.2", + "resolved": "https://registry.npmjs.org/@codesandbox/sandpack-client/-/sandpack-client-2.13.2.tgz", + "integrity": "sha512-uAuxQOF7p8y4m7H0ojedDcWRf62xVK7UIYIJoX5LkhcV0SW1BTXcRkVNuR0/MSCSv+Og1dBeV8+Xpye9PX0quA==", "dependencies": { "@codesandbox/nodebox": "0.1.8", "buffer": "^6.0.3", @@ -3303,8 +2980,9 @@ } }, "node_modules/@codesandbox/sandpack-react": { - "version": "2.10.0", - "license": "Apache-2.0", + "version": "2.13.2", + "resolved": "https://registry.npmjs.org/@codesandbox/sandpack-react/-/sandpack-react-2.13.2.tgz", + "integrity": "sha512-aAordf/OLXoHNSQMEhlGOcGZwKgcQMrr2nE9EiWLy2c6ldDOf6pMUvwXwvgNbbukG0050n5d0Y9xre1Mh4qqJA==", "dependencies": { "@codemirror/autocomplete": "^6.4.0", "@codemirror/commands": "^6.1.3", @@ -3314,13 +2992,12 @@ "@codemirror/language": "^6.3.2", "@codemirror/state": "^6.2.0", "@codemirror/view": "^6.7.1", - "@codesandbox/sandpack-client": "^2.10.0", + "@codesandbox/sandpack-client": "^2.13.2", "@lezer/highlight": "^1.1.3", "@react-hook/intersection-observer": "^3.1.1", "@stitches/core": "^1.2.6", "anser": "^2.1.1", "clean-set": "^1.1.2", - "codesandbox-import-util-types": "^2.2.3", "dequal": "^2.0.2", "escape-carriage": "^1.3.1", "lz-string": "^1.4.4", @@ -3401,10 +3078,10 @@ "react": ">=16.8.0" } }, - "node_modules/@esbuild/darwin-x64": { + "node_modules/@esbuild/darwin-arm64": { "version": "0.18.20", "cpu": [ - "x64" + "arm64" ], "dev": true, "license": "MIT", @@ -3461,7 +3138,7 @@ } }, "node_modules/@eslint/eslintrc/node_modules/ignore": { - "version": "5.3.0", + "version": "5.3.1", "dev": true, "license": "MIT", "engines": { @@ -3469,7 +3146,7 @@ } }, "node_modules/@eslint/js": { - "version": "8.55.0", + "version": "8.56.0", "dev": true, "license": "MIT", "engines": { @@ -3482,22 +3159,25 @@ "license": "MIT" }, "node_modules/@floating-ui/core": { - "version": "0.7.3", - "license": "MIT" + "version": "1.6.0", + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.2.1" + } }, "node_modules/@floating-ui/dom": { - "version": "0.5.4", + "version": "1.6.3", "license": "MIT", "dependencies": { - "@floating-ui/core": "^0.7.3" + "@floating-ui/core": "^1.0.0", + "@floating-ui/utils": "^0.2.0" } }, "node_modules/@floating-ui/react-dom": { - "version": "0.7.2", + "version": "2.0.8", "license": "MIT", "dependencies": { - "@floating-ui/dom": "^0.5.3", - "use-isomorphic-layout-effect": "^1.1.1" + "@floating-ui/dom": "^1.6.1" }, "peerDependencies": { "react": ">=16.8.0", @@ -3505,7 +3185,7 @@ } }, "node_modules/@floating-ui/utils": { - "version": "0.1.6", + "version": "0.2.1", "license": "MIT" }, "node_modules/@gar/promisify": { @@ -3766,6 +3446,11 @@ "node": ">=8" } }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/sprintf-js": { + "version": "1.0.3", + "dev": true, + "license": "BSD-3-Clause" + }, "node_modules/@istanbuljs/schema": { "version": "0.1.3", "license": "MIT", @@ -3789,54 +3474,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/@jest/console/node_modules/ansi-styles": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@jest/console/node_modules/jest-message-util": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/console/node_modules/pretty-format": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/console/node_modules/react-is": { - "version": "18.2.0", - "dev": true, - "license": "MIT" - }, "node_modules/@jest/core": { "version": "29.7.0", "dev": true, @@ -3908,25 +3545,6 @@ "node": ">=8" } }, - "node_modules/@jest/core/node_modules/jest-message-util": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/@jest/core/node_modules/pretty-format": { "version": "29.7.0", "dev": true, @@ -3946,37 +3564,14 @@ "license": "MIT" }, "node_modules/@jest/create-cache-key-function": { - "version": "27.5.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/types": "^27.5.1" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/@jest/create-cache-key-function/node_modules/@jest/types": { - "version": "27.5.1", + "version": "29.7.0", "dev": true, "license": "MIT", "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" + "@jest/types": "^29.6.3" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/@jest/create-cache-key-function/node_modules/@types/yargs": { - "version": "16.0.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/yargs-parser": "*" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/environment": { @@ -4019,17 +3614,6 @@ } }, "node_modules/@jest/expect-utils": { - "version": "28.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "jest-get-type": "^28.0.2" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" - } - }, - "node_modules/@jest/expect/node_modules/@jest/expect-utils": { "version": "29.7.0", "dev": true, "license": "MIT", @@ -4040,113 +3624,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/@jest/expect/node_modules/ansi-styles": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@jest/expect/node_modules/diff-sequences": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect/node_modules/expect": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/expect-utils": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect/node_modules/jest-diff": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^29.6.3", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect/node_modules/jest-get-type": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect/node_modules/jest-matcher-utils": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect/node_modules/jest-message-util": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect/node_modules/pretty-format": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect/node_modules/react-is": { - "version": "18.2.0", - "dev": true, - "license": "MIT" - }, "node_modules/@jest/fake-timers": { "version": "29.7.0", "dev": true, @@ -4163,36 +3640,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/@jest/fake-timers/node_modules/ansi-styles": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/@jest/fake-timers/node_modules/jest-message-util": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/@jest/fake-timers/node_modules/jest-mock": { "version": "29.7.0", "dev": true, @@ -4206,24 +3653,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/@jest/fake-timers/node_modules/pretty-format": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/fake-timers/node_modules/react-is": { - "version": "18.2.0", - "dev": true, - "license": "MIT" - }, "node_modules/@jest/globals": { "version": "29.7.0", "dev": true, @@ -4293,25 +3722,14 @@ } } }, - "node_modules/@jest/reporters/node_modules/ansi-styles": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/@jest/reporters/node_modules/istanbul-lib-instrument": { - "version": "6.0.1", + "version": "6.0.2", "dev": true, "license": "BSD-3-Clause", "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", + "@babel/core": "^7.23.9", + "@babel/parser": "^7.23.9", + "@istanbuljs/schema": "^0.1.3", "istanbul-lib-coverage": "^3.2.0", "semver": "^7.5.4" }, @@ -4319,43 +3737,6 @@ "node": ">=10" } }, - "node_modules/@jest/reporters/node_modules/jest-message-util": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/reporters/node_modules/pretty-format": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/reporters/node_modules/react-is": { - "version": "18.2.0", - "dev": true, - "license": "MIT" - }, "node_modules/@jest/schemas": { "version": "29.6.3", "dev": true, @@ -4462,7 +3843,7 @@ } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.1", + "version": "3.1.2", "license": "MIT", "engines": { "node": ">=6.0.0" @@ -4489,7 +3870,7 @@ "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.20", + "version": "0.3.22", "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", @@ -5699,13 +5080,14 @@ } }, "node_modules/@lezer/common": { - "version": "1.1.2", + "version": "1.2.1", "license": "MIT" }, "node_modules/@lezer/css": { - "version": "1.1.4", + "version": "1.1.8", "license": "MIT", "dependencies": { + "@lezer/common": "^1.2.0", "@lezer/highlight": "^1.0.0", "@lezer/lr": "^1.0.0" } @@ -5718,24 +5100,25 @@ } }, "node_modules/@lezer/html": { - "version": "1.3.7", + "version": "1.3.9", "license": "MIT", "dependencies": { - "@lezer/common": "^1.0.0", + "@lezer/common": "^1.2.0", "@lezer/highlight": "^1.0.0", "@lezer/lr": "^1.0.0" } }, "node_modules/@lezer/javascript": { - "version": "1.4.10", + "version": "1.4.13", "license": "MIT", "dependencies": { + "@lezer/common": "^1.2.0", "@lezer/highlight": "^1.1.3", "@lezer/lr": "^1.3.0" } }, "node_modules/@lezer/lr": { - "version": "1.3.14", + "version": "1.4.0", "license": "MIT", "dependencies": { "@lezer/common": "^1.0.0" @@ -5850,11 +5233,10 @@ }, "node_modules/@next/swc-darwin-arm64": { "version": "13.5.6", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.5.6.tgz", - "integrity": "sha512-5nvXMzKtZfvcu4BhtV0KH1oGv4XEW+B+jOfmBdpFI3C7FrB/MfujRpWYSBBO64+qbW8pkZiSyQv9eiwnn5VIQA==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "darwin" @@ -5864,11 +5246,12 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "13.5.6", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.0.tgz", + "integrity": "sha512-1jgudN5haWxiAl3O1ljUS2GfupPmcftu2RYJqZiMJmmbBT5M1XDffjUtRUzP4W3cBHsrvkfOFdQ71hAreNQP6g==", "cpu": [ "x64" ], - "license": "MIT", "optional": true, "os": [ "darwin" @@ -5878,9 +5261,9 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "13.5.6", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.5.6.tgz", - "integrity": "sha512-txagBbj1e1w47YQjcKgSU4rRVQ7uF29YpnlHV5xuVUsgCUf2FmyfJ3CPjZUvpIeXCJAoMCFAoGnbtX86BK7+sg==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.0.tgz", + "integrity": "sha512-RHo7Tcj+jllXUbK7xk2NyIDod3YcCPDZxj1WLIYxd709BQ7WuRYl3OWUNG+WUfqeQBds6kvZYlc42NJJTNi4tQ==", "cpu": [ "arm64" ], @@ -5893,9 +5276,9 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "13.5.6", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.5.6.tgz", - "integrity": "sha512-cGd+H8amifT86ZldVJtAKDxUqeFyLWW+v2NlBULnLAdWsiuuN8TuhVBt8ZNpCqcAuoruoSWynvMWixTFcroq+Q==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.0.tgz", + "integrity": "sha512-v6kP8sHYxjO8RwHmWMJSq7VZP2nYCkRVQ0qolh2l6xroe9QjbgV8siTbduED4u0hlk0+tjS6/Tuy4n5XCp+l6g==", "cpu": [ "arm64" ], @@ -5908,9 +5291,9 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "13.5.6", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.5.6.tgz", - "integrity": "sha512-Mc2b4xiIWKXIhBy2NBTwOxGD3nHLmq4keFk+d4/WL5fMsB8XdJRdtUlL87SqVCTSaf1BRuQQf1HvXZcy+rq3Nw==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.0.tgz", + "integrity": "sha512-zJ2pnoFYB1F4vmEVlb/eSe+VH679zT1VdXlZKX+pE66grOgjmKJHKacf82g/sWE4MQ4Rk2FMBCRnX+l6/TVYzQ==", "cpu": [ "x64" ], @@ -5923,9 +5306,9 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "13.5.6", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.5.6.tgz", - "integrity": "sha512-CFHvP9Qz98NruJiUnCe61O6GveKKHpJLloXbDSWRhqhkJdZD2zU5hG+gtVJR//tyW897izuHpM6Gtf6+sNgJPQ==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.0.tgz", + "integrity": "sha512-rbaIYFt2X9YZBSbH/CwGAjbBG2/MrACCVu2X0+kSykHzHnYH5FjHxwXLkcoJ10cX0aWCEynpu+rP76x0914atg==", "cpu": [ "x64" ], @@ -5938,9 +5321,9 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "13.5.6", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.5.6.tgz", - "integrity": "sha512-aFv1ejfkbS7PUa1qVPwzDHjQWQtknzAZWGTKYIAaS4NMtBlk3VyA6AYn593pqNanlicewqyl2jUhQAaFV/qXsg==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.0.tgz", + "integrity": "sha512-o1N5TsYc8f/HpGt39OUQpQ9AKIGApd3QLueu7hXk//2xq5Z9OxmV6sQfNp8C7qYmiOlHYODOGqNNa0e9jvchGQ==", "cpu": [ "arm64" ], @@ -5953,9 +5336,9 @@ } }, "node_modules/@next/swc-win32-ia32-msvc": { - "version": "13.5.6", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.5.6.tgz", - "integrity": "sha512-XqqpHgEIlBHvzwG8sp/JXMFkLAfGLqkbVsyN+/Ih1mR8INb6YCc2x/Mbwi6hsAgUnqQztz8cvEbHJUbSl7RHDg==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.0.tgz", + "integrity": "sha512-XXIuB1DBRCFwNO6EEzCTMHT5pauwaSj4SWs7CYnME57eaReAKBXCnkUE80p/pAZcewm7hs+vGvNqDPacEXHVkw==", "cpu": [ "ia32" ], @@ -5968,9 +5351,9 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "13.5.6", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.5.6.tgz", - "integrity": "sha512-Cqfe1YmOS7k+5mGu92nl5ULkzpKuxJrP3+4AEuPmrpFZ3BHxTY3TnHmU1On3bFmFFs6FbTcdF58CCUProGpIGQ==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.0.tgz", + "integrity": "sha512-9WEbVRRAqJ3YFVqEZIxUqkiO8l1nool1LmNxygr5HWF8AcSYsEpneUDhmjUVJEzO2A04+oPtZdombzzPPkTtgg==", "cpu": [ "x64" ], @@ -6327,13 +5710,38 @@ } }, "node_modules/@nrwl/devkit/node_modules/ignore": { - "version": "5.3.0", + "version": "5.3.1", "dev": true, "license": "MIT", "engines": { "node": ">= 4" } }, + "node_modules/@nrwl/devkit/node_modules/lru-cache": { + "version": "6.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@nrwl/devkit/node_modules/semver": { + "version": "7.5.4", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/@nrwl/devkit/node_modules/tmp": { "version": "0.2.1", "dev": true, @@ -6345,6 +5753,11 @@ "node": ">=8.17.0" } }, + "node_modules/@nrwl/devkit/node_modules/yallist": { + "version": "4.0.0", + "dev": true, + "license": "ISC" + }, "node_modules/@nrwl/tao": { "version": "14.8.9", "dev": true, @@ -6512,7 +5925,8 @@ }, "node_modules/@open-draft/deferred-promise": { "version": "2.2.0", - "license": "MIT" + "resolved": "https://registry.npmjs.org/@open-draft/deferred-promise/-/deferred-promise-2.2.0.tgz", + "integrity": "sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA==" }, "node_modules/@parcel/watcher": { "version": "2.0.4", @@ -6541,11 +5955,11 @@ } }, "node_modules/@playwright/test": { - "version": "1.40.1", + "version": "1.41.2", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright": "1.40.1" + "playwright": "1.41.2" }, "bin": { "playwright": "cli.js" @@ -6674,53 +6088,31 @@ } }, "node_modules/@radix-ui/react-arrow": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-primitive": "1.0.1" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-compose-refs": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-primitive": { - "version": "1.0.1", + "version": "1.0.3", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", - "@radix-ui/react-slot": "1.0.1" + "@radix-ui/react-primitive": "1.0.3" }, "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0", "react-dom": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-arrow/node_modules/@radix-ui/react-slot": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-compose-refs": "1.0.0" }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } } }, "node_modules/@radix-ui/react-avatar": { "version": "1.0.4", - "license": "MIT", + "resolved": "https://registry.npmjs.org/@radix-ui/react-avatar/-/react-avatar-1.0.4.tgz", + "integrity": "sha512-kVK2K7ZD3wwj3qhle0ElXhOjbezIgyl2hVvgwfIdexL3rN6zJmy5AqqIf+D31lxVppdzV8CjAfZ6PklkmInZLw==", "dependencies": { "@babel/runtime": "^7.13.10", "@radix-ui/react-context": "1.0.1", @@ -6743,22 +6135,6 @@ } } }, - "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-use-callback-ref": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, "node_modules/@radix-ui/react-checkbox": { "version": "1.0.4", "license": "MIT", @@ -6935,22 +6311,6 @@ } } }, - "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-focus-guards": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-focus-scope": { "version": "1.0.4", "license": "MIT", @@ -6997,7 +6357,7 @@ } } }, - "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref": { + "node_modules/@radix-ui/react-direction": { "version": "1.0.1", "license": "MIT", "dependencies": { @@ -7013,95 +6373,32 @@ } } }, - "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-escape-keydown": { - "version": "1.0.3", + "node_modules/@radix-ui/react-dismissable-layer": { + "version": "1.0.4", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", - "@radix-ui/react-use-callback-ref": "1.0.1" + "@radix-ui/primitive": "1.0.1", + "@radix-ui/react-compose-refs": "1.0.1", + "@radix-ui/react-primitive": "1.0.3", + "@radix-ui/react-use-callback-ref": "1.0.1", + "@radix-ui/react-use-escape-keydown": "1.0.3" }, "peerDependencies": { "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0", + "react-dom": "^16.8 || ^17.0 || ^18.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true - } - } - }, - "node_modules/@radix-ui/react-direction": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { + }, + "@types/react-dom": { "optional": true } } }, - "node_modules/@radix-ui/react-dismissable-layer": { - "version": "1.0.2", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.0", - "@radix-ui/react-compose-refs": "1.0.0", - "@radix-ui/react-primitive": "1.0.1", - "@radix-ui/react-use-callback-ref": "1.0.0", - "@radix-ui/react-use-escape-keydown": "1.0.2" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/primitive": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - } - }, - "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-compose-refs": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-primitive": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-slot": "1.0.1" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/react-slot": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-compose-refs": "1.0.0" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, "node_modules/@radix-ui/react-dropdown-menu": { "version": "2.0.3", "license": "MIT", @@ -7181,28 +6478,28 @@ "react": "^16.8 || ^17.0 || ^18.0" } }, - "node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-use-controllable-state": { + "node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-use-callback-ref": { "version": "1.0.0", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-use-callback-ref": "1.0.0" + "@babel/runtime": "^7.13.10" }, "peerDependencies": { "react": "^16.8 || ^17.0 || ^18.0" } }, - "node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-use-layout-effect": { + "node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-use-controllable-state": { "version": "1.0.0", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.13.10" + "@babel/runtime": "^7.13.10", + "@radix-ui/react-use-callback-ref": "1.0.0" }, "peerDependencies": { "react": "^16.8 || ^17.0 || ^18.0" } }, - "node_modules/@radix-ui/react-focus-guards": { + "node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-use-layout-effect": { "version": "1.0.0", "license": "MIT", "dependencies": { @@ -7212,51 +6509,44 @@ "react": "^16.8 || ^17.0 || ^18.0" } }, - "node_modules/@radix-ui/react-focus-scope": { + "node_modules/@radix-ui/react-focus-guards": { "version": "1.0.1", "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-compose-refs": "1.0.0", - "@radix-ui/react-primitive": "1.0.1", - "@radix-ui/react-use-callback-ref": "1.0.0" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs": { - "version": "1.0.0", - "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10" }, "peerDependencies": { + "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } } }, - "node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive": { - "version": "1.0.1", + "node_modules/@radix-ui/react-focus-scope": { + "version": "1.0.3", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", - "@radix-ui/react-slot": "1.0.1" + "@radix-ui/react-compose-refs": "1.0.1", + "@radix-ui/react-primitive": "1.0.3", + "@radix-ui/react-use-callback-ref": "1.0.1" }, "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0", "react-dom": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-slot": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-compose-refs": "1.0.0" }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } } }, "node_modules/@radix-ui/react-id": { @@ -7384,6 +6674,29 @@ "react-dom": "^16.8 || ^17.0 || ^18.0" } }, + "node_modules/@radix-ui/react-menu/node_modules/@floating-ui/core": { + "version": "0.7.3", + "license": "MIT" + }, + "node_modules/@radix-ui/react-menu/node_modules/@floating-ui/dom": { + "version": "0.5.4", + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^0.7.3" + } + }, + "node_modules/@radix-ui/react-menu/node_modules/@floating-ui/react-dom": { + "version": "0.7.2", + "license": "MIT", + "dependencies": { + "@floating-ui/dom": "^0.5.3", + "use-isomorphic-layout-effect": "^1.1.1" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/primitive": { "version": "1.0.0", "license": "MIT", @@ -7391,6 +6704,18 @@ "@babel/runtime": "^7.13.10" } }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-arrow": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10", + "@radix-ui/react-primitive": "1.0.1" + }, + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0", + "react-dom": "^16.8 || ^17.0 || ^18.0" + } + }, "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-collection": { "version": "1.0.1", "license": "MIT", @@ -7436,6 +6761,46 @@ "react": "^16.8 || ^17.0 || ^18.0" } }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-dismissable-layer": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10", + "@radix-ui/primitive": "1.0.0", + "@radix-ui/react-compose-refs": "1.0.0", + "@radix-ui/react-primitive": "1.0.1", + "@radix-ui/react-use-callback-ref": "1.0.0", + "@radix-ui/react-use-escape-keydown": "1.0.2" + }, + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0", + "react-dom": "^16.8 || ^17.0 || ^18.0" + } + }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-focus-guards": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10" + }, + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0" + } + }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-focus-scope": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10", + "@radix-ui/react-compose-refs": "1.0.0", + "@radix-ui/react-primitive": "1.0.1", + "@radix-ui/react-use-callback-ref": "1.0.0" + }, + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0", + "react-dom": "^16.8 || ^17.0 || ^18.0" + } + }, "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-id": { "version": "1.0.0", "license": "MIT", @@ -7447,6 +6812,39 @@ "react": "^16.8 || ^17.0 || ^18.0" } }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-popper": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10", + "@floating-ui/react-dom": "0.7.2", + "@radix-ui/react-arrow": "1.0.1", + "@radix-ui/react-compose-refs": "1.0.0", + "@radix-ui/react-context": "1.0.0", + "@radix-ui/react-primitive": "1.0.1", + "@radix-ui/react-use-callback-ref": "1.0.0", + "@radix-ui/react-use-layout-effect": "1.0.0", + "@radix-ui/react-use-rect": "1.0.0", + "@radix-ui/react-use-size": "1.0.0", + "@radix-ui/rect": "1.0.0" + }, + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0", + "react-dom": "^16.8 || ^17.0 || ^18.0" + } + }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-portal": { + "version": "1.0.1", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10", + "@radix-ui/react-primitive": "1.0.1" + }, + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0", + "react-dom": "^16.8 || ^17.0 || ^18.0" + } + }, "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-presence": { "version": "1.0.0", "license": "MIT", @@ -7472,6 +6870,26 @@ "react-dom": "^16.8 || ^17.0 || ^18.0" } }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-roving-focus": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10", + "@radix-ui/primitive": "1.0.0", + "@radix-ui/react-collection": "1.0.1", + "@radix-ui/react-compose-refs": "1.0.0", + "@radix-ui/react-context": "1.0.0", + "@radix-ui/react-direction": "1.0.0", + "@radix-ui/react-id": "1.0.0", + "@radix-ui/react-primitive": "1.0.1", + "@radix-ui/react-use-callback-ref": "1.0.0", + "@radix-ui/react-use-controllable-state": "1.0.0" + }, + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0", + "react-dom": "^16.8 || ^17.0 || ^18.0" + } + }, "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot": { "version": "1.0.1", "license": "MIT", @@ -7483,6 +6901,38 @@ "react": "^16.8 || ^17.0 || ^18.0" } }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-use-callback-ref": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10" + }, + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0" + } + }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-use-controllable-state": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10", + "@radix-ui/react-use-callback-ref": "1.0.0" + }, + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0" + } + }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-use-escape-keydown": { + "version": "1.0.2", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10", + "@radix-ui/react-use-callback-ref": "1.0.0" + }, + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0" + } + }, "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-use-layout-effect": { "version": "1.0.0", "license": "MIT", @@ -7493,6 +6943,35 @@ "react": "^16.8 || ^17.0 || ^18.0" } }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-use-rect": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10", + "@radix-ui/rect": "1.0.0" + }, + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0" + } + }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-use-size": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10", + "@radix-ui/react-use-layout-effect": "1.0.0" + }, + "peerDependencies": { + "react": "^16.8 || ^17.0 || ^18.0" + } + }, + "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/rect": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.13.10" + } + }, "node_modules/@radix-ui/react-navigation-menu": { "version": "1.1.4", "license": "MIT", @@ -7554,39 +7033,6 @@ } } }, - "node_modules/@radix-ui/react-navigation-menu/node_modules/@radix-ui/react-use-callback-ref": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-navigation-menu/node_modules/@radix-ui/react-use-escape-keydown": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-use-callback-ref": "1.0.1" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, "node_modules/@radix-ui/react-popover": { "version": "1.0.7", "license": "MIT", @@ -7623,54 +7069,6 @@ } } }, - "node_modules/@radix-ui/react-popover/node_modules/@floating-ui/core": { - "version": "1.5.2", - "license": "MIT", - "dependencies": { - "@floating-ui/utils": "^0.1.3" - } - }, - "node_modules/@radix-ui/react-popover/node_modules/@floating-ui/dom": { - "version": "1.5.3", - "license": "MIT", - "dependencies": { - "@floating-ui/core": "^1.4.2", - "@floating-ui/utils": "^0.1.3" - } - }, - "node_modules/@radix-ui/react-popover/node_modules/@floating-ui/react-dom": { - "version": "2.0.4", - "license": "MIT", - "dependencies": { - "@floating-ui/dom": "^1.5.1" - }, - "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" - } - }, - "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-arrow": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-primitive": "1.0.3" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } - } - }, "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-dismissable-layer": { "version": "1.0.5", "license": "MIT", @@ -7697,22 +7095,6 @@ } } }, - "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-focus-guards": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-focus-scope": { "version": "1.0.4", "license": "MIT", @@ -7790,193 +7172,59 @@ } } }, - "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-use-callback-ref": { - "version": "1.0.1", + "node_modules/@radix-ui/react-popper": { + "version": "1.1.2", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.13.10" + "@babel/runtime": "^7.13.10", + "@floating-ui/react-dom": "^2.0.0", + "@radix-ui/react-arrow": "1.0.3", + "@radix-ui/react-compose-refs": "1.0.1", + "@radix-ui/react-context": "1.0.1", + "@radix-ui/react-primitive": "1.0.3", + "@radix-ui/react-use-callback-ref": "1.0.1", + "@radix-ui/react-use-layout-effect": "1.0.1", + "@radix-ui/react-use-rect": "1.0.1", + "@radix-ui/react-use-size": "1.0.1", + "@radix-ui/rect": "1.0.1" }, "peerDependencies": { "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0", + "react-dom": "^16.8 || ^17.0 || ^18.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true + }, + "@types/react-dom": { + "optional": true } } }, - "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-use-escape-keydown": { + "node_modules/@radix-ui/react-portal": { "version": "1.0.3", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", - "@radix-ui/react-use-callback-ref": "1.0.1" + "@radix-ui/react-primitive": "1.0.3" }, "peerDependencies": { "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0", + "react-dom": "^16.8 || ^17.0 || ^18.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true - } - } - }, - "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-use-rect": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/rect": "1.0.1" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { + }, + "@types/react-dom": { "optional": true } } }, - "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/rect": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - } - }, - "node_modules/@radix-ui/react-popper": { - "version": "1.1.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@floating-ui/react-dom": "0.7.2", - "@radix-ui/react-arrow": "1.0.1", - "@radix-ui/react-compose-refs": "1.0.0", - "@radix-ui/react-context": "1.0.0", - "@radix-ui/react-primitive": "1.0.1", - "@radix-ui/react-use-callback-ref": "1.0.0", - "@radix-ui/react-use-layout-effect": "1.0.0", - "@radix-ui/react-use-rect": "1.0.0", - "@radix-ui/react-use-size": "1.0.0", - "@radix-ui/rect": "1.0.0" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-compose-refs": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-context": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-primitive": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-slot": "1.0.1" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-slot": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-compose-refs": "1.0.0" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-use-layout-effect": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-popper/node_modules/@radix-ui/react-use-size": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-use-layout-effect": "1.0.0" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-portal": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-primitive": "1.0.1" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-compose-refs": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-slot": "1.0.1" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-slot": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-compose-refs": "1.0.0" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, "node_modules/@radix-ui/react-presence": { "version": "1.0.1", "license": "MIT", @@ -8053,7 +7301,7 @@ } } }, - "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-roving-focus": { + "node_modules/@radix-ui/react-roving-focus": { "version": "1.0.4", "license": "MIT", "dependencies": { @@ -8083,151 +7331,8 @@ } } }, - "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-callback-ref": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-roving-focus": { - "version": "1.0.2", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.0", - "@radix-ui/react-collection": "1.0.1", - "@radix-ui/react-compose-refs": "1.0.0", - "@radix-ui/react-context": "1.0.0", - "@radix-ui/react-direction": "1.0.0", - "@radix-ui/react-id": "1.0.0", - "@radix-ui/react-primitive": "1.0.1", - "@radix-ui/react-use-callback-ref": "1.0.0", - "@radix-ui/react-use-controllable-state": "1.0.0" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/primitive": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - } - }, - "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-collection": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-compose-refs": "1.0.0", - "@radix-ui/react-context": "1.0.0", - "@radix-ui/react-primitive": "1.0.1", - "@radix-ui/react-slot": "1.0.1" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-compose-refs": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-context": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-direction": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-id": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-use-layout-effect": "1.0.0" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-primitive": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-slot": "1.0.1" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-slot": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-compose-refs": "1.0.0" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-use-controllable-state": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-use-callback-ref": "1.0.0" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-roving-focus/node_modules/@radix-ui/react-use-layout-effect": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-select": { - "version": "1.2.2", + "node_modules/@radix-ui/react-select": { + "version": "1.2.2", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", @@ -8268,33 +7373,7 @@ } } }, - "node_modules/@radix-ui/react-select/node_modules/@floating-ui/core": { - "version": "1.5.2", - "license": "MIT", - "dependencies": { - "@floating-ui/utils": "^0.1.3" - } - }, - "node_modules/@radix-ui/react-select/node_modules/@floating-ui/dom": { - "version": "1.5.3", - "license": "MIT", - "dependencies": { - "@floating-ui/core": "^1.4.2", - "@floating-ui/utils": "^0.1.3" - } - }, - "node_modules/@radix-ui/react-select/node_modules/@floating-ui/react-dom": { - "version": "2.0.4", - "license": "MIT", - "dependencies": { - "@floating-ui/dom": "^1.5.1" - }, - "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" - } - }, - "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-arrow": { + "node_modules/@radix-ui/react-separator": { "version": "1.0.3", "license": "MIT", "dependencies": { @@ -8316,37 +7395,12 @@ } } }, - "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-dismissable-layer": { - "version": "1.0.4", + "node_modules/@radix-ui/react-slot": { + "version": "1.0.2", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.1", - "@radix-ui/react-compose-refs": "1.0.1", - "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-use-callback-ref": "1.0.1", - "@radix-ui/react-use-escape-keydown": "1.0.3" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-focus-guards": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" + "@radix-ui/react-compose-refs": "1.0.1" }, "peerDependencies": { "@types/react": "*", @@ -8358,14 +7412,18 @@ } } }, - "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-focus-scope": { + "node_modules/@radix-ui/react-switch": { "version": "1.0.3", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", + "@radix-ui/primitive": "1.0.1", "@radix-ui/react-compose-refs": "1.0.1", + "@radix-ui/react-context": "1.0.1", "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-use-callback-ref": "1.0.1" + "@radix-ui/react-use-controllable-state": "1.0.1", + "@radix-ui/react-use-previous": "1.0.1", + "@radix-ui/react-use-size": "1.0.1" }, "peerDependencies": { "@types/react": "*", @@ -8382,43 +7440,20 @@ } } }, - "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-popper": { - "version": "1.1.2", - "license": "MIT", + "node_modules/@radix-ui/react-tabs": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@radix-ui/react-tabs/-/react-tabs-1.0.4.tgz", + "integrity": "sha512-egZfYY/+wRNCflXNHx+dePvnz9FbmssDTJBtgRfDY7e8SE5oIo3Py2eCB1ckAbh1Q7cQ/6yJZThJ++sgbxibog==", "dependencies": { "@babel/runtime": "^7.13.10", - "@floating-ui/react-dom": "^2.0.0", - "@radix-ui/react-arrow": "1.0.3", - "@radix-ui/react-compose-refs": "1.0.1", + "@radix-ui/primitive": "1.0.1", "@radix-ui/react-context": "1.0.1", + "@radix-ui/react-direction": "1.0.1", + "@radix-ui/react-id": "1.0.1", + "@radix-ui/react-presence": "1.0.1", "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-use-callback-ref": "1.0.1", - "@radix-ui/react-use-layout-effect": "1.0.1", - "@radix-ui/react-use-rect": "1.0.1", - "@radix-ui/react-use-size": "1.0.1", - "@radix-ui/rect": "1.0.1" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-portal": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-primitive": "1.0.3" + "@radix-ui/react-roving-focus": "1.0.4", + "@radix-ui/react-use-controllable-state": "1.0.1" }, "peerDependencies": { "@types/react": "*", @@ -8435,69 +7470,14 @@ } } }, - "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-use-callback-ref": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-use-escape-keydown": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-use-callback-ref": "1.0.1" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-use-rect": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/rect": "1.0.1" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-select/node_modules/@radix-ui/rect": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - } - }, - "node_modules/@radix-ui/react-separator": { + "node_modules/@radix-ui/react-toggle": { "version": "1.0.3", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", - "@radix-ui/react-primitive": "1.0.3" + "@radix-ui/primitive": "1.0.1", + "@radix-ui/react-primitive": "1.0.3", + "@radix-ui/react-use-controllable-state": "1.0.1" }, "peerDependencies": { "@types/react": "*", @@ -8514,35 +7494,18 @@ } } }, - "node_modules/@radix-ui/react-slot": { - "version": "1.0.2", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-compose-refs": "1.0.1" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-switch": { - "version": "1.0.3", + "node_modules/@radix-ui/react-toggle-group": { + "version": "1.0.4", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", "@radix-ui/primitive": "1.0.1", - "@radix-ui/react-compose-refs": "1.0.1", "@radix-ui/react-context": "1.0.1", + "@radix-ui/react-direction": "1.0.1", "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-use-controllable-state": "1.0.1", - "@radix-ui/react-use-previous": "1.0.1", - "@radix-ui/react-use-size": "1.0.1" + "@radix-ui/react-roving-focus": "1.0.4", + "@radix-ui/react-toggle": "1.0.3", + "@radix-ui/react-use-controllable-state": "1.0.1" }, "peerDependencies": { "@types/react": "*", @@ -8559,19 +7522,19 @@ } } }, - "node_modules/@radix-ui/react-tabs": { + "node_modules/@radix-ui/react-toolbar": { "version": "1.0.4", + "dev": true, "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", "@radix-ui/primitive": "1.0.1", "@radix-ui/react-context": "1.0.1", "@radix-ui/react-direction": "1.0.1", - "@radix-ui/react-id": "1.0.1", - "@radix-ui/react-presence": "1.0.1", "@radix-ui/react-primitive": "1.0.3", "@radix-ui/react-roving-focus": "1.0.4", - "@radix-ui/react-use-controllable-state": "1.0.1" + "@radix-ui/react-separator": "1.0.3", + "@radix-ui/react-toggle-group": "1.0.4" }, "peerDependencies": { "@types/react": "*", @@ -8588,20 +7551,23 @@ } } }, - "node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-roving-focus": { - "version": "1.0.4", + "node_modules/@radix-ui/react-tooltip": { + "version": "1.0.7", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", "@radix-ui/primitive": "1.0.1", - "@radix-ui/react-collection": "1.0.3", "@radix-ui/react-compose-refs": "1.0.1", "@radix-ui/react-context": "1.0.1", - "@radix-ui/react-direction": "1.0.1", + "@radix-ui/react-dismissable-layer": "1.0.5", "@radix-ui/react-id": "1.0.1", + "@radix-ui/react-popper": "1.1.3", + "@radix-ui/react-portal": "1.0.4", + "@radix-ui/react-presence": "1.0.1", "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-use-callback-ref": "1.0.1", - "@radix-ui/react-use-controllable-state": "1.0.1" + "@radix-ui/react-slot": "1.0.2", + "@radix-ui/react-use-controllable-state": "1.0.1", + "@radix-ui/react-visually-hidden": "1.0.3" }, "peerDependencies": { "@types/react": "*", @@ -8618,30 +7584,16 @@ } } }, - "node_modules/@radix-ui/react-tabs/node_modules/@radix-ui/react-use-callback-ref": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-toggle": { - "version": "1.0.3", + "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer": { + "version": "1.0.5", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", "@radix-ui/primitive": "1.0.1", + "@radix-ui/react-compose-refs": "1.0.1", "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-use-controllable-state": "1.0.1" + "@radix-ui/react-use-callback-ref": "1.0.1", + "@radix-ui/react-use-escape-keydown": "1.0.3" }, "peerDependencies": { "@types/react": "*", @@ -8658,18 +7610,21 @@ } } }, - "node_modules/@radix-ui/react-toggle-group": { - "version": "1.0.4", + "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper": { + "version": "1.1.3", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.1", + "@floating-ui/react-dom": "^2.0.0", + "@radix-ui/react-arrow": "1.0.3", + "@radix-ui/react-compose-refs": "1.0.1", "@radix-ui/react-context": "1.0.1", - "@radix-ui/react-direction": "1.0.1", "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-roving-focus": "1.0.4", - "@radix-ui/react-toggle": "1.0.3", - "@radix-ui/react-use-controllable-state": "1.0.1" + "@radix-ui/react-use-callback-ref": "1.0.1", + "@radix-ui/react-use-layout-effect": "1.0.1", + "@radix-ui/react-use-rect": "1.0.1", + "@radix-ui/react-use-size": "1.0.1", + "@radix-ui/rect": "1.0.1" }, "peerDependencies": { "@types/react": "*", @@ -8686,20 +7641,12 @@ } } }, - "node_modules/@radix-ui/react-toggle-group/node_modules/@radix-ui/react-roving-focus": { + "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal": { "version": "1.0.4", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.1", - "@radix-ui/react-collection": "1.0.3", - "@radix-ui/react-compose-refs": "1.0.1", - "@radix-ui/react-context": "1.0.1", - "@radix-ui/react-direction": "1.0.1", - "@radix-ui/react-id": "1.0.1", - "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-use-callback-ref": "1.0.1", - "@radix-ui/react-use-controllable-state": "1.0.1" + "@radix-ui/react-primitive": "1.0.3" }, "peerDependencies": { "@types/react": "*", @@ -8716,7 +7663,7 @@ } } }, - "node_modules/@radix-ui/react-toggle-group/node_modules/@radix-ui/react-use-callback-ref": { + "node_modules/@radix-ui/react-use-callback-ref": { "version": "1.0.1", "license": "MIT", "dependencies": { @@ -8732,69 +7679,42 @@ } } }, - "node_modules/@radix-ui/react-toolbar": { - "version": "1.0.4", - "dev": true, + "node_modules/@radix-ui/react-use-controllable-state": { + "version": "1.0.1", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.1", - "@radix-ui/react-context": "1.0.1", - "@radix-ui/react-direction": "1.0.1", - "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-roving-focus": "1.0.4", - "@radix-ui/react-separator": "1.0.3", - "@radix-ui/react-toggle-group": "1.0.4" + "@radix-ui/react-use-callback-ref": "1.0.1" }, "peerDependencies": { "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true - }, - "@types/react-dom": { - "optional": true } } }, - "node_modules/@radix-ui/react-toolbar/node_modules/@radix-ui/react-roving-focus": { - "version": "1.0.4", - "dev": true, + "node_modules/@radix-ui/react-use-escape-keydown": { + "version": "1.0.3", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.1", - "@radix-ui/react-collection": "1.0.3", - "@radix-ui/react-compose-refs": "1.0.1", - "@radix-ui/react-context": "1.0.1", - "@radix-ui/react-direction": "1.0.1", - "@radix-ui/react-id": "1.0.1", - "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-use-callback-ref": "1.0.1", - "@radix-ui/react-use-controllable-state": "1.0.1" + "@radix-ui/react-use-callback-ref": "1.0.1" }, "peerDependencies": { "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true - }, - "@types/react-dom": { - "optional": true } } }, - "node_modules/@radix-ui/react-toolbar/node_modules/@radix-ui/react-use-callback-ref": { + "node_modules/@radix-ui/react-use-layout-effect": { "version": "1.0.1", - "dev": true, "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10" @@ -8809,128 +7729,62 @@ } } }, - "node_modules/@radix-ui/react-tooltip": { - "version": "1.0.7", + "node_modules/@radix-ui/react-use-previous": { + "version": "1.0.1", "license": "MIT", "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.1", - "@radix-ui/react-compose-refs": "1.0.1", - "@radix-ui/react-context": "1.0.1", - "@radix-ui/react-dismissable-layer": "1.0.5", - "@radix-ui/react-id": "1.0.1", - "@radix-ui/react-popper": "1.1.3", - "@radix-ui/react-portal": "1.0.4", - "@radix-ui/react-presence": "1.0.1", - "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-slot": "1.0.2", - "@radix-ui/react-use-controllable-state": "1.0.1", - "@radix-ui/react-visually-hidden": "1.0.3" + "@babel/runtime": "^7.13.10" }, "peerDependencies": { "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true - }, - "@types/react-dom": { - "optional": true } } }, - "node_modules/@radix-ui/react-tooltip/node_modules/@floating-ui/core": { - "version": "1.5.2", - "license": "MIT", - "dependencies": { - "@floating-ui/utils": "^0.1.3" - } - }, - "node_modules/@radix-ui/react-tooltip/node_modules/@floating-ui/dom": { - "version": "1.5.3", - "license": "MIT", - "dependencies": { - "@floating-ui/core": "^1.4.2", - "@floating-ui/utils": "^0.1.3" - } - }, - "node_modules/@radix-ui/react-tooltip/node_modules/@floating-ui/react-dom": { - "version": "2.0.4", - "license": "MIT", - "dependencies": { - "@floating-ui/dom": "^1.5.1" - }, - "peerDependencies": { - "react": ">=16.8.0", - "react-dom": ">=16.8.0" - } - }, - "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow": { - "version": "1.0.3", + "node_modules/@radix-ui/react-use-rect": { + "version": "1.0.1", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", - "@radix-ui/react-primitive": "1.0.3" + "@radix-ui/rect": "1.0.1" }, "peerDependencies": { "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true - }, - "@types/react-dom": { - "optional": true } } }, - "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer": { - "version": "1.0.5", + "node_modules/@radix-ui/react-use-size": { + "version": "1.0.1", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", - "@radix-ui/primitive": "1.0.1", - "@radix-ui/react-compose-refs": "1.0.1", - "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-use-callback-ref": "1.0.1", - "@radix-ui/react-use-escape-keydown": "1.0.3" + "@radix-ui/react-use-layout-effect": "1.0.1" }, "peerDependencies": { "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" + "react": "^16.8 || ^17.0 || ^18.0" }, "peerDependenciesMeta": { "@types/react": { "optional": true - }, - "@types/react-dom": { - "optional": true } } }, - "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper": { - "version": "1.1.3", + "node_modules/@radix-ui/react-visually-hidden": { + "version": "1.0.3", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10", - "@floating-ui/react-dom": "^2.0.0", - "@radix-ui/react-arrow": "1.0.3", - "@radix-ui/react-compose-refs": "1.0.1", - "@radix-ui/react-context": "1.0.1", - "@radix-ui/react-primitive": "1.0.3", - "@radix-ui/react-use-callback-ref": "1.0.1", - "@radix-ui/react-use-layout-effect": "1.0.1", - "@radix-ui/react-use-rect": "1.0.1", - "@radix-ui/react-use-size": "1.0.1", - "@radix-ui/rect": "1.0.1" + "@radix-ui/react-primitive": "1.0.3" }, "peerDependencies": { "@types/react": "*", @@ -8947,223 +7801,8 @@ } } }, - "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal": { - "version": "1.0.4", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-primitive": "1.0.3" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-escape-keydown": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-use-callback-ref": "1.0.1" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-rect": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/rect": "1.0.1" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/rect": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - } - }, - "node_modules/@radix-ui/react-use-callback-ref": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-use-controllable-state": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-use-callback-ref": "1.0.1" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-use-controllable-state/node_modules/@radix-ui/react-use-callback-ref": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-use-escape-keydown": { - "version": "1.0.2", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-use-callback-ref": "1.0.0" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-use-layout-effect": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-use-previous": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-use-rect": { - "version": "1.0.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/rect": "1.0.0" - }, - "peerDependencies": { - "react": "^16.8 || ^17.0 || ^18.0" - } - }, - "node_modules/@radix-ui/react-use-size": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-use-layout-effect": "1.0.1" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@radix-ui/react-visually-hidden": { - "version": "1.0.3", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-primitive": "1.0.3" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } - } - }, - "node_modules/@radix-ui/rect": { - "version": "1.0.0", + "node_modules/@radix-ui/rect": { + "version": "1.0.1", "license": "MIT", "dependencies": { "@babel/runtime": "^7.13.10" @@ -9283,12 +7922,12 @@ } }, "node_modules/@rushstack/eslint-patch": { - "version": "1.6.0", + "version": "1.7.2", "dev": true, "license": "MIT" }, "node_modules/@sideway/address": { - "version": "4.1.4", + "version": "4.1.5", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -9319,7 +7958,7 @@ } }, "node_modules/@sinonjs/commons": { - "version": "3.0.0", + "version": "3.0.1", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -9346,11 +7985,11 @@ } }, "node_modules/@storybook/addon-a11y": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/addon-highlight": "7.6.4", + "@storybook/addon-highlight": "7.6.17", "axe-core": "^4.2.0" }, "funding": { @@ -9359,11 +7998,11 @@ } }, "node_modules/@storybook/addon-actions": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/core-events": "7.6.4", + "@storybook/core-events": "7.6.17", "@storybook/global": "^5.0.0", "@types/uuid": "^9.0.1", "dequal": "^2.0.2", @@ -9376,7 +8015,7 @@ } }, "node_modules/@storybook/addon-backgrounds": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { @@ -9390,11 +8029,11 @@ } }, "node_modules/@storybook/addon-controls": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/blocks": "7.6.4", + "@storybook/blocks": "7.6.17", "lodash": "^4.17.21", "ts-dedent": "^2.0.0" }, @@ -9404,25 +8043,25 @@ } }, "node_modules/@storybook/addon-docs": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { "@jest/transform": "^29.3.1", "@mdx-js/react": "^2.1.5", - "@storybook/blocks": "7.6.4", - "@storybook/client-logger": "7.6.4", - "@storybook/components": "7.6.4", - "@storybook/csf-plugin": "7.6.4", - "@storybook/csf-tools": "7.6.4", + "@storybook/blocks": "7.6.17", + "@storybook/client-logger": "7.6.17", + "@storybook/components": "7.6.17", + "@storybook/csf-plugin": "7.6.17", + "@storybook/csf-tools": "7.6.17", "@storybook/global": "^5.0.0", "@storybook/mdx2-csf": "^1.0.0", - "@storybook/node-logger": "7.6.4", - "@storybook/postinstall": "7.6.4", - "@storybook/preview-api": "7.6.4", - "@storybook/react-dom-shim": "7.6.4", - "@storybook/theming": "7.6.4", - "@storybook/types": "7.6.4", + "@storybook/node-logger": "7.6.17", + "@storybook/postinstall": "7.6.17", + "@storybook/preview-api": "7.6.17", + "@storybook/react-dom-shim": "7.6.17", + "@storybook/theming": "7.6.17", + "@storybook/types": "7.6.17", "fs-extra": "^11.1.0", "remark-external-links": "^8.0.0", "remark-slug": "^6.0.0", @@ -9438,23 +8077,23 @@ } }, "node_modules/@storybook/addon-essentials": { - "version": "7.6.4", - "dev": true, - "license": "MIT", - "dependencies": { - "@storybook/addon-actions": "7.6.4", - "@storybook/addon-backgrounds": "7.6.4", - "@storybook/addon-controls": "7.6.4", - "@storybook/addon-docs": "7.6.4", - "@storybook/addon-highlight": "7.6.4", - "@storybook/addon-measure": "7.6.4", - "@storybook/addon-outline": "7.6.4", - "@storybook/addon-toolbars": "7.6.4", - "@storybook/addon-viewport": "7.6.4", - "@storybook/core-common": "7.6.4", - "@storybook/manager-api": "7.6.4", - "@storybook/node-logger": "7.6.4", - "@storybook/preview-api": "7.6.4", + "version": "7.6.17", + "dev": true, + "license": "MIT", + "dependencies": { + "@storybook/addon-actions": "7.6.17", + "@storybook/addon-backgrounds": "7.6.17", + "@storybook/addon-controls": "7.6.17", + "@storybook/addon-docs": "7.6.17", + "@storybook/addon-highlight": "7.6.17", + "@storybook/addon-measure": "7.6.17", + "@storybook/addon-outline": "7.6.17", + "@storybook/addon-toolbars": "7.6.17", + "@storybook/addon-viewport": "7.6.17", + "@storybook/core-common": "7.6.17", + "@storybook/manager-api": "7.6.17", + "@storybook/node-logger": "7.6.17", + "@storybook/preview-api": "7.6.17", "ts-dedent": "^2.0.0" }, "funding": { @@ -9467,7 +8106,7 @@ } }, "node_modules/@storybook/addon-highlight": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { @@ -9479,12 +8118,12 @@ } }, "node_modules/@storybook/addon-interactions": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { "@storybook/global": "^5.0.0", - "@storybook/types": "7.6.4", + "@storybook/types": "7.6.17", "jest-mock": "^27.0.6", "polished": "^4.2.2", "ts-dedent": "^2.2.0" @@ -9495,7 +8134,7 @@ } }, "node_modules/@storybook/addon-links": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { @@ -9517,7 +8156,7 @@ } }, "node_modules/@storybook/addon-measure": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { @@ -9530,7 +8169,7 @@ } }, "node_modules/@storybook/addon-outline": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { @@ -9543,7 +8182,7 @@ } }, "node_modules/@storybook/addon-toolbars": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "funding": { @@ -9552,7 +8191,7 @@ } }, "node_modules/@storybook/addon-viewport": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { @@ -9564,13 +8203,13 @@ } }, "node_modules/@storybook/addons": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/manager-api": "7.6.4", - "@storybook/preview-api": "7.6.4", - "@storybook/types": "7.6.4" + "@storybook/manager-api": "7.6.17", + "@storybook/preview-api": "7.6.17", + "@storybook/types": "7.6.17" }, "funding": { "type": "opencollective", @@ -9578,21 +8217,21 @@ } }, "node_modules/@storybook/blocks": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/channels": "7.6.4", - "@storybook/client-logger": "7.6.4", - "@storybook/components": "7.6.4", - "@storybook/core-events": "7.6.4", + "@storybook/channels": "7.6.17", + "@storybook/client-logger": "7.6.17", + "@storybook/components": "7.6.17", + "@storybook/core-events": "7.6.17", "@storybook/csf": "^0.1.2", - "@storybook/docs-tools": "7.6.4", + "@storybook/docs-tools": "7.6.17", "@storybook/global": "^5.0.0", - "@storybook/manager-api": "7.6.4", - "@storybook/preview-api": "7.6.4", - "@storybook/theming": "7.6.4", - "@storybook/types": "7.6.4", + "@storybook/manager-api": "7.6.17", + "@storybook/preview-api": "7.6.17", + "@storybook/theming": "7.6.17", + "@storybook/types": "7.6.17", "@types/lodash": "^4.14.167", "color-convert": "^2.0.1", "dequal": "^2.0.2", @@ -9616,14 +8255,14 @@ } }, "node_modules/@storybook/builder-manager": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { "@fal-works/esbuild-plugin-global-externals": "^2.1.2", - "@storybook/core-common": "7.6.4", - "@storybook/manager": "7.6.4", - "@storybook/node-logger": "7.6.4", + "@storybook/core-common": "7.6.17", + "@storybook/manager": "7.6.17", + "@storybook/node-logger": "7.6.17", "@types/ejs": "^3.1.1", "@types/find-cache-dir": "^3.2.1", "@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10", @@ -9679,25 +8318,26 @@ } }, "node_modules/@storybook/builder-webpack5": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { "@babel/core": "^7.23.2", - "@storybook/channels": "7.6.4", - "@storybook/client-logger": "7.6.4", - "@storybook/core-common": "7.6.4", - "@storybook/core-events": "7.6.4", - "@storybook/core-webpack": "7.6.4", - "@storybook/node-logger": "7.6.4", - "@storybook/preview": "7.6.4", - "@storybook/preview-api": "7.6.4", + "@storybook/channels": "7.6.17", + "@storybook/client-logger": "7.6.17", + "@storybook/core-common": "7.6.17", + "@storybook/core-events": "7.6.17", + "@storybook/core-webpack": "7.6.17", + "@storybook/node-logger": "7.6.17", + "@storybook/preview": "7.6.17", + "@storybook/preview-api": "7.6.17", "@swc/core": "^1.3.82", "@types/node": "^18.0.0", "@types/semver": "^7.3.4", "babel-loader": "^9.0.0", "browser-assert": "^1.2.1", "case-sensitive-paths-webpack-plugin": "^2.4.0", + "cjs-module-lexer": "^1.2.3", "constants-browserify": "^1.0.0", "css-loader": "^6.7.1", "es-module-lexer": "^1.4.1", @@ -9732,7 +8372,7 @@ } }, "node_modules/@storybook/builder-webpack5/node_modules/@types/node": { - "version": "18.19.3", + "version": "18.19.18", "dev": true, "license": "MIT", "dependencies": { @@ -9910,12 +8550,12 @@ } }, "node_modules/@storybook/channels": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/client-logger": "7.6.4", - "@storybook/core-events": "7.6.4", + "@storybook/client-logger": "7.6.17", + "@storybook/core-events": "7.6.17", "@storybook/global": "^5.0.0", "qs": "^6.10.0", "telejson": "^7.2.0", @@ -9927,7 +8567,7 @@ } }, "node_modules/@storybook/cli": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { @@ -9935,14 +8575,14 @@ "@babel/preset-env": "^7.23.2", "@babel/types": "^7.23.0", "@ndelangen/get-tarball": "^3.0.7", - "@storybook/codemod": "7.6.4", - "@storybook/core-common": "7.6.4", - "@storybook/core-events": "7.6.4", - "@storybook/core-server": "7.6.4", - "@storybook/csf-tools": "7.6.4", - "@storybook/node-logger": "7.6.4", - "@storybook/telemetry": "7.6.4", - "@storybook/types": "7.6.4", + "@storybook/codemod": "7.6.17", + "@storybook/core-common": "7.6.17", + "@storybook/core-events": "7.6.17", + "@storybook/core-server": "7.6.17", + "@storybook/csf-tools": "7.6.17", + "@storybook/node-logger": "7.6.17", + "@storybook/telemetry": "7.6.17", + "@storybook/types": "7.6.17", "@types/semver": "^7.3.4", "@yarnpkg/fslib": "2.10.3", "@yarnpkg/libzip": "2.3.0", @@ -9967,7 +8607,6 @@ "puppeteer-core": "^2.1.1", "read-pkg-up": "^7.0.1", "semver": "^7.3.7", - "simple-update-notifier": "^2.0.0", "strip-json-comments": "^3.0.1", "tempy": "^1.0.1", "ts-dedent": "^2.0.0", @@ -9991,7 +8630,7 @@ } }, "node_modules/@storybook/client-logger": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { @@ -10003,7 +8642,7 @@ } }, "node_modules/@storybook/codemod": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { @@ -10011,9 +8650,9 @@ "@babel/preset-env": "^7.23.2", "@babel/types": "^7.23.0", "@storybook/csf": "^0.1.2", - "@storybook/csf-tools": "7.6.4", - "@storybook/node-logger": "7.6.4", - "@storybook/types": "7.6.4", + "@storybook/csf-tools": "7.6.17", + "@storybook/node-logger": "7.6.17", + "@storybook/types": "7.6.17", "@types/cross-spawn": "^6.0.2", "cross-spawn": "^7.0.3", "globby": "^11.0.2", @@ -10028,17 +8667,17 @@ } }, "node_modules/@storybook/components": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { "@radix-ui/react-select": "^1.2.2", "@radix-ui/react-toolbar": "^1.0.4", - "@storybook/client-logger": "7.6.4", + "@storybook/client-logger": "7.6.17", "@storybook/csf": "^0.1.2", "@storybook/global": "^5.0.0", - "@storybook/theming": "7.6.4", - "@storybook/types": "7.6.4", + "@storybook/theming": "7.6.17", + "@storybook/types": "7.6.17", "memoizerific": "^1.11.3", "use-resize-observer": "^9.1.0", "util-deprecate": "^1.0.2" @@ -10053,12 +8692,12 @@ } }, "node_modules/@storybook/core-client": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/client-logger": "7.6.4", - "@storybook/preview-api": "7.6.4" + "@storybook/client-logger": "7.6.17", + "@storybook/preview-api": "7.6.17" }, "funding": { "type": "opencollective", @@ -10066,13 +8705,13 @@ } }, "node_modules/@storybook/core-common": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/core-events": "7.6.4", - "@storybook/node-logger": "7.6.4", - "@storybook/types": "7.6.4", + "@storybook/core-events": "7.6.17", + "@storybook/node-logger": "7.6.17", + "@storybook/types": "7.6.17", "@types/find-cache-dir": "^3.2.1", "@types/node": "^18.0.0", "@types/node-fetch": "^2.6.4", @@ -10100,7 +8739,7 @@ } }, "node_modules/@storybook/core-common/node_modules/@types/node": { - "version": "18.19.3", + "version": "18.19.18", "dev": true, "license": "MIT", "dependencies": { @@ -10221,7 +8860,7 @@ } }, "node_modules/@storybook/core-events": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { @@ -10233,25 +8872,25 @@ } }, "node_modules/@storybook/core-server": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { "@aw-web-design/x-default-browser": "1.4.126", "@discoveryjs/json-ext": "^0.5.3", - "@storybook/builder-manager": "7.6.4", - "@storybook/channels": "7.6.4", - "@storybook/core-common": "7.6.4", - "@storybook/core-events": "7.6.4", + "@storybook/builder-manager": "7.6.17", + "@storybook/channels": "7.6.17", + "@storybook/core-common": "7.6.17", + "@storybook/core-events": "7.6.17", "@storybook/csf": "^0.1.2", - "@storybook/csf-tools": "7.6.4", + "@storybook/csf-tools": "7.6.17", "@storybook/docs-mdx": "^0.1.0", "@storybook/global": "^5.0.0", - "@storybook/manager": "7.6.4", - "@storybook/node-logger": "7.6.4", - "@storybook/preview-api": "7.6.4", - "@storybook/telemetry": "7.6.4", - "@storybook/types": "7.6.4", + "@storybook/manager": "7.6.17", + "@storybook/node-logger": "7.6.17", + "@storybook/preview-api": "7.6.17", + "@storybook/telemetry": "7.6.17", + "@storybook/types": "7.6.17", "@types/detect-port": "^1.3.0", "@types/node": "^18.0.0", "@types/pretty-hrtime": "^1.0.0", @@ -10264,7 +8903,7 @@ "express": "^4.17.3", "fs-extra": "^11.1.0", "globby": "^11.0.2", - "ip": "^2.0.0", + "ip": "^2.0.1", "lodash": "^4.17.21", "open": "^8.4.0", "pretty-hrtime": "^1.0.3", @@ -10285,7 +8924,7 @@ } }, "node_modules/@storybook/core-server/node_modules/@types/node": { - "version": "18.19.3", + "version": "18.19.18", "dev": true, "license": "MIT", "dependencies": { @@ -10309,7 +8948,7 @@ } }, "node_modules/@storybook/core-server/node_modules/ws": { - "version": "8.14.2", + "version": "8.16.0", "dev": true, "license": "MIT", "engines": { @@ -10329,13 +8968,13 @@ } }, "node_modules/@storybook/core-webpack": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/core-common": "7.6.4", - "@storybook/node-logger": "7.6.4", - "@storybook/types": "7.6.4", + "@storybook/core-common": "7.6.17", + "@storybook/node-logger": "7.6.17", + "@storybook/types": "7.6.17", "@types/node": "^18.0.0", "ts-dedent": "^2.0.0" }, @@ -10345,7 +8984,7 @@ } }, "node_modules/@storybook/core-webpack/node_modules/@types/node": { - "version": "18.19.3", + "version": "18.19.18", "dev": true, "license": "MIT", "dependencies": { @@ -10361,11 +9000,11 @@ } }, "node_modules/@storybook/csf-plugin": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/csf-tools": "7.6.4", + "@storybook/csf-tools": "7.6.17", "unplugin": "^1.3.1" }, "funding": { @@ -10374,7 +9013,7 @@ } }, "node_modules/@storybook/csf-tools": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { @@ -10383,7 +9022,7 @@ "@babel/traverse": "^7.23.2", "@babel/types": "^7.23.0", "@storybook/csf": "^0.1.2", - "@storybook/types": "7.6.4", + "@storybook/types": "7.6.17", "fs-extra": "^11.1.0", "recast": "^0.23.1", "ts-dedent": "^2.0.0" @@ -10399,13 +9038,13 @@ "license": "MIT" }, "node_modules/@storybook/docs-tools": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/core-common": "7.6.4", - "@storybook/preview-api": "7.6.4", - "@storybook/types": "7.6.4", + "@storybook/core-common": "7.6.17", + "@storybook/preview-api": "7.6.17", + "@storybook/types": "7.6.17", "@types/doctrine": "^0.0.3", "assert": "^2.1.0", "doctrine": "^3.0.0", @@ -10461,6 +9100,50 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/@storybook/expect/node_modules/diff-sequences": { + "version": "28.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/@storybook/expect/node_modules/jest-diff": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^28.1.1", + "jest-get-type": "^28.0.2", + "pretty-format": "^28.1.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/@storybook/expect/node_modules/jest-get-type": { + "version": "28.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/@storybook/expect/node_modules/jest-matcher-utils": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^28.1.3", + "jest-get-type": "^28.0.2", + "pretty-format": "^28.1.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, "node_modules/@storybook/expect/node_modules/pretty-format": { "version": "28.1.3", "dev": true, @@ -10532,6 +9215,50 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/@storybook/jest/node_modules/diff-sequences": { + "version": "28.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/@storybook/jest/node_modules/jest-diff": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^28.1.1", + "jest-get-type": "^28.0.2", + "pretty-format": "^28.1.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/@storybook/jest/node_modules/jest-get-type": { + "version": "28.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "node_modules/@storybook/jest/node_modules/jest-matcher-utils": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^28.1.3", + "jest-get-type": "^28.0.2", + "pretty-format": "^28.1.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, "node_modules/@storybook/jest/node_modules/pretty-format": { "version": "28.1.3", "dev": true, @@ -10552,7 +9279,7 @@ "license": "MIT" }, "node_modules/@storybook/manager": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "funding": { @@ -10561,22 +9288,21 @@ } }, "node_modules/@storybook/manager-api": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/channels": "7.6.4", - "@storybook/client-logger": "7.6.4", - "@storybook/core-events": "7.6.4", + "@storybook/channels": "7.6.17", + "@storybook/client-logger": "7.6.17", + "@storybook/core-events": "7.6.17", "@storybook/csf": "^0.1.2", "@storybook/global": "^5.0.0", - "@storybook/router": "7.6.4", - "@storybook/theming": "7.6.4", - "@storybook/types": "7.6.4", + "@storybook/router": "7.6.17", + "@storybook/theming": "7.6.17", + "@storybook/types": "7.6.17", "dequal": "^2.0.2", "lodash": "^4.17.21", "memoizerific": "^1.11.3", - "semver": "^7.3.7", "store2": "^2.14.2", "telejson": "^7.2.0", "ts-dedent": "^2.0.0" @@ -10592,7 +9318,7 @@ "license": "MIT" }, "node_modules/@storybook/nextjs": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { @@ -10609,15 +9335,16 @@ "@babel/preset-react": "^7.22.15", "@babel/preset-typescript": "^7.23.2", "@babel/runtime": "^7.23.2", - "@storybook/addon-actions": "7.6.4", - "@storybook/builder-webpack5": "7.6.4", - "@storybook/core-common": "7.6.4", - "@storybook/core-events": "7.6.4", - "@storybook/node-logger": "7.6.4", - "@storybook/preset-react-webpack": "7.6.4", - "@storybook/preview-api": "7.6.4", - "@storybook/react": "7.6.4", + "@storybook/addon-actions": "7.6.17", + "@storybook/builder-webpack5": "7.6.17", + "@storybook/core-common": "7.6.17", + "@storybook/core-events": "7.6.17", + "@storybook/node-logger": "7.6.17", + "@storybook/preset-react-webpack": "7.6.17", + "@storybook/preview-api": "7.6.17", + "@storybook/react": "7.6.17", "@types/node": "^18.0.0", + "@types/semver": "^7.3.4", "css-loader": "^6.7.3", "find-up": "^5.0.0", "fs-extra": "^11.1.0", @@ -10664,7 +9391,7 @@ } }, "node_modules/@storybook/nextjs/node_modules/@types/node": { - "version": "18.19.3", + "version": "18.19.18", "dev": true, "license": "MIT", "dependencies": { @@ -10672,7 +9399,7 @@ } }, "node_modules/@storybook/node-logger": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "funding": { @@ -10681,7 +9408,7 @@ } }, "node_modules/@storybook/postinstall": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "funding": { @@ -10690,17 +9417,17 @@ } }, "node_modules/@storybook/preset-react-webpack": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { "@babel/preset-flow": "^7.22.15", "@babel/preset-react": "^7.22.15", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11", - "@storybook/core-webpack": "7.6.4", - "@storybook/docs-tools": "7.6.4", - "@storybook/node-logger": "7.6.4", - "@storybook/react": "7.6.4", + "@storybook/core-webpack": "7.6.17", + "@storybook/docs-tools": "7.6.17", + "@storybook/node-logger": "7.6.17", + "@storybook/react": "7.6.17", "@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0", "@types/node": "^18.0.0", "@types/semver": "^7.3.4", @@ -10739,7 +9466,7 @@ "license": "MIT" }, "node_modules/@storybook/preset-react-webpack/node_modules/@types/node": { - "version": "18.19.3", + "version": "18.19.18", "dev": true, "license": "MIT", "dependencies": { @@ -10747,7 +9474,7 @@ } }, "node_modules/@storybook/preset-react-webpack/node_modules/react-docgen": { - "version": "7.0.1", + "version": "7.0.3", "dev": true, "license": "MIT", "dependencies": { @@ -10781,7 +9508,7 @@ } }, "node_modules/@storybook/preview": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "funding": { @@ -10790,16 +9517,16 @@ } }, "node_modules/@storybook/preview-api": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/channels": "7.6.4", - "@storybook/client-logger": "7.6.4", - "@storybook/core-events": "7.6.4", + "@storybook/channels": "7.6.17", + "@storybook/client-logger": "7.6.17", + "@storybook/core-events": "7.6.17", "@storybook/csf": "^0.1.2", "@storybook/global": "^5.0.0", - "@storybook/types": "7.6.4", + "@storybook/types": "7.6.17", "@types/qs": "^6.9.5", "dequal": "^2.0.2", "lodash": "^4.17.21", @@ -10815,17 +9542,17 @@ } }, "node_modules/@storybook/react": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/client-logger": "7.6.4", - "@storybook/core-client": "7.6.4", - "@storybook/docs-tools": "7.6.4", + "@storybook/client-logger": "7.6.17", + "@storybook/core-client": "7.6.17", + "@storybook/docs-tools": "7.6.17", "@storybook/global": "^5.0.0", - "@storybook/preview-api": "7.6.4", - "@storybook/react-dom-shim": "7.6.4", - "@storybook/types": "7.6.4", + "@storybook/preview-api": "7.6.17", + "@storybook/react-dom-shim": "7.6.17", + "@storybook/types": "7.6.17", "@types/escodegen": "^0.0.6", "@types/estree": "^0.0.51", "@types/node": "^18.0.0", @@ -10878,7 +9605,7 @@ } }, "node_modules/@storybook/react-dom-shim": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "funding": { @@ -10891,7 +9618,7 @@ } }, "node_modules/@storybook/react/node_modules/@types/node": { - "version": "18.19.3", + "version": "18.19.18", "dev": true, "license": "MIT", "dependencies": { @@ -10899,11 +9626,11 @@ } }, "node_modules/@storybook/router": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/client-logger": "7.6.4", + "@storybook/client-logger": "7.6.17", "memoizerific": "^1.11.3", "qs": "^6.10.0" }, @@ -10913,13 +9640,13 @@ } }, "node_modules/@storybook/telemetry": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/client-logger": "7.6.4", - "@storybook/core-common": "7.6.4", - "@storybook/csf-tools": "7.6.4", + "@storybook/client-logger": "7.6.17", + "@storybook/core-common": "7.6.17", + "@storybook/csf-tools": "7.6.17", "chalk": "^4.1.0", "detect-package-manager": "^2.0.1", "fetch-retry": "^5.0.2", @@ -11060,12 +9787,12 @@ } }, "node_modules/@storybook/theming": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0", - "@storybook/client-logger": "7.6.4", + "@storybook/client-logger": "7.6.17", "@storybook/global": "^5.0.0", "memoizerific": "^1.11.3" }, @@ -11079,11 +9806,11 @@ } }, "node_modules/@storybook/types": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/channels": "7.6.4", + "@storybook/channels": "7.6.17", "@types/babel__core": "^7.0.0", "@types/express": "^4.7.0", "file-system-cache": "2.3.0" @@ -11094,12 +9821,12 @@ } }, "node_modules/@swc/core": { - "version": "1.3.100", + "version": "1.4.2", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "@swc/counter": "^0.1.1", + "@swc/counter": "^0.1.2", "@swc/types": "^0.1.5" }, "engines": { @@ -11110,15 +9837,16 @@ "url": "https://opencollective.com/swc" }, "optionalDependencies": { - "@swc/core-darwin-arm64": "1.3.100", - "@swc/core-darwin-x64": "1.3.100", - "@swc/core-linux-arm64-gnu": "1.3.100", - "@swc/core-linux-arm64-musl": "1.3.100", - "@swc/core-linux-x64-gnu": "1.3.100", - "@swc/core-linux-x64-musl": "1.3.100", - "@swc/core-win32-arm64-msvc": "1.3.100", - "@swc/core-win32-ia32-msvc": "1.3.100", - "@swc/core-win32-x64-msvc": "1.3.100" + "@swc/core-darwin-arm64": "1.4.2", + "@swc/core-darwin-x64": "1.4.2", + "@swc/core-linux-arm-gnueabihf": "1.4.2", + "@swc/core-linux-arm64-gnu": "1.4.2", + "@swc/core-linux-arm64-musl": "1.4.2", + "@swc/core-linux-x64-gnu": "1.4.2", + "@swc/core-linux-x64-musl": "1.4.2", + "@swc/core-win32-arm64-msvc": "1.4.2", + "@swc/core-win32-ia32-msvc": "1.4.2", + "@swc/core-win32-x64-msvc": "1.4.2" }, "peerDependencies": { "@swc/helpers": "^0.5.0" @@ -11129,10 +9857,10 @@ } } }, - "node_modules/@swc/core-darwin-x64": { - "version": "1.3.100", + "node_modules/@swc/core-darwin-arm64": { + "version": "1.4.2", "cpu": [ - "x64" + "arm64" ], "dev": true, "license": "Apache-2.0 AND MIT", @@ -11145,7 +9873,7 @@ } }, "node_modules/@swc/counter": { - "version": "0.1.2", + "version": "0.1.3", "dev": true, "license": "Apache-2.0" }, @@ -11157,11 +9885,12 @@ } }, "node_modules/@swc/jest": { - "version": "0.2.29", + "version": "0.2.36", "dev": true, "license": "MIT", "dependencies": { - "@jest/create-cache-key-function": "^27.4.2", + "@jest/create-cache-key-function": "^29.7.0", + "@swc/counter": "^0.1.3", "jsonc-parser": "^3.2.0" }, "engines": { @@ -11371,7 +10100,7 @@ } }, "node_modules/@types/babel__generator": { - "version": "7.6.7", + "version": "7.6.8", "dev": true, "license": "MIT", "dependencies": { @@ -11388,7 +10117,7 @@ } }, "node_modules/@types/babel__traverse": { - "version": "7.20.4", + "version": "7.20.5", "dev": true, "license": "MIT", "dependencies": { @@ -11466,7 +10195,7 @@ "license": "MIT" }, "node_modules/@types/eslint": { - "version": "8.44.8", + "version": "8.56.3", "dev": true, "license": "MIT", "dependencies": { @@ -11488,7 +10217,7 @@ "license": "MIT" }, "node_modules/@types/estree-jsx": { - "version": "1.0.3", + "version": "1.0.5", "license": "MIT", "dependencies": { "@types/estree": "*" @@ -11506,7 +10235,7 @@ } }, "node_modules/@types/express-serve-static-core": { - "version": "4.17.41", + "version": "4.17.43", "dev": true, "license": "MIT", "dependencies": { @@ -11535,7 +10264,7 @@ } }, "node_modules/@types/hast": { - "version": "2.3.8", + "version": "2.3.10", "license": "MIT", "dependencies": { "@types/unist": "^2" @@ -11589,7 +10318,7 @@ } }, "node_modules/@types/jest": { - "version": "29.5.11", + "version": "29.5.12", "dev": true, "license": "MIT", "dependencies": { @@ -11597,17 +10326,6 @@ "pretty-format": "^29.0.0" } }, - "node_modules/@types/jest/node_modules/@jest/expect-utils": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "jest-get-type": "^29.6.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/@types/jest/node_modules/ansi-styles": { "version": "5.2.0", "dev": true, @@ -11619,84 +10337,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/@types/jest/node_modules/diff-sequences": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@types/jest/node_modules/expect": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/expect-utils": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@types/jest/node_modules/jest-diff": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^29.6.3", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@types/jest/node_modules/jest-get-type": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@types/jest/node_modules/jest-matcher-utils": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@types/jest/node_modules/jest-message-util": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/@types/jest/node_modules/pretty-format": { "version": "29.7.0", "dev": true, @@ -11770,7 +10410,7 @@ } }, "node_modules/@types/mdx": { - "version": "2.0.10", + "version": "2.0.11", "license": "MIT" }, "node_modules/@types/mime": { @@ -11803,7 +10443,7 @@ "license": "MIT" }, "node_modules/@types/node-fetch": { - "version": "2.6.9", + "version": "2.6.11", "dev": true, "license": "MIT", "dependencies": { @@ -11821,11 +10461,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/prettier": { - "version": "2.7.3", - "dev": true, - "license": "MIT" - }, "node_modules/@types/pretty-hrtime": { "version": "1.0.3", "dev": true, @@ -11836,7 +10471,7 @@ "license": "MIT" }, "node_modules/@types/qs": { - "version": "6.9.10", + "version": "6.9.11", "dev": true, "license": "MIT" }, @@ -11846,7 +10481,7 @@ "license": "MIT" }, "node_modules/@types/react": { - "version": "18.2.42", + "version": "18.2.58", "license": "MIT", "dependencies": { "@types/prop-types": "*", @@ -11855,7 +10490,7 @@ } }, "node_modules/@types/react-dom": { - "version": "18.2.17", + "version": "18.2.19", "dev": true, "license": "MIT", "dependencies": { @@ -11872,7 +10507,7 @@ "license": "MIT" }, "node_modules/@types/semver": { - "version": "7.5.6", + "version": "7.5.7", "dev": true, "license": "MIT" }, @@ -11923,7 +10558,7 @@ "license": "MIT" }, "node_modules/@types/uuid": { - "version": "9.0.7", + "version": "9.0.8", "dev": true, "license": "MIT" }, @@ -11982,7 +10617,7 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { - "version": "5.3.0", + "version": "5.3.1", "dev": true, "license": "MIT", "engines": { @@ -12180,7 +10815,7 @@ "license": "ISC" }, "node_modules/@washingtonpost/eslint-plugin-wpds": { - "resolved": "ui/eslint-plugin", + "resolved": "packages/eslint-plugin", "link": true }, "node_modules/@washingtonpost/icon-tokens": { @@ -12235,45 +10870,56 @@ "@washingtonpost/wpds-ui-kit": "latest" } }, - "node_modules/@washingtonpost/tachyons-css/node_modules/@washingtonpost/wpds-ui-kit": { - "version": "1.17.0", + "node_modules/@washingtonpost/tachyons-css/node_modules/@washingtonpost/eslint-plugin-wpds": { + "version": "1.22.0", "license": "MIT", "dependencies": { - "@washingtonpost/eslint-plugin-wpds": "1.17.0", - "@washingtonpost/wpds-accordion": "1.17.0", - "@washingtonpost/wpds-action-menu": "1.17.0", - "@washingtonpost/wpds-alert-banner": "1.17.0", - "@washingtonpost/wpds-app-bar": "1.17.0", - "@washingtonpost/wpds-avatar": "1.17.0", - "@washingtonpost/wpds-box": "1.17.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-card": "1.17.0", - "@washingtonpost/wpds-carousel": "1.17.0", - "@washingtonpost/wpds-checkbox": "1.17.0", - "@washingtonpost/wpds-container": "1.17.0", - "@washingtonpost/wpds-divider": "1.17.0", - "@washingtonpost/wpds-drawer": "1.17.0", - "@washingtonpost/wpds-error-message": "1.17.0", - "@washingtonpost/wpds-fieldset": "1.17.0", - "@washingtonpost/wpds-helper-text": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-input-label": "1.17.0", - "@washingtonpost/wpds-input-password": "1.17.0", - "@washingtonpost/wpds-input-search": "1.17.0", - "@washingtonpost/wpds-input-shared": "1.17.0", - "@washingtonpost/wpds-input-text": "1.17.0", - "@washingtonpost/wpds-input-textarea": "1.17.0", - "@washingtonpost/wpds-navigation-menu": "1.17.0", - "@washingtonpost/wpds-pagination-dots": "1.17.0", - "@washingtonpost/wpds-popover": "1.17.0", - "@washingtonpost/wpds-radio-group": "1.17.0", - "@washingtonpost/wpds-scrim": "1.17.0", - "@washingtonpost/wpds-select": "1.17.0", - "@washingtonpost/wpds-switch": "1.17.0", - "@washingtonpost/wpds-tabs": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "@washingtonpost/wpds-tooltip": "1.17.0", - "@washingtonpost/wpds-visually-hidden": "1.17.0" + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*" + } + }, + "node_modules/@washingtonpost/tachyons-css/node_modules/@washingtonpost/wpds-ui-kit": { + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/eslint-plugin-wpds": "1.22.0", + "@washingtonpost/wpds-accordion": "1.22.0", + "@washingtonpost/wpds-action-menu": "1.22.0", + "@washingtonpost/wpds-alert-banner": "1.22.0", + "@washingtonpost/wpds-app-bar": "1.22.0", + "@washingtonpost/wpds-avatar": "1.22.0", + "@washingtonpost/wpds-box": "1.22.0", + "@washingtonpost/wpds-button": "1.22.0", + "@washingtonpost/wpds-card": "1.22.0", + "@washingtonpost/wpds-carousel": "1.22.0", + "@washingtonpost/wpds-checkbox": "1.22.0", + "@washingtonpost/wpds-container": "1.22.0", + "@washingtonpost/wpds-dialog": "1.22.0", + "@washingtonpost/wpds-divider": "1.22.0", + "@washingtonpost/wpds-drawer": "1.22.0", + "@washingtonpost/wpds-error-message": "1.22.0", + "@washingtonpost/wpds-fieldset": "1.22.0", + "@washingtonpost/wpds-helper-text": "1.22.0", + "@washingtonpost/wpds-icon": "1.22.0", + "@washingtonpost/wpds-input-label": "1.22.0", + "@washingtonpost/wpds-input-password": "1.22.0", + "@washingtonpost/wpds-input-search": "1.22.0", + "@washingtonpost/wpds-input-shared": "1.22.0", + "@washingtonpost/wpds-input-text": "1.22.0", + "@washingtonpost/wpds-input-textarea": "1.22.0", + "@washingtonpost/wpds-navigation-menu": "1.22.0", + "@washingtonpost/wpds-pagination-dots": "1.22.0", + "@washingtonpost/wpds-popover": "1.22.0", + "@washingtonpost/wpds-radio-group": "1.22.0", + "@washingtonpost/wpds-scrim": "1.22.0", + "@washingtonpost/wpds-select": "1.22.0", + "@washingtonpost/wpds-switch": "1.22.0", + "@washingtonpost/wpds-tabs": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0", + "@washingtonpost/wpds-tooltip": "1.22.0", + "@washingtonpost/wpds-visually-hidden": "1.22.0" }, "peerDependencies": { "@washingtonpost/eslint-plugin-wpds": "*", @@ -12288,6 +10934,7 @@ "@washingtonpost/wpds-carousel": "*", "@washingtonpost/wpds-checkbox": "*", "@washingtonpost/wpds-container": "*", + "@washingtonpost/wpds-dialog": "*", "@washingtonpost/wpds-divider": "*", "@washingtonpost/wpds-drawer": "*", "@washingtonpost/wpds-error-message": "*", @@ -12318,24 +10965,76 @@ "license": "ISC" }, "node_modules/@washingtonpost/wpds-accordion": { - "resolved": "ui/accordion", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-accordion": "^1.1.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.18.0", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-action-menu": { - "resolved": "ui/action-menu", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-dropdown-menu": "2.0.3", + "@washingtonpost/wpds-assets": "^1.20.0", + "@washingtonpost/wpds-button": "1.22.0", + "@washingtonpost/wpds-divider": "1.22.0", + "@washingtonpost/wpds-icon": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.20.0", + "@washingtonpost/wpds-button": "^1.7.0", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-alert-banner": { - "resolved": "ui/alert-banner", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-app-bar": "1.22.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.22.0", + "@washingtonpost/wpds-container": "1.22.0", + "@washingtonpost/wpds-icon": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-app-bar": "*", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-container": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-app-bar": { - "resolved": "ui/app-bar", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.22.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-assets": { - "version": "1.23.1", - "license": "ISC", + "version": "1.24.0", + "resolved": "https://registry.npmjs.org/@washingtonpost/wpds-assets/-/wpds-assets-1.24.0.tgz", + "integrity": "sha512-T7uE+dxZNdnOrD3l25SYTl4aJRh/71N9OOgCt1a0phPLTNrvhcs3KMjOAZYUaVVPHocKYJMFbrxbavrcWw6hDQ==", "dependencies": { "react": "^16.0.1 || ^17.0.2", "react-dom": "^16.0.1 || ^17.0.2" @@ -12345,149 +11044,577 @@ "react-dom": "^16.0.1 || ^17.0.2" } }, + "node_modules/@washingtonpost/wpds-assets/node_modules/react": { + "version": "17.0.2", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@washingtonpost/wpds-assets/node_modules/react-dom": { + "version": "17.0.2", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "scheduler": "^0.20.2" + }, + "peerDependencies": { + "react": "17.0.2" + } + }, + "node_modules/@washingtonpost/wpds-assets/node_modules/scheduler": { + "version": "0.20.2", + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + } + }, "node_modules/@washingtonpost/wpds-avatar": { - "resolved": "ui/avatar", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-avatar": "latest", + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@radix-ui/react-avatar": "latest", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-box": { - "resolved": "ui/box", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.22.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-button": { - "resolved": "ui/button", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.22.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-card": { - "resolved": "ui/card", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-carousel": { - "resolved": "ui/carousel", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "^1.0.0", + "@radix-ui/react-use-controllable-state": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.22.0", + "@washingtonpost/wpds-icon": "1.22.0", + "@washingtonpost/wpds-pagination-dots": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0", + "nanoid": "^3.3.4", + "react-swipeable": "^7.0.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-pagination-dots": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-checkbox": { - "resolved": "ui/checkbox", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-checkbox": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.22.0", + "@washingtonpost/wpds-input-label": "1.22.0", + "@washingtonpost/wpds-input-shared": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0", + "@washingtonpost/wpds-visually-hidden": "1.22.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@radix-ui/react-checkbox": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-visually-hidden": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-container": { - "resolved": "ui/container", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.22.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "node_modules/@washingtonpost/wpds-dialog": { + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-dialog": "^1.0.5", + "@radix-ui/react-use-controllable-state": "^1.0.1", + "@washingtonpost/wpds-assets": "^1.23.1", + "@washingtonpost/wpds-button": "1.22.0", + "@washingtonpost/wpds-icon": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0", + "react-transition-group": "^4.4.5" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-divider": { - "resolved": "ui/divider", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-separator": "^1.0.0", + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-docs": { "resolved": "build.washingtonpost.com", "link": true }, "node_modules/@washingtonpost/wpds-drawer": { - "resolved": "ui/drawer", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-focus-scope": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.22.0", + "@washingtonpost/wpds-icon": "1.22.0", + "@washingtonpost/wpds-scrim": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0", + "react-transition-group": "^4.4.5" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-scrim": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-error-message": { - "resolved": "ui/error-message", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-fieldset": { - "resolved": "ui/fieldset", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-helper-text": { - "resolved": "ui/helper-text", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-icon": { - "resolved": "ui/icon", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.22.0", + "@washingtonpost/wpds-visually-hidden": "1.22.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-visually-hidden": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-input-label": { - "resolved": "ui/input-label", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-label": "^1.0.0", + "@washingtonpost/wpds-input-shared": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-input-password": { - "resolved": "ui/input-password", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.22.0", + "@washingtonpost/wpds-input-text": "1.22.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-text": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-input-search": { - "resolved": "ui/input-search", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@reach/combobox": "^0.18.0", + "@reach/popover": "^0.18.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.22.0", + "@washingtonpost/wpds-input-label": "1.22.0", + "@washingtonpost/wpds-input-text": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0", + "match-sorter": "6.3.1" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.18.0", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-text": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-input-shared": { - "resolved": "ui/input-shared", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-input-text": { - "resolved": "ui/input-text", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-label": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.22.0", + "@washingtonpost/wpds-error-message": "1.22.0", + "@washingtonpost/wpds-helper-text": "1.22.0", + "@washingtonpost/wpds-icon": "1.22.0", + "@washingtonpost/wpds-input-label": "1.22.0", + "@washingtonpost/wpds-input-shared": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0", + "@washingtonpost/wpds-visually-hidden": "1.22.0", + "nanoid": "^3.3.4" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-divider": "*", + "@washingtonpost/wpds-error-message": "*", + "@washingtonpost/wpds-helper-text": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-visually-hidden": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-input-textarea": { - "resolved": "ui/input-textarea", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-error-message": "1.22.0", + "@washingtonpost/wpds-helper-text": "1.22.0", + "@washingtonpost/wpds-input-label": "1.22.0", + "@washingtonpost/wpds-input-shared": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0", + "nanoid": "^3.3.4", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-error-message": "*", + "@washingtonpost/wpds-helper-text": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-kitchen-sink": { - "resolved": "ui/kitchen-sink", + "resolved": "packages/kitchen-sink", "link": true }, "node_modules/@washingtonpost/wpds-navigation-menu": { - "resolved": "ui/navigation-menu", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@popperjs/core": "^2.11.7", + "@radix-ui/react-navigation-menu": "^1.1.2", + "@washingtonpost/wpds-theme": "1.22.0", + "popper-max-size-modifier": "^0.2.0", + "react-popper": "^2.3.0", + "react-transition-group": "^4.4.5" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-pagination-dots": { - "resolved": "ui/pagination-dots", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-popover": { - "resolved": "ui/popover", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-popover": "^1.0.2", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.22.0", + "@washingtonpost/wpds-icon": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "^1.18.0", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-radio-group": { - "resolved": "ui/radio-group", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-radio-group": "^1.0.0", + "@washingtonpost/wpds-error-message": "1.22.0", + "@washingtonpost/wpds-fieldset": "1.22.0", + "@washingtonpost/wpds-input-label": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0", + "nanoid": "^3.3.3" + }, + "peerDependencies": { + "@washingtonpost/wpds-error-message": "*", + "@washingtonpost/wpds-fieldset": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-scrim": { - "resolved": "ui/scrim", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-dialog": "^1.0.0", + "@washingtonpost/wpds-theme": "1.22.0", + "react-transition-group": "^4.4.5" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "^0.25.0", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-select": { - "resolved": "ui/select", - "link": true - }, - "node_modules/@washingtonpost/wpds-switch": { - "resolved": "ui/switch", - "link": true - }, - "node_modules/@washingtonpost/wpds-tabs": { - "resolved": "ui/tabs", - "link": true - }, - "node_modules/@washingtonpost/wpds-tailwind-theme": { - "resolved": "ui/tailwind-theme", - "link": true - }, - "node_modules/@washingtonpost/wpds-theme": { - "resolved": "ui/theme", + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-select": "^1.2.2", + "@radix-ui/react-use-controllable-state": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-divider": "1.22.0", + "@washingtonpost/wpds-icon": "1.22.0", + "@washingtonpost/wpds-input-label": "1.22.0", + "@washingtonpost/wpds-input-shared": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0", + "nanoid": "^3.3.4" + }, + "peerDependencies": { + "@radix-ui/react-select": "^1.2.2", + "@radix-ui/react-use-controllable-state": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-divider": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "node_modules/@washingtonpost/wpds-switch": { + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-switch": "^1.0.1", + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "node_modules/@washingtonpost/wpds-tabs": { + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "^1.0.2", + "@radix-ui/react-tabs": "latest", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.1.0", + "@washingtonpost/wpds-theme": "1.22.0", + "@washingtonpost/wpds-tooltip": "1.22.0", + "react-transition-group": "^4.4.5" + }, + "peerDependencies": { + "@radix-ui/react-tabs": "latest", + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-tooltip": "*", + "react": "^16.8.6 || ^17.0.2", + "react-transition-group": "^4.4.5" + } + }, + "node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-icon": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.1.0", + "@washingtonpost/wpds-visually-hidden": "1.1.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-visually-hidden": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-icon/node_modules/@washingtonpost/wpds-theme": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "@stitches/react": "^1.2.8" + } + }, + "node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-visually-hidden": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.1.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-visually-hidden/node_modules/@washingtonpost/wpds-theme": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "@stitches/react": "^1.2.8" + } + }, + "node_modules/@washingtonpost/wpds-tailwind-theme": { + "resolved": "packages/tailwind-theme", "link": true }, + "node_modules/@washingtonpost/wpds-theme": { + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@stitches/react": "^1.2.8" + } + }, "node_modules/@washingtonpost/wpds-tokens": { - "resolved": "ui/tokens", + "resolved": "packages/tokens", "link": true }, "node_modules/@washingtonpost/wpds-tooltip": { - "resolved": "ui/tooltip", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-tooltip": "^1.0.0", + "@washingtonpost/wpds-theme": "1.22.0" + }, + "peerDependencies": { + "@radix-ui/react-tooltip": "^1.0.0", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@washingtonpost/wpds-ui-kit": { - "resolved": "ui/kit", - "link": true - }, - "node_modules/@washingtonpost/wpds-ui-kit-next": { "resolved": "packages/kit", "link": true }, "node_modules/@washingtonpost/wpds-visually-hidden": { - "resolved": "ui/visually-hidden", - "link": true + "version": "1.22.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.22.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } }, "node_modules/@webassemblyjs/ast": { "version": "1.11.6", @@ -12715,6 +11842,11 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/@yarnpkg/parsers/node_modules/sprintf-js": { + "version": "1.0.3", + "dev": true, + "license": "BSD-3-Clause" + }, "node_modules/@zeplin/cli": { "version": "2.0.1", "dev": true, @@ -12760,18 +11892,18 @@ } }, "node_modules/@zeplin/cli-connect-react-plugin": { - "version": "1.1.1", + "version": "1.1.2", "dev": true, "license": "MIT", "dependencies": { "fs-extra": "^9.0.1", "pug": "^2.0.4", "react-docgen": "^5.3.1", - "react-docgen-typescript": "^1.20.5", + "react-docgen-typescript": "^2.2.2", "update-notifier": "^5.0.1" }, "peerDependencies": { - "typescript": ">= 3.x" + "typescript": ">= 4.x" } }, "node_modules/@zeplin/cli-connect-react-plugin/node_modules/fs-extra": { @@ -13116,23 +12248,23 @@ } }, "node_modules/algoliasearch": { - "version": "4.20.0", + "version": "4.22.1", "license": "MIT", "dependencies": { - "@algolia/cache-browser-local-storage": "4.20.0", - "@algolia/cache-common": "4.20.0", - "@algolia/cache-in-memory": "4.20.0", - "@algolia/client-account": "4.20.0", - "@algolia/client-analytics": "4.20.0", - "@algolia/client-common": "4.20.0", - "@algolia/client-personalization": "4.20.0", - "@algolia/client-search": "4.20.0", - "@algolia/logger-common": "4.20.0", - "@algolia/logger-console": "4.20.0", - "@algolia/requester-browser-xhr": "4.20.0", - "@algolia/requester-common": "4.20.0", - "@algolia/requester-node-http": "4.20.0", - "@algolia/transporter": "4.20.0" + "@algolia/cache-browser-local-storage": "4.22.1", + "@algolia/cache-common": "4.22.1", + "@algolia/cache-in-memory": "4.22.1", + "@algolia/client-account": "4.22.1", + "@algolia/client-analytics": "4.22.1", + "@algolia/client-common": "4.22.1", + "@algolia/client-personalization": "4.22.1", + "@algolia/client-search": "4.22.1", + "@algolia/logger-common": "4.22.1", + "@algolia/logger-console": "4.22.1", + "@algolia/requester-browser-xhr": "4.22.1", + "@algolia/requester-common": "4.22.1", + "@algolia/requester-node-http": "4.22.1", + "@algolia/transporter": "4.22.1" } }, "node_modules/align-text": { @@ -13323,12 +12455,15 @@ } }, "node_modules/array-buffer-byte-length": { - "version": "1.0.0", + "version": "1.0.1", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "is-array-buffer": "^3.0.1" + "call-bind": "^1.0.5", + "is-array-buffer": "^3.0.4" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -13421,15 +12556,15 @@ } }, "node_modules/array.prototype.findlastindex": { - "version": "1.2.3", + "version": "1.2.4", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0", - "get-intrinsic": "^1.2.1" + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.3.0", + "es-shim-unscopables": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -13473,28 +12608,29 @@ } }, "node_modules/array.prototype.tosorted": { - "version": "1.1.2", + "version": "1.1.3", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0", - "get-intrinsic": "^1.2.1" + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.1.0", + "es-shim-unscopables": "^1.0.2" } }, "node_modules/arraybuffer.prototype.slice": { - "version": "1.0.2", + "version": "1.0.3", "dev": true, "license": "MIT", "dependencies": { - "array-buffer-byte-length": "^1.0.0", - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1", - "is-array-buffer": "^3.0.2", + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.2.1", + "get-intrinsic": "^1.2.3", + "is-array-buffer": "^3.0.4", "is-shared-array-buffer": "^1.0.2" }, "engines": { @@ -13624,7 +12760,7 @@ } }, "node_modules/autoprefixer": { - "version": "10.4.16", + "version": "10.4.17", "dev": true, "funding": [ { @@ -13642,9 +12778,9 @@ ], "license": "MIT", "dependencies": { - "browserslist": "^4.21.10", - "caniuse-lite": "^1.0.30001538", - "fraction.js": "^4.3.6", + "browserslist": "^4.22.2", + "caniuse-lite": "^1.0.30001578", + "fraction.js": "^4.3.7", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", "postcss-value-parser": "^4.2.0" @@ -13660,9 +12796,12 @@ } }, "node_modules/available-typed-arrays": { - "version": "1.0.5", + "version": "1.0.7", "dev": true, "license": "MIT", + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, "engines": { "node": ">= 0.4" }, @@ -13684,7 +12823,7 @@ "license": "MIT" }, "node_modules/axe-core": { - "version": "4.8.2", + "version": "4.8.4", "dev": true, "license": "MPL-2.0", "engines": { @@ -13708,9 +12847,9 @@ } }, "node_modules/b4a": { - "version": "1.6.4", + "version": "1.6.6", "dev": true, - "license": "ISC" + "license": "Apache-2.0" }, "node_modules/babel-core": { "version": "7.0.0-bridge.0", @@ -13892,12 +13031,12 @@ } }, "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.4.6", + "version": "0.4.8", "dev": true, "license": "MIT", "dependencies": { "@babel/compat-data": "^7.22.6", - "@babel/helper-define-polyfill-provider": "^0.4.3", + "@babel/helper-define-polyfill-provider": "^0.5.0", "semver": "^6.3.1" }, "peerDependencies": { @@ -13913,23 +13052,23 @@ } }, "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.8.6", + "version": "0.9.0", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.4.3", - "core-js-compat": "^3.33.1" + "@babel/helper-define-polyfill-provider": "^0.5.0", + "core-js-compat": "^3.34.0" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.5.3", + "version": "0.5.5", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.4.3" + "@babel/helper-define-polyfill-provider": "^0.5.0" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" @@ -14046,6 +13185,39 @@ "version": "1.0.2", "license": "MIT" }, + "node_modules/bare-events": { + "version": "2.2.0", + "dev": true, + "license": "Apache-2.0", + "optional": true + }, + "node_modules/bare-fs": { + "version": "2.2.0", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "bare-events": "^2.0.0", + "bare-os": "^2.0.0", + "bare-path": "^2.0.0", + "streamx": "^2.13.0" + } + }, + "node_modules/bare-os": { + "version": "2.2.0", + "dev": true, + "license": "Apache-2.0", + "optional": true + }, + "node_modules/bare-path": { + "version": "2.1.0", + "dev": true, + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "bare-os": "^2.1.0" + } + }, "node_modules/base64-js": { "version": "1.5.1", "funding": [ @@ -14402,7 +13574,7 @@ } }, "node_modules/browserslist": { - "version": "4.22.2", + "version": "4.23.0", "funding": [ { "type": "opencollective", @@ -14419,8 +13591,8 @@ ], "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001565", - "electron-to-chromium": "^1.4.601", + "caniuse-lite": "^1.0.30001587", + "electron-to-chromium": "^1.4.668", "node-releases": "^2.0.14", "update-browserslist-db": "^1.0.13" }, @@ -14753,13 +13925,18 @@ } }, "node_modules/call-bind": { - "version": "1.0.5", + "version": "1.0.7", "dev": true, "license": "MIT", "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.1", - "set-function-length": "^1.1.1" + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -14823,7 +14000,7 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001566", + "version": "1.0.30001589", "funding": [ { "type": "opencollective", @@ -15007,14 +14184,8 @@ } }, "node_modules/chokidar": { - "version": "3.5.3", + "version": "3.6.0", "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], "license": "MIT", "dependencies": { "anymatch": "~3.1.2", @@ -15028,6 +14199,9 @@ "engines": { "node": ">= 8.10.0" }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, "optionalDependencies": { "fsevents": "~2.3.2" } @@ -15083,13 +14257,21 @@ "safe-buffer": "^5.0.1" } }, + "node_modules/citty": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "consola": "^3.2.3" + } + }, "node_modules/cjs-module-lexer": { "version": "1.2.3", "dev": true, "license": "MIT" }, "node_modules/classnames": { - "version": "2.3.2", + "version": "2.5.1", "license": "MIT" }, "node_modules/clean-css": { @@ -15261,9 +14443,6 @@ "node": ">= 0.12.0" } }, - "node_modules/codesandbox-import-util-types": { - "version": "2.2.3" - }, "node_modules/collect-v8-coverage": { "version": "1.0.2", "dev": true, @@ -15541,6 +14720,14 @@ "typedarray-to-buffer": "^3.1.5" } }, + "node_modules/consola": { + "version": "3.2.3", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.18.0 || >=16.10.0" + } + }, "node_modules/console-browserify": { "version": "1.2.0", "dev": true @@ -15825,11 +15012,11 @@ "license": "MIT" }, "node_modules/core-js-compat": { - "version": "3.34.0", + "version": "3.36.0", "dev": true, "license": "MIT", "dependencies": { - "browserslist": "^4.22.2" + "browserslist": "^4.22.3" }, "funding": { "type": "opencollective", @@ -15837,7 +15024,7 @@ } }, "node_modules/core-js-pure": { - "version": "3.34.0", + "version": "3.36.0", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -15975,18 +15162,18 @@ } }, "node_modules/css-loader": { - "version": "6.8.1", + "version": "6.10.0", "dev": true, "license": "MIT", "dependencies": { "icss-utils": "^5.1.0", - "postcss": "^8.4.21", + "postcss": "^8.4.33", "postcss-modules-extract-imports": "^3.0.0", - "postcss-modules-local-by-default": "^4.0.3", - "postcss-modules-scope": "^3.0.0", + "postcss-modules-local-by-default": "^4.0.4", + "postcss-modules-scope": "^3.1.1", "postcss-modules-values": "^4.0.0", "postcss-value-parser": "^4.2.0", - "semver": "^7.3.8" + "semver": "^7.5.4" }, "engines": { "node": ">= 12.13.0" @@ -15996,7 +15183,16 @@ "url": "https://opencollective.com/webpack" }, "peerDependencies": { + "@rspack/core": "0.x || 1.x", "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } } }, "node_modules/css-select": { @@ -16320,16 +15516,19 @@ "license": "MIT" }, "node_modules/define-data-property": { - "version": "1.1.1", + "version": "1.1.4", "dev": true, "license": "MIT", "dependencies": { - "get-intrinsic": "^1.2.1", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/define-lazy-prop": { @@ -16357,7 +15556,7 @@ } }, "node_modules/defu": { - "version": "6.1.3", + "version": "6.1.4", "dev": true, "license": "MIT" }, @@ -16507,18 +15706,18 @@ "license": "Apache-2.0" }, "node_modules/diff": { - "version": "5.1.0", + "version": "5.2.0", "license": "BSD-3-Clause", "engines": { "node": ">=0.3.1" } }, "node_modules/diff-sequences": { - "version": "28.1.1", + "version": "29.6.3", "dev": true, "license": "MIT", "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/diffable-html": { @@ -16844,6 +16043,11 @@ "safer-buffer": "^2.1.0" } }, + "node_modules/ecc-jsbn/node_modules/jsbn": { + "version": "0.1.1", + "dev": true, + "license": "MIT" + }, "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", "dev": true, @@ -16872,7 +16076,7 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.609", + "version": "1.4.681", "license": "ISC" }, "node_modules/elliptic": { @@ -17014,7 +16218,7 @@ } }, "node_modules/envinfo": { - "version": "7.11.0", + "version": "7.11.1", "dev": true, "license": "MIT", "bin": { @@ -17057,11 +16261,11 @@ } }, "node_modules/enzyme-shallow-equal": { - "version": "1.0.5", + "version": "1.0.7", "dev": true, "license": "MIT", "dependencies": { - "has": "^1.0.3", + "hasown": "^2.0.0", "object-is": "^1.1.5" }, "funding": { @@ -17090,49 +16294,51 @@ } }, "node_modules/es-abstract": { - "version": "1.22.3", + "version": "1.22.4", "dev": true, "license": "MIT", "dependencies": { - "array-buffer-byte-length": "^1.0.0", - "arraybuffer.prototype.slice": "^1.0.2", - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.5", - "es-set-tostringtag": "^2.0.1", + "array-buffer-byte-length": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.3", + "available-typed-arrays": "^1.0.6", + "call-bind": "^1.0.7", + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "es-set-tostringtag": "^2.0.2", "es-to-primitive": "^1.2.1", "function.prototype.name": "^1.1.6", - "get-intrinsic": "^1.2.2", - "get-symbol-description": "^1.0.0", + "get-intrinsic": "^1.2.4", + "get-symbol-description": "^1.0.2", "globalthis": "^1.0.3", "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0", + "has-property-descriptors": "^1.0.2", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", - "hasown": "^2.0.0", - "internal-slot": "^1.0.5", - "is-array-buffer": "^3.0.2", + "hasown": "^2.0.1", + "internal-slot": "^1.0.7", + "is-array-buffer": "^3.0.4", "is-callable": "^1.2.7", "is-negative-zero": "^2.0.2", "is-regex": "^1.1.4", "is-shared-array-buffer": "^1.0.2", "is-string": "^1.0.7", - "is-typed-array": "^1.1.12", + "is-typed-array": "^1.1.13", "is-weakref": "^1.0.2", "object-inspect": "^1.13.1", "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.5.1", - "safe-array-concat": "^1.0.1", - "safe-regex-test": "^1.0.0", + "object.assign": "^4.1.5", + "regexp.prototype.flags": "^1.5.2", + "safe-array-concat": "^1.1.0", + "safe-regex-test": "^1.0.3", "string.prototype.trim": "^1.2.8", "string.prototype.trimend": "^1.0.7", "string.prototype.trimstart": "^1.0.7", - "typed-array-buffer": "^1.0.0", + "typed-array-buffer": "^1.0.1", "typed-array-byte-length": "^1.0.0", "typed-array-byte-offset": "^1.0.0", "typed-array-length": "^1.0.4", "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.13" + "which-typed-array": "^1.1.14" }, "engines": { "node": ">= 0.4" @@ -17146,6 +16352,25 @@ "dev": true, "license": "MIT" }, + "node_modules/es-define-property": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/es-get-iterator": { "version": "1.1.3", "dev": true, @@ -17166,24 +16391,28 @@ } }, "node_modules/es-iterator-helpers": { - "version": "1.0.15", + "version": "1.0.17", "dev": true, "license": "MIT", "dependencies": { "asynciterator.prototype": "^1.0.0", - "call-bind": "^1.0.2", + "call-bind": "^1.0.7", "define-properties": "^1.2.1", - "es-abstract": "^1.22.1", - "es-set-tostringtag": "^2.0.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.2.1", + "es-abstract": "^1.22.4", + "es-errors": "^1.3.0", + "es-set-tostringtag": "^2.0.2", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", "globalthis": "^1.0.3", - "has-property-descriptors": "^1.0.0", + "has-property-descriptors": "^1.0.2", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", - "internal-slot": "^1.0.5", + "internal-slot": "^1.0.7", "iterator.prototype": "^1.1.2", - "safe-array-concat": "^1.0.1" + "safe-array-concat": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" } }, "node_modules/es-module-lexer": { @@ -17192,13 +16421,13 @@ "license": "MIT" }, "node_modules/es-set-tostringtag": { - "version": "2.0.2", + "version": "2.0.3", "dev": true, "license": "MIT", "dependencies": { - "get-intrinsic": "^1.2.2", - "has-tostringtag": "^1.0.0", - "hasown": "^2.0.0" + "get-intrinsic": "^1.2.4", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.1" }, "engines": { "node": ">= 0.4" @@ -17229,12 +16458,13 @@ } }, "node_modules/es5-ext": { - "version": "0.10.62", + "version": "0.10.63", "hasInstallScript": true, "license": "ISC", "dependencies": { "es6-iterator": "^2.0.3", "es6-symbol": "^3.1.3", + "esniff": "^2.0.1", "next-tick": "^1.1.0" }, "engines": { @@ -17329,10 +16559,11 @@ }, "node_modules/esbuild-darwin-64": { "version": "0.14.25", + "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.14.25.tgz", + "integrity": "sha512-TGp8tuudIxOyWd1+8aYPxQmC1ZQyvij/AfNBa35RubixD0zJ1vkKHVAzo0Zao1zcG6pNqiSyzfPto8vmg0s7oA==", "cpu": [ "x64" ], - "license": "MIT", "optional": true, "os": [ "darwin" @@ -17343,11 +16574,10 @@ }, "node_modules/esbuild-darwin-arm64": { "version": "0.14.25", - "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.25.tgz", - "integrity": "sha512-oTcDgdm0MDVEmw2DWu8BV68pYuImpFgvWREPErBZmNA4MYKGuBRaCiJqq6jZmBR1x+3y1DWCjez+5uLtuAm6mw==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "darwin" @@ -17629,7 +16859,7 @@ } }, "node_modules/escalade": { - "version": "3.1.1", + "version": "3.1.2", "license": "MIT", "engines": { "node": ">=6" @@ -17693,14 +16923,14 @@ } }, "node_modules/eslint": { - "version": "8.55.0", + "version": "8.56.0", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.55.0", + "@eslint/js": "8.56.0", "@humanwhocodes/config-array": "^0.11.13", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -17839,7 +17069,7 @@ } }, "node_modules/eslint-import-resolver-typescript/node_modules/tsconfig-paths": { - "version": "3.14.2", + "version": "3.15.0", "dev": true, "license": "MIT", "dependencies": { @@ -17874,7 +17104,7 @@ } }, "node_modules/eslint-plugin-import": { - "version": "2.29.0", + "version": "2.29.1", "dev": true, "license": "MIT", "dependencies": { @@ -17894,7 +17124,7 @@ "object.groupby": "^1.0.1", "object.values": "^1.1.7", "semver": "^6.3.1", - "tsconfig-paths": "^3.14.2" + "tsconfig-paths": "^3.15.0" }, "engines": { "node": ">=4" @@ -17950,7 +17180,7 @@ } }, "node_modules/eslint-plugin-import/node_modules/tsconfig-paths": { - "version": "3.14.2", + "version": "3.15.0", "dev": true, "license": "MIT", "dependencies": { @@ -18315,12 +17545,12 @@ } }, "node_modules/eslint/node_modules/@humanwhocodes/config-array": { - "version": "0.11.13", + "version": "0.11.14", "dev": true, "license": "Apache-2.0", "dependencies": { - "@humanwhocodes/object-schema": "^2.0.1", - "debug": "^4.1.1", + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", "minimatch": "^3.0.5" }, "engines": { @@ -18328,18 +17558,35 @@ } }, "node_modules/eslint/node_modules/@humanwhocodes/object-schema": { - "version": "2.0.1", + "version": "2.0.2", "dev": true, "license": "BSD-3-Clause" }, "node_modules/eslint/node_modules/ignore": { - "version": "5.3.0", + "version": "5.3.1", "dev": true, "license": "MIT", "engines": { "node": ">= 4" } }, + "node_modules/esniff": { + "version": "2.0.1", + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "es5-ext": "^0.10.62", + "event-emitter": "^0.3.5", + "type": "^2.7.2" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esniff/node_modules/type": { + "version": "2.7.2", + "license": "ISC" + }, "node_modules/espree": { "version": "9.6.1", "dev": true, @@ -18357,7 +17604,7 @@ } }, "node_modules/espree/node_modules/acorn": { - "version": "8.11.2", + "version": "8.11.3", "dev": true, "license": "MIT", "bin": { @@ -18507,6 +17754,14 @@ "node": ">= 0.6" } }, + "node_modules/event-emitter": { + "version": "0.3.5", + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, "node_modules/event-target-shim": { "version": "5.0.1", "dev": true, @@ -18591,18 +17846,18 @@ } }, "node_modules/expect": { - "version": "28.1.3", + "version": "29.7.0", "dev": true, "license": "MIT", "dependencies": { - "@jest/expect-utils": "^28.1.3", - "jest-get-type": "^28.0.2", - "jest-matcher-utils": "^28.1.3", - "jest-message-util": "^28.1.3", - "jest-util": "^28.1.3" + "@jest/expect-utils": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/expect-playwright": { @@ -18610,68 +17865,6 @@ "dev": true, "license": "MIT" }, - "node_modules/expect/node_modules/@jest/schemas": { - "version": "28.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@sinclair/typebox": "^0.24.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" - } - }, - "node_modules/expect/node_modules/@jest/types": { - "version": "28.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/schemas": "^28.1.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^17.0.8", - "chalk": "^4.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" - } - }, - "node_modules/expect/node_modules/@sinclair/typebox": { - "version": "0.24.51", - "dev": true, - "license": "MIT" - }, - "node_modules/expect/node_modules/ci-info": { - "version": "3.9.0", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/sibiraj-s" - } - ], - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/expect/node_modules/jest-util": { - "version": "28.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/types": "^28.1.3", - "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" - } - }, "node_modules/exponential-backoff": { "version": "3.1.1", "dev": true, @@ -18953,7 +18146,7 @@ "license": "MIT" }, "node_modules/fastq": { - "version": "1.15.0", + "version": "1.17.1", "dev": true, "license": "ISC", "dependencies": { @@ -19360,12 +18553,12 @@ } }, "node_modules/flatted": { - "version": "3.2.9", + "version": "3.3.1", "dev": true, "license": "ISC" }, "node_modules/flow-parser": { - "version": "0.223.3", + "version": "0.229.0", "dev": true, "license": "MIT", "engines": { @@ -19378,7 +18571,7 @@ "license": "MIT" }, "node_modules/follow-redirects": { - "version": "1.15.3", + "version": "1.15.5", "dev": true, "funding": [ { @@ -19685,15 +18878,19 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.2", + "version": "1.2.4", "dev": true, "license": "MIT", "dependencies": { + "es-errors": "^1.3.0", "function-bind": "^1.1.2", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", "hasown": "^2.0.0" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -19823,12 +19020,13 @@ } }, "node_modules/get-symbol-description": { - "version": "1.0.0", + "version": "1.0.2", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" + "call-bind": "^1.0.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4" }, "engines": { "node": ">= 0.4" @@ -19846,15 +19044,16 @@ } }, "node_modules/giget": { - "version": "1.1.3", + "version": "1.2.1", "dev": true, "license": "MIT", "dependencies": { - "colorette": "^2.0.20", - "defu": "^6.1.2", - "https-proxy-agent": "^7.0.2", - "mri": "^1.2.0", - "node-fetch-native": "^1.4.0", + "citty": "^0.1.5", + "consola": "^3.2.3", + "defu": "^6.1.3", + "node-fetch-native": "^1.6.1", + "nypm": "^0.3.3", + "ohash": "^1.1.3", "pathe": "^1.1.1", "tar": "^6.2.0" }, @@ -19862,29 +19061,6 @@ "giget": "dist/cli.mjs" } }, - "node_modules/giget/node_modules/agent-base": { - "version": "7.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.3.4" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/giget/node_modules/https-proxy-agent": { - "version": "7.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "agent-base": "^7.0.2", - "debug": "4" - }, - "engines": { - "node": ">= 14" - } - }, "node_modules/git-config-path": { "version": "2.0.0", "dev": true, @@ -20090,7 +19266,7 @@ } }, "node_modules/globals": { - "version": "13.23.0", + "version": "13.24.0", "dev": true, "license": "MIT", "dependencies": { @@ -20148,7 +19324,7 @@ } }, "node_modules/globby/node_modules/ignore": { - "version": "5.3.0", + "version": "5.3.1", "dev": true, "license": "MIT", "engines": { @@ -20238,6 +19414,10 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/gray-matter/node_modules/sprintf-js": { + "version": "1.0.3", + "license": "BSD-3-Clause" + }, "node_modules/gunzip-maybe": { "version": "1.4.2", "dev": true, @@ -20402,18 +19582,18 @@ } }, "node_modules/has-property-descriptors": { - "version": "1.0.1", + "version": "1.0.2", "dev": true, "license": "MIT", "dependencies": { - "get-intrinsic": "^1.2.2" + "es-define-property": "^1.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/has-proto": { - "version": "1.0.1", + "version": "1.0.3", "dev": true, "license": "MIT", "engines": { @@ -20435,11 +19615,11 @@ } }, "node_modules/has-tostringtag": { - "version": "1.0.0", + "version": "1.0.2", "dev": true, "license": "MIT", "dependencies": { - "has-symbols": "^1.0.2" + "has-symbols": "^1.0.3" }, "engines": { "node": ">= 0.4" @@ -20507,7 +19687,7 @@ } }, "node_modules/hasown": { - "version": "2.0.0", + "version": "2.0.1", "dev": true, "license": "MIT", "dependencies": { @@ -20706,7 +19886,7 @@ } }, "node_modules/html-webpack-plugin": { - "version": "5.5.4", + "version": "5.6.0", "dev": true, "license": "MIT", "dependencies": { @@ -20724,7 +19904,16 @@ "url": "https://opencollective.com/html-webpack-plugin" }, "peerDependencies": { + "@rspack/core": "0.x || 1.x", "webpack": "^5.20.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } } }, "node_modules/htmlparser2": { @@ -20928,7 +20117,7 @@ } }, "node_modules/image-size": { - "version": "1.0.2", + "version": "1.1.1", "dev": true, "license": "MIT", "dependencies": { @@ -20938,7 +20127,7 @@ "image-size": "bin/image-size.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.x" } }, "node_modules/import-fresh": { @@ -21153,7 +20342,7 @@ "license": "MIT" }, "node_modules/input-format": { - "version": "0.3.8", + "version": "0.3.9", "license": "MIT", "dependencies": { "prop-types": "^15.8.1" @@ -21880,11 +21069,11 @@ } }, "node_modules/internal-slot": { - "version": "1.0.6", + "version": "1.0.7", "dev": true, "license": "MIT", "dependencies": { - "get-intrinsic": "^1.2.2", + "es-errors": "^1.3.0", "hasown": "^2.0.0", "side-channel": "^1.0.4" }, @@ -21912,10 +21101,22 @@ } }, "node_modules/ip": { - "version": "2.0.0", + "version": "2.0.1", "dev": true, "license": "MIT" }, + "node_modules/ip-address": { + "version": "9.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + }, + "engines": { + "node": ">= 12" + } + }, "node_modules/ip-regex": { "version": "2.1.0", "dev": true, @@ -21988,13 +21189,15 @@ } }, "node_modules/is-array-buffer": { - "version": "3.0.2", + "version": "3.0.4", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.0", - "is-typed-array": "^1.1.10" + "get-intrinsic": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -22305,7 +21508,7 @@ } }, "node_modules/is-negative-zero": { - "version": "2.0.2", + "version": "2.0.3", "dev": true, "license": "MIT", "engines": { @@ -22449,11 +21652,14 @@ } }, "node_modules/is-shared-array-buffer": { - "version": "1.0.2", + "version": "1.0.3", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2" + "call-bind": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -22523,11 +21729,11 @@ } }, "node_modules/is-typed-array": { - "version": "1.1.12", + "version": "1.1.13", "dev": true, "license": "MIT", "dependencies": { - "which-typed-array": "^1.1.11" + "which-typed-array": "^1.1.14" }, "engines": { "node": ">= 0.4" @@ -22774,7 +21980,7 @@ } }, "node_modules/istanbul-reports": { - "version": "3.1.6", + "version": "3.1.7", "license": "BSD-3-Clause", "dependencies": { "html-escaper": "^2.0.0", @@ -22923,69 +22129,6 @@ } } }, - "node_modules/jest-circus/node_modules/diff-sequences": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-circus/node_modules/jest-diff": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^29.6.3", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-circus/node_modules/jest-get-type": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-circus/node_modules/jest-matcher-utils": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-circus/node_modules/jest-message-util": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/jest-circus/node_modules/pretty-format": { "version": "29.7.0", "dev": true, @@ -23105,14 +22248,6 @@ "node": ">=8" } }, - "node_modules/jest-config/node_modules/jest-get-type": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/jest-config/node_modules/pretty-format": { "version": "29.7.0", "dev": true, @@ -23132,35 +22267,19 @@ "license": "MIT" }, "node_modules/jest-diff": { - "version": "28.1.3", + "version": "29.7.0", "dev": true, "license": "MIT", "dependencies": { "chalk": "^4.0.0", - "diff-sequences": "^28.1.1", - "jest-get-type": "^28.0.2", - "pretty-format": "^28.1.3" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" - } - }, - "node_modules/jest-diff/node_modules/@jest/schemas": { - "version": "28.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@sinclair/typebox": "^0.24.1" + "diff-sequences": "^29.6.3", + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-diff/node_modules/@sinclair/typebox": { - "version": "0.24.51", - "dev": true, - "license": "MIT" - }, "node_modules/jest-diff/node_modules/ansi-styles": { "version": "5.2.0", "dev": true, @@ -23173,17 +22292,16 @@ } }, "node_modules/jest-diff/node_modules/pretty-format": { - "version": "28.1.3", + "version": "29.7.0", "dev": true, "license": "MIT", "dependencies": { - "@jest/schemas": "^28.1.3", - "ansi-regex": "^5.0.1", + "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", "react-is": "^18.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-diff/node_modules/react-is": { @@ -23228,14 +22346,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-each/node_modules/jest-get-type": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/jest-each/node_modules/pretty-format": { "version": "29.7.0", "dev": true, @@ -23281,7 +22391,7 @@ } }, "node_modules/jest-environment-jsdom/node_modules/acorn": { - "version": "8.11.2", + "version": "8.11.3", "dev": true, "license": "MIT", "bin": { @@ -23301,7 +22411,7 @@ } }, "node_modules/jest-environment-jsdom/node_modules/acorn-walk": { - "version": "8.3.1", + "version": "8.3.2", "dev": true, "license": "MIT", "engines": { @@ -23511,7 +22621,7 @@ } }, "node_modules/jest-environment-jsdom/node_modules/ws": { - "version": "8.14.2", + "version": "8.16.0", "dev": true, "license": "MIT", "engines": { @@ -23568,11 +22678,11 @@ } }, "node_modules/jest-get-type": { - "version": "28.0.2", + "version": "29.6.3", "dev": true, "license": "MIT", "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-haste-map": { @@ -23644,14 +22754,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-leak-detector/node_modules/jest-get-type": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/jest-leak-detector/node_modules/pretty-format": { "version": "29.7.0", "dev": true, @@ -23671,35 +22773,19 @@ "license": "MIT" }, "node_modules/jest-matcher-utils": { - "version": "28.1.3", + "version": "29.7.0", "dev": true, "license": "MIT", "dependencies": { "chalk": "^4.0.0", - "jest-diff": "^28.1.3", - "jest-get-type": "^28.0.2", - "pretty-format": "^28.1.3" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" - } - }, - "node_modules/jest-matcher-utils/node_modules/@jest/schemas": { - "version": "28.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@sinclair/typebox": "^0.24.1" + "jest-diff": "^29.7.0", + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-matcher-utils/node_modules/@sinclair/typebox": { - "version": "0.24.51", - "dev": true, - "license": "MIT" - }, "node_modules/jest-matcher-utils/node_modules/ansi-styles": { "version": "5.2.0", "dev": true, @@ -23712,17 +22798,16 @@ } }, "node_modules/jest-matcher-utils/node_modules/pretty-format": { - "version": "28.1.3", + "version": "29.7.0", "dev": true, "license": "MIT", "dependencies": { - "@jest/schemas": "^28.1.3", - "ansi-regex": "^5.0.1", + "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", "react-is": "^18.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-matcher-utils/node_modules/react-is": { @@ -23731,56 +22816,24 @@ "license": "MIT" }, "node_modules/jest-message-util": { - "version": "28.1.3", + "version": "29.7.0", "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.12.13", - "@jest/types": "^28.1.3", + "@jest/types": "^29.6.3", "@types/stack-utils": "^2.0.0", "chalk": "^4.0.0", "graceful-fs": "^4.2.9", "micromatch": "^4.0.4", - "pretty-format": "^28.1.3", + "pretty-format": "^29.7.0", "slash": "^3.0.0", "stack-utils": "^2.0.3" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" - } - }, - "node_modules/jest-message-util/node_modules/@jest/schemas": { - "version": "28.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@sinclair/typebox": "^0.24.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" - } - }, - "node_modules/jest-message-util/node_modules/@jest/types": { - "version": "28.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/schemas": "^28.1.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^17.0.8", - "chalk": "^4.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-message-util/node_modules/@sinclair/typebox": { - "version": "0.24.51", - "dev": true, - "license": "MIT" - }, "node_modules/jest-message-util/node_modules/ansi-styles": { "version": "5.2.0", "dev": true, @@ -23793,17 +22846,16 @@ } }, "node_modules/jest-message-util/node_modules/pretty-format": { - "version": "28.1.3", + "version": "29.7.0", "dev": true, "license": "MIT", "dependencies": { - "@jest/schemas": "^28.1.3", - "ansi-regex": "^5.0.1", + "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", "react-is": "^18.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-message-util/node_modules/react-is": { @@ -23976,54 +23028,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-runner/node_modules/ansi-styles": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-runner/node_modules/jest-message-util": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runner/node_modules/pretty-format": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runner/node_modules/react-is": { - "version": "18.2.0", - "dev": true, - "license": "MIT" - }, "node_modules/jest-runtime": { "version": "29.7.0", "dev": true, @@ -24056,36 +23060,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-runtime/node_modules/ansi-styles": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/jest-runtime/node_modules/jest-message-util": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/jest-runtime/node_modules/jest-mock": { "version": "29.7.0", "dev": true, @@ -24099,24 +23073,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-runtime/node_modules/pretty-format": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runtime/node_modules/react-is": { - "version": "18.2.0", - "dev": true, - "license": "MIT" - }, "node_modules/jest-serializer-html": { "version": "7.1.0", "dev": true, @@ -24155,17 +23111,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-snapshot/node_modules/@jest/expect-utils": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "jest-get-type": "^29.6.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/jest-snapshot/node_modules/ansi-styles": { "version": "5.2.0", "dev": true, @@ -24177,84 +23122,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-snapshot/node_modules/diff-sequences": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-snapshot/node_modules/expect": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/expect-utils": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-snapshot/node_modules/jest-diff": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^29.6.3", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-snapshot/node_modules/jest-get-type": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-snapshot/node_modules/jest-matcher-utils": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-snapshot/node_modules/jest-message-util": { - "version": "29.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/jest-snapshot/node_modules/pretty-format": { "version": "29.7.0", "dev": true, @@ -24341,14 +23208,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/jest-validate/node_modules/jest-get-type": { - "version": "29.6.3", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, "node_modules/jest-validate/node_modules/pretty-format": { "version": "29.7.0", "dev": true, @@ -24537,13 +23396,13 @@ } }, "node_modules/joi": { - "version": "17.11.0", + "version": "17.12.2", "dev": true, "license": "BSD-3-Clause", "dependencies": { - "@hapi/hoek": "^9.0.0", - "@hapi/topo": "^5.0.0", - "@sideway/address": "^4.1.3", + "@hapi/hoek": "^9.3.0", + "@hapi/topo": "^5.1.0", + "@sideway/address": "^4.1.5", "@sideway/formula": "^3.0.1", "@sideway/pinpoint": "^2.0.0" } @@ -24576,12 +23435,12 @@ } }, "node_modules/jsbn": { - "version": "0.1.1", + "version": "1.1.0", "dev": true, "license": "MIT" }, "node_modules/jscodeshift": { - "version": "0.15.1", + "version": "0.15.2", "dev": true, "license": "MIT", "dependencies": { @@ -24825,7 +23684,7 @@ } }, "node_modules/jsonc-parser": { - "version": "3.2.0", + "version": "3.2.1", "dev": true, "license": "MIT" }, @@ -25043,14 +23902,14 @@ } }, "node_modules/lazy-universal-dotenv/node_modules/dotenv": { - "version": "16.3.1", + "version": "16.4.5", "dev": true, "license": "BSD-2-Clause", "engines": { "node": ">=12" }, "funding": { - "url": "https://github.com/motdotla/dotenv?sponsor=1" + "url": "https://dotenvx.com" } }, "node_modules/lerna": { @@ -25265,7 +24124,7 @@ } }, "node_modules/libphonenumber-js": { - "version": "1.10.51", + "version": "1.10.57", "license": "MIT" }, "node_modules/liftoff": { @@ -25538,7 +24397,7 @@ } }, "node_modules/magic-string": { - "version": "0.30.5", + "version": "0.30.7", "dev": true, "license": "MIT", "dependencies": { @@ -25668,7 +24527,7 @@ } }, "node_modules/markdown-to-jsx": { - "version": "7.3.2", + "version": "7.4.1", "dev": true, "license": "MIT", "engines": { @@ -26387,7 +25246,7 @@ "license": "MIT" }, "node_modules/micromark-extension-mdxjs/node_modules/acorn": { - "version": "8.11.2", + "version": "8.11.3", "license": "MIT", "bin": { "acorn": "bin/acorn" @@ -27227,11 +26086,11 @@ } }, "node_modules/next-mdx-remote": { - "version": "4.1.0", + "version": "4.4.1", "license": "MPL-2.0", "dependencies": { - "@mdx-js/mdx": "^2.0.0", - "@mdx-js/react": "^2.0.0", + "@mdx-js/mdx": "^2.2.1", + "@mdx-js/react": "^2.2.1", "vfile": "^5.3.0", "vfile-matter": "^3.0.1" }, @@ -27294,6 +26153,126 @@ "version": "1.1.0", "license": "ISC" }, + "node_modules/next/node_modules/@next/swc-darwin-x64": { + "version": "13.5.6", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.5.6.tgz", + "integrity": "sha512-6cgBfxg98oOCSr4BckWjLLgiVwlL3vlLj8hXg2b+nDgm4bC/qVXXLfpLB9FHdoDu4057hzywbxKvmYGmi7yUzA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/next/node_modules/@next/swc-linux-arm64-gnu": { + "version": "13.5.6", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.5.6.tgz", + "integrity": "sha512-txagBbj1e1w47YQjcKgSU4rRVQ7uF29YpnlHV5xuVUsgCUf2FmyfJ3CPjZUvpIeXCJAoMCFAoGnbtX86BK7+sg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/next/node_modules/@next/swc-linux-arm64-musl": { + "version": "13.5.6", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.5.6.tgz", + "integrity": "sha512-cGd+H8amifT86ZldVJtAKDxUqeFyLWW+v2NlBULnLAdWsiuuN8TuhVBt8ZNpCqcAuoruoSWynvMWixTFcroq+Q==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/next/node_modules/@next/swc-linux-x64-gnu": { + "version": "13.5.6", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.5.6.tgz", + "integrity": "sha512-Mc2b4xiIWKXIhBy2NBTwOxGD3nHLmq4keFk+d4/WL5fMsB8XdJRdtUlL87SqVCTSaf1BRuQQf1HvXZcy+rq3Nw==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/next/node_modules/@next/swc-linux-x64-musl": { + "version": "13.5.6", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.5.6.tgz", + "integrity": "sha512-CFHvP9Qz98NruJiUnCe61O6GveKKHpJLloXbDSWRhqhkJdZD2zU5hG+gtVJR//tyW897izuHpM6Gtf6+sNgJPQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/next/node_modules/@next/swc-win32-arm64-msvc": { + "version": "13.5.6", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.5.6.tgz", + "integrity": "sha512-aFv1ejfkbS7PUa1qVPwzDHjQWQtknzAZWGTKYIAaS4NMtBlk3VyA6AYn593pqNanlicewqyl2jUhQAaFV/qXsg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/next/node_modules/@next/swc-win32-ia32-msvc": { + "version": "13.5.6", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.5.6.tgz", + "integrity": "sha512-XqqpHgEIlBHvzwG8sp/JXMFkLAfGLqkbVsyN+/Ih1mR8INb6YCc2x/Mbwi6hsAgUnqQztz8cvEbHJUbSl7RHDg==", + "cpu": [ + "ia32" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/next/node_modules/@next/swc-win32-x64-msvc": { + "version": "13.5.6", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.5.6.tgz", + "integrity": "sha512-Cqfe1YmOS7k+5mGu92nl5ULkzpKuxJrP3+4AEuPmrpFZ3BHxTY3TnHmU1On3bFmFFs6FbTcdF58CCUProGpIGQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, "node_modules/next/node_modules/postcss": { "version": "8.4.31", "funding": [ @@ -27345,7 +26324,7 @@ } }, "node_modules/node-abi": { - "version": "3.52.0", + "version": "3.55.0", "dev": true, "license": "MIT", "dependencies": { @@ -27394,7 +26373,7 @@ } }, "node_modules/node-fetch-native": { - "version": "1.4.1", + "version": "1.6.2", "dev": true, "license": "MIT" }, @@ -27439,7 +26418,7 @@ } }, "node_modules/node-gyp-build": { - "version": "4.7.1", + "version": "4.8.0", "dev": true, "license": "MIT", "bin": { @@ -27509,7 +26488,7 @@ } }, "node_modules/node-plop/node_modules/ignore": { - "version": "5.3.0", + "version": "5.3.1", "dev": true, "license": "MIT", "engines": { @@ -27612,7 +26591,7 @@ } }, "node_modules/node-polyfill-webpack-plugin/node_modules/readable-stream": { - "version": "4.4.2", + "version": "4.5.2", "dev": true, "license": "MIT", "dependencies": { @@ -28048,11 +27027,11 @@ } }, "node_modules/nx/node_modules/axios": { - "version": "1.6.2", + "version": "1.6.7", "dev": true, "license": "MIT", "dependencies": { - "follow-redirects": "^1.15.0", + "follow-redirects": "^1.15.4", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -28147,7 +27126,7 @@ } }, "node_modules/nx/node_modules/ignore": { - "version": "5.3.0", + "version": "5.3.1", "dev": true, "license": "MIT", "engines": { @@ -28165,6 +27144,11 @@ "json5": "lib/cli.js" } }, + "node_modules/nx/node_modules/jsonc-parser": { + "version": "3.2.0", + "dev": true, + "license": "MIT" + }, "node_modules/nx/node_modules/lru-cache": { "version": "6.0.0", "dev": true, @@ -28237,7 +27221,7 @@ } }, "node_modules/nx/node_modules/tsconfig-paths": { - "version": "3.14.2", + "version": "3.15.0", "dev": true, "license": "MIT", "dependencies": { @@ -28452,6 +27436,147 @@ "node": ">=6" } }, + "node_modules/nypm": { + "version": "0.3.6", + "dev": true, + "license": "MIT", + "dependencies": { + "citty": "^0.1.5", + "execa": "^8.0.1", + "pathe": "^1.1.2", + "ufo": "^1.3.2" + }, + "bin": { + "nypm": "dist/cli.mjs" + }, + "engines": { + "node": "^14.16.0 || >=16.10.0" + } + }, + "node_modules/nypm/node_modules/execa": { + "version": "8.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^8.0.1", + "human-signals": "^5.0.0", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^3.0.0" + }, + "engines": { + "node": ">=16.17" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/nypm/node_modules/get-stream": { + "version": "8.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nypm/node_modules/human-signals": { + "version": "5.0.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=16.17.0" + } + }, + "node_modules/nypm/node_modules/is-stream": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nypm/node_modules/mimic-fn": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nypm/node_modules/npm-run-path": { + "version": "5.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nypm/node_modules/onetime": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nypm/node_modules/path-key": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nypm/node_modules/signal-exit": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/nypm/node_modules/strip-final-newline": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/oauth-sign": { "version": "0.9.0", "dev": true, @@ -28567,14 +27692,15 @@ } }, "node_modules/object.groupby": { - "version": "1.0.1", + "version": "1.0.2", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1" + "array.prototype.filter": "^1.0.3", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.0.0" } }, "node_modules/object.hasown": { @@ -28633,6 +27759,11 @@ "dev": true, "license": "ISC" }, + "node_modules/ohash": { + "version": "1.1.3", + "dev": true, + "license": "MIT" + }, "node_modules/on-finished": { "version": "2.4.1", "dev": true, @@ -28765,7 +27896,8 @@ }, "node_modules/outvariant": { "version": "1.4.0", - "license": "MIT" + "resolved": "https://registry.npmjs.org/outvariant/-/outvariant-1.4.0.tgz", + "integrity": "sha512-AlWY719RF02ujitly7Kk/0QlV+pXGFDHrHf9O2OKqyqgBieaPOIeuSkL8sRK6j2WK+/ZAURq2kZsY0d8JapUiw==" }, "node_modules/p-cancelable": { "version": "1.1.0", @@ -29257,7 +28389,7 @@ } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.1.0", + "version": "10.2.0", "dev": true, "license": "ISC", "engines": { @@ -29299,7 +28431,7 @@ } }, "node_modules/pathe": { - "version": "1.1.1", + "version": "1.1.2", "dev": true, "license": "MIT" }, @@ -29438,11 +28570,11 @@ } }, "node_modules/playwright": { - "version": "1.40.1", + "version": "1.41.2", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.40.1" + "playwright-core": "1.41.2" }, "bin": { "playwright": "cli.js" @@ -29455,7 +28587,7 @@ } }, "node_modules/playwright-core": { - "version": "1.40.1", + "version": "1.41.2", "dev": true, "license": "Apache-2.0", "bin": { @@ -29639,7 +28771,7 @@ } }, "node_modules/polished": { - "version": "4.2.2", + "version": "4.3.1", "dev": true, "license": "MIT", "dependencies": { @@ -29656,8 +28788,16 @@ "@popperjs/core": "^2.2.0" } }, + "node_modules/possible-typed-array-names": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/postcss": { - "version": "8.4.32", + "version": "8.4.35", "dev": true, "funding": [ { @@ -29752,11 +28892,14 @@ } }, "node_modules/postcss-load-config/node_modules/lilconfig": { - "version": "3.0.0", + "version": "3.1.1", "dev": true, "license": "MIT", "engines": { "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" } }, "node_modules/postcss-load-config/node_modules/yaml": { @@ -29768,13 +28911,13 @@ } }, "node_modules/postcss-loader": { - "version": "7.3.3", + "version": "7.3.4", "dev": true, "license": "MIT", "dependencies": { - "cosmiconfig": "^8.2.0", - "jiti": "^1.18.2", - "semver": "^7.3.8" + "cosmiconfig": "^8.3.5", + "jiti": "^1.20.0", + "semver": "^7.5.4" }, "engines": { "node": ">= 14.15.0" @@ -29825,7 +28968,7 @@ } }, "node_modules/postcss-modules-local-by-default": { - "version": "4.0.3", + "version": "4.0.4", "dev": true, "license": "MIT", "dependencies": { @@ -29841,7 +28984,7 @@ } }, "node_modules/postcss-modules-scope": { - "version": "3.0.0", + "version": "3.1.1", "dev": true, "license": "ISC", "dependencies": { @@ -29887,7 +29030,7 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.0.13", + "version": "6.0.15", "dev": true, "license": "MIT", "dependencies": { @@ -30178,7 +29321,7 @@ } }, "node_modules/property-information": { - "version": "6.4.0", + "version": "6.4.1", "license": "MIT", "funding": { "type": "github", @@ -30877,7 +30020,7 @@ "license": "MIT" }, "node_modules/react-hook-form": { - "version": "7.48.2", + "version": "7.50.1", "license": "MIT", "engines": { "node": ">=12.22.0" @@ -30895,13 +30038,13 @@ "license": "MIT" }, "node_modules/react-phone-number-input": { - "version": "3.3.7", + "version": "3.3.9", "license": "MIT", "dependencies": { "classnames": "^2.3.1", "country-flag-icons": "^1.5.4", - "input-format": "^0.3.8", - "libphonenumber-js": "^1.10.48", + "input-format": "^0.3.9", + "libphonenumber-js": "^1.10.53", "prop-types": "^15.8.1" }, "peerDependencies": { @@ -30954,7 +30097,7 @@ } }, "node_modules/react-remove-scroll-bar": { - "version": "2.3.4", + "version": "2.3.5", "license": "MIT", "dependencies": { "react-style-singleton": "^2.2.1", @@ -31500,14 +30643,15 @@ } }, "node_modules/reflect.getprototypeof": { - "version": "1.0.4", + "version": "1.0.5", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.0.0", + "get-intrinsic": "^1.2.3", "globalthis": "^1.0.3", "which-builtin-type": "^1.1.3" }, @@ -31535,7 +30679,7 @@ } }, "node_modules/regenerator-runtime": { - "version": "0.14.0", + "version": "0.14.1", "license": "MIT" }, "node_modules/regenerator-transform": { @@ -31547,18 +30691,19 @@ } }, "node_modules/regex-parser": { - "version": "2.2.11", + "version": "2.3.0", "dev": true, "license": "MIT" }, "node_modules/regexp.prototype.flags": { - "version": "1.5.1", + "version": "1.5.2", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "set-function-name": "^2.0.0" + "call-bind": "^1.0.6", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "set-function-name": "^2.0.1" }, "engines": { "node": ">= 0.4" @@ -31755,7 +30900,7 @@ } }, "node_modules/remark-mdx-code-meta/node_modules/acorn": { - "version": "8.11.2", + "version": "8.11.3", "license": "MIT", "bin": { "acorn": "bin/acorn" @@ -32427,12 +31572,12 @@ } }, "node_modules/safe-array-concat": { - "version": "1.0.1", + "version": "1.1.0", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1", + "call-bind": "^1.0.5", + "get-intrinsic": "^1.2.2", "has-symbols": "^1.0.3", "isarray": "^2.0.5" }, @@ -32463,14 +31608,17 @@ "license": "MIT" }, "node_modules/safe-regex-test": { - "version": "1.0.0", + "version": "1.0.3", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", "is-regex": "^1.1.4" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -32572,7 +31720,7 @@ } }, "node_modules/semver": { - "version": "7.5.4", + "version": "7.6.0", "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" @@ -32669,7 +31817,7 @@ } }, "node_modules/serialize-javascript": { - "version": "6.0.1", + "version": "6.0.2", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -32696,27 +31844,30 @@ "license": "ISC" }, "node_modules/set-function-length": { - "version": "1.1.1", + "version": "1.2.1", "dev": true, "license": "MIT", "dependencies": { - "define-data-property": "^1.1.1", - "get-intrinsic": "^1.2.1", + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "has-property-descriptors": "^1.0.1" }, "engines": { "node": ">= 0.4" } }, "node_modules/set-function-name": { - "version": "2.0.1", + "version": "2.0.2", "dev": true, "license": "MIT", "dependencies": { - "define-data-property": "^1.0.1", + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", "functions-have-names": "^1.2.3", - "has-property-descriptors": "^1.0.0" + "has-property-descriptors": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -32800,13 +31951,17 @@ } }, "node_modules/side-channel": { - "version": "1.0.4", + "version": "1.0.5", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -32897,17 +32052,6 @@ "dev": true, "license": "MIT" }, - "node_modules/simple-update-notifier": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "semver": "^7.5.3" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/sirv": { "version": "1.0.19", "dev": true, @@ -32953,15 +32097,15 @@ } }, "node_modules/socks": { - "version": "2.7.1", + "version": "2.8.1", "dev": true, "license": "MIT", "dependencies": { - "ip": "^2.0.0", + "ip-address": "^9.0.5", "smart-buffer": "^4.2.0" }, "engines": { - "node": ">= 10.13.0", + "node": ">= 10.0.0", "npm": ">= 3.0.0" } }, @@ -33076,7 +32220,7 @@ } }, "node_modules/spdx-exceptions": { - "version": "2.3.0", + "version": "2.5.0", "dev": true, "license": "CC-BY-3.0" }, @@ -33090,7 +32234,7 @@ } }, "node_modules/spdx-license-ids": { - "version": "3.0.16", + "version": "3.0.17", "dev": true, "license": "CC0-1.0" }, @@ -33122,7 +32266,8 @@ } }, "node_modules/sprintf-js": { - "version": "1.0.3", + "version": "1.1.3", + "dev": true, "license": "BSD-3-Clause" }, "node_modules/sshpk": { @@ -33149,6 +32294,11 @@ "node": ">=0.10.0" } }, + "node_modules/sshpk/node_modules/jsbn": { + "version": "0.1.1", + "dev": true, + "license": "MIT" + }, "node_modules/ssri": { "version": "9.0.1", "dev": true, @@ -33194,7 +32344,8 @@ }, "node_modules/static-browser-server": { "version": "1.0.3", - "license": "Apache-2.0", + "resolved": "https://registry.npmjs.org/static-browser-server/-/static-browser-server-1.0.3.tgz", + "integrity": "sha512-ZUyfgGDdFRbZGGJQ1YhiM930Yczz5VlbJObrQLlk24+qNHVQx4OlLcYswEUo3bIyNAbQUIUR9Yr5/Hqjzqb4zA==", "dependencies": { "@open-draft/deferred-promise": "^2.1.0", "dotenv": "^16.0.3", @@ -33203,13 +32354,14 @@ } }, "node_modules/static-browser-server/node_modules/dotenv": { - "version": "16.3.1", - "license": "BSD-2-Clause", + "version": "16.4.5", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", + "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", "engines": { "node": ">=12" }, "funding": { - "url": "https://github.com/motdotla/dotenv?sponsor=1" + "url": "https://dotenvx.com" } }, "node_modules/statuses": { @@ -33264,16 +32416,16 @@ } }, "node_modules/store2": { - "version": "2.14.2", + "version": "2.14.3", "dev": true, - "license": "(MIT OR GPL-3.0)" + "license": "MIT" }, "node_modules/storybook": { - "version": "7.6.4", + "version": "7.6.17", "dev": true, "license": "MIT", "dependencies": { - "@storybook/cli": "7.6.4" + "@storybook/cli": "7.6.17" }, "bin": { "sb": "index.js", @@ -33332,7 +32484,7 @@ } }, "node_modules/stream-shift": { - "version": "1.0.1", + "version": "1.0.3", "dev": true, "license": "MIT" }, @@ -33343,17 +32495,21 @@ } }, "node_modules/streamx": { - "version": "2.15.6", + "version": "2.16.1", "dev": true, "license": "MIT", "dependencies": { "fast-fifo": "^1.1.0", "queue-tick": "^1.0.1" + }, + "optionalDependencies": { + "bare-events": "^2.2.0" } }, "node_modules/strict-event-emitter": { "version": "0.4.6", - "license": "MIT" + "resolved": "https://registry.npmjs.org/strict-event-emitter/-/strict-event-emitter-0.4.6.tgz", + "integrity": "sha512-12KWeb+wixJohmnwNFerbyiBrAlq5qJLwIt38etRtKtmmHyDSoGlIqFE9wx+4IwG0aDjI7GV8tc8ZccjWZZtTg==" }, "node_modules/strict-uri-encode": { "version": "2.0.0", @@ -33602,7 +32758,7 @@ } }, "node_modules/style-loader": { - "version": "3.3.3", + "version": "3.3.4", "dev": true, "license": "MIT", "engines": { @@ -33649,13 +32805,13 @@ } }, "node_modules/sucrase": { - "version": "3.34.0", + "version": "3.35.0", "dev": true, "license": "MIT", "dependencies": { "@jridgewell/gen-mapping": "^0.3.2", "commander": "^4.0.0", - "glob": "7.1.6", + "glob": "^10.3.10", "lines-and-columns": "^1.1.6", "mz": "^2.7.0", "pirates": "^4.0.1", @@ -33666,7 +32822,15 @@ "sucrase-node": "bin/sucrase-node" }, "engines": { - "node": ">=8" + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/sucrase/node_modules/brace-expansion": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" } }, "node_modules/sucrase/node_modules/commander": { @@ -33677,42 +32841,80 @@ "node": ">= 6" } }, + "node_modules/sucrase/node_modules/foreground-child": { + "version": "3.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/sucrase/node_modules/glob": { - "version": "7.1.6", + "version": "10.3.10", "dev": true, "license": "ISC", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" }, "engines": { - "node": "*" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/supports-color": { - "version": "7.2.0", - "license": "MIT", + "node_modules/sucrase/node_modules/minimatch": { + "version": "9.0.3", + "dev": true, + "license": "ISC", "dependencies": { - "has-flag": "^4.0.0" + "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=8" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/supports-hyperlinks": { - "version": "2.3.0", + "node_modules/sucrase/node_modules/minipass": { + "version": "7.0.4", "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/sucrase/node_modules/signal-exit": { + "version": "4.1.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", "license": "MIT", "dependencies": { - "has-flag": "^4.0.0", - "supports-color": "^7.0.0" + "has-flag": "^4.0.0" }, "engines": { "node": ">=8" @@ -33730,9 +32932,12 @@ } }, "node_modules/swc-loader": { - "version": "0.2.3", + "version": "0.2.6", "dev": true, "license": "MIT", + "dependencies": { + "@swc/counter": "^0.1.3" + }, "peerDependencies": { "@swc/core": "^1.2.147", "webpack": ">=2" @@ -33753,7 +32958,7 @@ "license": "MIT" }, "node_modules/tailwindcss": { - "version": "3.3.6", + "version": "3.4.1", "dev": true, "license": "MIT", "dependencies": { @@ -33813,17 +33018,20 @@ } }, "node_modules/tar-fs": { - "version": "3.0.4", + "version": "3.0.5", "dev": true, "license": "MIT", "dependencies": { - "mkdirp-classic": "^0.5.2", "pump": "^3.0.0", "tar-stream": "^3.1.5" + }, + "optionalDependencies": { + "bare-fs": "^2.1.1", + "bare-path": "^2.1.0" } }, "node_modules/tar-fs/node_modules/tar-stream": { - "version": "3.1.6", + "version": "3.1.7", "dev": true, "license": "MIT", "dependencies": { @@ -33935,23 +33143,8 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/terminal-link": { - "version": "2.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-escapes": "^4.2.1", - "supports-hyperlinks": "^2.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/terser": { - "version": "5.26.0", + "version": "5.28.1", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -33968,15 +33161,15 @@ } }, "node_modules/terser-webpack-plugin": { - "version": "5.3.9", + "version": "5.3.10", "dev": true, "license": "MIT", "dependencies": { - "@jridgewell/trace-mapping": "^0.3.17", + "@jridgewell/trace-mapping": "^0.3.20", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", "serialize-javascript": "^6.0.1", - "terser": "^5.16.8" + "terser": "^5.26.0" }, "engines": { "node": ">= 10.13.0" @@ -34028,7 +33221,7 @@ } }, "node_modules/terser/node_modules/acorn": { - "version": "8.11.2", + "version": "8.11.3", "dev": true, "license": "MIT", "bin": { @@ -34134,7 +33327,7 @@ } }, "node_modules/tiny-invariant": { - "version": "1.3.1", + "version": "1.3.2", "dev": true, "license": "MIT" }, @@ -34189,7 +33382,7 @@ } }, "node_modules/tocbot": { - "version": "4.23.0", + "version": "4.25.0", "dev": true, "license": "MIT" }, @@ -34276,7 +33469,7 @@ } }, "node_modules/trough": { - "version": "2.1.0", + "version": "2.2.0", "license": "MIT", "funding": { "type": "github", @@ -34297,7 +33490,7 @@ "license": "Apache-2.0" }, "node_modules/ts-jest": { - "version": "29.1.1", + "version": "29.1.2", "dev": true, "license": "MIT", "dependencies": { @@ -34314,7 +33507,7 @@ "ts-jest": "cli.js" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^16.10.0 || ^18.0.0 || >=20.0.0" }, "peerDependencies": { "@babel/core": ">=7.0.0-beta.0 <8", @@ -34494,27 +33687,28 @@ } }, "node_modules/turbo": { - "version": "1.11.1", + "version": "1.12.4", "dev": true, "license": "MPL-2.0", "bin": { "turbo": "bin/turbo" }, "optionalDependencies": { - "turbo-darwin-64": "1.11.1", - "turbo-darwin-arm64": "1.11.1", - "turbo-linux-64": "1.11.1", - "turbo-linux-arm64": "1.11.1", - "turbo-windows-64": "1.11.1", - "turbo-windows-arm64": "1.11.1" + "turbo-darwin-64": "1.12.4", + "turbo-darwin-arm64": "1.12.4", + "turbo-linux-64": "1.12.4", + "turbo-linux-arm64": "1.12.4", + "turbo-windows-64": "1.12.4", + "turbo-windows-arm64": "1.12.4" } }, "node_modules/turbo-darwin-64": { "version": "1.11.1", + "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-1.11.1.tgz", + "integrity": "sha512-JmwL8kcfxncDf2SZFioSa6dUvpMq/HbMcurh9mGm6BxWLQoB0d3fP/q3HizgCSbOE4ihScXoQ+c/C2xhl6Ngjg==", "cpu": [ "x64" ], - "license": "MPL-2.0", "optional": true, "os": [ "darwin" @@ -34522,11 +33716,10 @@ }, "node_modules/turbo-darwin-arm64": { "version": "1.11.1", - "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-1.11.1.tgz", - "integrity": "sha512-lIpT7nPkU0xmpkI8VOGQcgoQKmUATRMpRhTDclz6j/Px7Qtxjc+2PitKHKfR3aCnseoRMGkgMzPEJTPUwCpnlQ==", "cpu": [ "arm64" ], + "license": "MPL-2.0", "optional": true, "os": [ "darwin" @@ -34580,6 +33773,83 @@ "win32" ] }, + "node_modules/turbo/node_modules/turbo-darwin-64": { + "version": "1.12.4", + "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-1.12.4.tgz", + "integrity": "sha512-dBwFxhp9isTa9RS/fz2gDVk5wWhKQsPQMozYhjM7TT4jTrnYn0ZJMzr7V3B/M/T8QF65TbniW7w1gtgxQgX5Zg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/turbo/node_modules/turbo-darwin-arm64": { + "version": "1.12.4", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/turbo/node_modules/turbo-linux-64": { + "version": "1.12.4", + "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-1.12.4.tgz", + "integrity": "sha512-ONg2aSqKP7LAQOg7ysmU5WpEQp4DGNxSlAiR7um+LKtbmC/UxogbR5+T+Uuq6zGuQ5kJyKjWJ4NhtvUswOqBsA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/turbo/node_modules/turbo-linux-arm64": { + "version": "1.12.4", + "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-1.12.4.tgz", + "integrity": "sha512-9FPufkwdgfIKg/9jj87Cdtftw8o36y27/S2vLN7FTR2pp9c0MQiTBOLVYadUr1FlShupddmaMbTkXEhyt9SdrA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/turbo/node_modules/turbo-windows-64": { + "version": "1.12.4", + "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-1.12.4.tgz", + "integrity": "sha512-2mOtxHW5Vjh/5rDVu/aFwsMzI+chs8XcEuJHlY1sYOpEymYTz+u6AXbnzRvwZFMrLKr7J7fQOGl+v96sLKbNdA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/turbo/node_modules/turbo-windows-arm64": { + "version": "1.12.4", + "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-1.12.4.tgz", + "integrity": "sha512-nOY5wae9qnxPOpT1fRuYO0ks6dTwpKMPV6++VkDkamFDLFHUDVM/9kmD2UTeh1yyrKnrZksbb9zmShhmfj1wog==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/tweetnacl": { "version": "0.14.5", "dev": true, @@ -34640,27 +33910,28 @@ } }, "node_modules/typed-array-buffer": { - "version": "1.0.0", + "version": "1.0.2", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1", - "is-typed-array": "^1.1.10" + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" }, "engines": { "node": ">= 0.4" } }, "node_modules/typed-array-byte-length": { - "version": "1.0.0", + "version": "1.0.1", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", + "call-bind": "^1.0.7", "for-each": "^0.3.3", - "has-proto": "^1.0.1", - "is-typed-array": "^1.1.10" + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" }, "engines": { "node": ">= 0.4" @@ -34670,15 +33941,16 @@ } }, "node_modules/typed-array-byte-offset": { - "version": "1.0.0", + "version": "1.0.2", "dev": true, "license": "MIT", "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", "for-each": "^0.3.3", - "has-proto": "^1.0.1", - "is-typed-array": "^1.1.10" + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" }, "engines": { "node": ">= 0.4" @@ -34688,13 +33960,19 @@ } }, "node_modules/typed-array-length": { - "version": "1.0.4", + "version": "1.0.5", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", + "call-bind": "^1.0.7", "for-each": "^0.3.3", - "is-typed-array": "^1.1.9" + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -34724,6 +34002,11 @@ "node": ">=4.2.0" } }, + "node_modules/ufo": { + "version": "1.4.0", + "dev": true, + "license": "MIT" + }, "node_modules/uglify-js": { "version": "3.17.4", "dev": true, @@ -34975,18 +34258,18 @@ } }, "node_modules/unplugin": { - "version": "1.5.1", + "version": "1.7.1", "dev": true, "license": "MIT", "dependencies": { - "acorn": "^8.11.2", + "acorn": "^8.11.3", "chokidar": "^3.5.3", "webpack-sources": "^3.2.3", - "webpack-virtual-modules": "^0.6.0" + "webpack-virtual-modules": "^0.6.1" } }, "node_modules/unplugin/node_modules/acorn": { - "version": "8.11.2", + "version": "8.11.3", "dev": true, "license": "MIT", "bin": { @@ -35174,7 +34457,7 @@ "license": "MIT" }, "node_modules/use-callback-ref": { - "version": "1.3.0", + "version": "1.3.1", "license": "MIT", "dependencies": { "tslib": "^2.0.0" @@ -35407,7 +34690,7 @@ } }, "node_modules/vite": { - "version": "4.5.1", + "version": "4.5.2", "dev": true, "license": "MIT", "dependencies": { @@ -35565,11 +34848,11 @@ } }, "node_modules/wait-on/node_modules/axios": { - "version": "1.6.2", + "version": "1.6.7", "dev": true, "license": "MIT", "dependencies": { - "follow-redirects": "^1.15.0", + "follow-redirects": "^1.15.4", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -35712,18 +34995,18 @@ "license": "BSD-2-Clause" }, "node_modules/webpack": { - "version": "5.89.0", + "version": "5.90.3", "dev": true, "license": "MIT", "dependencies": { "@types/eslint-scope": "^3.7.3", - "@types/estree": "^1.0.0", + "@types/estree": "^1.0.5", "@webassemblyjs/ast": "^1.11.5", "@webassemblyjs/wasm-edit": "^1.11.5", "@webassemblyjs/wasm-parser": "^1.11.5", "acorn": "^8.7.1", "acorn-import-assertions": "^1.9.0", - "browserslist": "^4.14.5", + "browserslist": "^4.21.10", "chrome-trace-event": "^1.0.2", "enhanced-resolve": "^5.15.0", "es-module-lexer": "^1.2.1", @@ -35737,7 +35020,7 @@ "neo-async": "^2.6.2", "schema-utils": "^3.2.0", "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.3.7", + "terser-webpack-plugin": "^5.3.10", "watchpack": "^2.4.0", "webpack-sources": "^3.2.3" }, @@ -35780,7 +35063,7 @@ } }, "node_modules/webpack-bundle-analyzer/node_modules/acorn": { - "version": "8.11.2", + "version": "8.11.3", "dev": true, "license": "MIT", "bin": { @@ -35791,7 +35074,7 @@ } }, "node_modules/webpack-bundle-analyzer/node_modules/acorn-walk": { - "version": "8.3.1", + "version": "8.3.2", "dev": true, "license": "MIT", "engines": { @@ -35883,7 +35166,7 @@ } }, "node_modules/webpack-hot-middleware": { - "version": "2.25.4", + "version": "2.26.1", "dev": true, "license": "MIT", "dependencies": { @@ -35911,7 +35194,7 @@ "license": "MIT" }, "node_modules/webpack/node_modules/acorn": { - "version": "8.11.2", + "version": "8.11.3", "dev": true, "license": "MIT", "bin": { @@ -36037,15 +35320,15 @@ "license": "ISC" }, "node_modules/which-typed-array": { - "version": "1.1.13", + "version": "1.1.14", "dev": true, "license": "MIT", "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.4", + "available-typed-arrays": "^1.0.6", + "call-bind": "^1.0.5", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" + "has-tostringtag": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -36102,7 +35385,7 @@ } }, "node_modules/winston-transport": { - "version": "4.6.0", + "version": "4.7.0", "dev": true, "license": "MIT", "dependencies": { @@ -36497,336 +35780,21 @@ "url": "https://github.com/sponsors/wooorm" } }, - "packages/kit": { - "name": "@washingtonpost/wpds-ui-kit-next", - "version": "2.0.0", - "license": "MIT", - "dependencies": { - "@radix-ui/react-accordion": "^1.1.2", - "@stitches/react": "^1.2.8", - "@washingtonpost/wpds-assets": "^1.18.0", - "@washingtonpost/wpds-theme": "^1.17.0" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "react": "^16.8.6 || ^17.0.2 || ^18", - "react-dom": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/accordion": { - "name": "@washingtonpost/wpds-accordion", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@radix-ui/react-accordion": "^1.1.2", - "@washingtonpost/wpds-assets": "^1.18.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-assets": "^1.18.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/action-menu": { - "name": "@washingtonpost/wpds-action-menu", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@radix-ui/react-dropdown-menu": "2.0.3", - "@washingtonpost/wpds-assets": "^1.20.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-divider": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0" - }, - "devDependencies": { - "@types/node": "^20.4.2", - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-assets": "^1.20.0", - "@washingtonpost/wpds-button": "^1.7.0", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/action-menu/node_modules/@types/node": { - "version": "20.10.4", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "ui/alert-banner": { - "name": "@washingtonpost/wpds-alert-banner", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@washingtonpost/wpds-app-bar": "1.17.0", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-container": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-app-bar": "*", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "*", - "@washingtonpost/wpds-container": "*", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/app-bar": { - "name": "@washingtonpost/wpds-app-bar", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/avatar": { - "name": "@washingtonpost/wpds-avatar", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@radix-ui/react-avatar": "latest", - "@washingtonpost/wpds-theme": "1.17.0" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@radix-ui/react-avatar": "latest", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/box": { - "name": "@washingtonpost/wpds-box", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/button": { - "name": "@washingtonpost/wpds-button", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/card": { - "name": "@washingtonpost/wpds-card", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/carousel": { - "name": "@washingtonpost/wpds-carousel", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@radix-ui/react-slot": "^1.0.0", - "@radix-ui/react-use-controllable-state": "^1.0.0", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-pagination-dots": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "react-swipeable": "^7.0.0" - }, - "devDependencies": { - "tsup": "^5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "*", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-pagination-dots": "*", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/checkbox": { - "name": "@washingtonpost/wpds-checkbox", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@radix-ui/react-checkbox": "^1.0.0", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-input-label": "1.17.0", - "@washingtonpost/wpds-input-shared": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "@washingtonpost/wpds-visually-hidden": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@radix-ui/react-checkbox": "^1.0.0", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-input-label": "*", - "@washingtonpost/wpds-input-shared": "*", - "@washingtonpost/wpds-theme": "*", - "@washingtonpost/wpds-visually-hidden": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/container": { - "name": "@washingtonpost/wpds-container", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/divider": { - "name": "@washingtonpost/wpds-divider", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@radix-ui/react-separator": "^1.0.0", - "@washingtonpost/wpds-theme": "1.17.0" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/drawer": { - "name": "@washingtonpost/wpds-drawer", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@radix-ui/react-focus-scope": "^1.0.0", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-scrim": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "react-transition-group": "^4.4.5" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "*", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-scrim": "*", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/error-message": { - "name": "@washingtonpost/wpds-error-message", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/eslint-plugin": { + "packages/eslint-plugin": { "name": "@washingtonpost/eslint-plugin-wpds", "version": "1.17.0", "license": "MIT", "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" + "@washingtonpost/wpds-ui-kit": "1.17.0" }, "devDependencies": { "jest": "^28.1.0" }, "peerDependencies": { - "@washingtonpost/wpds-theme": "*" + "@washingtonpost/wpds-ui-kit": "*" } }, - "ui/eslint-plugin/node_modules/@jest/console": { + "packages/eslint-plugin/node_modules/@jest/console": { "version": "28.1.3", "dev": true, "license": "MIT", @@ -36842,7 +35810,7 @@ "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/@jest/core": { + "packages/eslint-plugin/node_modules/@jest/core": { "version": "28.1.3", "dev": true, "license": "MIT", @@ -36889,7 +35857,7 @@ } } }, - "ui/eslint-plugin/node_modules/@jest/environment": { + "packages/eslint-plugin/node_modules/@jest/environment": { "version": "28.1.3", "dev": true, "license": "MIT", @@ -36903,7 +35871,7 @@ "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/@jest/expect": { + "packages/eslint-plugin/node_modules/@jest/expect": { "version": "28.1.3", "dev": true, "license": "MIT", @@ -36915,7 +35883,18 @@ "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/@jest/fake-timers": { + "packages/eslint-plugin/node_modules/@jest/expect-utils": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-get-type": "^28.0.2" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/@jest/fake-timers": { "version": "28.1.3", "dev": true, "license": "MIT", @@ -36931,7 +35910,7 @@ "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/@jest/globals": { + "packages/eslint-plugin/node_modules/@jest/globals": { "version": "28.1.3", "dev": true, "license": "MIT", @@ -36944,7 +35923,7 @@ "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/@jest/reporters": { + "packages/eslint-plugin/node_modules/@jest/reporters": { "version": "28.1.3", "dev": true, "license": "MIT", @@ -36987,7 +35966,7 @@ } } }, - "ui/eslint-plugin/node_modules/@jest/schemas": { + "packages/eslint-plugin/node_modules/@jest/schemas": { "version": "28.1.3", "dev": true, "license": "MIT", @@ -36998,7 +35977,7 @@ "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/@jest/source-map": { + "packages/eslint-plugin/node_modules/@jest/source-map": { "version": "28.1.2", "dev": true, "license": "MIT", @@ -37011,7 +35990,7 @@ "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/@jest/test-result": { + "packages/eslint-plugin/node_modules/@jest/test-result": { "version": "28.1.3", "dev": true, "license": "MIT", @@ -37025,7 +36004,7 @@ "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/@jest/test-sequencer": { + "packages/eslint-plugin/node_modules/@jest/test-sequencer": { "version": "28.1.3", "dev": true, "license": "MIT", @@ -37039,7 +36018,7 @@ "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/@jest/transform": { + "packages/eslint-plugin/node_modules/@jest/transform": { "version": "28.1.3", "dev": true, "license": "MIT", @@ -37064,7 +36043,7 @@ "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/@jest/types": { + "packages/eslint-plugin/node_modules/@jest/types": { "version": "28.1.3", "dev": true, "license": "MIT", @@ -37080,12 +36059,12 @@ "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/@sinclair/typebox": { + "packages/eslint-plugin/node_modules/@sinclair/typebox": { "version": "0.24.51", "dev": true, "license": "MIT" }, - "ui/eslint-plugin/node_modules/@sinonjs/commons": { + "packages/eslint-plugin/node_modules/@sinonjs/commons": { "version": "1.8.6", "dev": true, "license": "BSD-3-Clause", @@ -37093,7 +36072,7 @@ "type-detect": "4.0.8" } }, - "ui/eslint-plugin/node_modules/@sinonjs/fake-timers": { + "packages/eslint-plugin/node_modules/@sinonjs/fake-timers": { "version": "9.1.2", "dev": true, "license": "BSD-3-Clause", @@ -37101,673 +36080,2298 @@ "@sinonjs/commons": "^1.7.0" } }, - "ui/eslint-plugin/node_modules/ansi-styles": { - "version": "5.2.0", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-accordion": { + "version": "1.17.0", "license": "MIT", - "engines": { - "node": ">=10" + "dependencies": { + "@radix-ui/react-accordion": "^1.1.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0" }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.18.0", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/babel-jest": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-action-menu": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "@jest/transform": "^28.1.3", - "@types/babel__core": "^7.1.14", - "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^28.1.3", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "slash": "^3.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "@radix-ui/react-dropdown-menu": "2.0.3", + "@washingtonpost/wpds-assets": "^1.20.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-divider": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0" }, "peerDependencies": { - "@babel/core": "^7.8.0" + "@washingtonpost/wpds-assets": "^1.20.0", + "@washingtonpost/wpds-button": "^1.7.0", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/babel-plugin-jest-hoist": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-alert-banner": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "@babel/template": "^7.3.3", - "@babel/types": "^7.3.3", - "@types/babel__core": "^7.1.14", - "@types/babel__traverse": "^7.0.6" + "@washingtonpost/wpds-app-bar": "1.17.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-container": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "peerDependencies": { + "@washingtonpost/wpds-app-bar": "*", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-container": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/babel-preset-jest": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-app-bar": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "babel-plugin-jest-hoist": "^28.1.3", - "babel-preset-current-node-syntax": "^1.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/camelcase": { - "version": "6.3.0", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-avatar": { + "version": "1.17.0", "license": "MIT", - "engines": { - "node": ">=10" + "dependencies": { + "@radix-ui/react-avatar": "latest", + "@washingtonpost/wpds-theme": "1.17.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "@radix-ui/react-avatar": "latest", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/ci-info": { - "version": "3.9.0", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/sibiraj-s" - } - ], + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-box": { + "version": "1.17.0", "license": "MIT", - "engines": { - "node": ">=8" + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/convert-source-map": { - "version": "1.9.0", - "dev": true, - "license": "MIT" - }, - "ui/eslint-plugin/node_modules/emittery": { - "version": "0.10.2", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-button": { + "version": "1.17.0", "license": "MIT", - "engines": { - "node": ">=12" + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" }, - "funding": { - "url": "https://github.com/sindresorhus/emittery?sponsor=1" + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-card": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "@jest/core": "^28.1.3", - "@jest/types": "^28.1.3", - "import-local": "^3.0.2", - "jest-cli": "^28.1.3" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "@washingtonpost/wpds-theme": "1.17.0" }, "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-changed-files": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-carousel": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "execa": "^5.0.0", - "p-limit": "^3.1.0" + "@radix-ui/react-slot": "^1.0.0", + "@radix-ui/react-use-controllable-state": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-pagination-dots": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "nanoid": "^3.3.4", + "react-swipeable": "^7.0.0" }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-pagination-dots": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-circus": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-checkbox": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "@jest/environment": "^28.1.3", - "@jest/expect": "^28.1.3", - "@jest/test-result": "^28.1.3", - "@jest/types": "^28.1.3", - "@types/node": "*", - "chalk": "^4.0.0", - "co": "^4.6.0", - "dedent": "^0.7.0", - "is-generator-fn": "^2.0.0", - "jest-each": "^28.1.3", - "jest-matcher-utils": "^28.1.3", - "jest-message-util": "^28.1.3", - "jest-runtime": "^28.1.3", - "jest-snapshot": "^28.1.3", - "jest-util": "^28.1.3", - "p-limit": "^3.1.0", - "pretty-format": "^28.1.3", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" + "@radix-ui/react-checkbox": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-input-shared": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "@washingtonpost/wpds-visually-hidden": "1.17.0", + "react": "^16.8.6 || ^17.0.2" }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "peerDependencies": { + "@radix-ui/react-checkbox": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-visually-hidden": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-cli": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-container": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "@jest/core": "^28.1.3", - "@jest/test-result": "^28.1.3", - "@jest/types": "^28.1.3", - "chalk": "^4.0.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "import-local": "^3.0.2", - "jest-config": "^28.1.3", - "jest-util": "^28.1.3", - "jest-validate": "^28.1.3", - "prompts": "^2.0.1", - "yargs": "^17.3.1" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" }, "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-config": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-divider": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^28.1.3", - "@jest/types": "^28.1.3", - "babel-jest": "^28.1.3", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-circus": "^28.1.3", - "jest-environment-node": "^28.1.3", - "jest-get-type": "^28.0.2", - "jest-regex-util": "^28.0.2", - "jest-resolve": "^28.1.3", - "jest-runner": "^28.1.3", - "jest-util": "^28.1.3", - "jest-validate": "^28.1.3", - "micromatch": "^4.0.4", - "parse-json": "^5.2.0", - "pretty-format": "^28.1.3", - "slash": "^3.0.0", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "@radix-ui/react-separator": "^1.0.0", + "@washingtonpost/wpds-theme": "1.17.0" }, "peerDependencies": { - "@types/node": "*", - "ts-node": ">=9.0.0" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "ts-node": { - "optional": true - } + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-docblock": { - "version": "28.1.1", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-drawer": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "detect-newline": "^3.0.0" + "@radix-ui/react-focus-scope": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-scrim": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "react-transition-group": "^4.4.5" }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-scrim": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-each": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-error-message": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "@jest/types": "^28.1.3", - "chalk": "^4.0.0", - "jest-get-type": "^28.0.2", - "jest-util": "^28.1.3", - "pretty-format": "^28.1.3" + "@washingtonpost/wpds-theme": "1.17.0" }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-environment-node": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-fieldset": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "@jest/environment": "^28.1.3", - "@jest/fake-timers": "^28.1.3", - "@jest/types": "^28.1.3", - "@types/node": "*", - "jest-mock": "^28.1.3", - "jest-util": "^28.1.3" + "@washingtonpost/wpds-theme": "1.17.0" }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-haste-map": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-helper-text": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "@jest/types": "^28.1.3", - "@types/graceful-fs": "^4.1.3", - "@types/node": "*", - "anymatch": "^3.0.3", - "fb-watchman": "^2.0.0", - "graceful-fs": "^4.2.9", - "jest-regex-util": "^28.0.2", - "jest-util": "^28.1.3", - "jest-worker": "^28.1.3", - "micromatch": "^4.0.4", - "walker": "^1.0.8" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "@washingtonpost/wpds-theme": "1.17.0" }, - "optionalDependencies": { - "fsevents": "^2.3.2" + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-leak-detector": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-icon": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "jest-get-type": "^28.0.2", - "pretty-format": "^28.1.3" + "@washingtonpost/wpds-theme": "1.17.0", + "@washingtonpost/wpds-visually-hidden": "1.17.0", + "react": "^16.8.6 || ^17.0.2" }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-visually-hidden": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-mock": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-input-label": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "@jest/types": "^28.1.3", - "@types/node": "*" + "@radix-ui/react-label": "^1.0.0", + "@washingtonpost/wpds-input-shared": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0" }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "peerDependencies": { + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-regex-util": { - "version": "28.0.2", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-input-password": { + "version": "1.17.0", "license": "MIT", - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "dependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-input-text": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-text": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-resolve": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-input-search": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^28.1.3", - "jest-pnp-resolver": "^1.2.2", - "jest-util": "^28.1.3", - "jest-validate": "^28.1.3", - "resolve": "^1.20.0", - "resolve.exports": "^1.1.0", - "slash": "^3.0.0" + "@reach/combobox": "^0.18.0", + "@reach/popover": "^0.18.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-input-text": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "match-sorter": "6.3.1" }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.18.0", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-text": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-resolve-dependencies": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-input-shared": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "jest-regex-util": "^28.0.2", - "jest-snapshot": "^28.1.3" + "@washingtonpost/wpds-theme": "1.17.0" }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-runner": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-input-text": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "@jest/console": "^28.1.3", - "@jest/environment": "^28.1.3", - "@jest/test-result": "^28.1.3", - "@jest/transform": "^28.1.3", - "@jest/types": "^28.1.3", - "@types/node": "*", - "chalk": "^4.0.0", - "emittery": "^0.10.2", - "graceful-fs": "^4.2.9", - "jest-docblock": "^28.1.1", - "jest-environment-node": "^28.1.3", - "jest-haste-map": "^28.1.3", - "jest-leak-detector": "^28.1.3", - "jest-message-util": "^28.1.3", - "jest-resolve": "^28.1.3", - "jest-runtime": "^28.1.3", - "jest-util": "^28.1.3", - "jest-watcher": "^28.1.3", - "jest-worker": "^28.1.3", - "p-limit": "^3.1.0", - "source-map-support": "0.5.13" + "@radix-ui/react-label": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-error-message": "1.17.0", + "@washingtonpost/wpds-helper-text": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-input-shared": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "@washingtonpost/wpds-visually-hidden": "1.17.0", + "nanoid": "^3.3.4" }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-divider": "*", + "@washingtonpost/wpds-error-message": "*", + "@washingtonpost/wpds-helper-text": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-visually-hidden": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/eslint-plugin/node_modules/jest-runtime": { - "version": "28.1.3", - "dev": true, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-input-textarea": { + "version": "1.17.0", "license": "MIT", "dependencies": { - "@jest/environment": "^28.1.3", - "@jest/fake-timers": "^28.1.3", - "@jest/globals": "^28.1.3", - "@jest/source-map": "^28.1.2", - "@jest/test-result": "^28.1.3", - "@jest/transform": "^28.1.3", - "@jest/types": "^28.1.3", - "chalk": "^4.0.0", - "cjs-module-lexer": "^1.0.0", - "collect-v8-coverage": "^1.0.0", - "execa": "^5.0.0", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^28.1.3", - "jest-message-util": "^28.1.3", - "jest-mock": "^28.1.3", - "jest-regex-util": "^28.0.2", - "jest-resolve": "^28.1.3", - "jest-snapshot": "^28.1.3", - "jest-util": "^28.1.3", - "slash": "^3.0.0", - "strip-bom": "^4.0.0" + "@washingtonpost/wpds-error-message": "1.17.0", + "@washingtonpost/wpds-helper-text": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-input-shared": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "nanoid": "^3.3.4", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-error-message": "*", + "@washingtonpost/wpds-helper-text": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-navigation-menu": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@popperjs/core": "^2.11.7", + "@radix-ui/react-navigation-menu": "^1.1.2", + "@washingtonpost/wpds-theme": "1.17.0", + "popper-max-size-modifier": "^0.2.0", + "react-popper": "^2.3.0", + "react-transition-group": "^4.4.5" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-pagination-dots": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-popover": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-popover": "^1.0.2", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "^1.18.0", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-radio-group": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-radio-group": "^1.0.0", + "@washingtonpost/wpds-error-message": "1.17.0", + "@washingtonpost/wpds-fieldset": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "nanoid": "^3.3.3" + }, + "peerDependencies": { + "@washingtonpost/wpds-error-message": "*", + "@washingtonpost/wpds-fieldset": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-scrim": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-dialog": "^1.0.0", + "@washingtonpost/wpds-theme": "1.17.0", + "react-transition-group": "^4.4.5" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "^0.25.0", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-select": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-select": "^1.2.2", + "@radix-ui/react-use-controllable-state": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-divider": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-input-shared": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "nanoid": "^3.3.4" + }, + "peerDependencies": { + "@radix-ui/react-select": "^1.2.2", + "@radix-ui/react-use-controllable-state": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-divider": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-switch": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-switch": "^1.0.1", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-tabs": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "^1.0.2", + "@radix-ui/react-tabs": "latest", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.1.0", + "@washingtonpost/wpds-theme": "1.17.0", + "@washingtonpost/wpds-tooltip": "1.17.0", + "react-transition-group": "^4.4.5" + }, + "peerDependencies": { + "@radix-ui/react-tabs": "latest", + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-tooltip": "*", + "react": "^16.8.6 || ^17.0.2", + "react-transition-group": "^4.4.5" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-icon": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.1.0", + "@washingtonpost/wpds-visually-hidden": "1.1.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-visually-hidden": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-icon/node_modules/@washingtonpost/wpds-theme": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "@stitches/react": "^1.2.8" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-visually-hidden": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.1.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-visually-hidden/node_modules/@washingtonpost/wpds-theme": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "@stitches/react": "^1.2.8" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-theme": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@stitches/react": "^1.2.8" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-tooltip": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-tooltip": "^1.0.0", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@radix-ui/react-tooltip": "^1.0.0", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-ui-kit": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/eslint-plugin-wpds": "1.17.0", + "@washingtonpost/wpds-accordion": "1.17.0", + "@washingtonpost/wpds-action-menu": "1.17.0", + "@washingtonpost/wpds-alert-banner": "1.17.0", + "@washingtonpost/wpds-app-bar": "1.17.0", + "@washingtonpost/wpds-avatar": "1.17.0", + "@washingtonpost/wpds-box": "1.17.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-card": "1.17.0", + "@washingtonpost/wpds-carousel": "1.17.0", + "@washingtonpost/wpds-checkbox": "1.17.0", + "@washingtonpost/wpds-container": "1.17.0", + "@washingtonpost/wpds-divider": "1.17.0", + "@washingtonpost/wpds-drawer": "1.17.0", + "@washingtonpost/wpds-error-message": "1.17.0", + "@washingtonpost/wpds-fieldset": "1.17.0", + "@washingtonpost/wpds-helper-text": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-input-password": "1.17.0", + "@washingtonpost/wpds-input-search": "1.17.0", + "@washingtonpost/wpds-input-shared": "1.17.0", + "@washingtonpost/wpds-input-text": "1.17.0", + "@washingtonpost/wpds-input-textarea": "1.17.0", + "@washingtonpost/wpds-navigation-menu": "1.17.0", + "@washingtonpost/wpds-pagination-dots": "1.17.0", + "@washingtonpost/wpds-popover": "1.17.0", + "@washingtonpost/wpds-radio-group": "1.17.0", + "@washingtonpost/wpds-scrim": "1.17.0", + "@washingtonpost/wpds-select": "1.17.0", + "@washingtonpost/wpds-switch": "1.17.0", + "@washingtonpost/wpds-tabs": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "@washingtonpost/wpds-tooltip": "1.17.0", + "@washingtonpost/wpds-visually-hidden": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/eslint-plugin-wpds": "*", + "@washingtonpost/wpds-accordion": "*", + "@washingtonpost/wpds-action-menu": "*", + "@washingtonpost/wpds-alert-banner": "*", + "@washingtonpost/wpds-app-bar": "*", + "@washingtonpost/wpds-avatar": "*", + "@washingtonpost/wpds-box": "*", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-card": "*", + "@washingtonpost/wpds-carousel": "*", + "@washingtonpost/wpds-checkbox": "*", + "@washingtonpost/wpds-container": "*", + "@washingtonpost/wpds-divider": "*", + "@washingtonpost/wpds-drawer": "*", + "@washingtonpost/wpds-error-message": "*", + "@washingtonpost/wpds-fieldset": "*", + "@washingtonpost/wpds-helper-text": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-password": "*", + "@washingtonpost/wpds-input-search": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-input-text": "*", + "@washingtonpost/wpds-input-textarea": "*", + "@washingtonpost/wpds-navigation-menu": "*", + "@washingtonpost/wpds-pagination-dots": "*", + "@washingtonpost/wpds-popover": "*", + "@washingtonpost/wpds-radio-group": "*", + "@washingtonpost/wpds-scrim": "*", + "@washingtonpost/wpds-select": "*", + "@washingtonpost/wpds-switch": "*", + "@washingtonpost/wpds-tabs": "*", + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-tooltip": "*", + "@washingtonpost/wpds-visually-hidden": "*" + } + }, + "packages/eslint-plugin/node_modules/@washingtonpost/wpds-visually-hidden": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/eslint-plugin/node_modules/ansi-styles": { + "version": "5.2.0", + "dev": true, + "license": "MIT", "engines": { - "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "ui/eslint-plugin/node_modules/jest-snapshot": { + "packages/eslint-plugin/node_modules/babel-jest": { "version": "28.1.3", "dev": true, "license": "MIT", "dependencies": { - "@babel/core": "^7.11.6", - "@babel/generator": "^7.7.2", - "@babel/plugin-syntax-typescript": "^7.7.2", - "@babel/traverse": "^7.7.2", - "@babel/types": "^7.3.3", - "@jest/expect-utils": "^28.1.3", "@jest/transform": "^28.1.3", - "@jest/types": "^28.1.3", - "@types/babel__traverse": "^7.0.6", - "@types/prettier": "^2.1.5", - "babel-preset-current-node-syntax": "^1.0.0", + "@types/babel__core": "^7.1.14", + "babel-plugin-istanbul": "^6.1.1", + "babel-preset-jest": "^28.1.3", "chalk": "^4.0.0", - "expect": "^28.1.3", "graceful-fs": "^4.2.9", - "jest-diff": "^28.1.3", - "jest-get-type": "^28.0.2", - "jest-haste-map": "^28.1.3", - "jest-matcher-utils": "^28.1.3", - "jest-message-util": "^28.1.3", - "jest-util": "^28.1.3", - "natural-compare": "^1.4.0", - "pretty-format": "^28.1.3", - "semver": "^7.3.5" + "slash": "^3.0.0" }, "engines": { "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.8.0" } }, - "ui/eslint-plugin/node_modules/jest-util": { + "packages/eslint-plugin/node_modules/babel-plugin-jest-hoist": { "version": "28.1.3", "dev": true, "license": "MIT", "dependencies": { - "@jest/types": "^28.1.3", - "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.1.14", + "@types/babel__traverse": "^7.0.6" }, "engines": { "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/jest-validate": { + "packages/eslint-plugin/node_modules/babel-preset-jest": { "version": "28.1.3", "dev": true, "license": "MIT", "dependencies": { - "@jest/types": "^28.1.3", - "camelcase": "^6.2.0", - "chalk": "^4.0.0", - "jest-get-type": "^28.0.2", - "leven": "^3.1.0", - "pretty-format": "^28.1.3" + "babel-plugin-jest-hoist": "^28.1.3", + "babel-preset-current-node-syntax": "^1.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "packages/eslint-plugin/node_modules/camelcase": { + "version": "6.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/eslint-plugin/node_modules/ci-info": { + "version": "3.9.0", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/eslint-plugin/node_modules/convert-source-map": { + "version": "1.9.0", + "dev": true, + "license": "MIT" + }, + "packages/eslint-plugin/node_modules/diff-sequences": { + "version": "28.1.1", + "dev": true, + "license": "MIT", "engines": { "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/jest-watcher": { + "packages/eslint-plugin/node_modules/emittery": { + "version": "0.10.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "packages/eslint-plugin/node_modules/expect": { "version": "28.1.3", "dev": true, "license": "MIT", "dependencies": { - "@jest/test-result": "^28.1.3", - "@jest/types": "^28.1.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "emittery": "^0.10.2", - "jest-util": "^28.1.3", - "string-length": "^4.0.1" + "@jest/expect-utils": "^28.1.3", + "jest-get-type": "^28.0.2", + "jest-matcher-utils": "^28.1.3", + "jest-message-util": "^28.1.3", + "jest-util": "^28.1.3" }, "engines": { "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/jest-worker": { + "packages/eslint-plugin/node_modules/jest": { "version": "28.1.3", "dev": true, "license": "MIT", "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" + "@jest/core": "^28.1.3", + "@jest/types": "^28.1.3", + "import-local": "^3.0.2", + "jest-cli": "^28.1.3" + }, + "bin": { + "jest": "bin/jest.js" }, "engines": { "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } } }, - "ui/eslint-plugin/node_modules/pretty-format": { + "packages/eslint-plugin/node_modules/jest-changed-files": { "version": "28.1.3", "dev": true, "license": "MIT", "dependencies": { - "@jest/schemas": "^28.1.3", - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" + "execa": "^5.0.0", + "p-limit": "^3.1.0" }, "engines": { "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" } }, - "ui/eslint-plugin/node_modules/react-is": { - "version": "18.2.0", + "packages/eslint-plugin/node_modules/jest-circus": { + "version": "28.1.3", "dev": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "@jest/environment": "^28.1.3", + "@jest/expect": "^28.1.3", + "@jest/test-result": "^28.1.3", + "@jest/types": "^28.1.3", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "dedent": "^0.7.0", + "is-generator-fn": "^2.0.0", + "jest-each": "^28.1.3", + "jest-matcher-utils": "^28.1.3", + "jest-message-util": "^28.1.3", + "jest-runtime": "^28.1.3", + "jest-snapshot": "^28.1.3", + "jest-util": "^28.1.3", + "p-limit": "^3.1.0", + "pretty-format": "^28.1.3", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } }, - "ui/eslint-plugin/node_modules/resolve.exports": { - "version": "1.1.1", + "packages/eslint-plugin/node_modules/jest-cli": { + "version": "28.1.3", "dev": true, "license": "MIT", + "dependencies": { + "@jest/core": "^28.1.3", + "@jest/test-result": "^28.1.3", + "@jest/types": "^28.1.3", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "import-local": "^3.0.2", + "jest-config": "^28.1.3", + "jest-util": "^28.1.3", + "jest-validate": "^28.1.3", + "prompts": "^2.0.1", + "yargs": "^17.3.1" + }, + "bin": { + "jest": "bin/jest.js" + }, "engines": { - "node": ">=10" + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } } }, - "ui/eslint-plugin/node_modules/supports-color": { - "version": "8.1.1", + "packages/eslint-plugin/node_modules/jest-config": { + "version": "28.1.3", "dev": true, "license": "MIT", "dependencies": { - "has-flag": "^4.0.0" + "@babel/core": "^7.11.6", + "@jest/test-sequencer": "^28.1.3", + "@jest/types": "^28.1.3", + "babel-jest": "^28.1.3", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-circus": "^28.1.3", + "jest-environment-node": "^28.1.3", + "jest-get-type": "^28.0.2", + "jest-regex-util": "^28.0.2", + "jest-resolve": "^28.1.3", + "jest-runner": "^28.1.3", + "jest-util": "^28.1.3", + "jest-validate": "^28.1.3", + "micromatch": "^4.0.4", + "parse-json": "^5.2.0", + "pretty-format": "^28.1.3", + "slash": "^3.0.0", + "strip-json-comments": "^3.1.1" }, "engines": { - "node": ">=10" + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + }, + "peerDependencies": { + "@types/node": "*", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "packages/eslint-plugin/node_modules/jest-diff": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^28.1.1", + "jest-get-type": "^28.0.2", + "pretty-format": "^28.1.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-docblock": { + "version": "28.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "detect-newline": "^3.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-each": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^28.1.3", + "chalk": "^4.0.0", + "jest-get-type": "^28.0.2", + "jest-util": "^28.1.3", + "pretty-format": "^28.1.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-environment-node": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^28.1.3", + "@jest/fake-timers": "^28.1.3", + "@jest/types": "^28.1.3", + "@types/node": "*", + "jest-mock": "^28.1.3", + "jest-util": "^28.1.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-get-type": { + "version": "28.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-haste-map": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^28.1.3", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^28.0.2", + "jest-util": "^28.1.3", + "jest-worker": "^28.1.3", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + } + }, + "packages/eslint-plugin/node_modules/jest-leak-detector": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-get-type": "^28.0.2", + "pretty-format": "^28.1.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-matcher-utils": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^28.1.3", + "jest-get-type": "^28.0.2", + "pretty-format": "^28.1.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-message-util": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^28.1.3", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^28.1.3", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-mock": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^28.1.3", + "@types/node": "*" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-regex-util": { + "version": "28.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-resolve": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^28.1.3", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^28.1.3", + "jest-validate": "^28.1.3", + "resolve": "^1.20.0", + "resolve.exports": "^1.1.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-resolve-dependencies": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-regex-util": "^28.0.2", + "jest-snapshot": "^28.1.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-runner": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "^28.1.3", + "@jest/environment": "^28.1.3", + "@jest/test-result": "^28.1.3", + "@jest/transform": "^28.1.3", + "@jest/types": "^28.1.3", + "@types/node": "*", + "chalk": "^4.0.0", + "emittery": "^0.10.2", + "graceful-fs": "^4.2.9", + "jest-docblock": "^28.1.1", + "jest-environment-node": "^28.1.3", + "jest-haste-map": "^28.1.3", + "jest-leak-detector": "^28.1.3", + "jest-message-util": "^28.1.3", + "jest-resolve": "^28.1.3", + "jest-runtime": "^28.1.3", + "jest-util": "^28.1.3", + "jest-watcher": "^28.1.3", + "jest-worker": "^28.1.3", + "p-limit": "^3.1.0", + "source-map-support": "0.5.13" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-runtime": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^28.1.3", + "@jest/fake-timers": "^28.1.3", + "@jest/globals": "^28.1.3", + "@jest/source-map": "^28.1.2", + "@jest/test-result": "^28.1.3", + "@jest/transform": "^28.1.3", + "@jest/types": "^28.1.3", + "chalk": "^4.0.0", + "cjs-module-lexer": "^1.0.0", + "collect-v8-coverage": "^1.0.0", + "execa": "^5.0.0", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^28.1.3", + "jest-message-util": "^28.1.3", + "jest-mock": "^28.1.3", + "jest-regex-util": "^28.0.2", + "jest-resolve": "^28.1.3", + "jest-snapshot": "^28.1.3", + "jest-util": "^28.1.3", + "slash": "^3.0.0", + "strip-bom": "^4.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-snapshot": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@babel/generator": "^7.7.2", + "@babel/plugin-syntax-typescript": "^7.7.2", + "@babel/traverse": "^7.7.2", + "@babel/types": "^7.3.3", + "@jest/expect-utils": "^28.1.3", + "@jest/transform": "^28.1.3", + "@jest/types": "^28.1.3", + "@types/babel__traverse": "^7.0.6", + "@types/prettier": "^2.1.5", + "babel-preset-current-node-syntax": "^1.0.0", + "chalk": "^4.0.0", + "expect": "^28.1.3", + "graceful-fs": "^4.2.9", + "jest-diff": "^28.1.3", + "jest-get-type": "^28.0.2", + "jest-haste-map": "^28.1.3", + "jest-matcher-utils": "^28.1.3", + "jest-message-util": "^28.1.3", + "jest-util": "^28.1.3", + "natural-compare": "^1.4.0", + "pretty-format": "^28.1.3", + "semver": "^7.3.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-util": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^28.1.3", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-validate": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^28.1.3", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^28.0.2", + "leven": "^3.1.0", + "pretty-format": "^28.1.3" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-watcher": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/test-result": "^28.1.3", + "@jest/types": "^28.1.3", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "emittery": "^0.10.2", + "jest-util": "^28.1.3", + "string-length": "^4.0.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/jest-worker": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/pretty-format": { + "version": "28.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/schemas": "^28.1.3", + "ansi-regex": "^5.0.1", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0" + } + }, + "packages/eslint-plugin/node_modules/react-is": { + "version": "18.2.0", + "dev": true, + "license": "MIT" + }, + "packages/eslint-plugin/node_modules/resolve.exports": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "packages/eslint-plugin/node_modules/supports-color": { + "version": "8.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "packages/kit": { + "name": "@washingtonpost/wpds-ui-kit", + "version": "2.0.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-accordion": "^1.1.2", + "@radix-ui/react-avatar": "latest", + "@radix-ui/react-checkbox": "^1.0.0", + "@radix-ui/react-dialog": "^1.0.5", + "@radix-ui/react-dropdown-menu": "2.0.3", + "@radix-ui/react-focus-scope": "^1.0.0", + "@radix-ui/react-label": "^1.0.0", + "@radix-ui/react-popover": "^1.0.2", + "@radix-ui/react-primitive": "^1.0.2", + "@radix-ui/react-radio-group": "^1.0.0", + "@radix-ui/react-select": "^1.2.2", + "@radix-ui/react-separator": "^1.0.0", + "@radix-ui/react-slot": "^1.0.0", + "@radix-ui/react-tabs": "latest", + "@radix-ui/react-tooltip": "^1.0.0", + "@radix-ui/react-use-controllable-state": "^1.0.1", + "@reach/combobox": "^0.18.0", + "@reach/popover": "^0.18.0", + "@stitches/react": "^1.2.8", + "@washingtonpost/wpds-assets": "latest", + "match-sorter": "6.3.1", + "react": "^18", + "react-swipeable": "^7.0.0", + "react-transition-group": "^4.4.5" + }, + "devDependencies": { + "tsup": "5.11.13", + "typescript": "4.5.5" + }, + "peerDependencies": { + "react": "^18", + "react-dom": "^18" + } + }, + "packages/kitchen-sink": { + "name": "@washingtonpost/wpds-kitchen-sink", + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-assets": "latest", + "@washingtonpost/wpds-ui-kit": "1.17.0" + }, + "devDependencies": { + "tsup": "5.11.13", + "typescript": "4.5.5" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "latest", + "@washingtonpost/wpds-ui-kit": "*", + "react": "^18" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-accordion": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-accordion": "^1.1.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.18.0", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-action-menu": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-dropdown-menu": "2.0.3", + "@washingtonpost/wpds-assets": "^1.20.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-divider": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.20.0", + "@washingtonpost/wpds-button": "^1.7.0", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-alert-banner": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-app-bar": "1.17.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-container": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-app-bar": "*", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-container": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-app-bar": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-avatar": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-avatar": "latest", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@radix-ui/react-avatar": "latest", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-box": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-button": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-card": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-carousel": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "^1.0.0", + "@radix-ui/react-use-controllable-state": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-pagination-dots": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "nanoid": "^3.3.4", + "react-swipeable": "^7.0.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-pagination-dots": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-checkbox": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-checkbox": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-input-shared": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "@washingtonpost/wpds-visually-hidden": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@radix-ui/react-checkbox": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-visually-hidden": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-container": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-divider": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-separator": "^1.0.0", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-drawer": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-focus-scope": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-scrim": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "react-transition-group": "^4.4.5" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-scrim": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-error-message": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-fieldset": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-helper-text": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-icon": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0", + "@washingtonpost/wpds-visually-hidden": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-visually-hidden": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-input-label": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-label": "^1.0.0", + "@washingtonpost/wpds-input-shared": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-input-password": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-input-text": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-text": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-input-search": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@reach/combobox": "^0.18.0", + "@reach/popover": "^0.18.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-input-text": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "match-sorter": "6.3.1" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.18.0", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-text": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-input-shared": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-input-text": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-label": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-error-message": "1.17.0", + "@washingtonpost/wpds-helper-text": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-input-shared": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "@washingtonpost/wpds-visually-hidden": "1.17.0", + "nanoid": "^3.3.4" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-divider": "*", + "@washingtonpost/wpds-error-message": "*", + "@washingtonpost/wpds-helper-text": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-visually-hidden": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-input-textarea": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-error-message": "1.17.0", + "@washingtonpost/wpds-helper-text": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-input-shared": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "nanoid": "^3.3.4", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-error-message": "*", + "@washingtonpost/wpds-helper-text": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-navigation-menu": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@popperjs/core": "^2.11.7", + "@radix-ui/react-navigation-menu": "^1.1.2", + "@washingtonpost/wpds-theme": "1.17.0", + "popper-max-size-modifier": "^0.2.0", + "react-popper": "^2.3.0", + "react-transition-group": "^4.4.5" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-pagination-dots": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-popover": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-popover": "^1.0.2", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "^1.18.0", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-radio-group": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-radio-group": "^1.0.0", + "@washingtonpost/wpds-error-message": "1.17.0", + "@washingtonpost/wpds-fieldset": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "nanoid": "^3.3.3" + }, + "peerDependencies": { + "@washingtonpost/wpds-error-message": "*", + "@washingtonpost/wpds-fieldset": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-scrim": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-dialog": "^1.0.0", + "@washingtonpost/wpds-theme": "1.17.0", + "react-transition-group": "^4.4.5" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "^0.25.0", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-select": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-select": "^1.2.2", + "@radix-ui/react-use-controllable-state": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-divider": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-input-shared": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "nanoid": "^3.3.4" + }, + "peerDependencies": { + "@radix-ui/react-select": "^1.2.2", + "@radix-ui/react-use-controllable-state": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-divider": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-switch": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-switch": "^1.0.1", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-tabs": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "^1.0.2", + "@radix-ui/react-tabs": "latest", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.1.0", + "@washingtonpost/wpds-theme": "1.17.0", + "@washingtonpost/wpds-tooltip": "1.17.0", + "react-transition-group": "^4.4.5" + }, + "peerDependencies": { + "@radix-ui/react-tabs": "latest", + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-tooltip": "*", + "react": "^16.8.6 || ^17.0.2", + "react-transition-group": "^4.4.5" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-icon": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.1.0", + "@washingtonpost/wpds-visually-hidden": "1.1.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-visually-hidden": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-icon/node_modules/@washingtonpost/wpds-theme": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "@stitches/react": "^1.2.8" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-visually-hidden": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.1.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-visually-hidden/node_modules/@washingtonpost/wpds-theme": { + "version": "1.1.0", + "license": "MIT", + "dependencies": { + "@stitches/react": "^1.2.8" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-theme": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@stitches/react": "^1.2.8" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-tooltip": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-tooltip": "^1.0.0", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@radix-ui/react-tooltip": "^1.0.0", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-ui-kit": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/eslint-plugin-wpds": "1.17.0", + "@washingtonpost/wpds-accordion": "1.17.0", + "@washingtonpost/wpds-action-menu": "1.17.0", + "@washingtonpost/wpds-alert-banner": "1.17.0", + "@washingtonpost/wpds-app-bar": "1.17.0", + "@washingtonpost/wpds-avatar": "1.17.0", + "@washingtonpost/wpds-box": "1.17.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-card": "1.17.0", + "@washingtonpost/wpds-carousel": "1.17.0", + "@washingtonpost/wpds-checkbox": "1.17.0", + "@washingtonpost/wpds-container": "1.17.0", + "@washingtonpost/wpds-divider": "1.17.0", + "@washingtonpost/wpds-drawer": "1.17.0", + "@washingtonpost/wpds-error-message": "1.17.0", + "@washingtonpost/wpds-fieldset": "1.17.0", + "@washingtonpost/wpds-helper-text": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-input-password": "1.17.0", + "@washingtonpost/wpds-input-search": "1.17.0", + "@washingtonpost/wpds-input-shared": "1.17.0", + "@washingtonpost/wpds-input-text": "1.17.0", + "@washingtonpost/wpds-input-textarea": "1.17.0", + "@washingtonpost/wpds-navigation-menu": "1.17.0", + "@washingtonpost/wpds-pagination-dots": "1.17.0", + "@washingtonpost/wpds-popover": "1.17.0", + "@washingtonpost/wpds-radio-group": "1.17.0", + "@washingtonpost/wpds-scrim": "1.17.0", + "@washingtonpost/wpds-select": "1.17.0", + "@washingtonpost/wpds-switch": "1.17.0", + "@washingtonpost/wpds-tabs": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "@washingtonpost/wpds-tooltip": "1.17.0", + "@washingtonpost/wpds-visually-hidden": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/eslint-plugin-wpds": "*", + "@washingtonpost/wpds-accordion": "*", + "@washingtonpost/wpds-action-menu": "*", + "@washingtonpost/wpds-alert-banner": "*", + "@washingtonpost/wpds-app-bar": "*", + "@washingtonpost/wpds-avatar": "*", + "@washingtonpost/wpds-box": "*", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-card": "*", + "@washingtonpost/wpds-carousel": "*", + "@washingtonpost/wpds-checkbox": "*", + "@washingtonpost/wpds-container": "*", + "@washingtonpost/wpds-divider": "*", + "@washingtonpost/wpds-drawer": "*", + "@washingtonpost/wpds-error-message": "*", + "@washingtonpost/wpds-fieldset": "*", + "@washingtonpost/wpds-helper-text": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-password": "*", + "@washingtonpost/wpds-input-search": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-input-text": "*", + "@washingtonpost/wpds-input-textarea": "*", + "@washingtonpost/wpds-navigation-menu": "*", + "@washingtonpost/wpds-pagination-dots": "*", + "@washingtonpost/wpds-popover": "*", + "@washingtonpost/wpds-radio-group": "*", + "@washingtonpost/wpds-scrim": "*", + "@washingtonpost/wpds-select": "*", + "@washingtonpost/wpds-switch": "*", + "@washingtonpost/wpds-tabs": "*", + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-tooltip": "*", + "@washingtonpost/wpds-visually-hidden": "*" + } + }, + "packages/kitchen-sink/node_modules/@washingtonpost/wpds-visually-hidden": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/tailwind-theme": { + "name": "@washingtonpost/wpds-tailwind-theme", + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-ui-kit": "1.17.0" + }, + "devDependencies": { + "autoprefixer": "^10.4.14", + "postcss": "^8.4.24", + "tailwindcss": "^3.3.2", + "vite": "^4.3.9" + }, + "peerDependencies": { + "@washingtonpost/wpds-ui-kit": "*" + } + }, + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-accordion": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-accordion": "^1.1.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.18.0", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-action-menu": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-dropdown-menu": "2.0.3", + "@washingtonpost/wpds-assets": "^1.20.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-divider": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.20.0", + "@washingtonpost/wpds-button": "^1.7.0", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-alert-banner": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-app-bar": "1.17.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-container": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-app-bar": "*", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-container": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-app-bar": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-avatar": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-avatar": "latest", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@radix-ui/react-avatar": "latest", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-box": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-button": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-card": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-carousel": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-slot": "^1.0.0", + "@radix-ui/react-use-controllable-state": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-pagination-dots": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "nanoid": "^3.3.4", + "react-swipeable": "^7.0.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-pagination-dots": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-checkbox": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-checkbox": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-input-shared": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "@washingtonpost/wpds-visually-hidden": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@radix-ui/react-checkbox": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-visually-hidden": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-container": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-divider": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-separator": "^1.0.0", + "@washingtonpost/wpds-theme": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-drawer": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@radix-ui/react-focus-scope": "^1.0.0", + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-scrim": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "react-transition-group": "^4.4.5" + }, + "peerDependencies": { + "@washingtonpost/wpds-assets": "^1.22.0", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-scrim": "*", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" + } + }, + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-error-message": { + "version": "1.17.0", + "license": "MIT", + "dependencies": { + "@washingtonpost/wpds-theme": "1.17.0" }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" + "peerDependencies": { + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/fieldset": { - "name": "@washingtonpost/wpds-fieldset", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-fieldset": { "version": "1.17.0", "license": "MIT", "dependencies": { "@washingtonpost/wpds-theme": "1.17.0" }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, "peerDependencies": { "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/helper-text": { - "name": "@washingtonpost/wpds-helper-text", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-helper-text": { "version": "1.17.0", "license": "MIT", "dependencies": { "@washingtonpost/wpds-theme": "1.17.0" }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, "peerDependencies": { "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/icon": { - "name": "@washingtonpost/wpds-icon", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-icon": { "version": "1.17.0", "license": "MIT", "dependencies": { "@washingtonpost/wpds-theme": "1.17.0", "@washingtonpost/wpds-visually-hidden": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" + "react": "^16.8.6 || ^17.0.2" }, "peerDependencies": { "@washingtonpost/wpds-theme": "*", "@washingtonpost/wpds-visually-hidden": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/input-label": { - "name": "@washingtonpost/wpds-input-label", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-input-label": { "version": "1.17.0", "license": "MIT", "dependencies": { - "@radix-ui/react-label": "^2.0.2", + "@radix-ui/react-label": "^1.0.0", "@washingtonpost/wpds-input-shared": "1.17.0", "@washingtonpost/wpds-theme": "1.17.0" }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, "peerDependencies": { "@washingtonpost/wpds-input-shared": "*", "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/input-label/node_modules/@radix-ui/react-label": { - "version": "2.0.2", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.13.10", - "@radix-ui/react-primitive": "1.0.3" - }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0", - "react-dom": "^16.8 || ^17.0 || ^18.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "react": "^16.8.6 || ^17.0.2" } }, - "ui/input-password": { - "name": "@washingtonpost/wpds-input-password", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-input-password": { "version": "1.17.0", "license": "MIT", "dependencies": { @@ -37775,19 +38379,14 @@ "@washingtonpost/wpds-icon": "1.17.0", "@washingtonpost/wpds-input-text": "1.17.0" }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, "peerDependencies": { "@washingtonpost/wpds-assets": "^1.22.0", "@washingtonpost/wpds-icon": "*", "@washingtonpost/wpds-input-text": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/input-search": { - "name": "@washingtonpost/wpds-input-search", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-input-search": { "version": "1.17.0", "license": "MIT", "dependencies": { @@ -37800,37 +38399,27 @@ "@washingtonpost/wpds-theme": "1.17.0", "match-sorter": "6.3.1" }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, "peerDependencies": { "@washingtonpost/wpds-assets": "^1.18.0", "@washingtonpost/wpds-icon": "*", "@washingtonpost/wpds-input-label": "*", "@washingtonpost/wpds-input-text": "*", "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/input-shared": { - "name": "@washingtonpost/wpds-input-shared", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-input-shared": { "version": "1.17.0", "license": "MIT", "dependencies": { "@washingtonpost/wpds-theme": "1.17.0" }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, "peerDependencies": { "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/input-text": { - "name": "@washingtonpost/wpds-input-text", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-input-text": { "version": "1.17.0", "license": "MIT", "dependencies": { @@ -37843,11 +38432,8 @@ "@washingtonpost/wpds-input-label": "1.17.0", "@washingtonpost/wpds-input-shared": "1.17.0", "@washingtonpost/wpds-theme": "1.17.0", - "@washingtonpost/wpds-visually-hidden": "1.17.0" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" + "@washingtonpost/wpds-visually-hidden": "1.17.0", + "nanoid": "^3.3.4" }, "peerDependencies": { "@washingtonpost/wpds-assets": "^1.22.0", @@ -37860,281 +38446,31 @@ "@washingtonpost/wpds-input-shared": "*", "@washingtonpost/wpds-theme": "*", "@washingtonpost/wpds-visually-hidden": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/input-textarea": { - "name": "@washingtonpost/wpds-input-textarea", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@washingtonpost/wpds-error-message": "1.17.0", - "@washingtonpost/wpds-helper-text": "1.17.0", - "@washingtonpost/wpds-input-label": "1.17.0", - "@washingtonpost/wpds-input-shared": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-error-message": "*", - "@washingtonpost/wpds-helper-text": "*", - "@washingtonpost/wpds-input-label": "*", - "@washingtonpost/wpds-input-shared": "*", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/kit": { - "name": "@washingtonpost/wpds-ui-kit", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@washingtonpost/eslint-plugin-wpds": "1.17.0", - "@washingtonpost/wpds-accordion": "1.17.0", - "@washingtonpost/wpds-action-menu": "1.17.0", - "@washingtonpost/wpds-alert-banner": "1.17.0", - "@washingtonpost/wpds-app-bar": "1.17.0", - "@washingtonpost/wpds-avatar": "1.17.0", - "@washingtonpost/wpds-box": "1.17.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-card": "1.17.0", - "@washingtonpost/wpds-carousel": "1.17.0", - "@washingtonpost/wpds-checkbox": "1.17.0", - "@washingtonpost/wpds-container": "1.17.0", - "@washingtonpost/wpds-divider": "1.17.0", - "@washingtonpost/wpds-drawer": "1.17.0", - "@washingtonpost/wpds-error-message": "1.17.0", - "@washingtonpost/wpds-fieldset": "1.17.0", - "@washingtonpost/wpds-helper-text": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-input-label": "1.17.0", - "@washingtonpost/wpds-input-password": "1.17.0", - "@washingtonpost/wpds-input-search": "1.17.0", - "@washingtonpost/wpds-input-shared": "1.17.0", - "@washingtonpost/wpds-input-text": "1.17.0", - "@washingtonpost/wpds-input-textarea": "1.17.0", - "@washingtonpost/wpds-navigation-menu": "1.17.0", - "@washingtonpost/wpds-pagination-dots": "1.17.0", - "@washingtonpost/wpds-popover": "1.17.0", - "@washingtonpost/wpds-radio-group": "1.17.0", - "@washingtonpost/wpds-scrim": "1.17.0", - "@washingtonpost/wpds-select": "1.17.0", - "@washingtonpost/wpds-switch": "1.17.0", - "@washingtonpost/wpds-tabs": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "@washingtonpost/wpds-tooltip": "1.17.0", - "@washingtonpost/wpds-visually-hidden": "1.17.0" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/eslint-plugin-wpds": "*", - "@washingtonpost/wpds-accordion": "*", - "@washingtonpost/wpds-action-menu": "*", - "@washingtonpost/wpds-alert-banner": "*", - "@washingtonpost/wpds-app-bar": "*", - "@washingtonpost/wpds-avatar": "*", - "@washingtonpost/wpds-box": "*", - "@washingtonpost/wpds-button": "*", - "@washingtonpost/wpds-card": "*", - "@washingtonpost/wpds-carousel": "*", - "@washingtonpost/wpds-checkbox": "*", - "@washingtonpost/wpds-container": "*", - "@washingtonpost/wpds-divider": "*", - "@washingtonpost/wpds-drawer": "*", - "@washingtonpost/wpds-error-message": "*", - "@washingtonpost/wpds-fieldset": "*", - "@washingtonpost/wpds-helper-text": "*", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-input-label": "*", - "@washingtonpost/wpds-input-password": "*", - "@washingtonpost/wpds-input-search": "*", - "@washingtonpost/wpds-input-shared": "*", - "@washingtonpost/wpds-input-text": "*", - "@washingtonpost/wpds-input-textarea": "*", - "@washingtonpost/wpds-navigation-menu": "*", - "@washingtonpost/wpds-pagination-dots": "*", - "@washingtonpost/wpds-popover": "*", - "@washingtonpost/wpds-radio-group": "*", - "@washingtonpost/wpds-scrim": "*", - "@washingtonpost/wpds-select": "*", - "@washingtonpost/wpds-switch": "*", - "@washingtonpost/wpds-tabs": "*", - "@washingtonpost/wpds-theme": "*", - "@washingtonpost/wpds-tooltip": "*", - "@washingtonpost/wpds-visually-hidden": "*" - } - }, - "ui/kit/node_modules/@washingtonpost/wpds-card": { - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2" - } - }, - "ui/kitchen-sink": { - "name": "@washingtonpost/wpds-kitchen-sink", - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@washingtonpost/wpds-assets": "latest", - "@washingtonpost/wpds-ui-kit": "1.17.0" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-assets": "latest", - "@washingtonpost/wpds-ui-kit": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - } - }, - "ui/kitchen-sink/node_modules/@washingtonpost/wpds-assets": { - "version": "1.24.0", - "resolved": "https://registry.npmjs.org/@washingtonpost/wpds-assets/-/wpds-assets-1.24.0.tgz", - "integrity": "sha512-T7uE+dxZNdnOrD3l25SYTl4aJRh/71N9OOgCt1a0phPLTNrvhcs3KMjOAZYUaVVPHocKYJMFbrxbavrcWw6hDQ==", - "dependencies": { - "react": "^16.0.1 || ^17.0.2", - "react-dom": "^16.0.1 || ^17.0.2" - }, - "peerDependencies": { - "react": "^16.0.1 || ^17.0.2", - "react-dom": "^16.0.1 || ^17.0.2" - } - }, - "ui/kitchen-sink/node_modules/@washingtonpost/wpds-card": { - "version": "1.17.0", - "license": "MIT", - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", "react": "^16.8.6 || ^17.0.2" } }, - "ui/kitchen-sink/node_modules/@washingtonpost/wpds-ui-kit": { + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-input-textarea": { "version": "1.17.0", "license": "MIT", "dependencies": { - "@washingtonpost/eslint-plugin-wpds": "1.17.0", - "@washingtonpost/wpds-accordion": "1.17.0", - "@washingtonpost/wpds-action-menu": "1.17.0", - "@washingtonpost/wpds-alert-banner": "1.17.0", - "@washingtonpost/wpds-app-bar": "1.17.0", - "@washingtonpost/wpds-avatar": "1.17.0", - "@washingtonpost/wpds-box": "1.17.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-card": "1.17.0", - "@washingtonpost/wpds-carousel": "1.17.0", - "@washingtonpost/wpds-checkbox": "1.17.0", - "@washingtonpost/wpds-container": "1.17.0", - "@washingtonpost/wpds-divider": "1.17.0", - "@washingtonpost/wpds-drawer": "1.17.0", "@washingtonpost/wpds-error-message": "1.17.0", - "@washingtonpost/wpds-fieldset": "1.17.0", "@washingtonpost/wpds-helper-text": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", "@washingtonpost/wpds-input-label": "1.17.0", - "@washingtonpost/wpds-input-password": "1.17.0", - "@washingtonpost/wpds-input-search": "1.17.0", "@washingtonpost/wpds-input-shared": "1.17.0", - "@washingtonpost/wpds-input-text": "1.17.0", - "@washingtonpost/wpds-input-textarea": "1.17.0", - "@washingtonpost/wpds-navigation-menu": "1.17.0", - "@washingtonpost/wpds-pagination-dots": "1.17.0", - "@washingtonpost/wpds-popover": "1.17.0", - "@washingtonpost/wpds-radio-group": "1.17.0", - "@washingtonpost/wpds-scrim": "1.17.0", - "@washingtonpost/wpds-select": "1.17.0", - "@washingtonpost/wpds-switch": "1.17.0", - "@washingtonpost/wpds-tabs": "1.17.0", "@washingtonpost/wpds-theme": "1.17.0", - "@washingtonpost/wpds-tooltip": "1.17.0", - "@washingtonpost/wpds-visually-hidden": "1.17.0" + "nanoid": "^3.3.4", + "react": "^16.8.6 || ^17.0.2" }, "peerDependencies": { - "@washingtonpost/eslint-plugin-wpds": "*", - "@washingtonpost/wpds-accordion": "*", - "@washingtonpost/wpds-action-menu": "*", - "@washingtonpost/wpds-alert-banner": "*", - "@washingtonpost/wpds-app-bar": "*", - "@washingtonpost/wpds-avatar": "*", - "@washingtonpost/wpds-box": "*", - "@washingtonpost/wpds-button": "*", - "@washingtonpost/wpds-card": "*", - "@washingtonpost/wpds-carousel": "*", - "@washingtonpost/wpds-checkbox": "*", - "@washingtonpost/wpds-container": "*", - "@washingtonpost/wpds-divider": "*", - "@washingtonpost/wpds-drawer": "*", "@washingtonpost/wpds-error-message": "*", - "@washingtonpost/wpds-fieldset": "*", "@washingtonpost/wpds-helper-text": "*", - "@washingtonpost/wpds-icon": "*", "@washingtonpost/wpds-input-label": "*", - "@washingtonpost/wpds-input-password": "*", - "@washingtonpost/wpds-input-search": "*", "@washingtonpost/wpds-input-shared": "*", - "@washingtonpost/wpds-input-text": "*", - "@washingtonpost/wpds-input-textarea": "*", - "@washingtonpost/wpds-navigation-menu": "*", - "@washingtonpost/wpds-pagination-dots": "*", - "@washingtonpost/wpds-popover": "*", - "@washingtonpost/wpds-radio-group": "*", - "@washingtonpost/wpds-scrim": "*", - "@washingtonpost/wpds-select": "*", - "@washingtonpost/wpds-switch": "*", - "@washingtonpost/wpds-tabs": "*", "@washingtonpost/wpds-theme": "*", - "@washingtonpost/wpds-tooltip": "*", - "@washingtonpost/wpds-visually-hidden": "*" - } - }, - "ui/kitchen-sink/node_modules/react": { - "version": "17.0.2", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "ui/kitchen-sink/node_modules/react-dom": { - "version": "17.0.2", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "scheduler": "^0.20.2" - }, - "peerDependencies": { - "react": "17.0.2" - } - }, - "ui/kitchen-sink/node_modules/scheduler": { - "version": "0.20.2", - "license": "MIT", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/navigation-menu": { - "name": "@washingtonpost/wpds-navigation-menu", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-navigation-menu": { "version": "1.17.0", "license": "MIT", "dependencies": { @@ -38145,33 +38481,23 @@ "react-popper": "^2.3.0", "react-transition-group": "^4.4.5" }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, "peerDependencies": { "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/pagination-dots": { - "name": "@washingtonpost/wpds-pagination-dots", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-pagination-dots": { "version": "1.17.0", "license": "MIT", "dependencies": { "@washingtonpost/wpds-theme": "1.17.0" }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, "peerDependencies": { "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/popover": { - "name": "@washingtonpost/wpds-popover", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-popover": { "version": "1.17.0", "license": "MIT", "dependencies": { @@ -38181,17 +38507,12 @@ "@washingtonpost/wpds-icon": "1.17.0", "@washingtonpost/wpds-theme": "1.17.0" }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, "peerDependencies": { "@washingtonpost/wpds-theme": "^1.18.0", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/radio-group": { - "name": "@washingtonpost/wpds-radio-group", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-radio-group": { "version": "1.17.0", "license": "MIT", "dependencies": { @@ -38199,22 +38520,18 @@ "@washingtonpost/wpds-error-message": "1.17.0", "@washingtonpost/wpds-fieldset": "1.17.0", "@washingtonpost/wpds-input-label": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" + "@washingtonpost/wpds-theme": "1.17.0", + "nanoid": "^3.3.3" }, "peerDependencies": { "@washingtonpost/wpds-error-message": "*", "@washingtonpost/wpds-fieldset": "*", "@washingtonpost/wpds-input-label": "*", "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/scrim": { - "name": "@washingtonpost/wpds-scrim", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-scrim": { "version": "1.17.0", "license": "MIT", "dependencies": { @@ -38222,17 +38539,12 @@ "@washingtonpost/wpds-theme": "1.17.0", "react-transition-group": "^4.4.5" }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, "peerDependencies": { "@washingtonpost/wpds-theme": "^0.25.0", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/select": { - "name": "@washingtonpost/wpds-select", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-select": { "version": "1.17.0", "license": "MIT", "dependencies": { @@ -38243,11 +38555,8 @@ "@washingtonpost/wpds-icon": "1.17.0", "@washingtonpost/wpds-input-label": "1.17.0", "@washingtonpost/wpds-input-shared": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" + "@washingtonpost/wpds-theme": "1.17.0", + "nanoid": "^3.3.4" }, "peerDependencies": { "@radix-ui/react-select": "^1.2.2", @@ -38258,28 +38567,22 @@ "@washingtonpost/wpds-input-label": "*", "@washingtonpost/wpds-input-shared": "*", "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/switch": { - "name": "@washingtonpost/wpds-switch", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-switch": { "version": "1.17.0", "license": "MIT", "dependencies": { "@radix-ui/react-switch": "^1.0.1", "@washingtonpost/wpds-theme": "1.17.0" }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, "peerDependencies": { "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/tabs": { - "name": "@washingtonpost/wpds-tabs", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-tabs": { "version": "1.17.0", "license": "MIT", "dependencies": { @@ -38291,19 +38594,15 @@ "@washingtonpost/wpds-tooltip": "1.17.0", "react-transition-group": "^4.4.5" }, - "devDependencies": { - "tsup": "^5.11.13", - "typescript": "4.5.5" - }, "peerDependencies": { "@radix-ui/react-tabs": "latest", "@washingtonpost/wpds-theme": "*", "@washingtonpost/wpds-tooltip": "*", - "react": "^16.8.6 || ^17.0.2 || ^18", + "react": "^16.8.6 || ^17.0.2", "react-transition-group": "^4.4.5" } }, - "ui/tabs/node_modules/@washingtonpost/wpds-icon": { + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-icon": { "version": "1.1.0", "license": "MIT", "dependencies": { @@ -38317,14 +38616,14 @@ "react": "^16.8.6 || ^17.0.2" } }, - "ui/tabs/node_modules/@washingtonpost/wpds-icon/node_modules/@washingtonpost/wpds-theme": { + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-icon/node_modules/@washingtonpost/wpds-theme": { "version": "1.1.0", "license": "MIT", "dependencies": { "@stitches/react": "^1.2.8" } }, - "ui/tabs/node_modules/@washingtonpost/wpds-visually-hidden": { + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-visually-hidden": { "version": "1.1.0", "license": "MIT", "dependencies": { @@ -38336,94 +38635,224 @@ "react": "^16.8.6 || ^17.0.2" } }, - "ui/tabs/node_modules/@washingtonpost/wpds-visually-hidden/node_modules/@washingtonpost/wpds-theme": { + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-tabs/node_modules/@washingtonpost/wpds-visually-hidden/node_modules/@washingtonpost/wpds-theme": { "version": "1.1.0", "license": "MIT", "dependencies": { "@stitches/react": "^1.2.8" } }, - "ui/tailwind-theme": { - "name": "@washingtonpost/wpds-tailwind-theme", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-theme": { "version": "1.17.0", "license": "MIT", "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" - }, - "devDependencies": { - "autoprefixer": "^10.4.14", - "postcss": "^8.4.24", - "tailwindcss": "^3.3.2", - "vite": "^4.3.9" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*" + "@stitches/react": "^1.2.8" } }, - "ui/theme": { - "name": "@washingtonpost/wpds-theme", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-tooltip": { "version": "1.17.0", "license": "MIT", "dependencies": { - "@stitches/react": "^1.2.8" + "@radix-ui/react-tooltip": "^1.0.0", + "@washingtonpost/wpds-theme": "1.17.0" }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" + "peerDependencies": { + "@radix-ui/react-tooltip": "^1.0.0", + "@washingtonpost/wpds-theme": "*", + "react": "^16.8.6 || ^17.0.2" } }, - "ui/tokens": { - "name": "@washingtonpost/wpds-tokens", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-ui-kit": { "version": "1.17.0", "license": "MIT", - "devDependencies": { - "@washingtonpost/wpds-theme": "latest", - "react": "^17.0.2 || ^18", - "react-dom": "^17.0.2 || ^18" - } - }, - "ui/tokens/node_modules/@washingtonpost/wpds-theme": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@washingtonpost/wpds-theme/-/wpds-theme-1.21.0.tgz", - "integrity": "sha512-QXHucTDtzgYv5NJx1JkvpWCahEjl28MDlSy5FSsrSDZRr5kwptExZA8vsLu58m1TXOs8WnYHbu6BFSXGgR6kHA==", - "dev": true, "dependencies": { - "@stitches/react": "^1.2.8" + "@washingtonpost/eslint-plugin-wpds": "1.17.0", + "@washingtonpost/wpds-accordion": "1.17.0", + "@washingtonpost/wpds-action-menu": "1.17.0", + "@washingtonpost/wpds-alert-banner": "1.17.0", + "@washingtonpost/wpds-app-bar": "1.17.0", + "@washingtonpost/wpds-avatar": "1.17.0", + "@washingtonpost/wpds-box": "1.17.0", + "@washingtonpost/wpds-button": "1.17.0", + "@washingtonpost/wpds-card": "1.17.0", + "@washingtonpost/wpds-carousel": "1.17.0", + "@washingtonpost/wpds-checkbox": "1.17.0", + "@washingtonpost/wpds-container": "1.17.0", + "@washingtonpost/wpds-divider": "1.17.0", + "@washingtonpost/wpds-drawer": "1.17.0", + "@washingtonpost/wpds-error-message": "1.17.0", + "@washingtonpost/wpds-fieldset": "1.17.0", + "@washingtonpost/wpds-helper-text": "1.17.0", + "@washingtonpost/wpds-icon": "1.17.0", + "@washingtonpost/wpds-input-label": "1.17.0", + "@washingtonpost/wpds-input-password": "1.17.0", + "@washingtonpost/wpds-input-search": "1.17.0", + "@washingtonpost/wpds-input-shared": "1.17.0", + "@washingtonpost/wpds-input-text": "1.17.0", + "@washingtonpost/wpds-input-textarea": "1.17.0", + "@washingtonpost/wpds-navigation-menu": "1.17.0", + "@washingtonpost/wpds-pagination-dots": "1.17.0", + "@washingtonpost/wpds-popover": "1.17.0", + "@washingtonpost/wpds-radio-group": "1.17.0", + "@washingtonpost/wpds-scrim": "1.17.0", + "@washingtonpost/wpds-select": "1.17.0", + "@washingtonpost/wpds-switch": "1.17.0", + "@washingtonpost/wpds-tabs": "1.17.0", + "@washingtonpost/wpds-theme": "1.17.0", + "@washingtonpost/wpds-tooltip": "1.17.0", + "@washingtonpost/wpds-visually-hidden": "1.17.0" + }, + "peerDependencies": { + "@washingtonpost/eslint-plugin-wpds": "*", + "@washingtonpost/wpds-accordion": "*", + "@washingtonpost/wpds-action-menu": "*", + "@washingtonpost/wpds-alert-banner": "*", + "@washingtonpost/wpds-app-bar": "*", + "@washingtonpost/wpds-avatar": "*", + "@washingtonpost/wpds-box": "*", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-card": "*", + "@washingtonpost/wpds-carousel": "*", + "@washingtonpost/wpds-checkbox": "*", + "@washingtonpost/wpds-container": "*", + "@washingtonpost/wpds-divider": "*", + "@washingtonpost/wpds-drawer": "*", + "@washingtonpost/wpds-error-message": "*", + "@washingtonpost/wpds-fieldset": "*", + "@washingtonpost/wpds-helper-text": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-password": "*", + "@washingtonpost/wpds-input-search": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-input-text": "*", + "@washingtonpost/wpds-input-textarea": "*", + "@washingtonpost/wpds-navigation-menu": "*", + "@washingtonpost/wpds-pagination-dots": "*", + "@washingtonpost/wpds-popover": "*", + "@washingtonpost/wpds-radio-group": "*", + "@washingtonpost/wpds-scrim": "*", + "@washingtonpost/wpds-select": "*", + "@washingtonpost/wpds-switch": "*", + "@washingtonpost/wpds-tabs": "*", + "@washingtonpost/wpds-theme": "*", + "@washingtonpost/wpds-tooltip": "*", + "@washingtonpost/wpds-visually-hidden": "*" } }, - "ui/tooltip": { - "name": "@washingtonpost/wpds-tooltip", + "packages/tailwind-theme/node_modules/@washingtonpost/wpds-visually-hidden": { "version": "1.17.0", "license": "MIT", "dependencies": { - "@radix-ui/react-tooltip": "^1.0.0", - "@washingtonpost/wpds-theme": "1.17.0" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" + "@washingtonpost/wpds-theme": "1.17.0", + "react": "^16.8.6 || ^17.0.2" }, "peerDependencies": { - "@radix-ui/react-tooltip": "^1.0.0", "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^16.8.6 || ^17.0.2" } }, - "ui/visually-hidden": { - "name": "@washingtonpost/wpds-visually-hidden", + "packages/tokens": { + "name": "@washingtonpost/wpds-tokens", "version": "1.17.0", "license": "MIT", + "devDependencies": { + "@washingtonpost/wpds-ui-kit": "latest", + "react": "^18", + "react-dom": "^18" + } + }, + "packages/tokens/node_modules/@washingtonpost/eslint-plugin-wpds": { + "version": "1.22.0", + "dev": true, + "license": "MIT", "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" + "@washingtonpost/wpds-theme": "1.22.0" }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" + "peerDependencies": { + "@washingtonpost/wpds-theme": "*" + } + }, + "packages/tokens/node_modules/@washingtonpost/wpds-ui-kit": { + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/@washingtonpost/wpds-ui-kit/-/wpds-ui-kit-1.22.0.tgz", + "integrity": "sha512-JtlrZTrq31oKNmOzlFEG8G2N5EtMG/QTje2RT5Aal2iEBh8iXsaum8H/fxK87YYr5sv/wTJlMWrmpzZzfh+7aw==", + "dev": true, + "dependencies": { + "@washingtonpost/eslint-plugin-wpds": "1.22.0", + "@washingtonpost/wpds-accordion": "1.22.0", + "@washingtonpost/wpds-action-menu": "1.22.0", + "@washingtonpost/wpds-alert-banner": "1.22.0", + "@washingtonpost/wpds-app-bar": "1.22.0", + "@washingtonpost/wpds-avatar": "1.22.0", + "@washingtonpost/wpds-box": "1.22.0", + "@washingtonpost/wpds-button": "1.22.0", + "@washingtonpost/wpds-card": "1.22.0", + "@washingtonpost/wpds-carousel": "1.22.0", + "@washingtonpost/wpds-checkbox": "1.22.0", + "@washingtonpost/wpds-container": "1.22.0", + "@washingtonpost/wpds-dialog": "1.22.0", + "@washingtonpost/wpds-divider": "1.22.0", + "@washingtonpost/wpds-drawer": "1.22.0", + "@washingtonpost/wpds-error-message": "1.22.0", + "@washingtonpost/wpds-fieldset": "1.22.0", + "@washingtonpost/wpds-helper-text": "1.22.0", + "@washingtonpost/wpds-icon": "1.22.0", + "@washingtonpost/wpds-input-label": "1.22.0", + "@washingtonpost/wpds-input-password": "1.22.0", + "@washingtonpost/wpds-input-search": "1.22.0", + "@washingtonpost/wpds-input-shared": "1.22.0", + "@washingtonpost/wpds-input-text": "1.22.0", + "@washingtonpost/wpds-input-textarea": "1.22.0", + "@washingtonpost/wpds-navigation-menu": "1.22.0", + "@washingtonpost/wpds-pagination-dots": "1.22.0", + "@washingtonpost/wpds-popover": "1.22.0", + "@washingtonpost/wpds-radio-group": "1.22.0", + "@washingtonpost/wpds-scrim": "1.22.0", + "@washingtonpost/wpds-select": "1.22.0", + "@washingtonpost/wpds-switch": "1.22.0", + "@washingtonpost/wpds-tabs": "1.22.0", + "@washingtonpost/wpds-theme": "1.22.0", + "@washingtonpost/wpds-tooltip": "1.22.0", + "@washingtonpost/wpds-visually-hidden": "1.22.0" }, "peerDependencies": { + "@washingtonpost/eslint-plugin-wpds": "*", + "@washingtonpost/wpds-accordion": "*", + "@washingtonpost/wpds-action-menu": "*", + "@washingtonpost/wpds-alert-banner": "*", + "@washingtonpost/wpds-app-bar": "*", + "@washingtonpost/wpds-avatar": "*", + "@washingtonpost/wpds-box": "*", + "@washingtonpost/wpds-button": "*", + "@washingtonpost/wpds-card": "*", + "@washingtonpost/wpds-carousel": "*", + "@washingtonpost/wpds-checkbox": "*", + "@washingtonpost/wpds-container": "*", + "@washingtonpost/wpds-dialog": "*", + "@washingtonpost/wpds-divider": "*", + "@washingtonpost/wpds-drawer": "*", + "@washingtonpost/wpds-error-message": "*", + "@washingtonpost/wpds-fieldset": "*", + "@washingtonpost/wpds-helper-text": "*", + "@washingtonpost/wpds-icon": "*", + "@washingtonpost/wpds-input-label": "*", + "@washingtonpost/wpds-input-password": "*", + "@washingtonpost/wpds-input-search": "*", + "@washingtonpost/wpds-input-shared": "*", + "@washingtonpost/wpds-input-text": "*", + "@washingtonpost/wpds-input-textarea": "*", + "@washingtonpost/wpds-navigation-menu": "*", + "@washingtonpost/wpds-pagination-dots": "*", + "@washingtonpost/wpds-popover": "*", + "@washingtonpost/wpds-radio-group": "*", + "@washingtonpost/wpds-scrim": "*", + "@washingtonpost/wpds-select": "*", + "@washingtonpost/wpds-switch": "*", + "@washingtonpost/wpds-tabs": "*", "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" + "@washingtonpost/wpds-tooltip": "*", + "@washingtonpost/wpds-visually-hidden": "*" } } } diff --git a/package.json b/package.json index 1cdf85102..f183a82ce 100644 --- a/package.json +++ b/package.json @@ -96,14 +96,12 @@ "turbo-windows-arm64": "1.11.1" }, "workspaces": [ - "./ui/*", "./build.washingtonpost.com", "./apps/*", "./packages/*" ], "dependencies": { "@babel/standalone": "^7.17.11", - "@washingtonpost/wpds-assets": "^1.22.0", "typescript": "4.5.5" }, "scripts": { @@ -133,12 +131,5 @@ "playwright": "playwright test" }, "prettier": {}, - "overrides": { - "react-docgen-typescript": "^2.2.2", - "@washingtonpost/wpds-assets": "^1.22.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "next": "^13.5.6" - }, "packageManager": "npm@9.6.7" } diff --git a/ui/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md similarity index 100% rename from ui/eslint-plugin/CHANGELOG.md rename to packages/eslint-plugin/CHANGELOG.md diff --git a/ui/eslint-plugin/README.md b/packages/eslint-plugin/README.md similarity index 100% rename from ui/eslint-plugin/README.md rename to packages/eslint-plugin/README.md diff --git a/ui/eslint-plugin/package.json b/packages/eslint-plugin/package.json similarity index 83% rename from ui/eslint-plugin/package.json rename to packages/eslint-plugin/package.json index cce3860be..3d9717412 100644 --- a/ui/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -25,13 +25,12 @@ "test": "jest" }, "peerDependencies": { - "@washingtonpost/wpds-theme": "*" + "@washingtonpost/wpds-ui-kit": "*" }, "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" + "@washingtonpost/wpds-ui-kit": "1.17.0" }, "devDependencies": { "jest": "^28.1.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" + } } diff --git a/ui/eslint-plugin/src/index.js b/packages/eslint-plugin/src/index.js similarity index 100% rename from ui/eslint-plugin/src/index.js rename to packages/eslint-plugin/src/index.js diff --git a/ui/eslint-plugin/src/rules/theme-colors.js b/packages/eslint-plugin/src/rules/theme-colors.js similarity index 97% rename from ui/eslint-plugin/src/rules/theme-colors.js rename to packages/eslint-plugin/src/rules/theme-colors.js index 6323b020f..8ebf6e6e5 100644 --- a/ui/eslint-plugin/src/rules/theme-colors.js +++ b/packages/eslint-plugin/src/rules/theme-colors.js @@ -1,5 +1,5 @@ /* eslint-disable-next-line @typescript-eslint/no-var-requires */ -const tokens = require("@washingtonpost/wpds-theme/src/wpds.tokens.json"); +const tokens = require("@washingtonpost/wpds-ui-kit/src/theme/wpds.tokens.json"); module.exports = { meta: { diff --git a/ui/eslint-plugin/src/rules/theme-colors.test.js b/packages/eslint-plugin/src/rules/theme-colors.test.js similarity index 100% rename from ui/eslint-plugin/src/rules/theme-colors.test.js rename to packages/eslint-plugin/src/rules/theme-colors.test.js diff --git a/packages/kit/package.json b/packages/kit/package.json index 506d2d8e1..cb09f647b 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -1,5 +1,5 @@ { - "name": "@washingtonpost/wpds-ui-kit-next", + "name": "@washingtonpost/wpds-ui-kit", "version": "2.0.0", "description": "WPDS UI Kit", "author": "WPDS Support ", @@ -24,7 +24,7 @@ }, "scripts": { "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", + "build": "tsup src/index.ts --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" }, @@ -34,15 +34,35 @@ "dependencies": { "@radix-ui/react-accordion": "^1.1.2", "@stitches/react": "^1.2.8", - "@washingtonpost/wpds-assets": "^1.18.0", - "@washingtonpost/wpds-theme": "^1.17.0" + "@washingtonpost/wpds-assets": "latest", + "@radix-ui/react-dropdown-menu": "2.0.3", + "react": "^18", + "@radix-ui/react-avatar": "latest", + "@radix-ui/react-slot": "^1.0.0", + "@radix-ui/react-use-controllable-state": "^1.0.1", + "react-swipeable": "^7.0.0", + "@radix-ui/react-checkbox": "^1.0.0", + "@radix-ui/react-separator": "^1.0.0", + "@radix-ui/react-focus-scope": "^1.0.0", + "react-transition-group": "^4.4.5", + "@radix-ui/react-label": "^1.0.0", + "@reach/combobox": "^0.18.0", + "@reach/popover": "^0.18.0", + "match-sorter": "6.3.1", + "@radix-ui/react-popover": "^1.0.2", + "@radix-ui/react-radio-group": "^1.0.0", + "@radix-ui/react-dialog": "^1.0.5", + "@radix-ui/react-select": "^1.2.2", + "@radix-ui/react-primitive": "^1.0.2", + "@radix-ui/react-tabs": "latest", + "@radix-ui/react-tooltip": "^1.0.0" }, "devDependencies": { "tsup": "5.11.13", "typescript": "4.5.5" }, "peerDependencies": { - "react": "^16.8.6 || ^17.0.2 || ^18", - "react-dom": "^16.8.6 || ^17.0.2 || ^18" + "react": "^18", + "react-dom": "^18" } } diff --git a/packages/kit/src/accordion/Accordion.tsx b/packages/kit/src/accordion/Accordion.tsx index 355a968d9..c0b9aca8b 100644 --- a/packages/kit/src/accordion/Accordion.tsx +++ b/packages/kit/src/accordion/Accordion.tsx @@ -1,4 +1,4 @@ -import { forwardRef } from "react"; +import React, { forwardRef } from "react"; import { theme, styled } from "../theme"; import type * as WPDS from "../theme"; import * as AccordionPrimitive from "@radix-ui/react-accordion"; diff --git a/packages/kit/src/accordion/AccordionContent.tsx b/packages/kit/src/accordion/AccordionContent.tsx index 469c78200..2917606ed 100644 --- a/packages/kit/src/accordion/AccordionContent.tsx +++ b/packages/kit/src/accordion/AccordionContent.tsx @@ -1,4 +1,4 @@ -import { forwardRef } from "react"; +import React, { forwardRef } from "react"; import { theme, styled, keyframes } from "../theme"; import * as AccordionPrimitive from "@radix-ui/react-accordion"; import type * as WPDS from "../theme"; diff --git a/packages/kit/src/accordion/AccordionItem.tsx b/packages/kit/src/accordion/AccordionItem.tsx index f0d6041b3..679751afb 100644 --- a/packages/kit/src/accordion/AccordionItem.tsx +++ b/packages/kit/src/accordion/AccordionItem.tsx @@ -1,4 +1,4 @@ -import { forwardRef } from "react"; +import React, { forwardRef } from "react"; import { theme, styled } from "../theme"; import * as AccordionPrimitive from "@radix-ui/react-accordion"; import type * as WPDS from "../theme"; diff --git a/packages/kit/src/accordion/AccordionTrigger.tsx b/packages/kit/src/accordion/AccordionTrigger.tsx index da5ea59b5..c75b01f38 100644 --- a/packages/kit/src/accordion/AccordionTrigger.tsx +++ b/packages/kit/src/accordion/AccordionTrigger.tsx @@ -1,4 +1,4 @@ -import { forwardRef } from "react"; +import React, { forwardRef } from "react"; import { ChevronDown } from "@washingtonpost/wpds-assets"; import { theme, styled } from "../theme"; import { Icon } from "../icon"; diff --git a/packages/kit/src/accordion/play.stories.tsx b/packages/kit/src/accordion/play.stories.tsx index 3b8b17a19..03de6f4f0 100644 --- a/packages/kit/src/accordion/play.stories.tsx +++ b/packages/kit/src/accordion/play.stories.tsx @@ -1,5 +1,5 @@ // /* eslint-disable @next/next/no-img-element */ -import { useRef } from "react"; +import React, { useRef } from "react"; import { Accordion, ACCORDION_DENSITY, ACCORDION_TYPE } from "."; import { userEvent, waitFor, within } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; diff --git a/ui/action-menu/src/ActionMenu.tsx b/packages/kit/src/action-menu/ActionMenu.tsx similarity index 100% rename from ui/action-menu/src/ActionMenu.tsx rename to packages/kit/src/action-menu/ActionMenu.tsx diff --git a/ui/action-menu/src/ActionMenuCheckboxItem.tsx b/packages/kit/src/action-menu/ActionMenuCheckboxItem.tsx similarity index 93% rename from ui/action-menu/src/ActionMenuCheckboxItem.tsx rename to packages/kit/src/action-menu/ActionMenuCheckboxItem.tsx index bedaca5b3..34f055982 100644 --- a/ui/action-menu/src/ActionMenuCheckboxItem.tsx +++ b/packages/kit/src/action-menu/ActionMenuCheckboxItem.tsx @@ -1,6 +1,8 @@ -import * as React from "react"; +import React from "react"; -import WPDS, { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; + +import type * as WPDS from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; diff --git a/ui/action-menu/src/ActionMenuContent.tsx b/packages/kit/src/action-menu/ActionMenuContent.tsx similarity index 94% rename from ui/action-menu/src/ActionMenuContent.tsx rename to packages/kit/src/action-menu/ActionMenuContent.tsx index 10b2a7527..0ebe22ef7 100644 --- a/ui/action-menu/src/ActionMenuContent.tsx +++ b/packages/kit/src/action-menu/ActionMenuContent.tsx @@ -1,6 +1,8 @@ -import * as React from "react"; +import React from "react"; -import WPDS, { theme, styled } from "@washingtonpost/wpds-theme"; +import { theme, styled } from "../theme"; + +import type * as WPDS from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; diff --git a/ui/action-menu/src/ActionMenuGroup.tsx b/packages/kit/src/action-menu/ActionMenuGroup.tsx similarity index 84% rename from ui/action-menu/src/ActionMenuGroup.tsx rename to packages/kit/src/action-menu/ActionMenuGroup.tsx index 1408e82f2..4356ed9bf 100644 --- a/ui/action-menu/src/ActionMenuGroup.tsx +++ b/packages/kit/src/action-menu/ActionMenuGroup.tsx @@ -1,9 +1,11 @@ -import * as React from "react"; +import React from "react"; -import WPDS, { styled } from "@washingtonpost/wpds-theme"; +import { styled } from "../theme"; + +import type * as WPDS from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; -import { Divider } from "@washingtonpost/wpds-divider"; +import { Divider } from "../divider"; import { DropdownMenuGroupProps as RadixDropdownMenuGroupProps } from "@radix-ui/react-dropdown-menu"; diff --git a/ui/action-menu/src/ActionMenuIcon.tsx b/packages/kit/src/action-menu/ActionMenuIcon.tsx similarity index 91% rename from ui/action-menu/src/ActionMenuIcon.tsx rename to packages/kit/src/action-menu/ActionMenuIcon.tsx index ac22e458c..04a86f5ae 100644 --- a/ui/action-menu/src/ActionMenuIcon.tsx +++ b/packages/kit/src/action-menu/ActionMenuIcon.tsx @@ -1,5 +1,7 @@ -import * as React from "react"; -import WPDS, { theme, styled } from "@washingtonpost/wpds-theme"; +import React from "react"; +import { theme, styled } from "../theme"; + +import type * as WPDS from "../theme"; const RightIcon = styled("div", { marginLeft: "auto", diff --git a/ui/action-menu/src/ActionMenuItem.tsx b/packages/kit/src/action-menu/ActionMenuItem.tsx similarity index 95% rename from ui/action-menu/src/ActionMenuItem.tsx rename to packages/kit/src/action-menu/ActionMenuItem.tsx index 91afec0e5..dc3d46f88 100644 --- a/ui/action-menu/src/ActionMenuItem.tsx +++ b/packages/kit/src/action-menu/ActionMenuItem.tsx @@ -1,6 +1,8 @@ -import * as React from "react"; +import React from "react"; -import WPDS, { theme, styled } from "@washingtonpost/wpds-theme"; +import { theme, styled } from "../theme"; + +import type * as WPDS from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; diff --git a/ui/action-menu/src/ActionMenuItemIndicator.tsx b/packages/kit/src/action-menu/ActionMenuItemIndicator.tsx similarity index 91% rename from ui/action-menu/src/ActionMenuItemIndicator.tsx rename to packages/kit/src/action-menu/ActionMenuItemIndicator.tsx index 9a37d628d..ff10855c3 100644 --- a/ui/action-menu/src/ActionMenuItemIndicator.tsx +++ b/packages/kit/src/action-menu/ActionMenuItemIndicator.tsx @@ -1,12 +1,14 @@ -import * as React from "react"; +import React from "react"; -import WPDS, { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; + +import type * as WPDS from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; import { DropdownMenuItemIndicatorProps as RadixDropdownMenuItemIndicatorProps } from "@radix-ui/react-dropdown-menu"; import { ActionMenuContext } from "./context"; -import { Icon } from "@washingtonpost/wpds-icon"; +import { Icon } from "../icon"; import { Check } from "@washingtonpost/wpds-assets"; const NAME = "ActionMenuItemIndicator"; diff --git a/ui/action-menu/src/ActionMenuLabel.tsx b/packages/kit/src/action-menu/ActionMenuLabel.tsx similarity index 93% rename from ui/action-menu/src/ActionMenuLabel.tsx rename to packages/kit/src/action-menu/ActionMenuLabel.tsx index 328182424..369c1b1bf 100644 --- a/ui/action-menu/src/ActionMenuLabel.tsx +++ b/packages/kit/src/action-menu/ActionMenuLabel.tsx @@ -1,6 +1,8 @@ -import * as React from "react"; +import React from "react"; -import WPDS, { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; + +import type * as WPDS from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; diff --git a/ui/action-menu/src/ActionMenuPortal.tsx b/packages/kit/src/action-menu/ActionMenuPortal.tsx similarity index 89% rename from ui/action-menu/src/ActionMenuPortal.tsx rename to packages/kit/src/action-menu/ActionMenuPortal.tsx index fd2982664..6f486ab61 100644 --- a/ui/action-menu/src/ActionMenuPortal.tsx +++ b/packages/kit/src/action-menu/ActionMenuPortal.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; +import React from "react"; -import WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; import { DropdownMenuPortalProps as RadixDropdownMenuPortalProps } from "@radix-ui/react-dropdown-menu"; diff --git a/ui/action-menu/src/ActionMenuRadioGroup.tsx b/packages/kit/src/action-menu/ActionMenuRadioGroup.tsx similarity index 85% rename from ui/action-menu/src/ActionMenuRadioGroup.tsx rename to packages/kit/src/action-menu/ActionMenuRadioGroup.tsx index 5bbf25a77..529c5dbaa 100644 --- a/ui/action-menu/src/ActionMenuRadioGroup.tsx +++ b/packages/kit/src/action-menu/ActionMenuRadioGroup.tsx @@ -1,9 +1,11 @@ -import * as React from "react"; +import React from "react"; -import WPDS, { styled } from "@washingtonpost/wpds-theme"; +import { styled } from "../theme"; + +import type * as WPDS from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; -import { Divider } from "@washingtonpost/wpds-divider"; +import { Divider } from "../divider"; import { DropdownMenuRadioGroupProps as RadixDropdownMenuRadioGroupProps } from "@radix-ui/react-dropdown-menu"; diff --git a/ui/action-menu/src/ActionMenuRadioItem.tsx b/packages/kit/src/action-menu/ActionMenuRadioItem.tsx similarity index 93% rename from ui/action-menu/src/ActionMenuRadioItem.tsx rename to packages/kit/src/action-menu/ActionMenuRadioItem.tsx index 0966cfb54..d28b9d0e0 100644 --- a/ui/action-menu/src/ActionMenuRadioItem.tsx +++ b/packages/kit/src/action-menu/ActionMenuRadioItem.tsx @@ -1,6 +1,8 @@ -import * as React from "react"; +import React from "react"; -import WPDS, { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; + +import type * as WPDS from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; diff --git a/ui/action-menu/src/ActionMenuRoot.tsx b/packages/kit/src/action-menu/ActionMenuRoot.tsx similarity index 86% rename from ui/action-menu/src/ActionMenuRoot.tsx rename to packages/kit/src/action-menu/ActionMenuRoot.tsx index 2a8c01ebc..bb202e188 100644 --- a/ui/action-menu/src/ActionMenuRoot.tsx +++ b/packages/kit/src/action-menu/ActionMenuRoot.tsx @@ -1,7 +1,7 @@ -import * as React from "react"; +import React from "react"; -import type * as WPDS from "@washingtonpost/wpds-theme"; -import { styled } from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; +import { styled } from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; diff --git a/ui/action-menu/src/ActionMenuSeparator.tsx b/packages/kit/src/action-menu/ActionMenuSeparator.tsx similarity index 88% rename from ui/action-menu/src/ActionMenuSeparator.tsx rename to packages/kit/src/action-menu/ActionMenuSeparator.tsx index 7e7c29a82..222c494f0 100644 --- a/ui/action-menu/src/ActionMenuSeparator.tsx +++ b/packages/kit/src/action-menu/ActionMenuSeparator.tsx @@ -1,6 +1,8 @@ -import * as React from "react"; +import React from "react"; -import WPDS, { styled } from "@washingtonpost/wpds-theme"; +import { styled } from "../theme"; + +import type * as WPDS from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; diff --git a/ui/action-menu/src/ActionMenuSub.tsx b/packages/kit/src/action-menu/ActionMenuSub.tsx similarity index 89% rename from ui/action-menu/src/ActionMenuSub.tsx rename to packages/kit/src/action-menu/ActionMenuSub.tsx index ad17ad09a..532ef26e5 100644 --- a/ui/action-menu/src/ActionMenuSub.tsx +++ b/packages/kit/src/action-menu/ActionMenuSub.tsx @@ -1,6 +1,8 @@ -import * as React from "react"; +import React from "react"; -import WPDS, { styled } from "@washingtonpost/wpds-theme"; +import { styled } from "../theme"; + +import type * as WPDS from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; diff --git a/ui/action-menu/src/ActionMenuSubContent.tsx b/packages/kit/src/action-menu/ActionMenuSubContent.tsx similarity index 93% rename from ui/action-menu/src/ActionMenuSubContent.tsx rename to packages/kit/src/action-menu/ActionMenuSubContent.tsx index 253a2bf77..e3aed226e 100644 --- a/ui/action-menu/src/ActionMenuSubContent.tsx +++ b/packages/kit/src/action-menu/ActionMenuSubContent.tsx @@ -1,9 +1,10 @@ -import * as React from "react"; +import React, { useContext } from "react"; -import WPDS, { theme, styled } from "@washingtonpost/wpds-theme"; +import { theme, styled } from "../theme"; + +import type * as WPDS from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; -import { useContext } from "react"; import { ActionMenuContext } from "./context"; import { DropdownMenuSubContentProps as RadixDropdownMenuSubContentProps } from "@radix-ui/react-dropdown-menu"; diff --git a/ui/action-menu/src/ActionMenuSubTrigger.tsx b/packages/kit/src/action-menu/ActionMenuSubTrigger.tsx similarity index 90% rename from ui/action-menu/src/ActionMenuSubTrigger.tsx rename to packages/kit/src/action-menu/ActionMenuSubTrigger.tsx index 9832bf2b5..e3bf4094a 100644 --- a/ui/action-menu/src/ActionMenuSubTrigger.tsx +++ b/packages/kit/src/action-menu/ActionMenuSubTrigger.tsx @@ -1,11 +1,11 @@ -import * as React from "react"; -import WPDS, { theme, styled } from "@washingtonpost/wpds-theme"; +import React, { useContext } from "react"; +import { theme, styled } from "../theme"; +import type * as WPDS from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; import { DropdownMenuSubTriggerProps as RadixDropdownMenuSubTriggerProps } from "@radix-ui/react-dropdown-menu"; -import { Icon } from "@washingtonpost/wpds-icon"; +import { Icon } from "../icon"; import { ChevronRight } from "@washingtonpost/wpds-assets"; import { ActionMenuContext } from "./context"; -import { useContext } from "react"; import { ItemStyles } from "./ActionMenuItem"; const NAME = "ActionMenuSubTrigger"; diff --git a/ui/action-menu/src/ActionMenuTrigger.tsx b/packages/kit/src/action-menu/ActionMenuTrigger.tsx similarity index 87% rename from ui/action-menu/src/ActionMenuTrigger.tsx rename to packages/kit/src/action-menu/ActionMenuTrigger.tsx index f4bb5c4e3..dc8152ae4 100644 --- a/ui/action-menu/src/ActionMenuTrigger.tsx +++ b/packages/kit/src/action-menu/ActionMenuTrigger.tsx @@ -1,7 +1,8 @@ -import * as React from "react"; +import React from "react"; -// import type * as WPDS from "@washingtonpost/wpds-theme"; -import WPDS, { theme, styled } from "@washingtonpost/wpds-theme"; +import { theme, styled } from "../theme"; + +import type * as WPDS from "../theme"; import * as ActionMenuPrimitive from "@radix-ui/react-dropdown-menu"; diff --git a/ui/action-menu/src/context.tsx b/packages/kit/src/action-menu/context.tsx similarity index 100% rename from ui/action-menu/src/context.tsx rename to packages/kit/src/action-menu/context.tsx diff --git a/ui/action-menu/src/index.ts b/packages/kit/src/action-menu/index.ts similarity index 100% rename from ui/action-menu/src/index.ts rename to packages/kit/src/action-menu/index.ts diff --git a/ui/action-menu/src/play.stories.tsx b/packages/kit/src/action-menu/play.stories.tsx similarity index 87% rename from ui/action-menu/src/play.stories.tsx rename to packages/kit/src/action-menu/play.stories.tsx index 16acb67a3..6005745ab 100644 --- a/ui/action-menu/src/play.stories.tsx +++ b/packages/kit/src/action-menu/play.stories.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; +import React, { useState } from "react"; import { ActionMenu as Component } from "."; -import { Button } from "@washingtonpost/wpds-button"; -import { Box } from "@washingtonpost/wpds-box"; -import { Icon } from "@washingtonpost/wpds-icon"; +import { Button } from "../button"; +import { Box } from "../box"; +import { Icon } from "../icon"; import { Bookmark, Diamond, @@ -14,7 +14,7 @@ import { import { screen, userEvent } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; -import type { ComponentStory } from "@storybook/react"; +import type { StoryFn } from "@storybook/react"; export default { title: "Action Menu", @@ -108,7 +108,9 @@ const TriggersTemplate = (parameters) => ( ); -export const Triggers = TriggersTemplate.bind({}); +export const Triggers = { + render: TriggersTemplate, +}; // Leading icon // Leading icon with a check @@ -122,12 +124,12 @@ const Circle = (props) => ( ); const ItemVariationsTemplate = (parameters) => { - const [checkedA, setCheckedA] = React.useState(true); - const [checkedB, setCheckedB] = React.useState(true); - const [checkedC, setCheckedC] = React.useState(true); - const [checkedD, setCheckedD] = React.useState(true); + const [checkedA, setCheckedA] = useState(true); + const [checkedB, setCheckedB] = useState(true); + const [checkedC, setCheckedC] = useState(true); + const [checkedD, setCheckedD] = useState(true); - const [radioChecked, setRadioChecked] = React.useState("radio2"); + const [radioChecked, setRadioChecked] = useState("radio2"); return ( @@ -322,11 +324,11 @@ const ItemVariationsTemplate = (parameters) => { ); }; -export const ItemVariations = ItemVariationsTemplate.bind({}); +export const ItemVariations = { + render: ItemVariationsTemplate, +}; -const InteractionsTemplate: ComponentStory = ( - parameters -) => ( +const InteractionsTemplate: StoryFn = (parameters) => ( @@ -381,49 +383,51 @@ const InteractionsTemplate: ComponentStory = ( ); -export const Interactions = InteractionsTemplate.bind({}); - -// Function to emulate pausing between interactions -function sleep(ms) { - return new Promise((resolve) => setTimeout(resolve, ms)); -} +export const Interactions = { + render: InteractionsTemplate, -Interactions.play = async () => { - console.log("Start Interaction"); + play: async () => { + console.log("Start Interaction"); - const trigger = screen.getAllByText("Trigger")[0]; - await sleep(500); + const trigger = screen.getAllByText("Trigger")[0]; + await sleep(500); - await userEvent.click(trigger); - await sleep(500); + await userEvent.click(trigger); + await sleep(500); - const content = screen.getAllByText("Level 1 Action"); - const checkVisible = async function (item) { - await expect(item).toBeVisible(); - }; - await expect(content.length).toEqual(2); + const content = screen.getAllByText("Level 1 Action"); + const checkVisible = async function (item) { + await expect(item).toBeVisible(); + }; + await expect(content.length).toEqual(2); - content.forEach((item) => { - checkVisible(item); - }); + content.forEach((item) => { + checkVisible(item); + }); - const subTrigger1 = screen.getAllByText("Open Level 2")[0]; + const subTrigger1 = screen.getAllByText("Open Level 2")[0]; - await userEvent.click(subTrigger1); + await userEvent.click(subTrigger1); - await sleep(500); + await sleep(500); - const subContent1 = screen.getAllByText("Level 2 Action"); + const subContent1 = screen.getAllByText("Level 2 Action"); - await expect(subContent1.length).toEqual(3); + await expect(subContent1.length).toEqual(3); - subContent1.forEach((item) => { - checkVisible(item); - }); + subContent1.forEach((item) => { + checkVisible(item); + }); - const subTrigger2 = screen.getAllByText("Open Level 3")[0]; - await userEvent.click(subTrigger2); - const subContent2 = screen.getAllByText("Level 3 Action"); + const subTrigger2 = screen.getAllByText("Open Level 3")[0]; + await userEvent.click(subTrigger2); + const subContent2 = screen.getAllByText("Level 3 Action"); - await expect(subContent2.length).toEqual(2); + await expect(subContent2.length).toEqual(2); + }, }; + +// Function to emulate pausing between interactions +function sleep(ms) { + return new Promise((resolve) => setTimeout(resolve, ms)); +} diff --git a/ui/alert-banner/src/AlertBanner.tsx b/packages/kit/src/alert-banner/AlertBanner.tsx similarity index 94% rename from ui/alert-banner/src/AlertBanner.tsx rename to packages/kit/src/alert-banner/AlertBanner.tsx index 145eb4189..bbf06cd16 100644 --- a/ui/alert-banner/src/AlertBanner.tsx +++ b/packages/kit/src/alert-banner/AlertBanner.tsx @@ -1,11 +1,11 @@ -import * as React from "react"; +import React from "react"; -import { theme, styled } from "@washingtonpost/wpds-theme"; -import { Icon } from "@washingtonpost/wpds-icon"; -import { Button } from "@washingtonpost/wpds-button"; -import { AppBar } from "@washingtonpost/wpds-app-bar"; +import { theme, styled } from "../theme"; +import { Icon } from "../icon"; +import { Button } from "../button"; +import { AppBar } from "../app-bar"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; import { Error, diff --git a/ui/alert-banner/src/index.ts b/packages/kit/src/alert-banner/index.ts similarity index 100% rename from ui/alert-banner/src/index.ts rename to packages/kit/src/alert-banner/index.ts diff --git a/ui/alert-banner/src/play.stories.tsx b/packages/kit/src/alert-banner/play.stories.tsx similarity index 76% rename from ui/alert-banner/src/play.stories.tsx rename to packages/kit/src/alert-banner/play.stories.tsx index 2d5914079..a79b792b6 100644 --- a/ui/alert-banner/src/play.stories.tsx +++ b/packages/kit/src/alert-banner/play.stories.tsx @@ -1,8 +1,8 @@ +import React from "react"; /* eslint react/prop-types: 0 */ -import * as React from "react"; import { AlertBanner } from "./AlertBanner"; -import { styled } from "@washingtonpost/wpds-ui-kit"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; +import { styled } from "../theme"; +import type { Meta, StoryFn } from "@storybook/react"; export default { title: "Alert banner", @@ -32,7 +32,7 @@ export default { control: "boolean", }, }, -} as ComponentMeta; +} as Meta; const Column = styled("div", { display: "flex", @@ -51,10 +51,7 @@ const Stack = styled("div", { borderRadius: "$075", }); -const Template: ComponentStory = ({ - children, - ...args -}) => ( +const Template: StoryFn = ({ children, ...args }) => ( @@ -77,20 +74,32 @@ const Template: ComponentStory = ({ ); -export const Play = Template.bind({}); +export const Play = { + render: Template, -Play.args = { - children: ( - <> - Information: - This alert banner - - ), - css: { - zIndex: "$shell", - top: 0, - left: 0, + args: { + children: ( + <> + Information: + This alert banner + + ), + css: { + zIndex: "$shell", + top: 0, + left: 0, + }, }, + + decorators: [ + (Story) => ( + + + + ), + ], + + name: "Alert banner", }; const Decorator = styled("div", { @@ -101,19 +110,7 @@ const Decorator = styled("div", { px: "$100", }); -Play.decorators = [ - (Story) => ( - - - - ), -]; - -Play.storyName = "Alert banner"; - -const SpacingTemplate: ComponentStory = ({ - ...args -}) => ( +const SpacingTemplate: StoryFn = ({ ...args }) => ( @@ -131,4 +128,6 @@ const SpacingTemplate: ComponentStory = ({ ); -export const Spacing = SpacingTemplate.bind({}); +export const Spacing = { + render: SpacingTemplate, +}; diff --git a/ui/app-bar/src/AppBar.tsx b/packages/kit/src/app-bar/AppBar.tsx similarity index 93% rename from ui/app-bar/src/AppBar.tsx rename to packages/kit/src/app-bar/AppBar.tsx index 3640cbb61..b11d714b0 100644 --- a/ui/app-bar/src/AppBar.tsx +++ b/packages/kit/src/app-bar/AppBar.tsx @@ -1,4 +1,4 @@ -import * as Theme from "@washingtonpost/wpds-theme"; +import * as Theme from "../theme"; import * as React from "react"; export const AppBar = Theme.styled("div", { diff --git a/ui/app-bar/src/index.ts b/packages/kit/src/app-bar/index.ts similarity index 100% rename from ui/app-bar/src/index.ts rename to packages/kit/src/app-bar/index.ts diff --git a/ui/app-bar/src/play.stories.tsx b/packages/kit/src/app-bar/play.stories.tsx similarity index 71% rename from ui/app-bar/src/play.stories.tsx rename to packages/kit/src/app-bar/play.stories.tsx index f4b64d500..d1cbbeb56 100644 --- a/ui/app-bar/src/play.stories.tsx +++ b/packages/kit/src/app-bar/play.stories.tsx @@ -1,15 +1,15 @@ -import * as React from "react"; -import { styled } from "@washingtonpost/wpds-theme"; +import React from "react"; +import { styled } from "../theme"; import WashingtonPostWhite from "@washingtonpost/wpds-assets/asset/washington-post-white"; import Menu from "@washingtonpost/wpds-assets/asset/menu"; -import { Container } from "@washingtonpost/wpds-container"; -import { Box } from "@washingtonpost/wpds-box"; -import { Icon } from "@washingtonpost/wpds-icon"; +import { Container } from "../container"; +import { Box } from "../box"; +import { Icon } from "../icon"; import Profile from "@washingtonpost/wpds-assets/asset/profile"; import { useDarkMode } from "storybook-dark-mode"; import WashingtonPost from "@washingtonpost/wpds-assets/asset/washington-post"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; +import type { Meta, StoryFn } from "@storybook/react"; import { AppBar as Component } from "."; @@ -30,7 +30,7 @@ export default { parameters: { layout: "fullscreen", }, -} as ComponentMeta; +} as Meta; const PrimaryNavigationExample = () => { const darkModeActive = useDarkMode(); @@ -74,20 +74,26 @@ const PrimaryNavigationExample = () => { ); }; -const Template: ComponentStory = (args) => ( - -); +export const Play = { + args: { + shadow: true, + position: "sticky", + css: { + top: 0, + left: 0, + }, + children: , + }, -export const Play = Template.bind({}); + decorators: [ + (Story) => ( + + + + ), + ], -Play.args = { - shadow: true, - position: "sticky", - css: { - top: 0, - left: 0, - }, - children: , + name: "App Bar", }; const Decorator = styled("div", { @@ -96,13 +102,3 @@ const Decorator = styled("div", { width: "100%", height: "calc(100vh * 3);", }); - -Play.decorators = [ - (Story) => ( - - - - ), -]; - -Play.storyName = "App Bar"; diff --git a/ui/avatar/src/Avatar.tsx b/packages/kit/src/avatar/Avatar.tsx similarity index 93% rename from ui/avatar/src/Avatar.tsx rename to packages/kit/src/avatar/Avatar.tsx index 705a36e8d..c9b10dadd 100644 --- a/ui/avatar/src/Avatar.tsx +++ b/packages/kit/src/avatar/Avatar.tsx @@ -1,9 +1,9 @@ -import * as React from "react"; +import React from "react"; import * as AvatarPrimitive from "@radix-ui/react-avatar"; -import { css, styled } from "@washingtonpost/wpds-theme"; -import * as Tokens from "@washingtonpost/wpds-theme/src/tokens"; +import { css, styled } from "../theme"; +import * as Tokens from "../theme/tokens"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; import type * as Stitches from "@stitches/react"; const NAME = "Avatar"; diff --git a/ui/avatar/src/index.ts b/packages/kit/src/avatar/index.ts similarity index 100% rename from ui/avatar/src/index.ts rename to packages/kit/src/avatar/index.ts diff --git a/packages/kit/src/avatar/play.stories.tsx b/packages/kit/src/avatar/play.stories.tsx new file mode 100644 index 000000000..ce0489deb --- /dev/null +++ b/packages/kit/src/avatar/play.stories.tsx @@ -0,0 +1,146 @@ +import React from "react"; +import { Avatar as Component } from "./"; +import { styled, theme } from "../theme"; +import type { StoryObj, Meta, StoryFn } from "@storybook/react"; + +export default { + title: "Avatar", + component: Component, + argTypes: { + size: { + options: [ + "025", + "050", + "075", + "087", + "100", + "125", + "150", + "175", + "200", + "225", + "250", + "275", + "300", + "350", + "400", + "450", + "500", + ], + control: { type: "select" }, + }, + }, +} as Meta; + +const defaultArgs = { + size: 200, + css: { + backgroundColor: theme.colors.subtle, + }, +}; + +const Container = styled("div", { + textAlign: "center", +}); +const Label = styled("h3", { + color: theme.colors.primary, + margin: 0, + textAlign: "center", +}); + +export const Avatar: StoryObj = { + render: (args) => ( + + + + An avatar is an atomic component that represents an individual’s identity through a circular photo. + + + ), + + args: { ...defaultArgs }, +}; + +export const Responsive = { + render: (args) => { + return ( + + An avatar is an atomic component that represents an individual’s identity through a circular photo. + + ); + }, +}; + +const Row = styled("div", { + display: "flex", + gap: theme.space["100"], +}); + +export const StyledOverride: StoryObj = { + render: (args) => { + const StyledComponent = styled(Component, { + boxShadow: theme.shadows["300"], + "&.override": { + width: "150px", + height: "150px", + }, + }); + + return ( + + + An avatar is an atomic component that represents an individual’s identity through a circular photo. + + + An avatar is an atomic component that represents an individual’s identity through a circular photo. + + + ); + }, +}; + +export const TokenForSize: StoryObj = { + render: (args) => { + return ( + + + An avatar is an atomic component that represents an individual’s identity through a circular photo. + + + An avatar is an atomic component that represents an individual’s identity through a circular photo. + + + An avatar is an atomic component that represents an individual’s identity through a circular photo. + + + ); + }, +}; diff --git a/ui/box/src/box.tsx b/packages/kit/src/box/box.tsx similarity index 70% rename from ui/box/src/box.tsx rename to packages/kit/src/box/box.tsx index f4fc0a789..ba0841cf2 100644 --- a/ui/box/src/box.tsx +++ b/packages/kit/src/box/box.tsx @@ -1,4 +1,4 @@ -import * as Kit from "@washingtonpost/wpds-theme"; +import * as Kit from "../theme"; export const Box = Kit.styled("div"); diff --git a/ui/box/src/index.ts b/packages/kit/src/box/index.ts similarity index 100% rename from ui/box/src/index.ts rename to packages/kit/src/box/index.ts diff --git a/packages/kit/src/box/play.stories.tsx b/packages/kit/src/box/play.stories.tsx new file mode 100644 index 000000000..a1fa241fa --- /dev/null +++ b/packages/kit/src/box/play.stories.tsx @@ -0,0 +1,26 @@ +import React from "react"; +import { Box as Component } from "./box"; + +import type { Meta, StoryFn } from "@storybook/react"; + +export default { + title: "Box", + component: Component, +} as Meta; + +const Template: StoryFn = (args) => ( + + Hello, World! + +); + +export const Box = { + render: Template, + args: {}, +}; diff --git a/packages/kit/src/button/play.stories.tsx b/packages/kit/src/button/play.stories.tsx index c74383377..17e2904a4 100644 --- a/packages/kit/src/button/play.stories.tsx +++ b/packages/kit/src/button/play.stories.tsx @@ -1,3 +1,4 @@ +import React from "react"; import { expect } from "@storybook/jest"; import { within, userEvent } from "@storybook/testing-library"; diff --git a/packages/kit/src/card/Card.tsx b/packages/kit/src/card/Card.tsx index 8607f6127..f2e6f3098 100644 --- a/packages/kit/src/card/Card.tsx +++ b/packages/kit/src/card/Card.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; -import type * as WPDS from "@washingtonpost/wpds-theme"; -import { theme, styled } from "@washingtonpost/wpds-theme"; +import React from "react"; +import type * as WPDS from "../theme"; +import { theme, styled } from "../theme"; const StyledCard = styled("div", { padding: theme.space["150"], diff --git a/packages/kit/src/card/play.stories.tsx b/packages/kit/src/card/play.stories.tsx index fdf768243..4b226c511 100644 --- a/packages/kit/src/card/play.stories.tsx +++ b/packages/kit/src/card/play.stories.tsx @@ -1,7 +1,8 @@ +import React from "react"; import { Card as Component } from "."; -import { theme, styled } from "@washingtonpost/wpds-theme"; -import { Button } from "@washingtonpost/wpds-button"; -import { Accordion, ACCORDION_TYPE } from "@washingtonpost/wpds-accordion"; +import { theme, styled } from "../theme"; +import { Button } from "../button"; +import { Accordion, ACCORDION_TYPE } from "../accordion"; import type { ComponentStory, ComponentMeta } from "@storybook/react"; diff --git a/ui/carousel/src/Carousel.tsx b/packages/kit/src/carousel/Carousel.tsx similarity index 100% rename from ui/carousel/src/Carousel.tsx rename to packages/kit/src/carousel/Carousel.tsx diff --git a/ui/carousel/src/CarouselContent.test.tsx b/packages/kit/src/carousel/CarouselContent.test.tsx similarity index 100% rename from ui/carousel/src/CarouselContent.test.tsx rename to packages/kit/src/carousel/CarouselContent.test.tsx diff --git a/ui/carousel/src/CarouselContent.tsx b/packages/kit/src/carousel/CarouselContent.tsx similarity index 98% rename from ui/carousel/src/CarouselContent.tsx rename to packages/kit/src/carousel/CarouselContent.tsx index 99aa0e80a..b64789b53 100644 --- a/ui/carousel/src/CarouselContent.tsx +++ b/packages/kit/src/carousel/CarouselContent.tsx @@ -1,7 +1,7 @@ -import * as React from "react"; +import React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; +import type * as WPDS from "../theme"; import { useSwipeable } from "react-swipeable"; diff --git a/ui/carousel/src/CarouselDots.test.tsx b/packages/kit/src/carousel/CarouselDots.test.tsx similarity index 90% rename from ui/carousel/src/CarouselDots.test.tsx rename to packages/kit/src/carousel/CarouselDots.test.tsx index a0b878b89..d56e426de 100644 --- a/ui/carousel/src/CarouselDots.test.tsx +++ b/packages/kit/src/carousel/CarouselDots.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { CarouselDots } from "./CarouselDots"; diff --git a/ui/carousel/src/CarouselDots.tsx b/packages/kit/src/carousel/CarouselDots.tsx similarity index 84% rename from ui/carousel/src/CarouselDots.tsx rename to packages/kit/src/carousel/CarouselDots.tsx index cd037330d..6b117dfae 100644 --- a/ui/carousel/src/CarouselDots.tsx +++ b/packages/kit/src/carousel/CarouselDots.tsx @@ -1,5 +1,5 @@ -import * as React from "react"; -import { PaginationDots } from "@washingtonpost/wpds-pagination-dots"; +import React from "react"; +import { PaginationDots } from "../pagination-dots"; import { CarouselContext } from "./CarouselRoot"; const NAME = "CarouselDots"; diff --git a/ui/carousel/src/CarouselFooter.test.tsx b/packages/kit/src/carousel/CarouselFooter.test.tsx similarity index 90% rename from ui/carousel/src/CarouselFooter.test.tsx rename to packages/kit/src/carousel/CarouselFooter.test.tsx index c7dc8caf4..ab5089458 100644 --- a/ui/carousel/src/CarouselFooter.test.tsx +++ b/packages/kit/src/carousel/CarouselFooter.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { CarouselFooter } from "./CarouselFooter"; diff --git a/ui/carousel/src/CarouselFooter.tsx b/packages/kit/src/carousel/CarouselFooter.tsx similarity index 77% rename from ui/carousel/src/CarouselFooter.tsx rename to packages/kit/src/carousel/CarouselFooter.tsx index fc9d7e371..8e3e48e15 100644 --- a/ui/carousel/src/CarouselFooter.tsx +++ b/packages/kit/src/carousel/CarouselFooter.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import React from "react"; +import { styled, theme } from "../theme"; +import type * as WPDS from "../theme"; const NAME = "CarouselFooter"; diff --git a/ui/carousel/src/CarouselHeader.test.tsx b/packages/kit/src/carousel/CarouselHeader.test.tsx similarity index 90% rename from ui/carousel/src/CarouselHeader.test.tsx rename to packages/kit/src/carousel/CarouselHeader.test.tsx index 7b684aa43..d393af71d 100644 --- a/ui/carousel/src/CarouselHeader.test.tsx +++ b/packages/kit/src/carousel/CarouselHeader.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { CarouselHeader } from "./CarouselHeader"; diff --git a/ui/carousel/src/CarouselHeader.tsx b/packages/kit/src/carousel/CarouselHeader.tsx similarity index 76% rename from ui/carousel/src/CarouselHeader.tsx rename to packages/kit/src/carousel/CarouselHeader.tsx index ffecbf8ac..c1bf50fdf 100644 --- a/ui/carousel/src/CarouselHeader.tsx +++ b/packages/kit/src/carousel/CarouselHeader.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import React from "react"; +import { styled, theme } from "../theme"; +import type * as WPDS from "../theme"; const NAME = "CarouselHeader"; diff --git a/ui/carousel/src/CarouselHeaderActions.test.tsx b/packages/kit/src/carousel/CarouselHeaderActions.test.tsx similarity index 91% rename from ui/carousel/src/CarouselHeaderActions.test.tsx rename to packages/kit/src/carousel/CarouselHeaderActions.test.tsx index 028cdedd9..699fd1b38 100644 --- a/ui/carousel/src/CarouselHeaderActions.test.tsx +++ b/packages/kit/src/carousel/CarouselHeaderActions.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { CarouselHeaderActions } from "./CarouselHeaderActions"; diff --git a/ui/carousel/src/CarouselHeaderActions.tsx b/packages/kit/src/carousel/CarouselHeaderActions.tsx similarity index 78% rename from ui/carousel/src/CarouselHeaderActions.tsx rename to packages/kit/src/carousel/CarouselHeaderActions.tsx index ad6aeadab..9c3dbccdf 100644 --- a/ui/carousel/src/CarouselHeaderActions.tsx +++ b/packages/kit/src/carousel/CarouselHeaderActions.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import React from "react"; +import { styled, theme } from "../theme"; +import type * as WPDS from "../theme"; const NAME = "CarouselHeaderActions"; diff --git a/ui/carousel/src/CarouselHeaderContent.test.tsx b/packages/kit/src/carousel/CarouselHeaderContent.test.tsx similarity index 91% rename from ui/carousel/src/CarouselHeaderContent.test.tsx rename to packages/kit/src/carousel/CarouselHeaderContent.test.tsx index 0598c9586..5af2587bc 100644 --- a/ui/carousel/src/CarouselHeaderContent.test.tsx +++ b/packages/kit/src/carousel/CarouselHeaderContent.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { CarouselHeaderContent } from "./CarouselHeaderContent"; diff --git a/ui/carousel/src/CarouselHeaderContent.tsx b/packages/kit/src/carousel/CarouselHeaderContent.tsx similarity index 77% rename from ui/carousel/src/CarouselHeaderContent.tsx rename to packages/kit/src/carousel/CarouselHeaderContent.tsx index 0ecfbf4b7..21a596bce 100644 --- a/ui/carousel/src/CarouselHeaderContent.tsx +++ b/packages/kit/src/carousel/CarouselHeaderContent.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; -import { styled } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import React from "react"; +import { styled } from "../theme"; +import type * as WPDS from "../theme"; const NAME = "CarouselHeaderContent"; diff --git a/ui/carousel/src/CarouselItem.test.tsx b/packages/kit/src/carousel/CarouselItem.test.tsx similarity index 100% rename from ui/carousel/src/CarouselItem.test.tsx rename to packages/kit/src/carousel/CarouselItem.test.tsx diff --git a/ui/carousel/src/CarouselItem.tsx b/packages/kit/src/carousel/CarouselItem.tsx similarity index 91% rename from ui/carousel/src/CarouselItem.tsx rename to packages/kit/src/carousel/CarouselItem.tsx index fe2170e41..f57ca19f6 100644 --- a/ui/carousel/src/CarouselItem.tsx +++ b/packages/kit/src/carousel/CarouselItem.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import React from "react"; +import { styled, theme } from "../theme"; +import type * as WPDS from "../theme"; import { CarouselContext } from "./CarouselRoot"; import { isItemShown } from "./utils"; diff --git a/ui/carousel/src/CarouselNextButton.test.tsx b/packages/kit/src/carousel/CarouselNextButton.test.tsx similarity index 100% rename from ui/carousel/src/CarouselNextButton.test.tsx rename to packages/kit/src/carousel/CarouselNextButton.test.tsx diff --git a/ui/carousel/src/CarouselNextButton.tsx b/packages/kit/src/carousel/CarouselNextButton.tsx similarity index 89% rename from ui/carousel/src/CarouselNextButton.tsx rename to packages/kit/src/carousel/CarouselNextButton.tsx index 456e93d78..8af7983c4 100644 --- a/ui/carousel/src/CarouselNextButton.tsx +++ b/packages/kit/src/carousel/CarouselNextButton.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; +import React from "react"; import { Slot } from "@radix-ui/react-slot"; -import { Button } from "@washingtonpost/wpds-button"; -import { Icon } from "@washingtonpost/wpds-icon"; -import { ArrowRight } from "@washingtonpost/wpds-assets/"; +import { Button } from "../button"; +import { Icon } from "../icon"; +import { ArrowRight } from "@washingtonpost/wpds-assets"; import { CarouselContext } from "./CarouselRoot"; const NAME = "CarouselNextButton"; diff --git a/ui/carousel/src/CarouselPreviousButton.test.tsx b/packages/kit/src/carousel/CarouselPreviousButton.test.tsx similarity index 100% rename from ui/carousel/src/CarouselPreviousButton.test.tsx rename to packages/kit/src/carousel/CarouselPreviousButton.test.tsx diff --git a/ui/carousel/src/CarouselPreviousButton.tsx b/packages/kit/src/carousel/CarouselPreviousButton.tsx similarity index 89% rename from ui/carousel/src/CarouselPreviousButton.tsx rename to packages/kit/src/carousel/CarouselPreviousButton.tsx index 0eee7f2ab..0ec864685 100644 --- a/ui/carousel/src/CarouselPreviousButton.tsx +++ b/packages/kit/src/carousel/CarouselPreviousButton.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; +import React from "react"; import { Slot } from "@radix-ui/react-slot"; -import { Button } from "@washingtonpost/wpds-button"; -import { Icon } from "@washingtonpost/wpds-icon"; -import { ArrowLeft } from "@washingtonpost/wpds-assets/"; +import { Button } from "../button"; +import { Icon } from "../icon"; +import { ArrowLeft } from "@washingtonpost/wpds-assets"; import { CarouselContext } from "./CarouselRoot"; const NAME = "CarouselPreviousButton"; diff --git a/ui/carousel/src/CarouselRoot.test.tsx b/packages/kit/src/carousel/CarouselRoot.test.tsx similarity index 90% rename from ui/carousel/src/CarouselRoot.test.tsx rename to packages/kit/src/carousel/CarouselRoot.test.tsx index 6cb52d29b..c34b4f6f4 100644 --- a/ui/carousel/src/CarouselRoot.test.tsx +++ b/packages/kit/src/carousel/CarouselRoot.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { CarouselRoot } from "./CarouselRoot"; diff --git a/ui/carousel/src/CarouselRoot.tsx b/packages/kit/src/carousel/CarouselRoot.tsx similarity index 95% rename from ui/carousel/src/CarouselRoot.tsx rename to packages/kit/src/carousel/CarouselRoot.tsx index 08b05e831..06212b5c3 100644 --- a/ui/carousel/src/CarouselRoot.tsx +++ b/packages/kit/src/carousel/CarouselRoot.tsx @@ -1,7 +1,7 @@ -import * as React from "react"; +import React from "react"; import { useControllableState } from "@radix-ui/react-use-controllable-state"; -import { styled } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import { styled } from "../theme"; +import type * as WPDS from "../theme"; type CarouselContextProps = { page: number; diff --git a/ui/carousel/src/CarouselTitle.test.tsx b/packages/kit/src/carousel/CarouselTitle.test.tsx similarity index 90% rename from ui/carousel/src/CarouselTitle.test.tsx rename to packages/kit/src/carousel/CarouselTitle.test.tsx index 75108d2b4..8c33129a0 100644 --- a/ui/carousel/src/CarouselTitle.test.tsx +++ b/packages/kit/src/carousel/CarouselTitle.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { CarouselTitle } from "./CarouselTitle"; diff --git a/ui/carousel/src/CarouselTitle.tsx b/packages/kit/src/carousel/CarouselTitle.tsx similarity index 83% rename from ui/carousel/src/CarouselTitle.tsx rename to packages/kit/src/carousel/CarouselTitle.tsx index 92f09f163..6db4274c3 100644 --- a/ui/carousel/src/CarouselTitle.tsx +++ b/packages/kit/src/carousel/CarouselTitle.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import React from "react"; +import { styled, theme } from "../theme"; import { CarouselContext } from "./CarouselRoot"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "CarouselTitle"; diff --git a/ui/carousel/src/index.ts b/packages/kit/src/carousel/index.ts similarity index 100% rename from ui/carousel/src/index.ts rename to packages/kit/src/carousel/index.ts diff --git a/ui/carousel/src/play.stories.jsx b/packages/kit/src/carousel/play.stories.jsx similarity index 96% rename from ui/carousel/src/play.stories.jsx rename to packages/kit/src/carousel/play.stories.jsx index dc3b94f6d..742a4800a 100644 --- a/ui/carousel/src/play.stories.jsx +++ b/packages/kit/src/carousel/play.stories.jsx @@ -1,11 +1,11 @@ -import * as React from "react"; +import { useState, useRef } from "react"; import { userEvent, waitFor, within } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; import { Carousel as Component } from "./"; -import { Box } from "@washingtonpost/wpds-box"; -import { Button } from "@washingtonpost/wpds-button"; -import { Icon } from "@washingtonpost/wpds-icon"; +import { Box } from "../box"; +import { Button } from "../button"; +import { Icon } from "../icon"; import { Play, Pause } from "@washingtonpost/wpds-assets"; import { useActiveDescendant } from "./useActiveDescendant"; @@ -27,7 +27,7 @@ export default { }; const Template = (args) => { - const [page, setPage] = React.useState(0); + const [page, setPage] = useState(0); const items = [ theme.colors.red400, theme.colors.orange400, @@ -175,9 +175,9 @@ CustomButtons.parameters = { const SlideshowTemplate = (args) => { const items = new Array(4).fill(""); - const [page, setPage] = React.useState(0); - const wrapRef = React.useRef(false); - const [intervalId, setIntervalId] = React.useState(); + const [page, setPage] = useState(0); + const wrapRef = useRef(false); + const [intervalId, setIntervalId] = useState(); const handleOnClick = () => { const wrapPages = (currentPage) => { @@ -305,7 +305,7 @@ const BrightsCarouselTemplate = (args) => { }, ]; - const [focused, setFocused] = React.useState(); + const [focused, setFocused] = useState(); const triggerActiveLink = () => { window.open(focused.url); @@ -404,7 +404,7 @@ const VerticalVideoTemplate = () => { { id: "title-5", headline: "Title 5", byline: "Author 5" }, ]; - const containerRef = React.useRef(null); + const containerRef = useRef(null); const { addDescendant, handleDescendantFocus, contentProps } = useActiveDescendant(containerRef); @@ -555,7 +555,7 @@ export const VerticalVideo = VerticalVideoTemplate.bind({}); const InteractionsTemplate = () => { const items = [{ id: "item-1" }, { id: "item-2" }, { id: "item-3" }]; - const containerRef = React.useRef(null); + const containerRef = useRef(null); const { handleDescendantFocus, contentProps, addDescendant, focusClassName } = useActiveDescendant(containerRef); return ( @@ -629,8 +629,8 @@ Interactions.play = async ({ canvasElement }) => { }; const InternalFocusTemplate = () => { - const [asyncState, setAsyncState] = React.useState(false); - const containerRef = React.useRef(); + const [asyncState, setAsyncState] = useState(false); + const containerRef = useRef(); const { handleDescendantFocus, contentProps, addDescendant, focusClassName } = useActiveDescendant(containerRef); return ( diff --git a/ui/carousel/src/useActiveDescendant.test.tsx b/packages/kit/src/carousel/useActiveDescendant.test.tsx similarity index 98% rename from ui/carousel/src/useActiveDescendant.test.tsx rename to packages/kit/src/carousel/useActiveDescendant.test.tsx index 7d06ea0ce..4da51f42c 100644 --- a/ui/carousel/src/useActiveDescendant.test.tsx +++ b/packages/kit/src/carousel/useActiveDescendant.test.tsx @@ -1,4 +1,4 @@ -import * as React from "react"; +import { useRef } from "react"; import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { useActiveDescendant } from "./useActiveDescendant"; @@ -7,7 +7,7 @@ import { CarouselContent } from "./CarouselContent"; import { CarouselItem } from "./CarouselItem"; const ComponentWrapper = ({ onClick }: { onClick?: () => void }) => { - const containerRef = React.useRef(null); + const containerRef = useRef(null); const { handleDescendantFocus, contentProps, addDescendant, focusClassName } = useActiveDescendant(containerRef); diff --git a/ui/carousel/src/useActiveDescendant.ts b/packages/kit/src/carousel/useActiveDescendant.ts similarity index 99% rename from ui/carousel/src/useActiveDescendant.ts rename to packages/kit/src/carousel/useActiveDescendant.ts index 7b398a45a..cc21c556f 100644 --- a/ui/carousel/src/useActiveDescendant.ts +++ b/packages/kit/src/carousel/useActiveDescendant.ts @@ -1,5 +1,5 @@ /** manage aria-activedescendant */ -import { css, theme } from "@washingtonpost/wpds-theme"; +import { css, theme } from "../theme"; import { useState, useRef, useCallback } from "react"; const focused = css({ diff --git a/ui/carousel/src/utils.tsx b/packages/kit/src/carousel/utils.tsx similarity index 100% rename from ui/carousel/src/utils.tsx rename to packages/kit/src/carousel/utils.tsx diff --git a/ui/checkbox/src/Checkbox.tsx b/packages/kit/src/checkbox/Checkbox.tsx similarity index 97% rename from ui/checkbox/src/Checkbox.tsx rename to packages/kit/src/checkbox/Checkbox.tsx index fd075c0e5..6d24bb140 100644 --- a/ui/checkbox/src/Checkbox.tsx +++ b/packages/kit/src/checkbox/Checkbox.tsx @@ -1,12 +1,12 @@ -import * as React from "react"; +import React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; import { Check, Indeterminate } from "@washingtonpost/wpds-assets"; import * as PrimitiveCheckbox from "@radix-ui/react-checkbox"; -import { InputLabel } from "@washingtonpost/wpds-input-label"; +import { InputLabel } from "../input-label"; const StyledCheckbox = styled(PrimitiveCheckbox.Root, { transition: `background ${theme.transitions.fast} ${theme.transitions.inOut}`, diff --git a/ui/checkbox/src/index.ts b/packages/kit/src/checkbox/index.ts similarity index 100% rename from ui/checkbox/src/index.ts rename to packages/kit/src/checkbox/index.ts diff --git a/ui/checkbox/src/play.stories.tsx b/packages/kit/src/checkbox/play.stories.tsx similarity index 90% rename from ui/checkbox/src/play.stories.tsx rename to packages/kit/src/checkbox/play.stories.tsx index 2b7e26c52..225ce9534 100644 --- a/ui/checkbox/src/play.stories.tsx +++ b/packages/kit/src/checkbox/play.stories.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import React, { useState } from "react"; +import { styled, theme } from "../theme"; import { Checkbox as Component } from "."; -import type { ComponentStory, ComponentMeta } from "@storybook/react"; +import type { StoryFn, Meta } from "@storybook/react"; const variants = ["primary", "secondary", "cta"]; const size = ["087", "125"]; @@ -70,25 +70,27 @@ export default { control: "text", }, }, -} as ComponentMeta; +} as Meta; -export const Play = (args) => { - const [checked, setChecked] = React.useState(false); +export const Play = { + render: (args) => { + const [checked, setChecked] = useState(false); - return ( - - ); -}; -Play.args = {}; + return ( + + ); + }, -Play.storyName = "Checkbox"; + args: {}, + name: "Checkbox", +}; -const ChromaticTemplate: ComponentStory = () => { +const ChromaticTemplate: StoryFn = () => { const isRequired = true; return ( <> @@ -261,12 +263,15 @@ const ChromaticTemplate: ComponentStory = () => { ); }; -export const Chromatic = ChromaticTemplate.bind({}); -Chromatic.args = {}; -Chromatic.decorators = [ - (Story) => ( - - - - ), -]; +export const Chromatic = { + render: ChromaticTemplate, + args: {}, + + decorators: [ + (Story) => ( + + + + ), + ], +}; diff --git a/ui/container/src/Container.tsx b/packages/kit/src/container/Container.tsx similarity index 95% rename from ui/container/src/Container.tsx rename to packages/kit/src/container/Container.tsx index cc7701926..51c523e71 100644 --- a/ui/container/src/Container.tsx +++ b/packages/kit/src/container/Container.tsx @@ -1,4 +1,4 @@ -import * as Theme from "@washingtonpost/wpds-theme"; +import * as Theme from "../theme"; import * as React from "react"; export const Container = Theme.styled("div", { diff --git a/ui/container/src/index.ts b/packages/kit/src/container/index.ts similarity index 100% rename from ui/container/src/index.ts rename to packages/kit/src/container/index.ts diff --git a/packages/kit/src/container/play.stories.tsx b/packages/kit/src/container/play.stories.tsx new file mode 100644 index 000000000..3d0d9b560 --- /dev/null +++ b/packages/kit/src/container/play.stories.tsx @@ -0,0 +1,63 @@ +import React from "react"; +import { Box } from "../box"; +import { Container as Component } from "."; + +import type { StoryFn, Meta } from "@storybook/react"; + +export default { + title: "Container", + component: Component, + argTypes: { + maxWidth: { + options: ["fluid", "sm", "md", "lg", "xl"], + defaultValue: "fluid", + }, + }, + parameters: { + layout: "fullscreen", + }, + args: { + maxWidth: "fluid", + }, +} as Meta; + +const Template: StoryFn = (args) => ( + <> + Extra lg + lg + md + sm + Fluid + Play + +); + +export const Container = { + render: Template, + args: {}, + + decorators: [ + (Story) => ( + *": { + border: "1px dashed $gray100", + background: "rgb(148, 83, 140, 0.2)", + height: "$500", + color: "$primary", + }, + }} + > + + + ), + ], + + parameters: { + chromatic: { viewports: [767, 768, 900, 1024, 1440] }, + }, +}; diff --git a/ui/dialog/src/Dialog.tsx b/packages/kit/src/dialog/Dialog.tsx similarity index 100% rename from ui/dialog/src/Dialog.tsx rename to packages/kit/src/dialog/Dialog.tsx diff --git a/ui/dialog/src/DialogBody.test.tsx b/packages/kit/src/dialog/DialogBody.test.tsx similarity index 100% rename from ui/dialog/src/DialogBody.test.tsx rename to packages/kit/src/dialog/DialogBody.test.tsx diff --git a/ui/dialog/src/DialogBody.tsx b/packages/kit/src/dialog/DialogBody.tsx similarity index 92% rename from ui/dialog/src/DialogBody.tsx rename to packages/kit/src/dialog/DialogBody.tsx index 4fffd7c01..332654746 100644 --- a/ui/dialog/src/DialogBody.tsx +++ b/packages/kit/src/dialog/DialogBody.tsx @@ -1,7 +1,7 @@ import * as React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "DialogBody"; diff --git a/ui/dialog/src/DialogClose.test.tsx b/packages/kit/src/dialog/DialogClose.test.tsx similarity index 100% rename from ui/dialog/src/DialogClose.test.tsx rename to packages/kit/src/dialog/DialogClose.test.tsx diff --git a/ui/dialog/src/DialogClose.tsx b/packages/kit/src/dialog/DialogClose.tsx similarity index 84% rename from ui/dialog/src/DialogClose.tsx rename to packages/kit/src/dialog/DialogClose.tsx index ee015c32e..1538067da 100644 --- a/ui/dialog/src/DialogClose.tsx +++ b/packages/kit/src/dialog/DialogClose.tsx @@ -1,11 +1,11 @@ import * as React from "react"; import * as DialogPrimitive from "@radix-ui/react-dialog"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import { Button } from "@washingtonpost/wpds-button"; -import { Icon } from "@washingtonpost/wpds-icon"; +import { styled, theme } from "../theme"; +import { Button } from "../button"; +import { Icon } from "../icon"; import { Close } from "@washingtonpost/wpds-assets"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "DialogClose"; diff --git a/ui/dialog/src/DialogContent.test.tsx b/packages/kit/src/dialog/DialogContent.test.tsx similarity index 100% rename from ui/dialog/src/DialogContent.test.tsx rename to packages/kit/src/dialog/DialogContent.test.tsx diff --git a/ui/dialog/src/DialogContent.tsx b/packages/kit/src/dialog/DialogContent.tsx similarity index 93% rename from ui/dialog/src/DialogContent.tsx rename to packages/kit/src/dialog/DialogContent.tsx index 7ede5db20..f049e408c 100644 --- a/ui/dialog/src/DialogContent.tsx +++ b/packages/kit/src/dialog/DialogContent.tsx @@ -1,12 +1,12 @@ import * as React from "react"; import * as DialogPrimitive from "@radix-ui/react-dialog"; -import { theme, styled } from "@washingtonpost/wpds-theme"; +import { theme, styled } from "../theme"; import { CSSTransition } from "react-transition-group"; import { DialogContext } from "./DialogRoot"; import type { DialogContentProps as RadixDialogContentProps } from "@radix-ui/react-dialog"; import type { StandardLonghandProperties } from "@stitches/react/types/css"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "DialogContent"; @@ -59,7 +59,7 @@ export type DialogContentProps = { /** Css background color of content*/ backgroundColor?: | StandardLonghandProperties["backgroundColor"] - | typeof theme.colors[keyof typeof theme.colors]; + | (typeof theme.colors)[keyof typeof theme.colors]; /** Any React node may be used as a child */ children?: React.ReactNode; /** Override CSS */ @@ -71,7 +71,7 @@ export type DialogContentProps = { /** Css z-index */ zIndex?: | StandardLonghandProperties["zIndex"] - | typeof theme.zIndices[keyof typeof theme.zIndices]; + | (typeof theme.zIndices)[keyof typeof theme.zIndices]; } & RadixDialogContentProps; export const DialogContent = React.forwardRef< diff --git a/ui/dialog/src/DialogDescription.test.tsx b/packages/kit/src/dialog/DialogDescription.test.tsx similarity index 100% rename from ui/dialog/src/DialogDescription.test.tsx rename to packages/kit/src/dialog/DialogDescription.test.tsx diff --git a/ui/dialog/src/DialogDescription.tsx b/packages/kit/src/dialog/DialogDescription.tsx similarity index 90% rename from ui/dialog/src/DialogDescription.tsx rename to packages/kit/src/dialog/DialogDescription.tsx index 3a989bf64..636dd5a29 100644 --- a/ui/dialog/src/DialogDescription.tsx +++ b/packages/kit/src/dialog/DialogDescription.tsx @@ -1,9 +1,9 @@ import * as React from "react"; import * as DialogPrimitive from "@radix-ui/react-dialog"; -import { theme, styled } from "@washingtonpost/wpds-theme"; +import { theme, styled } from "../theme"; import type { DialogDescriptionProps as RadixDialogDescriptionProps } from "@radix-ui/react-dialog"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "DialogDescription"; diff --git a/ui/dialog/src/DialogFooter.test.tsx b/packages/kit/src/dialog/DialogFooter.test.tsx similarity index 100% rename from ui/dialog/src/DialogFooter.test.tsx rename to packages/kit/src/dialog/DialogFooter.test.tsx diff --git a/ui/dialog/src/DialogFooter.tsx b/packages/kit/src/dialog/DialogFooter.tsx similarity index 88% rename from ui/dialog/src/DialogFooter.tsx rename to packages/kit/src/dialog/DialogFooter.tsx index 132a9dd62..87d1c2367 100644 --- a/ui/dialog/src/DialogFooter.tsx +++ b/packages/kit/src/dialog/DialogFooter.tsx @@ -1,7 +1,7 @@ import * as React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "DialogFooter"; diff --git a/ui/dialog/src/DialogHeader.test.tsx b/packages/kit/src/dialog/DialogHeader.test.tsx similarity index 100% rename from ui/dialog/src/DialogHeader.test.tsx rename to packages/kit/src/dialog/DialogHeader.test.tsx diff --git a/ui/dialog/src/DialogHeader.tsx b/packages/kit/src/dialog/DialogHeader.tsx similarity index 84% rename from ui/dialog/src/DialogHeader.tsx rename to packages/kit/src/dialog/DialogHeader.tsx index 3889b71d8..4ba275754 100644 --- a/ui/dialog/src/DialogHeader.tsx +++ b/packages/kit/src/dialog/DialogHeader.tsx @@ -1,7 +1,7 @@ import * as React from "react"; -import { styled } from "@washingtonpost/wpds-theme"; +import { styled } from "../theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "DialogHeader"; diff --git a/ui/dialog/src/DialogOverlay.test.tsx b/packages/kit/src/dialog/DialogOverlay.test.tsx similarity index 100% rename from ui/dialog/src/DialogOverlay.test.tsx rename to packages/kit/src/dialog/DialogOverlay.test.tsx diff --git a/ui/dialog/src/DialogOverlay.tsx b/packages/kit/src/dialog/DialogOverlay.tsx similarity index 91% rename from ui/dialog/src/DialogOverlay.tsx rename to packages/kit/src/dialog/DialogOverlay.tsx index 1335f232a..e7b1edca5 100644 --- a/ui/dialog/src/DialogOverlay.tsx +++ b/packages/kit/src/dialog/DialogOverlay.tsx @@ -1,11 +1,11 @@ import * as React from "react"; import * as DialogPrimitive from "@radix-ui/react-dialog"; import { CSSTransition } from "react-transition-group"; -import { theme, styled } from "@washingtonpost/wpds-theme"; +import { theme, styled } from "../theme"; import { DialogContext } from "./DialogRoot"; import type { DialogOverlayProps as RadixDialogOverlayProps } from "@radix-ui/react-dialog"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; import type { StandardLonghandProperties } from "@stitches/react/types/css"; const NAME = "DialogOverlay"; @@ -42,7 +42,7 @@ export type DialogOverlayProps = { /** Css background color of overlay*/ backgroundColor?: | StandardLonghandProperties["backgroundColor"] - | typeof theme.colors[keyof typeof theme.colors]; + | (typeof theme.colors)[keyof typeof theme.colors]; /** Any React node may be used as a child */ children?: React.ReactNode; /** Override CSS */ @@ -50,7 +50,7 @@ export type DialogOverlayProps = { /** Css z-index of overlay */ zIndex?: | StandardLonghandProperties["zIndex"] - | typeof theme.zIndices[keyof typeof theme.zIndices]; + | (typeof theme.zIndices)[keyof typeof theme.zIndices]; } & RadixDialogOverlayProps; export const DialogOverlay = React.forwardRef< diff --git a/ui/dialog/src/DialogPortal.test.tsx b/packages/kit/src/dialog/DialogPortal.test.tsx similarity index 100% rename from ui/dialog/src/DialogPortal.test.tsx rename to packages/kit/src/dialog/DialogPortal.test.tsx diff --git a/ui/dialog/src/DialogPortal.tsx b/packages/kit/src/dialog/DialogPortal.tsx similarity index 100% rename from ui/dialog/src/DialogPortal.tsx rename to packages/kit/src/dialog/DialogPortal.tsx diff --git a/ui/dialog/src/DialogRoot.test.tsx b/packages/kit/src/dialog/DialogRoot.test.tsx similarity index 100% rename from ui/dialog/src/DialogRoot.test.tsx rename to packages/kit/src/dialog/DialogRoot.test.tsx diff --git a/ui/dialog/src/DialogRoot.tsx b/packages/kit/src/dialog/DialogRoot.tsx similarity index 100% rename from ui/dialog/src/DialogRoot.tsx rename to packages/kit/src/dialog/DialogRoot.tsx diff --git a/ui/dialog/src/DialogTitle.test.tsx b/packages/kit/src/dialog/DialogTitle.test.tsx similarity index 100% rename from ui/dialog/src/DialogTitle.test.tsx rename to packages/kit/src/dialog/DialogTitle.test.tsx diff --git a/ui/dialog/src/DialogTitle.tsx b/packages/kit/src/dialog/DialogTitle.tsx similarity index 88% rename from ui/dialog/src/DialogTitle.tsx rename to packages/kit/src/dialog/DialogTitle.tsx index 7466cc187..ad2e11157 100644 --- a/ui/dialog/src/DialogTitle.tsx +++ b/packages/kit/src/dialog/DialogTitle.tsx @@ -1,9 +1,9 @@ import * as React from "react"; import * as DialogPrimitive from "@radix-ui/react-dialog"; -import { theme, styled } from "@washingtonpost/wpds-theme"; +import { theme, styled } from "../theme"; import type { DialogTitleProps as RadixDialogTitleProps } from "@radix-ui/react-dialog"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "DialogTitle"; diff --git a/ui/dialog/src/DialogTrigger.test.tsx b/packages/kit/src/dialog/DialogTrigger.test.tsx similarity index 100% rename from ui/dialog/src/DialogTrigger.test.tsx rename to packages/kit/src/dialog/DialogTrigger.test.tsx diff --git a/ui/dialog/src/DialogTrigger.tsx b/packages/kit/src/dialog/DialogTrigger.tsx similarity index 84% rename from ui/dialog/src/DialogTrigger.tsx rename to packages/kit/src/dialog/DialogTrigger.tsx index 29a88f20a..5d06d4506 100644 --- a/ui/dialog/src/DialogTrigger.tsx +++ b/packages/kit/src/dialog/DialogTrigger.tsx @@ -1,8 +1,8 @@ import * as React from "react"; import * as DialogPrimitive from "@radix-ui/react-dialog"; -import { styled } from "@washingtonpost/wpds-theme"; +import { styled } from "../theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "DialogTrigger"; diff --git a/ui/dialog/src/index.ts b/packages/kit/src/dialog/index.ts similarity index 100% rename from ui/dialog/src/index.ts rename to packages/kit/src/dialog/index.ts diff --git a/ui/dialog/src/play.stories.tsx b/packages/kit/src/dialog/play.stories.tsx similarity index 73% rename from ui/dialog/src/play.stories.tsx rename to packages/kit/src/dialog/play.stories.tsx index 45f47388a..ca5216b0d 100644 --- a/ui/dialog/src/play.stories.tsx +++ b/packages/kit/src/dialog/play.stories.tsx @@ -1,10 +1,11 @@ import * as React from "react"; import { userEvent, waitFor, within } from "@storybook/testing-library"; + import { expect } from "@storybook/jest"; import { Dialog } from "./Dialog"; -import { Button, styled, theme } from "@washingtonpost/wpds-ui-kit"; +import { Button, styled, theme } from "../"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; +import type { Meta, StoryFn } from "@storybook/react"; export default { title: "Dialog", @@ -17,7 +18,7 @@ export default { Title: Dialog.Title, Description: Dialog.Description, }, -} as ComponentMeta; +} as Meta; const DialogContainer = styled("div", { position: "relative", @@ -30,7 +31,7 @@ const DialogContainer = styled("div", { justifyContent: "center", }); -const Template: ComponentStory = (args) => { +const Template: StoryFn = (args) => { const [container, setContainer] = React.useState(null); return ( @@ -54,11 +55,12 @@ const Template: ComponentStory = (args) => { ); }; -export const Default = Template.bind({}); - -Default.args = {}; +export const Default = { + render: Template, + args: {}, +}; -const ContentTemplate: ComponentStory = (args) => { +const ContentTemplate: StoryFn = (args) => { const [container, setContainer] = React.useState(null); return ( @@ -108,7 +110,9 @@ const ContentTemplate: ComponentStory = (args) => { ); }; -export const Content = ContentTemplate.bind({}); +export const Content = { + render: ContentTemplate, +}; // eslint-disable-next-line @typescript-eslint/no-explicit-any const ContentBackgroundColorTemplate: any = (args) => { @@ -128,17 +132,19 @@ const ContentBackgroundColorTemplate: any = (args) => { ); }; -export const ContentBackgroundColor = ContentBackgroundColorTemplate.bind({}); +export const ContentBackgroundColor = { + render: ContentBackgroundColorTemplate, -ContentBackgroundColor.argTypes = { - backgroundColor: { - control: { type: "color" }, + argTypes: { + backgroundColor: { + control: { type: "color" }, + }, }, -}; -ContentBackgroundColor.args = { - // eslint-disable-next-line @washingtonpost/wpds/theme-colors - backgroundColor: theme.colors.blue500.value, + args: { + // eslint-disable-next-line @washingtonpost/wpds/theme-colors + backgroundColor: theme.colors.blue500.value, + }, }; // eslint-disable-next-line @typescript-eslint/no-explicit-any @@ -159,20 +165,22 @@ const OverlayBackgroundColorTemplate: any = (args) => { ); }; -export const OverlayBackgroundColor = OverlayBackgroundColorTemplate.bind({}); +export const OverlayBackgroundColor = { + render: OverlayBackgroundColorTemplate, -OverlayBackgroundColor.argTypes = { - backgroundColor: { - control: { type: "color" }, + argTypes: { + backgroundColor: { + control: { type: "color" }, + }, }, -}; -OverlayBackgroundColor.args = { - // eslint-disable-next-line @washingtonpost/wpds/theme-colors - backgroundColor: theme.colors.green500.value, + args: { + // eslint-disable-next-line @washingtonpost/wpds/theme-colors + backgroundColor: theme.colors.green500.value, + }, }; -const SmallTemplate: ComponentStory = (args) => { +const SmallTemplate: StoryFn = (args) => { const [container, setContainer] = React.useState(null); return ( @@ -200,9 +208,11 @@ const SmallTemplate: ComponentStory = (args) => { ); }; -export const Small = SmallTemplate.bind({}); +export const Small = { + render: SmallTemplate, +}; -const InteractionsTemplate: ComponentStory = () => { +const InteractionsTemplate: StoryFn = () => { const [container, setContainer] = React.useState(null); return ( @@ -231,23 +241,29 @@ const InteractionsTemplate: ComponentStory = () => { ); }; -export const Interactions = InteractionsTemplate.bind({}); - -Interactions.play = async ({ canvasElement }) => { - const canvas = within(canvasElement); - const open = canvas.getByRole("button"); - await userEvent.click(open); - await waitFor(() => expect(canvas.getByTestId("close-button")).toHaveFocus()); - await userEvent.click(canvas.getByTestId("close-button")); - await waitFor(() => expect(open).toHaveFocus()); - await userEvent.click(open); - await waitFor(() => expect(canvas.getByText("Cancel")).toBeVisible()); - await userEvent.click(canvas.getByText("Cancel")); - await waitFor(() => expect(open).toHaveFocus()); - await userEvent.click(open); - await waitFor(() => expect(canvas.getByTestId("overlay")).toBeVisible()); - await userEvent.click(canvas.getByTestId("overlay")); - await waitFor(() => expect(open).toHaveFocus()); +export const Interactions = { + render: InteractionsTemplate, + + play: async ({ canvasElement }) => { + const canvas = within(canvasElement); + const open = canvas.getByRole("button"); + const user = userEvent.setup({ pointerEventsCheck: 0 }); + + await user.click(open); + await waitFor(() => + expect(canvas.getByTestId("close-button")).toHaveFocus() + ); + await user.click(canvas.getByTestId("close-button")); + await waitFor(() => expect(open).toHaveFocus()); + await user.click(open); + await waitFor(() => expect(canvas.getByText("Cancel")).toBeVisible()); + await user.click(canvas.getByText("Cancel")); + await waitFor(() => expect(open).toHaveFocus()); + await user.click(open); + await waitFor(() => expect(canvas.getByTestId("overlay")).toBeVisible()); + await user.click(canvas.getByTestId("overlay")); + await waitFor(() => expect(open).toHaveFocus()); + }, }; // eslint-disable-next-line @typescript-eslint/no-explicit-any @@ -280,36 +296,38 @@ const ResponsiveInteractionsTemplate: any = () => { ); }; -export const ResponsiveInteractions = ResponsiveInteractionsTemplate.bind({}); - -ResponsiveInteractions.parameters = { - viewport: { - defaultViewport: "small", - viewports: { - small: { - name: "Small", - styles: { - height: "590px", - width: "767px", +export const ResponsiveInteractions = { + render: ResponsiveInteractionsTemplate, + + parameters: { + viewport: { + defaultViewport: "small", + viewports: { + small: { + name: "Small", + styles: { + height: "590px", + width: "767px", + }, + type: "mobile", }, - type: "mobile", }, }, - }, - chromatic: { - modes: { - mobile: { viewport: "small" }, + chromatic: { + modes: { + mobile: { viewport: "small" }, + }, }, }, + + play: async ({ canvasElement }) => { + const canvas = within(canvasElement); + await sleep(500); + await expect(canvas.getByRole("dialog")).toHaveStyle("width: 300px"); + }, }; // Function to emulate pausing between interactions function sleep(ms) { return new Promise((resolve) => setTimeout(resolve, ms)); } - -ResponsiveInteractions.play = async ({ canvasElement }) => { - const canvas = within(canvasElement); - await sleep(500); - await expect(canvas.getByRole("dialog")).toHaveStyle("width: 300px"); -}; diff --git a/ui/divider/src/Divider.tsx b/packages/kit/src/divider/Divider.tsx similarity index 81% rename from ui/divider/src/Divider.tsx rename to packages/kit/src/divider/Divider.tsx index 6a44a707d..3775f811b 100644 --- a/ui/divider/src/Divider.tsx +++ b/packages/kit/src/divider/Divider.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; +import React, { forwardRef } from "react"; import * as Separator from "@radix-ui/react-separator"; import type { SeparatorProps } from "@radix-ui/react-separator"; -import * as Theme from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import * as Theme from "../theme"; +import type * as WPDS from "../theme"; const NAME = "Divider"; @@ -30,7 +30,7 @@ interface DividerProps extends SeparatorProps { variant?: "default" | "strong"; } -export const Divider = React.forwardRef( +export const Divider = forwardRef( ({ css, variant = "default", ...props }, ref) => { return ; } diff --git a/ui/divider/src/index.ts b/packages/kit/src/divider/index.ts similarity index 100% rename from ui/divider/src/index.ts rename to packages/kit/src/divider/index.ts diff --git a/ui/divider/src/play.stories.tsx b/packages/kit/src/divider/play.stories.tsx similarity index 66% rename from ui/divider/src/play.stories.tsx rename to packages/kit/src/divider/play.stories.tsx index c07899d04..6aa2d69d1 100644 --- a/ui/divider/src/play.stories.tsx +++ b/packages/kit/src/divider/play.stories.tsx @@ -1,13 +1,13 @@ -import * as React from "react"; -import { styled } from "@washingtonpost/wpds-theme"; +import React from "react"; +import { styled } from "../theme"; import { Divider as Component } from "./"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; +import type { Meta, StoryFn } from "@storybook/react"; export default { title: "Divider", component: Component, -} as ComponentMeta; +} as Meta; const Container = styled("div", { display: "flex", @@ -17,16 +17,18 @@ const Container = styled("div", { height: "100px", }); -const Template: ComponentStory = (args) => ( +const Template: StoryFn = (args) => ( ); -export const Divider = Template.bind({}); +export const Divider = { + render: Template, -Divider.parameters = { - chromatic: { disableSnapshot: true }, + parameters: { + chromatic: { disableSnapshot: true }, + }, }; const Grid = styled("div", { @@ -52,7 +54,7 @@ const HStack = styled("section", { gap: "$200", }); -const ChromaticTemplate: ComponentStory = () => ( +const ChromaticTemplate: StoryFn = () => ( @@ -65,4 +67,6 @@ const ChromaticTemplate: ComponentStory = () => ( ); -export const Chromatic = ChromaticTemplate.bind({}); +export const Chromatic = { + render: ChromaticTemplate, +}; diff --git a/ui/drawer/src/Drawer.tsx b/packages/kit/src/drawer/Drawer.tsx similarity index 100% rename from ui/drawer/src/Drawer.tsx rename to packages/kit/src/drawer/Drawer.tsx diff --git a/ui/drawer/src/DrawerClose.test.tsx b/packages/kit/src/drawer/DrawerClose.test.tsx similarity index 97% rename from ui/drawer/src/DrawerClose.test.tsx rename to packages/kit/src/drawer/DrawerClose.test.tsx index 1b9e2c3af..dccd5b359 100644 --- a/ui/drawer/src/DrawerClose.test.tsx +++ b/packages/kit/src/drawer/DrawerClose.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { DrawerClose } from "./DrawerClose"; diff --git a/ui/drawer/src/DrawerClose.tsx b/packages/kit/src/drawer/DrawerClose.tsx similarity index 87% rename from ui/drawer/src/DrawerClose.tsx rename to packages/kit/src/drawer/DrawerClose.tsx index 2ac84d25f..5ff4ee4e7 100644 --- a/ui/drawer/src/DrawerClose.tsx +++ b/packages/kit/src/drawer/DrawerClose.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; +import React from "react"; import { DrawerContext } from "./DrawerRoot"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import { Button } from "@washingtonpost/wpds-button"; -import { Icon } from "@washingtonpost/wpds-icon"; +import { styled, theme } from "../theme"; +import { Button } from "../button"; +import { Icon } from "../icon"; import { Close } from "@washingtonpost/wpds-assets"; const NAME = "DrawerClose"; diff --git a/ui/drawer/src/DrawerContent.test.tsx b/packages/kit/src/drawer/DrawerContent.test.tsx similarity index 98% rename from ui/drawer/src/DrawerContent.test.tsx rename to packages/kit/src/drawer/DrawerContent.test.tsx index 3e6d76a05..708e85833 100644 --- a/ui/drawer/src/DrawerContent.test.tsx +++ b/packages/kit/src/drawer/DrawerContent.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen, fireEvent } from "@testing-library/react"; import { DrawerContent } from "./DrawerContent"; import { DrawerRoot } from "./DrawerRoot"; diff --git a/ui/drawer/src/DrawerContent.tsx b/packages/kit/src/drawer/DrawerContent.tsx similarity index 97% rename from ui/drawer/src/DrawerContent.tsx rename to packages/kit/src/drawer/DrawerContent.tsx index 502f9463a..1a190ead7 100644 --- a/ui/drawer/src/DrawerContent.tsx +++ b/packages/kit/src/drawer/DrawerContent.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; +import React from "react"; import { CSSTransition } from "react-transition-group"; import { FocusScope } from "@radix-ui/react-focus-scope"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; +import type * as WPDS from "../theme"; import { DrawerContext } from "./DrawerRoot"; const drawerTransition = `transform ${theme.transitions.normal} ${theme.transitions.inOut}, opacity ${theme.transitions.normal} ${theme.transitions.inOut}`; diff --git a/ui/drawer/src/DrawerCustomTrigger.test.tsx b/packages/kit/src/drawer/DrawerCustomTrigger.test.tsx similarity index 98% rename from ui/drawer/src/DrawerCustomTrigger.test.tsx rename to packages/kit/src/drawer/DrawerCustomTrigger.test.tsx index 27c12bf74..40337df6e 100644 --- a/ui/drawer/src/DrawerCustomTrigger.test.tsx +++ b/packages/kit/src/drawer/DrawerCustomTrigger.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { DrawerCustomTrigger } from "./DrawerCustomTrigger"; diff --git a/ui/drawer/src/DrawerCustomTrigger.tsx b/packages/kit/src/drawer/DrawerCustomTrigger.tsx similarity index 92% rename from ui/drawer/src/DrawerCustomTrigger.tsx rename to packages/kit/src/drawer/DrawerCustomTrigger.tsx index 055d742a9..0c166531b 100644 --- a/ui/drawer/src/DrawerCustomTrigger.tsx +++ b/packages/kit/src/drawer/DrawerCustomTrigger.tsx @@ -1,5 +1,5 @@ -import * as React from "react"; -import { styled } from "@washingtonpost/wpds-theme"; +import React from "react"; +import { styled } from "../theme"; import { DrawerContext } from "./DrawerRoot"; const NAME = "DrawerCustomTrigger"; diff --git a/ui/drawer/src/DrawerRoot.test.tsx b/packages/kit/src/drawer/DrawerRoot.test.tsx similarity index 95% rename from ui/drawer/src/DrawerRoot.test.tsx rename to packages/kit/src/drawer/DrawerRoot.test.tsx index 227951607..64a46163b 100644 --- a/ui/drawer/src/DrawerRoot.test.tsx +++ b/packages/kit/src/drawer/DrawerRoot.test.tsx @@ -1,4 +1,4 @@ -import * as React from "react"; +import { useContext, useState } from "react"; import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { DrawerRoot, DrawerContext } from "./DrawerRoot"; @@ -6,7 +6,7 @@ import { DrawerRoot, DrawerContext } from "./DrawerRoot"; describe("DrawerRoot", () => { const TestComponent = () => { const { contentId, open, defaultOpen, zIndex, onOpenChange } = - React.useContext(DrawerContext); + useContext(DrawerContext); return (
Drawer Sub-Component
@@ -88,7 +88,7 @@ describe("DrawerRoot", () => { }); const App = ({ handleChange }) => { - const [open] = React.useState(false); + const [open] = useState(false); return ( diff --git a/ui/drawer/src/DrawerRoot.tsx b/packages/kit/src/drawer/DrawerRoot.tsx similarity index 95% rename from ui/drawer/src/DrawerRoot.tsx rename to packages/kit/src/drawer/DrawerRoot.tsx index 829253dab..33b707005 100644 --- a/ui/drawer/src/DrawerRoot.tsx +++ b/packages/kit/src/drawer/DrawerRoot.tsx @@ -1,5 +1,5 @@ -import * as React from "react"; -import { theme } from "@washingtonpost/wpds-theme"; +import React from "react"; +import { theme } from "../theme"; import { useControllableState } from "@radix-ui/react-use-controllable-state"; import type { Token } from "@stitches/react/types/theme"; diff --git a/ui/drawer/src/DrawerScrim.test.tsx b/packages/kit/src/drawer/DrawerScrim.test.tsx similarity index 97% rename from ui/drawer/src/DrawerScrim.test.tsx rename to packages/kit/src/drawer/DrawerScrim.test.tsx index b45297742..9f7173c19 100644 --- a/ui/drawer/src/DrawerScrim.test.tsx +++ b/packages/kit/src/drawer/DrawerScrim.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { DrawerScrim } from "./DrawerScrim"; diff --git a/ui/drawer/src/DrawerScrim.tsx b/packages/kit/src/drawer/DrawerScrim.tsx similarity index 90% rename from ui/drawer/src/DrawerScrim.tsx rename to packages/kit/src/drawer/DrawerScrim.tsx index 59c6a03e6..b3c6349fe 100644 --- a/ui/drawer/src/DrawerScrim.tsx +++ b/packages/kit/src/drawer/DrawerScrim.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; +import React from "react"; import { DrawerContext } from "./DrawerRoot"; -import { Scrim } from "@washingtonpost/wpds-scrim"; +import { Scrim } from "../scrim"; const NAME = "DrawerScrim"; diff --git a/ui/drawer/src/DrawerTrigger.test.tsx b/packages/kit/src/drawer/DrawerTrigger.test.tsx similarity index 97% rename from ui/drawer/src/DrawerTrigger.test.tsx rename to packages/kit/src/drawer/DrawerTrigger.test.tsx index a57b6bb9b..d72d942e6 100644 --- a/ui/drawer/src/DrawerTrigger.test.tsx +++ b/packages/kit/src/drawer/DrawerTrigger.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { DrawerTrigger } from "./DrawerTrigger"; diff --git a/ui/drawer/src/DrawerTrigger.tsx b/packages/kit/src/drawer/DrawerTrigger.tsx similarity index 88% rename from ui/drawer/src/DrawerTrigger.tsx rename to packages/kit/src/drawer/DrawerTrigger.tsx index 67a67b5ba..8bfa528e2 100644 --- a/ui/drawer/src/DrawerTrigger.tsx +++ b/packages/kit/src/drawer/DrawerTrigger.tsx @@ -1,5 +1,5 @@ -import * as React from "react"; -import { Button } from "@washingtonpost/wpds-button"; +import React from "react"; +import { Button } from "../button"; import { DrawerContext } from "./DrawerRoot"; const NAME = "DrawerTrigger"; diff --git a/ui/drawer/src/index.ts b/packages/kit/src/drawer/index.ts similarity index 100% rename from ui/drawer/src/index.ts rename to packages/kit/src/drawer/index.ts diff --git a/ui/drawer/src/play.stories.tsx b/packages/kit/src/drawer/play.stories.tsx similarity index 83% rename from ui/drawer/src/play.stories.tsx rename to packages/kit/src/drawer/play.stories.tsx index 38e7dfdf6..2f243af19 100644 --- a/ui/drawer/src/play.stories.tsx +++ b/packages/kit/src/drawer/play.stories.tsx @@ -1,12 +1,12 @@ -import * as React from "react"; +import React, { useState } from "react"; import { screen, userEvent } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; import { Drawer as Component } from "./"; -import { theme } from "@washingtonpost/wpds-theme"; -import { Box } from "../../box"; -import { Select } from "../../select"; +import { theme } from "../theme"; +import { Box } from "../box"; +import { Select } from "../select"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; +import type { Meta, StoryFn } from "@storybook/react"; export default { title: "Drawer", @@ -21,11 +21,11 @@ export default { args: { id: "drawer-id", }, -} as ComponentMeta; +} as Meta; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const Template: ComponentStory = (args) => { - const [open, setOpen] = React.useState(false); +const Template: StoryFn = (args) => { + const [open, setOpen] = useState(false); const handleChange = (val) => { setOpen(val); @@ -46,13 +46,16 @@ const Template: ComponentStory = (args) => { ); }; -export const Drawer = Template.bind({}); -Drawer.parameters = { - chromatic: { disableSnapshot: true }, +export const Drawer = { + render: Template, + + parameters: { + chromatic: { disableSnapshot: true }, + }, }; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const FocusTemplate: ComponentStory = ({ loopFocus, ...args }) => ( +const FocusTemplate: StoryFn = ({ loopFocus, ...args }) => ( Trigger Drawer @@ -80,16 +83,20 @@ const FocusTemplate: ComponentStory = ({ loopFocus, ...args }) => ( ); -export const Focus = FocusTemplate.bind({}); -Focus.args = { - loopFocus: true, -}; -Focus.parameters = { - chromatic: { disableSnapshot: true }, +export const Focus = { + render: FocusTemplate, + + args: { + loopFocus: true, + }, + + parameters: { + chromatic: { disableSnapshot: true }, + }, }; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const PositionTemplate: ComponentStory = () => ( +const PositionTemplate: StoryFn = () => ( <> Top @@ -130,13 +137,16 @@ const PositionTemplate: ComponentStory = () => ( ); -export const Position = PositionTemplate.bind({}); -Position.parameters = { - chromatic: { disableSnapshot: true }, +export const Position = { + render: PositionTemplate, + + parameters: { + chromatic: { disableSnapshot: true }, + }, }; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const AutoSizeTemplate: ComponentStory = () => { +const AutoSizeTemplate: StoryFn = () => { const text = [ `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vestibulum @@ -195,7 +205,7 @@ fringilla phasellus faucibus scelerisque eleifend donec. Aliquet porttitor lacus luctus accumsan. Orci ac auctor augue mauris augue neque gravida in fermentum.`, ]; - const [textLength, setTextLength] = React.useState(5); + const [textLength, setTextLength] = useState(5); return ( @@ -231,13 +241,16 @@ neque gravida in fermentum.`, ); }; -export const AutoSize = AutoSizeTemplate.bind({}); -AutoSize.parameters = { - chromatic: { disableSnapshot: true }, +export const AutoSize = { + render: AutoSizeTemplate, + + parameters: { + chromatic: { disableSnapshot: true }, + }, }; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const ChromaticTemplate: ComponentStory = () => ( +const ChromaticTemplate: StoryFn = () => ( <> @@ -273,13 +286,16 @@ const ChromaticTemplate: ComponentStory = () => ( ); -export const Chromatic = ChromaticTemplate.bind({}); -Chromatic.parameters = { - docs: { disable: true }, +export const Chromatic = { + render: ChromaticTemplate, + + parameters: { + docs: { disable: true }, + }, }; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const InteractionsTemplate: ComponentStory = () => ( +const InteractionsTemplate: StoryFn = () => ( Trigger @@ -290,24 +306,27 @@ const InteractionsTemplate: ComponentStory = () => ( ); -export const Interactions = InteractionsTemplate.bind({}); -Interactions.parameters = { - chromatic: { disableSnapshot: true }, +export const Interactions = { + render: InteractionsTemplate, + + parameters: { + chromatic: { disableSnapshot: true }, + }, + + play: async () => { + const trigger = screen.getAllByText("Trigger")[0]; + await userEvent.click(trigger); + await sleep(300); + const content = screen.getAllByText("Drawer Content")[0]; + await expect(content).toBeVisible(); + const close = screen.getByLabelText("Close Drawer"); + await userEvent.click(close); + await sleep(300); + await expect(content).not.toBeInTheDocument(); + }, }; // Function to emulate pausing between interactions function sleep(ms) { return new Promise((resolve) => setTimeout(resolve, ms)); } - -Interactions.play = async () => { - const trigger = screen.getAllByText("Trigger")[0]; - await userEvent.click(trigger); - await sleep(300); - const content = screen.getAllByText("Drawer Content")[0]; - await expect(content).toBeVisible(); - const close = screen.getByLabelText("Close Drawer"); - await userEvent.click(close); - await sleep(300); - await expect(content).not.toBeInTheDocument(); -}; diff --git a/ui/error-message/src/ErrorMessage.tsx b/packages/kit/src/error-message/ErrorMessage.tsx similarity index 90% rename from ui/error-message/src/ErrorMessage.tsx rename to packages/kit/src/error-message/ErrorMessage.tsx index f07dca5fc..0093acb04 100644 --- a/ui/error-message/src/ErrorMessage.tsx +++ b/packages/kit/src/error-message/ErrorMessage.tsx @@ -1,5 +1,5 @@ -import * as React from "react"; -import { theme, css } from "@washingtonpost/wpds-theme"; +import React from "react"; +import { theme, css } from "../theme"; const NAME = "ErrorMessage"; diff --git a/ui/error-message/src/index.ts b/packages/kit/src/error-message/index.ts similarity index 100% rename from ui/error-message/src/index.ts rename to packages/kit/src/error-message/index.ts diff --git a/packages/kit/src/error-message/play.stories.tsx b/packages/kit/src/error-message/play.stories.tsx new file mode 100644 index 000000000..692aa0e82 --- /dev/null +++ b/packages/kit/src/error-message/play.stories.tsx @@ -0,0 +1,15 @@ +import { ErrorMessage as Component } from "./"; + +import type { Meta, StoryFn } from "@storybook/react"; + +export default { + title: "ErrorMessage", + component: Component, +} as Meta; + +export const ErrorMessage = { + args: { + children: "Error Message", + id: "my-error-message", + }, +}; diff --git a/ui/fieldset/src/Fieldset.tsx b/packages/kit/src/fieldset/Fieldset.tsx similarity index 90% rename from ui/fieldset/src/Fieldset.tsx rename to packages/kit/src/fieldset/Fieldset.tsx index 5c6ff7de1..e32a5a020 100644 --- a/ui/fieldset/src/Fieldset.tsx +++ b/packages/kit/src/fieldset/Fieldset.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; -import * as Theme from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import React from "react"; +import * as Theme from "../theme"; +import type * as WPDS from "../theme"; const NAME = "Fieldset"; diff --git a/ui/fieldset/src/index.ts b/packages/kit/src/fieldset/index.ts similarity index 100% rename from ui/fieldset/src/index.ts rename to packages/kit/src/fieldset/index.ts diff --git a/packages/kit/src/fieldset/play.stories.tsx b/packages/kit/src/fieldset/play.stories.tsx new file mode 100644 index 000000000..5a27a481b --- /dev/null +++ b/packages/kit/src/fieldset/play.stories.tsx @@ -0,0 +1,21 @@ +import React from "react"; +import { Fieldset as Component } from "./"; + +import type { Meta, StoryFn } from "@storybook/react"; + +export default { + title: "Fieldset", + component: Component, +} as Meta; + +const Template: StoryFn = (args) => ( + Content +); + +export const Fieldset = { + render: Template, + + args: { + legend: "Fieldset", + }, +}; diff --git a/ui/helper-text/src/HelperText.tsx b/packages/kit/src/helper-text/HelperText.tsx similarity index 90% rename from ui/helper-text/src/HelperText.tsx rename to packages/kit/src/helper-text/HelperText.tsx index 12cb2c95e..c73c5e84b 100644 --- a/ui/helper-text/src/HelperText.tsx +++ b/packages/kit/src/helper-text/HelperText.tsx @@ -1,5 +1,5 @@ -import * as React from "react"; -import { theme, css } from "@washingtonpost/wpds-theme"; +import React from "react"; +import { theme, css } from "../theme"; const NAME = "HelperText"; diff --git a/ui/helper-text/src/index.ts b/packages/kit/src/helper-text/index.ts similarity index 100% rename from ui/helper-text/src/index.ts rename to packages/kit/src/helper-text/index.ts diff --git a/packages/kit/src/helper-text/play.stories.tsx b/packages/kit/src/helper-text/play.stories.tsx new file mode 100644 index 000000000..3c7345a84 --- /dev/null +++ b/packages/kit/src/helper-text/play.stories.tsx @@ -0,0 +1,15 @@ +import { HelperText as Component } from "./"; + +import type { Meta, StoryFn } from "@storybook/react"; + +export default { + title: "HelperText", + component: Component, +} as Meta; + +export const HelperText = { + args: { + children: "Helper Text", + id: "my-helper-text", + }, +}; diff --git a/packages/kit/src/icon/icon.tsx b/packages/kit/src/icon/icon.tsx index c50f18171..84c945087 100644 --- a/packages/kit/src/icon/icon.tsx +++ b/packages/kit/src/icon/icon.tsx @@ -1,4 +1,4 @@ -import { Children, cloneElement, forwardRef } from "react"; +import React, { Children, cloneElement, forwardRef } from "react"; import { VisuallyHidden } from "../visually-hidden"; import { css, theme } from "../theme"; diff --git a/packages/kit/src/icon/play.stories.tsx b/packages/kit/src/icon/play.stories.tsx index 8e521ea7c..7603c65c1 100644 --- a/packages/kit/src/icon/play.stories.tsx +++ b/packages/kit/src/icon/play.stories.tsx @@ -1,3 +1,4 @@ +import React from "react"; import { within } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; import { theme } from "../theme"; diff --git a/packages/kit/src/index.ts b/packages/kit/src/index.ts index 1988e19b6..15d5540d4 100644 --- a/packages/kit/src/index.ts +++ b/packages/kit/src/index.ts @@ -1,3 +1,30 @@ +export * from "./dialog"; +export * from "./tooltip"; +export * from "./tabs"; +export * from "./select"; +export * from "./scrim"; +export * from "./radio-group"; +export * from "./popover"; +export * from "./pagination-dots"; +export * from "./input-textarea"; +export * from "./input-text"; +export * from "./input-shared"; +export * from "./input-search"; +export * from "./input-password"; +export * from "./input-label"; +export * from "./helper-text"; +export * from "./fieldset"; +export * from "./error-message"; +export * from "./drawer"; +export * from "./divider"; +export * from "./container"; +export * from "./checkbox"; +export * from "./carousel"; +export * from "./box"; +export * from "./avatar"; +export * from "./app-bar"; +export * from "./alert-banner"; +export * from "./action-menu"; export * from "./accordion"; export * from "./button"; export * from "./card"; @@ -5,3 +32,4 @@ export * from "./icon"; export * from "./switch"; export * from "./theme"; export * from "./visually-hidden"; +export * from "./navigation-menu"; diff --git a/ui/input-label/src/InputLabel.tsx b/packages/kit/src/input-label/InputLabel.tsx similarity index 84% rename from ui/input-label/src/InputLabel.tsx rename to packages/kit/src/input-label/InputLabel.tsx index c6292d9e1..2329e898f 100644 --- a/ui/input-label/src/InputLabel.tsx +++ b/packages/kit/src/input-label/InputLabel.tsx @@ -1,9 +1,9 @@ -import * as React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import React from "react"; +import { styled, theme } from "../theme"; +import type * as WPDS from "../theme"; import * as Label from "@radix-ui/react-label"; import type { LabelProps } from "@radix-ui/react-label"; -import { RequiredIndicatorCSS } from "@washingtonpost/wpds-input-shared"; +import { RequiredIndicatorCSS } from "../input-shared"; const NAME = "InputLabel"; diff --git a/ui/input-label/src/index.ts b/packages/kit/src/input-label/index.ts similarity index 100% rename from ui/input-label/src/index.ts rename to packages/kit/src/input-label/index.ts diff --git a/packages/kit/src/input-label/play.stories.tsx b/packages/kit/src/input-label/play.stories.tsx new file mode 100644 index 000000000..a5ee241d2 --- /dev/null +++ b/packages/kit/src/input-label/play.stories.tsx @@ -0,0 +1,13 @@ +import { InputLabel as Component } from "./"; +import type { StoryObj, Meta, StoryFn } from "@storybook/react"; + +export default { + title: "InputLabel", + component: Component, +} as Meta; + +export const InputLabel: StoryObj = { + args: { + children: "Label", + }, +}; diff --git a/ui/input-password/src/InputPassword.tsx b/packages/kit/src/input-password/InputPassword.tsx similarity index 80% rename from ui/input-password/src/InputPassword.tsx rename to packages/kit/src/input-password/InputPassword.tsx index b22a1a25a..a9ae39d56 100644 --- a/ui/input-password/src/InputPassword.tsx +++ b/packages/kit/src/input-password/InputPassword.tsx @@ -1,9 +1,9 @@ -import * as React from "react"; -import { InputText } from "@washingtonpost/wpds-input-text"; -import { Icon } from "@washingtonpost/wpds-icon"; +import React, { forwardRef, useState } from "react"; +import { InputText } from "../input-text"; +import { Icon } from "../icon"; import { Hide, Show } from "@washingtonpost/wpds-assets"; -import type { InputTextProps } from "@washingtonpost/wpds-input-text"; +import type { InputTextProps } from "../input-text"; const NAME = "InputPassword"; @@ -39,10 +39,7 @@ interface InputPasswordProps * * @extends InputText */ -export const InputPassword = React.forwardRef< - HTMLInputElement, - InputPasswordProps ->( +export const InputPassword = forwardRef( ( { label = "Password", @@ -52,7 +49,7 @@ export const InputPassword = React.forwardRef< }, ref ) => { - const [isHidden, setIsHidden] = React.useState(true); + const [isHidden, setIsHidden] = useState(true); function handleButtonIconClick() { setIsHidden((prevHidden) => !prevHidden); diff --git a/ui/input-password/src/index.ts b/packages/kit/src/input-password/index.ts similarity index 100% rename from ui/input-password/src/index.ts rename to packages/kit/src/input-password/index.ts diff --git a/ui/input-password/src/play.stories.tsx b/packages/kit/src/input-password/play.stories.tsx similarity index 57% rename from ui/input-password/src/play.stories.tsx rename to packages/kit/src/input-password/play.stories.tsx index 155948709..98db6430e 100644 --- a/ui/input-password/src/play.stories.tsx +++ b/packages/kit/src/input-password/play.stories.tsx @@ -1,23 +1,19 @@ -import * as React from "react"; +import React from "react"; import { screen, userEvent } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; import { InputPassword as Component } from "./"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; +import { styled, theme } from "../theme"; +import type { Meta, StoryFn } from "@storybook/react"; export default { title: "InputPassword", component: Component, -} as ComponentMeta; +} as Meta; -const Template: ComponentStory = (args) => ( - -); - -export const InputPassword = Template.bind({}); - -InputPassword.parameters = { - chromatic: { disableSnapshot: true }, +export const InputPassword = { + parameters: { + chromatic: { disableSnapshot: true }, + }, }; const Column = styled("div", { @@ -76,33 +72,38 @@ const ChromaticTemplate = () => ( ); -export const Chromatic = ChromaticTemplate.bind({}); +export const Chromatic = { + render: ChromaticTemplate, +}; -const InteractionsTemplate: ComponentStory = () => ( +const InteractionsTemplate: StoryFn = () => ( ); -export const Interactions = InteractionsTemplate.bind({}); -Interactions.parameters = { - chromatic: { disableSnapshot: true }, +export const Interactions = { + render: InteractionsTemplate, + + parameters: { + chromatic: { disableSnapshot: true }, + }, + + play: async () => { + // radix Label needs a tick to associate labels with inputs + await sleep(0); + const input = screen.getByLabelText("Password"); + await userEvent.type(input, "123456", { + delay: 100, + }); + const toggle = screen.getByRole("button"); + await userEvent.click(toggle); + await expect(input).toHaveAttribute("type", "text"); + await sleep(500); + await userEvent.click(toggle); + await expect(input).toHaveAttribute("type", "password"); + }, }; // Function to emulate pausing between interactions function sleep(ms) { return new Promise((resolve) => setTimeout(resolve, ms)); } - -Interactions.play = async () => { - // radix Label needs a tick to associate labels with inputs - await sleep(0); - const input = screen.getByLabelText("Password"); - await userEvent.type(input, "123456", { - delay: 100, - }); - const toggle = screen.getByRole("button"); - await userEvent.click(toggle); - await expect(input).toHaveAttribute("type", "text"); - await sleep(500); - await userEvent.click(toggle); - await expect(input).toHaveAttribute("type", "password"); -}; diff --git a/ui/input-search/src/InputSearch.tsx b/packages/kit/src/input-search/InputSearch.tsx similarity index 100% rename from ui/input-search/src/InputSearch.tsx rename to packages/kit/src/input-search/InputSearch.tsx diff --git a/ui/input-search/src/InputSearchEmptyState.test.tsx b/packages/kit/src/input-search/InputSearchEmptyState.test.tsx similarity index 91% rename from ui/input-search/src/InputSearchEmptyState.test.tsx rename to packages/kit/src/input-search/InputSearchEmptyState.test.tsx index 9c9fe7fae..6d8e91968 100644 --- a/ui/input-search/src/InputSearchEmptyState.test.tsx +++ b/packages/kit/src/input-search/InputSearchEmptyState.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { InputSearchEmptyState } from "./InputSearchEmptyState"; diff --git a/ui/input-search/src/InputSearchEmptyState.tsx b/packages/kit/src/input-search/InputSearchEmptyState.tsx similarity index 80% rename from ui/input-search/src/InputSearchEmptyState.tsx rename to packages/kit/src/input-search/InputSearchEmptyState.tsx index 11a0c6bef..a0460bebd 100644 --- a/ui/input-search/src/InputSearchEmptyState.tsx +++ b/packages/kit/src/input-search/InputSearchEmptyState.tsx @@ -1,10 +1,10 @@ -import * as React from "react"; +import React from "react"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; import { Search } from "@washingtonpost/wpds-assets"; -import { Icon } from "@washingtonpost/wpds-icon"; +import { Icon } from "../icon"; import { InputSearchOtherState } from "./InputSearchOtherState"; diff --git a/ui/input-search/src/InputSearchInput.test.tsx b/packages/kit/src/input-search/InputSearchInput.test.tsx similarity index 96% rename from ui/input-search/src/InputSearchInput.test.tsx rename to packages/kit/src/input-search/InputSearchInput.test.tsx index aa5682911..33197530e 100644 --- a/ui/input-search/src/InputSearchInput.test.tsx +++ b/packages/kit/src/input-search/InputSearchInput.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { InputSearchInput } from "./InputSearchInput"; import { InputSearchRoot } from "./InputSearchRoot"; diff --git a/ui/input-search/src/InputSearchInput.tsx b/packages/kit/src/input-search/InputSearchInput.tsx similarity index 86% rename from ui/input-search/src/InputSearchInput.tsx rename to packages/kit/src/input-search/InputSearchInput.tsx index 10b8ffd2c..6d5a07988 100644 --- a/ui/input-search/src/InputSearchInput.tsx +++ b/packages/kit/src/input-search/InputSearchInput.tsx @@ -1,10 +1,10 @@ -import * as React from "react"; +import React from "react"; import { ComboboxInput } from "@reach/combobox"; -import { InputText } from "@washingtonpost/wpds-input-text"; -import { InputLabel } from "@washingtonpost/wpds-input-label"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import { InputText } from "../input-text"; +import { InputLabel } from "../input-label"; +import type * as WPDS from "../theme"; import { InputSearchContext } from "./InputSearchRoot"; diff --git a/ui/input-search/src/InputSearchItemText.test.tsx b/packages/kit/src/input-search/InputSearchItemText.test.tsx similarity index 96% rename from ui/input-search/src/InputSearchItemText.test.tsx rename to packages/kit/src/input-search/InputSearchItemText.test.tsx index 3e510bc9d..4e0982e19 100644 --- a/ui/input-search/src/InputSearchItemText.test.tsx +++ b/packages/kit/src/input-search/InputSearchItemText.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { InputSearchItemText } from "./InputSearchItemText"; import { InputSearchRoot } from "./InputSearchRoot"; diff --git a/ui/input-search/src/InputSearchItemText.tsx b/packages/kit/src/input-search/InputSearchItemText.tsx similarity index 84% rename from ui/input-search/src/InputSearchItemText.tsx rename to packages/kit/src/input-search/InputSearchItemText.tsx index 99a3cedfa..2b4179f9c 100644 --- a/ui/input-search/src/InputSearchItemText.tsx +++ b/packages/kit/src/input-search/InputSearchItemText.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; +import React from "react"; import { ComboboxOptionText } from "@reach/combobox"; -import { styled } from "@washingtonpost/wpds-theme"; +import { styled } from "../theme"; const StyledItemText = styled(ComboboxOptionText, {}); diff --git a/ui/input-search/src/InputSearchList.test.tsx b/packages/kit/src/input-search/InputSearchList.test.tsx similarity index 93% rename from ui/input-search/src/InputSearchList.test.tsx rename to packages/kit/src/input-search/InputSearchList.test.tsx index a6bae46ce..47945a9b4 100644 --- a/ui/input-search/src/InputSearchList.test.tsx +++ b/packages/kit/src/input-search/InputSearchList.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { InputSearchList } from "./InputSearchList"; import { InputSearchRoot } from "./InputSearchRoot"; diff --git a/ui/input-search/src/InputSearchList.tsx b/packages/kit/src/input-search/InputSearchList.tsx similarity index 94% rename from ui/input-search/src/InputSearchList.tsx rename to packages/kit/src/input-search/InputSearchList.tsx index 81b2d1710..e3347a7cf 100644 --- a/ui/input-search/src/InputSearchList.tsx +++ b/packages/kit/src/input-search/InputSearchList.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; +import React from "react"; import { ComboboxList, useComboboxContext } from "@reach/combobox"; -import { styled } from "@washingtonpost/wpds-theme"; +import { styled } from "../theme"; const StyledList = styled(ComboboxList, { marginBlock: 0, diff --git a/ui/input-search/src/InputSearchListHeading.test.tsx b/packages/kit/src/input-search/InputSearchListHeading.test.tsx similarity index 91% rename from ui/input-search/src/InputSearchListHeading.test.tsx rename to packages/kit/src/input-search/InputSearchListHeading.test.tsx index f98ad1125..a33a94481 100644 --- a/ui/input-search/src/InputSearchListHeading.test.tsx +++ b/packages/kit/src/input-search/InputSearchListHeading.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { InputSearchListHeading } from "./InputSearchListHeading"; diff --git a/ui/input-search/src/InputSearchListHeading.tsx b/packages/kit/src/input-search/InputSearchListHeading.tsx similarity index 81% rename from ui/input-search/src/InputSearchListHeading.tsx rename to packages/kit/src/input-search/InputSearchListHeading.tsx index c0e7accff..46fedcf4f 100644 --- a/ui/input-search/src/InputSearchListHeading.tsx +++ b/packages/kit/src/input-search/InputSearchListHeading.tsx @@ -1,7 +1,7 @@ -import * as React from "react"; +import React from "react"; -import type * as WPDS from "@washingtonpost/wpds-theme"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; +import { styled, theme } from "../theme"; export type InputSearchListHeadingProps = { /** Any React node may be used as a child */ diff --git a/ui/input-search/src/InputSearchListItem.test.tsx b/packages/kit/src/input-search/InputSearchListItem.test.tsx similarity index 95% rename from ui/input-search/src/InputSearchListItem.test.tsx rename to packages/kit/src/input-search/InputSearchListItem.test.tsx index c2ff268a9..0ffbec33c 100644 --- a/ui/input-search/src/InputSearchListItem.test.tsx +++ b/packages/kit/src/input-search/InputSearchListItem.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { InputSearchListItem } from "./InputSearchListItem"; import { InputSearchRoot } from "./InputSearchRoot"; diff --git a/ui/input-search/src/InputSearchListItem.tsx b/packages/kit/src/input-search/InputSearchListItem.tsx similarity index 90% rename from ui/input-search/src/InputSearchListItem.tsx rename to packages/kit/src/input-search/InputSearchListItem.tsx index a7bea66b5..4ac95fb47 100644 --- a/ui/input-search/src/InputSearchListItem.tsx +++ b/packages/kit/src/input-search/InputSearchListItem.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; +import React from "react"; import { ComboboxOption } from "@reach/combobox"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; const StyledListItem = styled(ComboboxOption, { color: theme.colors.primary, diff --git a/ui/input-search/src/InputSearchLoadingState.test.tsx b/packages/kit/src/input-search/InputSearchLoadingState.test.tsx similarity index 91% rename from ui/input-search/src/InputSearchLoadingState.test.tsx rename to packages/kit/src/input-search/InputSearchLoadingState.test.tsx index fbbdd9491..600cbdae6 100644 --- a/ui/input-search/src/InputSearchLoadingState.test.tsx +++ b/packages/kit/src/input-search/InputSearchLoadingState.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { InputSearchLoadingState } from "./InputSearchLoadingState"; diff --git a/ui/input-search/src/InputSearchLoadingState.tsx b/packages/kit/src/input-search/InputSearchLoadingState.tsx similarity index 78% rename from ui/input-search/src/InputSearchLoadingState.tsx rename to packages/kit/src/input-search/InputSearchLoadingState.tsx index 0be4e1e08..6d0730220 100644 --- a/ui/input-search/src/InputSearchLoadingState.tsx +++ b/packages/kit/src/input-search/InputSearchLoadingState.tsx @@ -1,10 +1,9 @@ -import * as React from "react"; +import React from "react"; +import { styled, theme, keyframes } from "../theme"; -import { styled, theme, keyframes } from "@washingtonpost/wpds-theme"; - -import { Icon } from "@washingtonpost/wpds-icon"; +import { Icon } from "../icon"; import { Loading } from "@washingtonpost/wpds-assets"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; import { InputSearchOtherState } from "./InputSearchOtherState"; diff --git a/ui/input-search/src/InputSearchOtherState.test.tsx b/packages/kit/src/input-search/InputSearchOtherState.test.tsx similarity index 85% rename from ui/input-search/src/InputSearchOtherState.test.tsx rename to packages/kit/src/input-search/InputSearchOtherState.test.tsx index 9f4e808d8..4d2ee65e2 100644 --- a/ui/input-search/src/InputSearchOtherState.test.tsx +++ b/packages/kit/src/input-search/InputSearchOtherState.test.tsx @@ -1,7 +1,6 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { InputSearchOtherState } from "./InputSearchOtherState"; -import { Icon } from "@washingtonpost/wpds-icon"; +import { Icon } from "../icon"; import { Settings } from "@washingtonpost/wpds-assets"; describe("InputSearchOtherState", () => { diff --git a/ui/input-search/src/InputSearchOtherState.tsx b/packages/kit/src/input-search/InputSearchOtherState.tsx similarity index 89% rename from ui/input-search/src/InputSearchOtherState.tsx rename to packages/kit/src/input-search/InputSearchOtherState.tsx index 2e0dcd353..c2b796f81 100644 --- a/ui/input-search/src/InputSearchOtherState.tsx +++ b/packages/kit/src/input-search/InputSearchOtherState.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; +import React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; export type InputSearchOtherStateProps = { /** Any React node may be used as a child to allow for formatting */ diff --git a/ui/input-search/src/InputSearchPopover.test.tsx b/packages/kit/src/input-search/InputSearchPopover.test.tsx similarity index 94% rename from ui/input-search/src/InputSearchPopover.test.tsx rename to packages/kit/src/input-search/InputSearchPopover.test.tsx index 70647b335..c2b907caf 100644 --- a/ui/input-search/src/InputSearchPopover.test.tsx +++ b/packages/kit/src/input-search/InputSearchPopover.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { InputSearchPopover } from "./InputSearchPopover"; import { InputSearchRoot } from "./InputSearchRoot"; diff --git a/ui/input-search/src/InputSearchPopover.tsx b/packages/kit/src/input-search/InputSearchPopover.tsx similarity index 93% rename from ui/input-search/src/InputSearchPopover.tsx rename to packages/kit/src/input-search/InputSearchPopover.tsx index 08c9fb427..70b020898 100644 --- a/ui/input-search/src/InputSearchPopover.tsx +++ b/packages/kit/src/input-search/InputSearchPopover.tsx @@ -1,7 +1,7 @@ -import * as React from "react"; +import React from "react"; import { ComboboxPopover } from "@reach/combobox"; import { positionMatchWidth } from "@reach/popover"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; import { InputSearchContext } from "./InputSearchRoot"; const Background = styled("div", { diff --git a/ui/input-search/src/InputSearchRoot.test.tsx b/packages/kit/src/input-search/InputSearchRoot.test.tsx similarity index 86% rename from ui/input-search/src/InputSearchRoot.test.tsx rename to packages/kit/src/input-search/InputSearchRoot.test.tsx index 087c9e78a..3454ed671 100644 --- a/ui/input-search/src/InputSearchRoot.test.tsx +++ b/packages/kit/src/input-search/InputSearchRoot.test.tsx @@ -1,10 +1,10 @@ -import * as React from "react"; +import { useContext } from "react"; import { render, screen } from "@testing-library/react"; import { InputSearchRoot, InputSearchContext } from "./InputSearchRoot"; describe("InputSearchRoot", () => { const TestComponent = () => { - const { rootRect } = React.useContext(InputSearchContext); + const { rootRect } = useContext(InputSearchContext); return
{rootRect && rootRect.top}
; }; diff --git a/ui/input-search/src/InputSearchRoot.tsx b/packages/kit/src/input-search/InputSearchRoot.tsx similarity index 96% rename from ui/input-search/src/InputSearchRoot.tsx rename to packages/kit/src/input-search/InputSearchRoot.tsx index 37bb5081c..fb2e9248e 100644 --- a/ui/input-search/src/InputSearchRoot.tsx +++ b/packages/kit/src/input-search/InputSearchRoot.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; +import React from "react"; import { Combobox } from "@reach/combobox"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; type InputSearchContextProps = { term: string; diff --git a/ui/input-search/src/cities.ts b/packages/kit/src/input-search/cities.ts similarity index 100% rename from ui/input-search/src/cities.ts rename to packages/kit/src/input-search/cities.ts diff --git a/ui/input-search/src/index.ts b/packages/kit/src/input-search/index.ts similarity index 100% rename from ui/input-search/src/index.ts rename to packages/kit/src/input-search/index.ts diff --git a/ui/input-search/src/play.stories.tsx b/packages/kit/src/input-search/play.stories.tsx similarity index 77% rename from ui/input-search/src/play.stories.tsx rename to packages/kit/src/input-search/play.stories.tsx index 0ac801513..2aa3edf82 100644 --- a/ui/input-search/src/play.stories.tsx +++ b/packages/kit/src/input-search/play.stories.tsx @@ -1,12 +1,12 @@ -import * as React from "react"; +import React, { useMemo, useState, useEffect } from "react"; import { screen, userEvent } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; -import { Box } from "@washingtonpost/wpds-box"; +import { Box } from "../box"; import { matchSorter } from "match-sorter"; import { InputSearch } from "./"; import { cities } from "./cities"; -import type { ComponentStory } from "@storybook/react"; +import type { StoryFn } from "@storybook/react"; export default { title: "InputSearch", @@ -23,7 +23,7 @@ export default { }; const useCityMatch = (term: string) => { - return React.useMemo( + return useMemo( () => term.trim() === "" ? null @@ -34,8 +34,8 @@ const useCityMatch = (term: string) => { ); }; -const Template: ComponentStory = (args) => { - const [term, setTerm] = React.useState(""); +const Template: StoryFn = (args) => { + const [term, setTerm] = useState(""); const results: { city: string; state: string }[] | null = useCityMatch(term); @@ -74,14 +74,14 @@ const Template: ComponentStory = (args) => { ); }; -export const Play = Template.bind({}); +export const Play = { + render: Template, + args: {}, + name: "InputSearch", -Play.args = {}; - -Play.storyName = "InputSearch"; - -Play.parameters = { - chromatic: { disableSnapshot: true }, + parameters: { + chromatic: { disableSnapshot: true }, + }, }; const fetchCities = (value) => { @@ -99,13 +99,13 @@ const fetchCities = (value) => { ); }; -const AsyncTemplate: ComponentStory = (args) => { - const [searchTerm, setSearchTerm] = React.useState(""); - const [results, setResults] = React.useState< +const AsyncTemplate: StoryFn = (args) => { + const [searchTerm, setSearchTerm] = useState(""); + const [results, setResults] = useState< { city: string; state: string }[] | undefined >(); - React.useEffect(() => { + useEffect(() => { if (searchTerm === "") { setResults(undefined); } else { @@ -149,15 +149,16 @@ const AsyncTemplate: ComponentStory = (args) => { ); }; -export const Async = AsyncTemplate.bind({}); +export const Async = { + render: AsyncTemplate, + args: {}, -Async.args = {}; - -Async.parameters = { - chromatic: { disableSnapshot: true }, + parameters: { + chromatic: { disableSnapshot: true }, + }, }; -const GroupingTemplate: ComponentStory = (args) => { +const GroupingTemplate: StoryFn = (args) => { return ( @@ -180,15 +181,16 @@ const GroupingTemplate: ComponentStory = (args) => { ); }; -export const Grouping = GroupingTemplate.bind({}); +export const Grouping = { + render: GroupingTemplate, + args: {}, -Grouping.args = {}; - -Grouping.parameters = { - chromatic: { disableSnapshot: true }, + parameters: { + chromatic: { disableSnapshot: true }, + }, }; -const ScrollTemplate: ComponentStory = (args) => { +const ScrollTemplate: StoryFn = (args) => { return ( @@ -207,15 +209,16 @@ const ScrollTemplate: ComponentStory = (args) => { ); }; -export const Scroll = ScrollTemplate.bind({}); - -Scroll.args = {}; +export const Scroll = { + render: ScrollTemplate, + args: {}, -Scroll.parameters = { - chromatic: { disableSnapshot: true }, + parameters: { + chromatic: { disableSnapshot: true }, + }, }; -const InteractionsTemplate: ComponentStory = () => ( +const InteractionsTemplate: StoryFn = () => ( @@ -232,13 +235,15 @@ const InteractionsTemplate: ComponentStory = () => ( ); -export const Interactions = InteractionsTemplate.bind({}); +export const Interactions = { + render: InteractionsTemplate, -Interactions.play = async () => { - const input = await screen.findByLabelText("Search"); - await userEvent.type(input, "app", { - delay: 100, - }); - await userEvent.keyboard("[ArrowDown]"); - await expect(input).toHaveDisplayValue("Apple"); + play: async () => { + const input = await screen.findByLabelText("Search"); + await userEvent.type(input, "app", { + delay: 100, + }); + await userEvent.keyboard("[ArrowDown]"); + await expect(input).toHaveDisplayValue("Apple"); + }, }; diff --git a/ui/input-shared/src/InputShared.tsx b/packages/kit/src/input-shared/InputShared.tsx similarity index 98% rename from ui/input-shared/src/InputShared.tsx rename to packages/kit/src/input-shared/InputShared.tsx index db680cb65..0e6632faa 100644 --- a/ui/input-shared/src/InputShared.tsx +++ b/packages/kit/src/input-shared/InputShared.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { css, theme, globalCss } from "@washingtonpost/wpds-theme"; +import { css, theme, globalCss } from "../theme"; export const FloatingLabelStyles = { fontSize: theme.fontSizes["075"], diff --git a/ui/input-shared/src/index.ts b/packages/kit/src/input-shared/index.ts similarity index 100% rename from ui/input-shared/src/index.ts rename to packages/kit/src/input-shared/index.ts diff --git a/ui/input-text/src/InputText.tsx b/packages/kit/src/input-text/InputText.tsx similarity index 94% rename from ui/input-text/src/InputText.tsx rename to packages/kit/src/input-text/InputText.tsx index 8c661732d..e9fcbda03 100644 --- a/ui/input-text/src/InputText.tsx +++ b/packages/kit/src/input-text/InputText.tsx @@ -1,17 +1,16 @@ -import * as React from "react"; -import { useEffect, useState } from "react"; -import { theme, styled } from "@washingtonpost/wpds-theme"; -import { Button } from "@washingtonpost/wpds-button"; -import { Divider } from "@washingtonpost/wpds-divider"; -import { Icon } from "@washingtonpost/wpds-icon"; +import React, { useEffect, useState } from "react"; +import { theme, styled } from "../theme"; +import { Button } from "../button"; +import { Divider } from "../divider"; +import { Icon } from "../icon"; import { useFloating, unstyledInputStyles, globalInputAutoFillTriggerAnimations, -} from "@washingtonpost/wpds-input-shared"; -import { ErrorMessage } from "@washingtonpost/wpds-error-message"; -import { HelperText } from "@washingtonpost/wpds-helper-text"; -import { VisuallyHidden } from "@washingtonpost/wpds-visually-hidden"; +} from "../input-shared"; +import { ErrorMessage } from "../error-message"; +import { HelperText } from "../helper-text"; +import { VisuallyHidden } from "../visually-hidden"; import { Search, Globe, @@ -21,7 +20,7 @@ import { } from "@washingtonpost/wpds-assets"; import { TextInputLabel } from "./TextInputLabel"; import { StyledContainer } from "./StyledContainer"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "InputText"; diff --git a/ui/input-text/src/StyledContainer.tsx b/packages/kit/src/input-text/StyledContainer.tsx similarity index 87% rename from ui/input-text/src/StyledContainer.tsx rename to packages/kit/src/input-text/StyledContainer.tsx index 6a978adf9..7f4c90ff4 100644 --- a/ui/input-text/src/StyledContainer.tsx +++ b/packages/kit/src/input-text/StyledContainer.tsx @@ -1,12 +1,12 @@ -import * as React from "react"; -import { theme, styled } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import React from "react"; +import { theme, styled } from "../theme"; +import type * as WPDS from "../theme"; import { sharedInputStyles, sharedInputVariants, FloatingLabelStyles, -} from "@washingtonpost/wpds-input-shared"; +} from "../input-shared"; import { TextInputLabel } from "./TextInputLabel"; diff --git a/ui/input-text/src/TextInputLabel.tsx b/packages/kit/src/input-text/TextInputLabel.tsx similarity index 65% rename from ui/input-text/src/TextInputLabel.tsx rename to packages/kit/src/input-text/TextInputLabel.tsx index ffe7ba9ff..b186d08e7 100644 --- a/ui/input-text/src/TextInputLabel.tsx +++ b/packages/kit/src/input-text/TextInputLabel.tsx @@ -1,6 +1,6 @@ -import { styled, theme } from "@washingtonpost/wpds-theme"; -import { InputLabel } from "@washingtonpost/wpds-input-label"; -import { FloatingLabelStyles } from "@washingtonpost/wpds-input-shared"; +import { styled, theme } from "../theme"; +import { InputLabel } from "../input-label"; +import { FloatingLabelStyles } from "../input-shared"; export const TextInputLabel = styled(InputLabel, { insetBlockStart: "0", diff --git a/ui/input-text/src/index.ts b/packages/kit/src/input-text/index.ts similarity index 100% rename from ui/input-text/src/index.ts rename to packages/kit/src/input-text/index.ts diff --git a/ui/input-text/src/play.stories.tsx b/packages/kit/src/input-text/play.stories.tsx similarity index 59% rename from ui/input-text/src/play.stories.tsx rename to packages/kit/src/input-text/play.stories.tsx index be2a9805a..c14e4fa47 100644 --- a/ui/input-text/src/play.stories.tsx +++ b/packages/kit/src/input-text/play.stories.tsx @@ -1,14 +1,14 @@ -import * as React from "react"; +import React, { useState } from "react"; import { screen, userEvent } from "@storybook/testing-library"; import { expect, jest } from "@storybook/jest"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; +import type { Meta, StoryFn } from "@storybook/react"; -import { Icon } from "@washingtonpost/wpds-icon"; -import { Button } from "@washingtonpost/wpds-button"; +import { Icon } from "../icon"; +import { Button } from "../button"; import Asset from "@washingtonpost/wpds-assets/asset/settings"; -import { VisuallyHidden } from "@washingtonpost/wpds-visually-hidden"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { VisuallyHidden } from "../visually-hidden"; +import { styled, theme } from "../theme"; import { InputText as Component } from "./"; @@ -44,21 +44,18 @@ export default { icon: "left", onButtonIconClick: jest.fn(), }, -} as ComponentMeta; +} as Meta; -const Template: ComponentStory = (args) => ( - -); - -export const InputText = Template.bind({}); -InputText.parameters = { - chromatic: { disableSnapshot: true }, +export const InputText = { + parameters: { + chromatic: { disableSnapshot: true }, + }, }; -export const AutoFocus = Template.bind({}); - -AutoFocus.args = { - autoFocus: true, +export const AutoFocus = { + args: { + autoFocus: true, + }, }; const SynchContainer = styled("div", { @@ -68,8 +65,8 @@ const SynchContainer = styled("div", { }); const SynchTemplate = () => { - const [val1, setVal1] = React.useState("Value"); - const [val2, setVal2] = React.useState(""); + const [val1, setVal1] = useState("Value"); + const [val2, setVal2] = useState(""); return ( @@ -95,9 +92,8 @@ const SynchTemplate = () => { ); }; -export const InputSynch = SynchTemplate.bind({}); -InputText.parameters = { - chromatic: { disableSnapshot: true }, +export const InputSynch = { + render: SynchTemplate, }; const Column = styled("div", { @@ -208,11 +204,13 @@ const ChromaticTemplate = () => ( ); -export const Chromatic = ChromaticTemplate.bind({}); +export const Chromatic = { + render: ChromaticTemplate, +}; -const FormTemplate: ComponentStory = (args) => { - const [iconClicked, setIconClicked] = React.useState(false); - const [submitClicked, setSubmitClicked] = React.useState(false); +const FormTemplate: StoryFn = (args) => { + const [iconClicked, setIconClicked] = useState(false); + const [submitClicked, setSubmitClicked] = useState(false); return (
@@ -239,37 +237,39 @@ const FormTemplate: ComponentStory = (args) => { ); }; -export const SearchTypeInForm = FormTemplate.bind({}); +export const SearchTypeInForm = { + render: FormTemplate, -SearchTypeInForm.args = { - buttonIconType: "button", -}; + args: { + buttonIconType: "button", + }, -SearchTypeInForm.parameters = { - chromatic: { disableSnapshot: true }, -}; + parameters: { + chromatic: { disableSnapshot: true }, + }, -SearchTypeInForm.argTypes = { - buttonIconText: { table: { disable: true } }, - disabled: { table: { disable: true } }, - error: { table: { disable: true } }, - label: { table: { disable: true } }, - icon: { table: { disable: true } }, - name: { table: { disable: true } }, - id: { table: { disable: true } }, - placeholder: { table: { disable: true } }, - required: { table: { disable: true } }, - success: { table: { disable: true } }, - value: { table: { disable: true } }, - defaultValue: { table: { disable: true } }, - type: { table: { disable: true } }, - css: { table: { disable: true } }, - errorMessage: { table: { disable: true } }, - helperText: { table: { disable: true } }, - children: { table: { disable: true } }, + argTypes: { + buttonIconText: { table: { disable: true } }, + disabled: { table: { disable: true } }, + error: { table: { disable: true } }, + label: { table: { disable: true } }, + icon: { table: { disable: true } }, + name: { table: { disable: true } }, + id: { table: { disable: true } }, + placeholder: { table: { disable: true } }, + required: { table: { disable: true } }, + success: { table: { disable: true } }, + value: { table: { disable: true } }, + defaultValue: { table: { disable: true } }, + type: { table: { disable: true } }, + css: { table: { disable: true } }, + errorMessage: { table: { disable: true } }, + helperText: { table: { disable: true } }, + children: { table: { disable: true } }, + }, }; -const InteractionsTemplate: ComponentStory = (args) => ( +const InteractionsTemplate: StoryFn = (args) => ( @@ -290,9 +290,32 @@ const InteractionsTemplate: ComponentStory = (args) => ( ); -export const Interactions = InteractionsTemplate.bind({}); -Interactions.parameters = { - chromatic: { disableSnapshot: true }, +export const Interactions = { + render: InteractionsTemplate, + + parameters: { + chromatic: { disableSnapshot: true }, + }, + + play: async ({ args }) => { + // radix Label needs a tick to associate labels with inputs + await sleep(0); + const label1 = screen.getAllByText("Field 1")[0]; + await expect(label1).toHaveStyle("font-size: 16px"); + await userEvent.type(screen.getByLabelText("Field 1"), "user text", { + delay: 100, + }); + await expect(label1).toHaveStyle("font-size: 12px"); + await userEvent.tab(); + await sleep(250); + const label2 = screen.getAllByText("Field 2")[0]; + await expect(label2).toHaveStyle("font-size: 12px"); + await userEvent.tab(); + await sleep(250); + await expect(label2).toHaveStyle("font-size: 16px"); + await userEvent.click(screen.getAllByRole("button")[0]); + await expect(args.onButtonIconClick).toHaveBeenCalled(); + }, }; // Function to emulate pausing between interactions @@ -300,41 +323,25 @@ function sleep(ms) { return new Promise((resolve) => setTimeout(resolve, ms)); } -Interactions.play = async ({ args }) => { - // radix Label needs a tick to associate labels with inputs - await sleep(0); - const label1 = screen.getAllByText("Field 1")[0]; - await expect(label1).toHaveStyle("font-size: 16px"); - await userEvent.type(screen.getByLabelText("Field 1"), "user text", { - delay: 100, - }); - await expect(label1).toHaveStyle("font-size: 12px"); - await userEvent.tab(); - await sleep(250); - const label2 = screen.getAllByText("Field 2")[0]; - await expect(label2).toHaveStyle("font-size: 12px"); - await userEvent.tab(); - await sleep(250); - await expect(label2).toHaveStyle("font-size: 16px"); - await userEvent.click(screen.getAllByRole("button")[0]); - await expect(args.onButtonIconClick).toHaveBeenCalled(); -}; +export const TypeSearch = { + args: { + type: "search", + }, -export const TypeSearch = Template.bind({}); -TypeSearch.args = { - type: "search", -}; -TypeSearch.parameters = { - chromatic: { disableSnapshot: true }, + parameters: { + chromatic: { disableSnapshot: true }, + }, }; -export const AutoFilledTypeText = Template.bind({}); -AutoFilledTypeText.args = { - type: "text", - name: "my-name", - autoComplete: "given-name", - id: "my-name", -}; -AutoFilledTypeText.parameters = { - chromatic: { disableSnapshot: true }, +export const AutoFilledTypeText = { + args: { + type: "text", + name: "my-name", + autoComplete: "given-name", + id: "my-name", + }, + + parameters: { + chromatic: { disableSnapshot: true }, + }, }; diff --git a/ui/input-textarea/src/InputTextarea.tsx b/packages/kit/src/input-textarea/InputTextarea.tsx similarity index 93% rename from ui/input-textarea/src/InputTextarea.tsx rename to packages/kit/src/input-textarea/InputTextarea.tsx index 1e1e39451..a6852eed8 100644 --- a/ui/input-textarea/src/InputTextarea.tsx +++ b/packages/kit/src/input-textarea/InputTextarea.tsx @@ -1,17 +1,16 @@ -import * as React from "react"; -import { useEffect, useState } from "react"; -import { theme, css, styled } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import React, { useEffect, useState } from "react"; +import { theme, css, styled } from "../theme"; +import type * as WPDS from "../theme"; import { sharedInputStyles, sharedInputVariants, useFloating, globalInputAutoFillTriggerAnimations, FloatingLabelStyles, -} from "@washingtonpost/wpds-input-shared"; -import { InputLabel } from "@washingtonpost/wpds-input-label"; -import { ErrorMessage } from "@washingtonpost/wpds-error-message"; -import { HelperText } from "@washingtonpost/wpds-helper-text"; +} from "../input-shared"; +import { InputLabel } from "../input-label"; +import { ErrorMessage } from "../error-message"; +import { HelperText } from "../helper-text"; const NAME = "InputTextarea"; diff --git a/ui/input-textarea/src/index.ts b/packages/kit/src/input-textarea/index.ts similarity index 100% rename from ui/input-textarea/src/index.ts rename to packages/kit/src/input-textarea/index.ts diff --git a/packages/kit/src/input-textarea/play.stories.tsx b/packages/kit/src/input-textarea/play.stories.tsx new file mode 100644 index 000000000..a111ed423 --- /dev/null +++ b/packages/kit/src/input-textarea/play.stories.tsx @@ -0,0 +1,33 @@ +import { InputTextarea as Component } from "./"; +import type { Meta, StoryFn } from "@storybook/react"; + +export default { + title: "InputTextarea", + component: Component, +} as Meta; + +export const Play = { + name: "InputTextarea", + + args: { + canResize: false, + name: "text-area-1", + id: "text-area-1", + label: "Label", + }, + + argTypes: { + helperText: { control: "text" }, + }, +}; + +export const Error = { + args: { + canResize: false, + name: "text-area-2", + id: "text-area-2", + label: "Label", + error: true, + errorMessage: "Error message", + }, +}; diff --git a/ui/navigation-menu/src/NavigationMenu.tsx b/packages/kit/src/navigation-menu/NavigationMenu.tsx similarity index 100% rename from ui/navigation-menu/src/NavigationMenu.tsx rename to packages/kit/src/navigation-menu/NavigationMenu.tsx diff --git a/ui/navigation-menu/src/NavigationMenuContent.test.tsx b/packages/kit/src/navigation-menu/NavigationMenuContent.test.tsx similarity index 99% rename from ui/navigation-menu/src/NavigationMenuContent.test.tsx rename to packages/kit/src/navigation-menu/NavigationMenuContent.test.tsx index bd6f23cf6..43eef47c9 100644 --- a/ui/navigation-menu/src/NavigationMenuContent.test.tsx +++ b/packages/kit/src/navigation-menu/NavigationMenuContent.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen, waitFor } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { NavigationMenuRoot } from "./NavigationMenuRoot"; diff --git a/ui/navigation-menu/src/NavigationMenuContent.tsx b/packages/kit/src/navigation-menu/NavigationMenuContent.tsx similarity index 97% rename from ui/navigation-menu/src/NavigationMenuContent.tsx rename to packages/kit/src/navigation-menu/NavigationMenuContent.tsx index 38da3b042..582b37724 100644 --- a/ui/navigation-menu/src/NavigationMenuContent.tsx +++ b/packages/kit/src/navigation-menu/NavigationMenuContent.tsx @@ -1,12 +1,12 @@ -import * as React from "react"; +import React from "react"; import { createPortal } from "react-dom"; import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu"; import { CSSTransition } from "react-transition-group"; import { usePopper } from "react-popper"; import maxSize from "popper-max-size-modifier"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; import type { Modifier } from "@popperjs/core"; const NAME = "NavigationMenuContent"; diff --git a/ui/navigation-menu/src/NavigationMenuItem.test.tsx b/packages/kit/src/navigation-menu/NavigationMenuItem.test.tsx similarity index 97% rename from ui/navigation-menu/src/NavigationMenuItem.test.tsx rename to packages/kit/src/navigation-menu/NavigationMenuItem.test.tsx index 11a2dc70b..f599c6626 100644 --- a/ui/navigation-menu/src/NavigationMenuItem.test.tsx +++ b/packages/kit/src/navigation-menu/NavigationMenuItem.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { NavigationMenuRoot } from "./NavigationMenuRoot"; import { NavigationMenuList } from "./NavigationMenuList"; diff --git a/ui/navigation-menu/src/NavigationMenuItem.tsx b/packages/kit/src/navigation-menu/NavigationMenuItem.tsx similarity index 93% rename from ui/navigation-menu/src/NavigationMenuItem.tsx rename to packages/kit/src/navigation-menu/NavigationMenuItem.tsx index 4b0a89dfc..a12f5f79d 100644 --- a/ui/navigation-menu/src/NavigationMenuItem.tsx +++ b/packages/kit/src/navigation-menu/NavigationMenuItem.tsx @@ -1,9 +1,9 @@ -import * as React from "react"; +import React from "react"; import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu"; import { NavigationMenuTrigger } from "./NavigationMenuTrigger"; import { NavigationMenuContent } from "./NavigationMenuContent"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "NavigationMenuItem"; diff --git a/ui/navigation-menu/src/NavigationMenuLink.test.tsx b/packages/kit/src/navigation-menu/NavigationMenuLink.test.tsx similarity index 97% rename from ui/navigation-menu/src/NavigationMenuLink.test.tsx rename to packages/kit/src/navigation-menu/NavigationMenuLink.test.tsx index ea2d1fe3b..20e6cde36 100644 --- a/ui/navigation-menu/src/NavigationMenuLink.test.tsx +++ b/packages/kit/src/navigation-menu/NavigationMenuLink.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { NavigationMenuRoot } from "./NavigationMenuRoot"; import { NavigationMenuList } from "./NavigationMenuList"; diff --git a/ui/navigation-menu/src/NavigationMenuLink.tsx b/packages/kit/src/navigation-menu/NavigationMenuLink.tsx similarity index 90% rename from ui/navigation-menu/src/NavigationMenuLink.tsx rename to packages/kit/src/navigation-menu/NavigationMenuLink.tsx index 1ae5b54b1..8d4dbd817 100644 --- a/ui/navigation-menu/src/NavigationMenuLink.tsx +++ b/packages/kit/src/navigation-menu/NavigationMenuLink.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; +import React from "react"; import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "NavigationMenuLink"; diff --git a/ui/navigation-menu/src/NavigationMenuList.test.tsx b/packages/kit/src/navigation-menu/NavigationMenuList.test.tsx similarity index 93% rename from ui/navigation-menu/src/NavigationMenuList.test.tsx rename to packages/kit/src/navigation-menu/NavigationMenuList.test.tsx index e4bb8bcef..ff51c57f4 100644 --- a/ui/navigation-menu/src/NavigationMenuList.test.tsx +++ b/packages/kit/src/navigation-menu/NavigationMenuList.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { NavigationMenuRoot } from "./NavigationMenuRoot"; import { NavigationMenuList } from "./NavigationMenuList"; diff --git a/ui/navigation-menu/src/NavigationMenuList.tsx b/packages/kit/src/navigation-menu/NavigationMenuList.tsx similarity index 86% rename from ui/navigation-menu/src/NavigationMenuList.tsx rename to packages/kit/src/navigation-menu/NavigationMenuList.tsx index 4ba122f3e..8e9003fa1 100644 --- a/ui/navigation-menu/src/NavigationMenuList.tsx +++ b/packages/kit/src/navigation-menu/NavigationMenuList.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; +import React from "react"; import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu"; -import { styled } from "@washingtonpost/wpds-theme"; +import { styled } from "../theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "NavigationMenuList"; diff --git a/ui/navigation-menu/src/NavigationMenuRoot.test.tsx b/packages/kit/src/navigation-menu/NavigationMenuRoot.test.tsx similarity index 92% rename from ui/navigation-menu/src/NavigationMenuRoot.test.tsx rename to packages/kit/src/navigation-menu/NavigationMenuRoot.test.tsx index 4bed7bb69..d514dd100 100644 --- a/ui/navigation-menu/src/NavigationMenuRoot.test.tsx +++ b/packages/kit/src/navigation-menu/NavigationMenuRoot.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { NavigationMenuRoot } from "./NavigationMenuRoot"; diff --git a/ui/navigation-menu/src/NavigationMenuRoot.tsx b/packages/kit/src/navigation-menu/NavigationMenuRoot.tsx similarity index 88% rename from ui/navigation-menu/src/NavigationMenuRoot.tsx rename to packages/kit/src/navigation-menu/NavigationMenuRoot.tsx index 674b0a836..26bfeca00 100644 --- a/ui/navigation-menu/src/NavigationMenuRoot.tsx +++ b/packages/kit/src/navigation-menu/NavigationMenuRoot.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; +import React from "react"; import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "NavigationMenuRoot"; diff --git a/ui/navigation-menu/src/NavigationMenuSub.test.tsx b/packages/kit/src/navigation-menu/NavigationMenuSub.test.tsx similarity index 95% rename from ui/navigation-menu/src/NavigationMenuSub.test.tsx rename to packages/kit/src/navigation-menu/NavigationMenuSub.test.tsx index c6295cb57..49b210867 100644 --- a/ui/navigation-menu/src/NavigationMenuSub.test.tsx +++ b/packages/kit/src/navigation-menu/NavigationMenuSub.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { NavigationMenuRoot } from "./NavigationMenuRoot"; import { NavigationMenuList } from "./NavigationMenuList"; diff --git a/ui/navigation-menu/src/NavigationMenuSub.tsx b/packages/kit/src/navigation-menu/NavigationMenuSub.tsx similarity index 88% rename from ui/navigation-menu/src/NavigationMenuSub.tsx rename to packages/kit/src/navigation-menu/NavigationMenuSub.tsx index 7ed763e00..388addf99 100644 --- a/ui/navigation-menu/src/NavigationMenuSub.tsx +++ b/packages/kit/src/navigation-menu/NavigationMenuSub.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; +import React from "react"; import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "NavigationMenuSub"; diff --git a/ui/navigation-menu/src/NavigationMenuTrigger.test.tsx b/packages/kit/src/navigation-menu/NavigationMenuTrigger.test.tsx similarity index 97% rename from ui/navigation-menu/src/NavigationMenuTrigger.test.tsx rename to packages/kit/src/navigation-menu/NavigationMenuTrigger.test.tsx index d3c6c6368..5951a7ced 100644 --- a/ui/navigation-menu/src/NavigationMenuTrigger.test.tsx +++ b/packages/kit/src/navigation-menu/NavigationMenuTrigger.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { NavigationMenuRoot } from "./NavigationMenuRoot"; import { NavigationMenuList } from "./NavigationMenuList"; diff --git a/ui/navigation-menu/src/NavigationMenuTrigger.tsx b/packages/kit/src/navigation-menu/NavigationMenuTrigger.tsx similarity index 89% rename from ui/navigation-menu/src/NavigationMenuTrigger.tsx rename to packages/kit/src/navigation-menu/NavigationMenuTrigger.tsx index 1713d662e..a63568dee 100644 --- a/ui/navigation-menu/src/NavigationMenuTrigger.tsx +++ b/packages/kit/src/navigation-menu/NavigationMenuTrigger.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; +import React from "react"; import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const NAME = "NavigationMenuTrigger"; diff --git a/ui/navigation-menu/src/index.ts b/packages/kit/src/navigation-menu/index.ts similarity index 100% rename from ui/navigation-menu/src/index.ts rename to packages/kit/src/navigation-menu/index.ts diff --git a/ui/navigation-menu/src/play.stories.tsx b/packages/kit/src/navigation-menu/play.stories.tsx similarity index 83% rename from ui/navigation-menu/src/play.stories.tsx rename to packages/kit/src/navigation-menu/play.stories.tsx index a38206d29..5d69eeaca 100644 --- a/ui/navigation-menu/src/play.stories.tsx +++ b/packages/kit/src/navigation-menu/play.stories.tsx @@ -1,14 +1,14 @@ -import * as React from "react"; +import React from "react"; import { userEvent, screen } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; -import { NavigationMenu } from "./"; -import { Button } from "@washingtonpost/wpds-button"; -import { Icon } from "@washingtonpost/wpds-icon"; -import { theme } from "@washingtonpost/wpds-theme"; +import { NavigationMenu } from "."; +import { Button } from "../button"; +import { Icon } from "../icon"; +import { theme } from "../theme"; import { ChevronRight, ChevronDown, Menu } from "@washingtonpost/wpds-assets"; import NextLink from "next/link"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; +import type { Meta, StoryFn } from "@storybook/react"; import states from "./states.json"; @@ -23,9 +23,9 @@ export default { Content: NavigationMenu.Content, Sub: NavigationMenu.Sub, }, -} as ComponentMeta; +} as Meta; -const Template: ComponentStory = (args) => { +const Template: StoryFn = (args) => { console.log(args); return ( @@ -65,11 +65,11 @@ const Template: ComponentStory = (args) => { ); }; -export const Default = Template.bind({}); +export const Default = { + render: Template, +}; -const UseNextLinkTemplate: ComponentStory = ( - args -) => { +const UseNextLinkTemplate: StoryFn = (args) => { console.log(args); return ( @@ -84,10 +84,12 @@ const UseNextLinkTemplate: ComponentStory = ( ); }; -export const UseNextLink = UseNextLinkTemplate.bind({}); +export const UseNextLink = { + render: UseNextLinkTemplate, +}; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const SideAlignTemplate: ComponentStory = (args) => { +const SideAlignTemplate: StoryFn = (args) => { console.log("args", args); return ( @@ -125,27 +127,27 @@ const SideAlignTemplate: ComponentStory = (args) => { ); }; -export const SideAlign = SideAlignTemplate.bind({}); +export const SideAlign = { + render: SideAlignTemplate, -SideAlign.argTypes = { - side: { - options: ["top", "bottom", "left", "right"], - control: { type: "select" }, - }, - align: { - options: ["start", "center", "end"], - control: { type: "select" }, + argTypes: { + side: { + options: ["top", "bottom", "left", "right"], + control: { type: "select" }, + }, + align: { + options: ["start", "center", "end"], + control: { type: "select" }, + }, }, -}; -SideAlign.args = { - side: "bottom", - align: "start", + args: { + side: "bottom", + align: "start", + }, }; -const HorizontalTemplate: ComponentStory = ( - args -) => { +const HorizontalTemplate: StoryFn = (args) => { return ( @@ -202,9 +204,11 @@ const HorizontalTemplate: ComponentStory = ( ); }; -export const Horizontal = HorizontalTemplate.bind({}); +export const Horizontal = { + render: HorizontalTemplate, +}; -const VerticalTemplate: ComponentStory = (args) => { +const VerticalTemplate: StoryFn = (args) => { const subsections = [ { text: "The Post's View", @@ -264,10 +268,12 @@ const VerticalTemplate: ComponentStory = (args) => { ); }; -export const Vertical = VerticalTemplate.bind({}); +export const Vertical = { + render: VerticalTemplate, +}; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const InteractionsTemplate: ComponentStory = () => ( +const InteractionsTemplate: StoryFn = () => ( @@ -302,23 +308,26 @@ const InteractionsTemplate: ComponentStory = () => ( ); -export const Interactions = InteractionsTemplate.bind({}); -Interactions.parameters = { - chromatic: { disableSnapshot: true }, +export const Interactions = { + render: InteractionsTemplate, + + parameters: { + chromatic: { disableSnapshot: true }, + }, + + play: async () => { + userEvent.tab(); + userEvent.keyboard("{Enter}"); + await sleep(350); + const content = screen.getByText("Apples"); + await expect(content).toBeVisible(); + userEvent.keyboard("{Escape}"); + await sleep(350); + await expect(content).not.toBeVisible(); + }, }; // Function to emulate pausing between interactions function sleep(ms) { return new Promise((resolve) => setTimeout(resolve, ms)); } - -Interactions.play = async () => { - userEvent.tab(); - userEvent.keyboard("{Enter}"); - await sleep(350); - const content = screen.getByText("Apples"); - await expect(content).toBeVisible(); - userEvent.keyboard("{Escape}"); - await sleep(350); - await expect(content).not.toBeVisible(); -}; diff --git a/ui/navigation-menu/src/states.json b/packages/kit/src/navigation-menu/states.json similarity index 100% rename from ui/navigation-menu/src/states.json rename to packages/kit/src/navigation-menu/states.json diff --git a/ui/pagination-dots/src/PaginationDots.tsx b/packages/kit/src/pagination-dots/PaginationDots.tsx similarity index 97% rename from ui/pagination-dots/src/PaginationDots.tsx rename to packages/kit/src/pagination-dots/PaginationDots.tsx index 5819e1539..b59d43832 100644 --- a/ui/pagination-dots/src/PaginationDots.tsx +++ b/packages/kit/src/pagination-dots/PaginationDots.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; -import type * as WPDS from "@washingtonpost/wpds-theme"; -import { theme, styled } from "@washingtonpost/wpds-theme"; +import React from "react"; +import type * as WPDS from "../theme"; +import { theme, styled } from "../theme"; const NAME = "PaginationDots"; const ACTIVECOLOR = "primary"; diff --git a/ui/pagination-dots/src/index.ts b/packages/kit/src/pagination-dots/index.ts similarity index 100% rename from ui/pagination-dots/src/index.ts rename to packages/kit/src/pagination-dots/index.ts diff --git a/ui/pagination-dots/src/play.stories.tsx b/packages/kit/src/pagination-dots/play.stories.tsx similarity index 56% rename from ui/pagination-dots/src/play.stories.tsx rename to packages/kit/src/pagination-dots/play.stories.tsx index fa032c005..ddae48940 100644 --- a/ui/pagination-dots/src/play.stories.tsx +++ b/packages/kit/src/pagination-dots/play.stories.tsx @@ -1,12 +1,12 @@ -import * as React from "react"; +import React, { useMemo, useState, useEffect } from "react"; import { PaginationDots as Component } from "./"; -import { theme, styled } from "@washingtonpost/wpds-theme"; -import { Button } from "@washingtonpost/wpds-button"; -import { InputText } from "@washingtonpost/wpds-ui-kit"; +import { theme, styled } from "../theme"; +import { Button } from "../button"; +import { InputText } from "../input-text"; import { within, userEvent } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; +import type { Meta, StoryFn } from "@storybook/react"; const Stack = styled("section", { display: "flex", @@ -26,7 +26,7 @@ const HStack = styled("section", { export default { title: "PaginationDots", component: Component, -} as ComponentMeta; +} as Meta; const DefaultArgs = { amount: 6, @@ -40,21 +40,23 @@ const Label = styled("h3", { textAlign: "center", }); -export const PaginationDots = (args) => ( - - - - -); +export const PaginationDots = { + render: (args) => ( + + + + + ), -PaginationDots.args = { ...DefaultArgs }; + args: { ...DefaultArgs }, +}; -const Template: ComponentStory = (args, context) => { - const id = React.useMemo(() => `${Math.random()}-amount`.slice(2), []); - const [amount, setAmount] = React.useState("5"); - const [index, setIndex] = React.useState(1); +const Template: StoryFn = (args, context) => { + const id = useMemo(() => `${Math.random()}-amount`.slice(2), []); + const [amount, setAmount] = useState("5"); + const [index, setIndex] = useState(1); - React.useEffect(() => setAmount(amount), [amount]); + useEffect(() => setAmount(amount), [amount]); return ( @@ -106,54 +108,69 @@ const Template: ComponentStory = (args, context) => { ); }; -export const WithControls = Template.bind({}); +export const WithControls = { + render: Template, +}; + // Function to emulate pausing between interactions const sleep = (ms) => { return new Promise((resolve) => setTimeout(resolve, ms)); }; -export const Interactions = Template.bind({}); -Interactions.play = async ({ canvasElement }) => { - const canvas = within(canvasElement); - const paginationDots = canvas.getByLabelText("light-pagination"); - - // change amount of dots - await userEvent.type(canvas.getByTestId("light-input-text"), "{backspace}6"); - await sleep(500); - // check incrementing index changes ariaValueNow - await userEvent.click(canvas.getByTestId("light-inc-btn")); - let ariaValueNow = paginationDots.getAttribute("aria-valuenow"); - await sleep(500); - expect(ariaValueNow).toBe("2"); - await sleep(500); - - // traverse all dots - for (let i = 0; i < 9; i++) { - const btn = i < 4 ? "light-inc-btn" : "light-dec-btn"; - await userEvent.click(canvas.getByTestId(btn)); +export const Interactions = { + render: Template, + + play: async ({ canvasElement }) => { + const canvas = within(canvasElement); + const paginationDots = canvas.getByLabelText("light-pagination"); + + // change amount of dots + await userEvent.type( + canvas.getByTestId("light-input-text"), + "{backspace}6" + ); await sleep(500); - } - - // test ariaValueMax change on amount change - await userEvent.type(canvas.getByTestId("light-input-text"), "{backspace}12"); - await sleep(500); - let ariaValueMax = paginationDots.getAttribute("aria-valuemax"); - expect(ariaValueMax).toBe("12"); - - // test dots never go below 0 - await userEvent.type( - canvas.getByTestId("light-input-text"), - "{backspace}{backspace}0" - ); - await sleep(500); - ariaValueMax = paginationDots.getAttribute("aria-valuemax"); - ariaValueNow = paginationDots.getAttribute("aria-valuenow"); - expect(ariaValueMax).toBe("1"); - // expect(ariaValueNow).toBe("1"); - - // tests a large number of dots doesn't modify other elements - await userEvent.type(canvas.getByTestId("light-input-text"), "{backspace}50"); - await sleep(500); + // check incrementing index changes ariaValueNow + await userEvent.click(canvas.getByTestId("light-inc-btn")); + let ariaValueNow = paginationDots.getAttribute("aria-valuenow"); + await sleep(500); + expect(ariaValueNow).toBe("2"); + await sleep(500); + + // traverse all dots + for (let i = 0; i < 9; i++) { + const btn = i < 4 ? "light-inc-btn" : "light-dec-btn"; + await userEvent.click(canvas.getByTestId(btn)); + await sleep(500); + } + + // test ariaValueMax change on amount change + await userEvent.type( + canvas.getByTestId("light-input-text"), + "{backspace}12" + ); + await sleep(500); + let ariaValueMax = paginationDots.getAttribute("aria-valuemax"); + expect(ariaValueMax).toBe("12"); + + // test dots never go below 0 + await userEvent.type( + canvas.getByTestId("light-input-text"), + "{backspace}{backspace}0" + ); + await sleep(500); + ariaValueMax = paginationDots.getAttribute("aria-valuemax"); + ariaValueNow = paginationDots.getAttribute("aria-valuenow"); + expect(ariaValueMax).toBe("1"); + // expect(ariaValueNow).toBe("1"); + + // tests a large number of dots doesn't modify other elements + await userEvent.type( + canvas.getByTestId("light-input-text"), + "{backspace}50" + ); + await sleep(500); + }, }; export const Chromatic = () => ( diff --git a/ui/popover/src/Popover.tsx b/packages/kit/src/popover/Popover.tsx similarity index 100% rename from ui/popover/src/Popover.tsx rename to packages/kit/src/popover/Popover.tsx diff --git a/ui/popover/src/PopoverAnchor.test.tsx b/packages/kit/src/popover/PopoverAnchor.test.tsx similarity index 93% rename from ui/popover/src/PopoverAnchor.test.tsx rename to packages/kit/src/popover/PopoverAnchor.test.tsx index 587b68ee8..418ec8b66 100644 --- a/ui/popover/src/PopoverAnchor.test.tsx +++ b/packages/kit/src/popover/PopoverAnchor.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { PopoverRoot } from "./PopoverRoot"; import { PopoverAnchor } from "./PopoverAnchor"; diff --git a/ui/popover/src/PopoverAnchor.tsx b/packages/kit/src/popover/PopoverAnchor.tsx similarity index 93% rename from ui/popover/src/PopoverAnchor.tsx rename to packages/kit/src/popover/PopoverAnchor.tsx index 6edd2ea88..c4226d838 100644 --- a/ui/popover/src/PopoverAnchor.tsx +++ b/packages/kit/src/popover/PopoverAnchor.tsx @@ -1,4 +1,4 @@ -import * as React from "react"; +import React from "react"; import * as PopoverPrimitive from "@radix-ui/react-popover"; import type { PopoverAnchorProps as RadixPopoverAnchorProps } from "@radix-ui/react-popover"; diff --git a/ui/popover/src/PopoverClose.test.tsx b/packages/kit/src/popover/PopoverClose.test.tsx similarity index 95% rename from ui/popover/src/PopoverClose.test.tsx rename to packages/kit/src/popover/PopoverClose.test.tsx index 97d5f562d..e2a511c3e 100644 --- a/ui/popover/src/PopoverClose.test.tsx +++ b/packages/kit/src/popover/PopoverClose.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { PopoverRoot } from "./PopoverRoot"; import { PopoverClose } from "./PopoverClose"; diff --git a/packages/kit/src/popover/PopoverClose.tsx b/packages/kit/src/popover/PopoverClose.tsx new file mode 100644 index 000000000..a8c5573f7 --- /dev/null +++ b/packages/kit/src/popover/PopoverClose.tsx @@ -0,0 +1,43 @@ +import React, { forwardRef } from "react"; +import * as PopoverPrimitive from "@radix-ui/react-popover"; +import { styled, theme } from "../theme"; +import { Button } from "../button"; +import { Icon } from "../icon"; +import { Close } from "@washingtonpost/wpds-assets"; + +import type * as WPDS from "../theme"; +import type { PopoverCloseProps as RadixPopoverCloseProps } from "@radix-ui/react-popover"; + +const NAME = "PopoverClose"; + +const StyledButton = styled(Button, { + position: "absolute", + top: theme.space["025"], + right: theme.space["025"], + "&&": { + border: "none", + }, +}); + +export type PopoverCloseProps = { + /** Override CSS */ + css?: WPDS.CSS; +} & RadixPopoverCloseProps; + +export const PopoverClose = forwardRef( + ({ children, asChild, ...props }, ref) => ( + + {asChild ? ( + children + ) : ( + + + + + + )} + + ) +); + +PopoverClose.displayName = NAME; diff --git a/ui/popover/src/PopoverContent.test.tsx b/packages/kit/src/popover/PopoverContent.test.tsx similarity index 97% rename from ui/popover/src/PopoverContent.test.tsx rename to packages/kit/src/popover/PopoverContent.test.tsx index b18c94d3f..ed091096b 100644 --- a/ui/popover/src/PopoverContent.test.tsx +++ b/packages/kit/src/popover/PopoverContent.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { PopoverRoot } from "./PopoverRoot"; import { PopoverContent } from "./PopoverContent"; diff --git a/ui/popover/src/PopoverContent.tsx b/packages/kit/src/popover/PopoverContent.tsx similarity index 90% rename from ui/popover/src/PopoverContent.tsx rename to packages/kit/src/popover/PopoverContent.tsx index ffe2ddc93..30764e8f7 100644 --- a/ui/popover/src/PopoverContent.tsx +++ b/packages/kit/src/popover/PopoverContent.tsx @@ -1,10 +1,10 @@ -import * as React from "react"; -import { styled, theme, keyframes } from "@washingtonpost/wpds-theme"; +import React, { forwardRef } from "react"; +import { styled, theme, keyframes } from "../theme"; import * as PopoverPrimitive from "@radix-ui/react-popover"; import type { Token } from "@stitches/react/types/theme"; -import * as Tokens from "@washingtonpost/wpds-theme/src/tokens"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import * as Tokens from "../theme/tokens"; +import type * as WPDS from "../theme"; import type { PopoverContentProps as RadixPopoverContentProps } from "@radix-ui/react-popover"; const NAME = "PopoverContent"; @@ -97,10 +97,7 @@ export type PopoverContentProps = { } & WPDS.VariantProps & Omit; -export const PopoverContent = React.forwardRef< - HTMLDivElement, - PopoverContentProps ->( +export const PopoverContent = forwardRef( ( { children, diff --git a/ui/popover/src/PopoverPortal.test.tsx b/packages/kit/src/popover/PopoverPortal.test.tsx similarity index 94% rename from ui/popover/src/PopoverPortal.test.tsx rename to packages/kit/src/popover/PopoverPortal.test.tsx index 2190a5642..ffa75ecea 100644 --- a/ui/popover/src/PopoverPortal.test.tsx +++ b/packages/kit/src/popover/PopoverPortal.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { PopoverRoot } from "./PopoverRoot"; import { PopoverPortal } from "./PopoverPortal"; diff --git a/ui/popover/src/PopoverPortal.tsx b/packages/kit/src/popover/PopoverPortal.tsx similarity index 93% rename from ui/popover/src/PopoverPortal.tsx rename to packages/kit/src/popover/PopoverPortal.tsx index ff18b2a3c..48c73fdce 100644 --- a/ui/popover/src/PopoverPortal.tsx +++ b/packages/kit/src/popover/PopoverPortal.tsx @@ -1,4 +1,4 @@ -import * as React from "react"; +import React from "react"; import * as PopoverPrimitive from "@radix-ui/react-popover"; import type { PopoverPortalProps as RadixPopoverPortalProps } from "@radix-ui/react-popover"; diff --git a/ui/popover/src/PopoverRoot.test.tsx b/packages/kit/src/popover/PopoverRoot.test.tsx similarity index 90% rename from ui/popover/src/PopoverRoot.test.tsx rename to packages/kit/src/popover/PopoverRoot.test.tsx index e1ac8eb23..caee3af68 100644 --- a/ui/popover/src/PopoverRoot.test.tsx +++ b/packages/kit/src/popover/PopoverRoot.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { PopoverRoot } from "./PopoverRoot"; diff --git a/ui/popover/src/PopoverRoot.tsx b/packages/kit/src/popover/PopoverRoot.tsx similarity index 92% rename from ui/popover/src/PopoverRoot.tsx rename to packages/kit/src/popover/PopoverRoot.tsx index 0ca3f1eaf..fb20f9bb9 100644 --- a/ui/popover/src/PopoverRoot.tsx +++ b/packages/kit/src/popover/PopoverRoot.tsx @@ -1,4 +1,4 @@ -import * as React from "react"; +import React from "react"; import * as PopoverPrimitive from "@radix-ui/react-popover"; import type { PopoverProps as RadixPopoverRootProps } from "@radix-ui/react-popover"; diff --git a/ui/popover/src/PopoverTrigger.test.tsx b/packages/kit/src/popover/PopoverTrigger.test.tsx similarity index 95% rename from ui/popover/src/PopoverTrigger.test.tsx rename to packages/kit/src/popover/PopoverTrigger.test.tsx index 3ada55c71..a5e3f5154 100644 --- a/ui/popover/src/PopoverTrigger.test.tsx +++ b/packages/kit/src/popover/PopoverTrigger.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { PopoverRoot } from "./PopoverRoot"; import { PopoverTrigger } from "./PopoverTrigger"; diff --git a/ui/popover/src/PopoverTrigger.tsx b/packages/kit/src/popover/PopoverTrigger.tsx similarity index 75% rename from ui/popover/src/PopoverTrigger.tsx rename to packages/kit/src/popover/PopoverTrigger.tsx index 04bab1713..38ac98100 100644 --- a/ui/popover/src/PopoverTrigger.tsx +++ b/packages/kit/src/popover/PopoverTrigger.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; +import React, { forwardRef } from "react"; import * as PopoverPrimitive from "@radix-ui/react-popover"; -import { Button } from "@washingtonpost/wpds-button"; +import { Button } from "../button"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; import type { PopoverTriggerProps as RadixPopoverTriggerProps } from "@radix-ui/react-popover"; const NAME = "PopoverTrigger"; @@ -12,7 +12,7 @@ export type PopoverTriggerProps = { css?: WPDS.CSS; } & RadixPopoverTriggerProps; -export const PopoverTrigger = React.forwardRef< +export const PopoverTrigger = forwardRef< HTMLButtonElement, PopoverTriggerProps >(({ children, asChild, ...props }, ref) => { diff --git a/ui/popover/src/index.ts b/packages/kit/src/popover/index.ts similarity index 100% rename from ui/popover/src/index.ts rename to packages/kit/src/popover/index.ts diff --git a/ui/popover/src/play.stories.tsx b/packages/kit/src/popover/play.stories.tsx similarity index 79% rename from ui/popover/src/play.stories.tsx rename to packages/kit/src/popover/play.stories.tsx index 3e9238170..f52510746 100644 --- a/ui/popover/src/play.stories.tsx +++ b/packages/kit/src/popover/play.stories.tsx @@ -1,14 +1,14 @@ /* eslint-disable testing-library/no-node-access */ -import * as React from "react"; +import React from "react"; import { userEvent, within } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; -import * as Tokens from "@washingtonpost/wpds-theme/src/tokens"; +import * as Tokens from "../theme/tokens"; import * as PopoverPrimitive from "@radix-ui/react-popover"; import { Popover } from "./"; -import { styled, theme, globalCss } from "@washingtonpost/wpds-theme"; +import { styled, theme, globalCss } from "../theme"; import { ChevronRight } from "@washingtonpost/wpds-assets"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; +import type { Meta, StoryFn } from "@storybook/react"; export default { title: "Popover", @@ -22,10 +22,10 @@ export default { parameters: { chromatic: { delay: 300 }, }, -} as ComponentMeta; +} as Meta; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const Template: ComponentStory = (args) => { +const Template: StoryFn = (args) => { const triggerRef = React.useRef(null); const [parentElement, setParentElement] = React.useState(); @@ -44,35 +44,37 @@ const Template: ComponentStory = (args) => { ); }; -export const Default = Template.bind({}); +export const Default = { + render: Template, -Default.args = { - children: - "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Diam non eget consequat pretium.", - density: "default", - sideOffset: "050", - side: "bottom", - align: "center", -}; - -Default.argTypes = { - density: { - control: "select", - options: ["default", "compact"], + args: { + children: + "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Diam non eget consequat pretium.", + density: "default", + sideOffset: "050", + side: "bottom", + align: "center", }, - sideOffset: { - options: Object.keys(Tokens.sizes), - mapping: theme.sizes, - control: "select", + + argTypes: { + density: { + control: "select", + options: ["default", "compact"], + }, + sideOffset: { + options: Object.keys(Tokens.sizes), + mapping: theme.sizes, + control: "select", + }, }, -}; -Default.parameters = { - chromatic: { disableSnapshot: true }, + parameters: { + chromatic: { disableSnapshot: true }, + }, }; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const AnchorTemplate: ComponentStory = (args) => { +const AnchorTemplate: StoryFn = (args) => { const triggerRef = React.useRef(null); const [parentElement, setParentElement] = React.useState(); React.useEffect(() => { @@ -100,15 +102,19 @@ const AnchorTemplate: ComponentStory = (args) => { ); }; -export const Anchor = AnchorTemplate.bind({}); -Anchor.args = { - children: - "Anchors allow for Popups to be triggered and positioned independently", +export const Anchor = { + render: AnchorTemplate, + + args: { + children: + "Anchors allow for Popups to be triggered and positioned independently", + }, + + parameters: { chromatic: { disableSnapshot: true } }, }; -Anchor.parameters = { chromatic: { disableSnapshot: true } }; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const CloseButtonTemplate: ComponentStory = (args) => { +const CloseButtonTemplate: StoryFn = (args) => { const triggerRef = React.useRef(null); const [parentElement, setParentElement] = React.useState(); React.useEffect(() => { @@ -135,11 +141,15 @@ const CloseButtonTemplate: ComponentStory = (args) => { ); }; -export const CloseButton = CloseButtonTemplate.bind({}); -CloseButton.args = { - children: "An optional close button may be included", +export const CloseButton = { + render: CloseButtonTemplate, + + args: { + children: "An optional close button may be included", + }, + + parameters: { chromatic: { disableSnapshot: true } }, }; -CloseButton.parameters = { chromatic: { disableSnapshot: true } }; const SideMenu = styled("menu", { backgroundColor: theme.colors.gray40, @@ -206,7 +216,7 @@ const Arrow = () => { }; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const MenuTemplate: ComponentStory = () => { +const MenuTemplate: StoryFn = () => { const [menuOpen, setMenuOpen] = React.useState(false); return (
@@ -264,11 +274,13 @@ const MenuTemplate: ComponentStory = () => { ); }; -export const Menu = MenuTemplate.bind({}); -Menu.parameters = { chromatic: { disableSnapshot: true } }; +export const Menu = { + render: MenuTemplate, + parameters: { chromatic: { disableSnapshot: true } }, +}; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const FullPopover: ComponentStory = ({ side, align }) => ( +const FullPopover: StoryFn = ({ side, align }) => ( = ({ side, align }) => ( ); // eslint-disable-next-line @typescript-eslint/no-explicit-any -const ChromaticTemplate: ComponentStory = () => { +const ChromaticTemplate: StoryFn = () => { const side = ["bottom", "top", "right", "left"]; const align = ["start", "center", "end"]; @@ -354,10 +366,13 @@ const ChromaticTemplate: ComponentStory = () => { ); }; -export const Chromatic = ChromaticTemplate.bind({}); -Chromatic.parameters = { - docs: { disable: true }, - chromatic: { delay: 1000 }, +export const Chromatic = { + render: ChromaticTemplate, + + parameters: { + docs: { disable: true }, + chromatic: { delay: 1000 }, + }, }; const ecGlobalCss = globalCss({ @@ -370,7 +385,7 @@ const ecGlobalCss = globalCss({ }); // eslint-disable-next-line @typescript-eslint/no-explicit-any -const EdgeAndCornerCasesTemplate: ComponentStory = () => { +const EdgeAndCornerCasesTemplate: StoryFn = () => { ecGlobalCss(); return (
= () => { ); }; -export const EdgeAndCornerCases = EdgeAndCornerCasesTemplate.bind({}); -EdgeAndCornerCases.parameters = { - docs: { disable: true }, - chromatic: { delay: 3000 }, +export const EdgeAndCornerCases = { + render: EdgeAndCornerCasesTemplate, + + parameters: { + docs: { disable: true }, + chromatic: { delay: 3000 }, + }, }; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const InteractionsTemplate: ComponentStory = () => ( +const InteractionsTemplate: StoryFn = () => ( Trigger Popover Content ); -export const Interactions = InteractionsTemplate.bind({}); -Interactions.parameters = { - chromatic: { disableSnapshot: true }, +export const Interactions = { + render: InteractionsTemplate, + + parameters: { + chromatic: { disableSnapshot: true }, + }, + + play: async ({ canvasElement }) => { + const canvas = within(canvasElement); + + const trigger = canvas.getByRole("button"); + await userEvent.click(trigger); + await sleep(500); + const content = canvas.getByRole("dialog"); + await expect(content).toBeVisible(); + await userEvent.click(document.body); + await sleep(500); + await expect(content).not.toBeInTheDocument(); + }, }; // Function to emulate pausing between interactions function sleep(ms) { return new Promise((resolve) => setTimeout(resolve, ms)); } - -Interactions.play = async ({ canvasElement }) => { - const canvas = within(canvasElement); - - const trigger = canvas.getByRole("button"); - await userEvent.click(trigger); - await sleep(500); - const content = canvas.getByRole("dialog"); - await expect(content).toBeVisible(); - await userEvent.click(document.body); - await sleep(500); - await expect(content).not.toBeInTheDocument(); -}; diff --git a/ui/radio-group/src/RadioButton.tsx b/packages/kit/src/radio-group/RadioButton.tsx similarity index 95% rename from ui/radio-group/src/RadioButton.tsx rename to packages/kit/src/radio-group/RadioButton.tsx index e984ba011..083d6b496 100644 --- a/ui/radio-group/src/RadioButton.tsx +++ b/packages/kit/src/radio-group/RadioButton.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; +import React from "react"; import * as RadioGroupPrimitive from "@radix-ui/react-radio-group"; -import * as Theme from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; -import { InputLabel } from "@washingtonpost/wpds-input-label"; +import * as Theme from "../theme"; +import type * as WPDS from "../theme"; +import { InputLabel } from "../input-label"; const NAME = "RadioButton"; diff --git a/ui/radio-group/src/RadioGroup.tsx b/packages/kit/src/radio-group/RadioGroup.tsx similarity index 92% rename from ui/radio-group/src/RadioGroup.tsx rename to packages/kit/src/radio-group/RadioGroup.tsx index d0b98fa5a..9f034beff 100644 --- a/ui/radio-group/src/RadioGroup.tsx +++ b/packages/kit/src/radio-group/RadioGroup.tsx @@ -1,10 +1,10 @@ -import * as React from "react"; +import React from "react"; import * as RadioGroupPrimitive from "@radix-ui/react-radio-group"; import type { RadioGroupProps as RadioGroupRootProps } from "@radix-ui/react-radio-group"; -import * as Theme from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; -import { Fieldset } from "@washingtonpost/wpds-fieldset"; -import { ErrorMessage } from "@washingtonpost/wpds-error-message"; +import * as Theme from "../theme"; +import type * as WPDS from "../theme"; +import { Fieldset } from "../fieldset"; +import { ErrorMessage } from "../error-message"; const NAME = "RadioGroup"; diff --git a/ui/radio-group/src/index.ts b/packages/kit/src/radio-group/index.ts similarity index 100% rename from ui/radio-group/src/index.ts rename to packages/kit/src/radio-group/index.ts diff --git a/ui/radio-group/src/play.stories.tsx b/packages/kit/src/radio-group/play.stories.tsx similarity index 73% rename from ui/radio-group/src/play.stories.tsx rename to packages/kit/src/radio-group/play.stories.tsx index a0dff98cf..ef7a31a4d 100644 --- a/ui/radio-group/src/play.stories.tsx +++ b/packages/kit/src/radio-group/play.stories.tsx @@ -1,19 +1,19 @@ -import * as React from "react"; +import React, { useState } from "react"; import { screen, userEvent } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; import { RadioGroup as Component, RadioButton } from "./"; -import { styled, css, theme } from "@washingtonpost/wpds-theme"; -import { Box } from "../../box"; +import { styled, css, theme } from "../theme"; +import { Box } from "../box"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; +import type { Meta, StoryFn } from "@storybook/react"; export default { title: "RadioGroup", component: Component, subcomponents: { RadioButton }, -} as ComponentMeta; +} as Meta; -const Template: ComponentStory = (args) => ( +const Template: StoryFn = (args) => ( @@ -22,24 +22,26 @@ const Template: ComponentStory = (args) => ( ); -export const RadioGroup = Template.bind({}); +export const RadioGroup = { + render: Template, -RadioGroup.args = { - legend: "Select an option", - name: "my-value", -}; + args: { + legend: "Select an option", + name: "my-value", + }, -RadioGroup.argTypes = { - errorMessage: { - control: "text", + argTypes: { + errorMessage: { + control: "text", + }, }, -}; -RadioGroup.parameters = { - chromatic: { disableSnapshot: true }, + parameters: { + chromatic: { disableSnapshot: true }, + }, }; -const WrapTemplate: ComponentStory = (args) => ( +const WrapTemplate: StoryFn = (args) => ( = (args) => ( ); -export const WrapOptions = WrapTemplate.bind({}); +export const WrapOptions = { + render: WrapTemplate, -WrapOptions.args = { - legend: "Select an option", - name: "my-value", - orientation: "horizontal", -}; + args: { + legend: "Select an option", + name: "my-value", + orientation: "horizontal", + }, -WrapOptions.parameters = { - chromatic: { disableSnapshot: true }, + parameters: { + chromatic: { disableSnapshot: true }, + }, }; -const OverflowTemplate: ComponentStory = () => ( +const OverflowTemplate: StoryFn = () => ( = () => ( ); -export const Overflow = OverflowTemplate.bind({}); -Overflow.parameters = { - chromatic: { disableSnapshot: true }, +export const Overflow = { + render: OverflowTemplate, + + parameters: { + chromatic: { disableSnapshot: true }, + }, }; -const ControlledTemplate: ComponentStory = () => { - const [value, setValue] = React.useState("opt1"); +const ControlledTemplate: StoryFn = () => { + const [value, setValue] = useState("opt1"); function handleValueChange(val) { setValue(val); } @@ -106,9 +113,12 @@ const ControlledTemplate: ComponentStory = () => { ); }; -export const Controlled = ControlledTemplate.bind({}); -Controlled.parameters = { - chromatic: { disableSnapshot: true }, +export const Controlled = { + render: ControlledTemplate, + + parameters: { + chromatic: { disableSnapshot: true }, + }, }; const Column = styled("div", { @@ -132,7 +142,7 @@ const Heading = styled("h2", { marginBlock: 0, }); -const ChromaticTemplate: ComponentStory = () => ( +const ChromaticTemplate: StoryFn = () => ( Variants @@ -206,33 +216,38 @@ const ChromaticTemplate: ComponentStory = () => ( ); -export const Chromatic = ChromaticTemplate.bind({}); -Chromatic.args = {}; +export const Chromatic = { + render: ChromaticTemplate, + args: {}, +}; -const InteractionsTemplate: ComponentStory = () => ( +const InteractionsTemplate: StoryFn = () => ( ); -export const Interactions = InteractionsTemplate.bind({}); -Interactions.parameters = { - chromatic: { disableSnapshot: true }, +export const Interactions = { + render: InteractionsTemplate, + + parameters: { + chromatic: { disableSnapshot: true }, + }, + + play: async () => { + const input1 = screen.getByLabelText("Option 1"); + const input2 = screen.getByLabelText("Option 2"); + await userEvent.click(input1); + await expect(input1).toBeChecked(); + await userEvent.keyboard("[ArrowDown]"); + await sleep(0); + await userEvent.keyboard(" "); + await expect(input2).toBeChecked(); + }, }; // Function to emulate pausing between interactions function sleep(ms) { return new Promise((resolve) => setTimeout(resolve, ms)); } - -Interactions.play = async () => { - const input1 = screen.getByLabelText("Option 1"); - const input2 = screen.getByLabelText("Option 2"); - await userEvent.click(input1); - await expect(input1).toBeChecked(); - await userEvent.keyboard("[ArrowDown]"); - await sleep(0); - await userEvent.keyboard(" "); - await expect(input2).toBeChecked(); -}; diff --git a/ui/scrim/src/Scrim.test.tsx b/packages/kit/src/scrim/Scrim.test.tsx similarity index 95% rename from ui/scrim/src/Scrim.test.tsx rename to packages/kit/src/scrim/Scrim.test.tsx index e8782a2d6..59e6933df 100644 --- a/ui/scrim/src/Scrim.test.tsx +++ b/packages/kit/src/scrim/Scrim.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { Scrim } from "./Scrim"; diff --git a/ui/scrim/src/Scrim.tsx b/packages/kit/src/scrim/Scrim.tsx similarity index 93% rename from ui/scrim/src/Scrim.tsx rename to packages/kit/src/scrim/Scrim.tsx index b0f5c8f5c..418bf95de 100644 --- a/ui/scrim/src/Scrim.tsx +++ b/packages/kit/src/scrim/Scrim.tsx @@ -1,7 +1,7 @@ -import * as React from "react"; +import React from "react"; import { CSSTransition } from "react-transition-group"; -import { styled, theme, css as wpCSS } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import { styled, theme, css as wpCSS } from "../theme"; +import type * as WPDS from "../theme"; import type { Token } from "@stitches/react/types/theme"; import type { StandardLonghandProperties } from "@stitches/react/types/css"; diff --git a/ui/scrim/src/index.ts b/packages/kit/src/scrim/index.ts similarity index 100% rename from ui/scrim/src/index.ts rename to packages/kit/src/scrim/index.ts diff --git a/ui/scrim/src/play.stories.tsx b/packages/kit/src/scrim/play.stories.tsx similarity index 79% rename from ui/scrim/src/play.stories.tsx rename to packages/kit/src/scrim/play.stories.tsx index 3b646903b..b0ccc7361 100644 --- a/ui/scrim/src/play.stories.tsx +++ b/packages/kit/src/scrim/play.stories.tsx @@ -1,17 +1,17 @@ -import * as React from "react"; -import { Box } from "@washingtonpost/wpds-box"; -import { theme } from "@washingtonpost/wpds-theme"; +import React, { useState } from "react"; +import { Box } from "../box"; +import { theme } from "../theme"; import { Scrim as Component } from "./"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; +import type { Meta, StoryFn } from "@storybook/react"; export default { title: "Scrim", component: Component, -} as ComponentMeta; +} as Meta; -const Template: ComponentStory = (args) => { - const [open, setOpen] = React.useState(false); +const Template: StoryFn = (args) => { + const [open, setOpen] = useState(false); function handleOpenChange(val) { setOpen(() => val); } @@ -72,18 +72,20 @@ const Template: ComponentStory = (args) => { ); }; -export const Scrim = Template.bind({}); +export const Scrim = { + render: Template, -Scrim.args = { - zIndex: theme.zIndices.shell, - lockScroll: true, -}; + args: { + zIndex: theme.zIndices.shell, + lockScroll: true, + }, -Scrim.parameters = { - chromatic: { disableSnapshot: true }, + parameters: { + chromatic: { disableSnapshot: true }, + }, }; -const ChromaticTemplate: ComponentStory = () => { +const ChromaticTemplate: StoryFn = () => { return ( <> = () => { ); }; -export const Chromatic = ChromaticTemplate.bind({}); +export const Chromatic = { + render: ChromaticTemplate, +}; diff --git a/ui/select/src/Select.tsx b/packages/kit/src/select/Select.tsx similarity index 97% rename from ui/select/src/Select.tsx rename to packages/kit/src/select/Select.tsx index 2a6b32a71..8a106467c 100644 --- a/ui/select/src/Select.tsx +++ b/packages/kit/src/select/Select.tsx @@ -1,9 +1,9 @@ -import * as React from "react"; +import React from "react"; import * as SelectPrimitive from "@radix-ui/react-select"; import { useControllableState } from "@radix-ui/react-use-controllable-state"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; import { SelectContent } from "./SelectContent"; import { SelectGroup } from "./SelectGroup"; diff --git a/ui/select/src/SelectContent.tsx b/packages/kit/src/select/SelectContent.tsx similarity index 92% rename from ui/select/src/SelectContent.tsx rename to packages/kit/src/select/SelectContent.tsx index b4e40e3bb..38c7a8019 100644 --- a/ui/select/src/SelectContent.tsx +++ b/packages/kit/src/select/SelectContent.tsx @@ -1,12 +1,12 @@ -import * as React from "react"; +import React from "react"; import { SelectContext } from "./Select"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import { Icon } from "@washingtonpost/wpds-icon"; +import { styled, theme } from "../theme"; +import { Icon } from "../icon"; import { ChevronUp, ChevronDown } from "@washingtonpost/wpds-assets"; import * as SelectPrimitive from "@radix-ui/react-select"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const StyledContent = styled(SelectPrimitive.Content, { backgroundColor: theme.colors.secondary, diff --git a/ui/select/src/SelectGroup.tsx b/packages/kit/src/select/SelectGroup.tsx similarity index 87% rename from ui/select/src/SelectGroup.tsx rename to packages/kit/src/select/SelectGroup.tsx index 124865c2b..225fd1c54 100644 --- a/ui/select/src/SelectGroup.tsx +++ b/packages/kit/src/select/SelectGroup.tsx @@ -1,10 +1,10 @@ -import * as React from "react"; +import React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import { Divider } from "@washingtonpost/wpds-divider"; +import { styled, theme } from "../theme"; +import { Divider } from "../divider"; import * as SelectPrimitive from "@radix-ui/react-select"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const StyledSelectGroup = styled(SelectPrimitive.Group, {}); diff --git a/ui/select/src/SelectItem.tsx b/packages/kit/src/select/SelectItem.tsx similarity index 92% rename from ui/select/src/SelectItem.tsx rename to packages/kit/src/select/SelectItem.tsx index ee8130418..b81689a29 100644 --- a/ui/select/src/SelectItem.tsx +++ b/packages/kit/src/select/SelectItem.tsx @@ -1,10 +1,10 @@ -import * as React from "react"; +import React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; import { Check } from "@washingtonpost/wpds-assets"; import * as SelectPrimitive from "@radix-ui/react-select"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const StyledItem = styled(SelectPrimitive.Item, { all: "unset", diff --git a/ui/select/src/SelectLabel.tsx b/packages/kit/src/select/SelectLabel.tsx similarity index 92% rename from ui/select/src/SelectLabel.tsx rename to packages/kit/src/select/SelectLabel.tsx index c52a7bccc..aecf1f2cc 100644 --- a/ui/select/src/SelectLabel.tsx +++ b/packages/kit/src/select/SelectLabel.tsx @@ -1,10 +1,10 @@ -import * as React from "react"; +import React from "react"; import { SelectContext } from "./Select"; -import { theme, styled } from "@washingtonpost/wpds-theme"; -import { InputLabel } from "@washingtonpost/wpds-input-label"; +import { theme, styled } from "../theme"; +import { InputLabel } from "../input-label"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const LabelInputWrapper = styled("div", { position: "relative", diff --git a/ui/select/src/SelectTrigger.tsx b/packages/kit/src/select/SelectTrigger.tsx similarity index 88% rename from ui/select/src/SelectTrigger.tsx rename to packages/kit/src/select/SelectTrigger.tsx index 025c038bb..5ace0badd 100644 --- a/ui/select/src/SelectTrigger.tsx +++ b/packages/kit/src/select/SelectTrigger.tsx @@ -1,17 +1,14 @@ -import * as React from "react"; +import React from "react"; -import { theme, styled } from "@washingtonpost/wpds-theme"; +import { theme, styled } from "../theme"; import { ChevronDown } from "@washingtonpost/wpds-assets"; -import { Icon } from "@washingtonpost/wpds-icon"; -import { ErrorMessage } from "@washingtonpost/wpds-error-message"; -import { HelperText } from "@washingtonpost/wpds-helper-text"; -import { - sharedInputStyles, - sharedInputVariants, -} from "@washingtonpost/wpds-input-shared"; +import { Icon } from "../icon"; +import { ErrorMessage } from "../error-message"; +import { HelperText } from "../helper-text"; +import { sharedInputStyles, sharedInputVariants } from "../input-shared"; import * as SelectPrimitive from "@radix-ui/react-select"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; import { SelectTriggerProps as RadixAccordionTriggerProps } from "@radix-ui/react-select"; import { SelectContext } from "./Select"; diff --git a/ui/select/src/SelectValue.tsx b/packages/kit/src/select/SelectValue.tsx similarity index 88% rename from ui/select/src/SelectValue.tsx rename to packages/kit/src/select/SelectValue.tsx index 71fd7808e..33dcc0087 100644 --- a/ui/select/src/SelectValue.tsx +++ b/packages/kit/src/select/SelectValue.tsx @@ -1,11 +1,11 @@ -import * as React from "react"; +import React from "react"; import { SelectContext } from "./Select"; -import { theme, styled } from "@washingtonpost/wpds-theme"; -import { unstyledInputStyles } from "@washingtonpost/wpds-input-shared"; +import { theme, styled } from "../theme"; +import { unstyledInputStyles } from "../input-shared"; import * as SelectPrimitive from "@radix-ui/react-select"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; import { SelectValueProps as RadixSelectValueProps } from "@radix-ui/react-select"; const StyledValue = styled("div", { diff --git a/ui/select/src/index.ts b/packages/kit/src/select/index.ts similarity index 100% rename from ui/select/src/index.ts rename to packages/kit/src/select/index.ts diff --git a/ui/select/src/play.stories.tsx b/packages/kit/src/select/play.stories.tsx similarity index 87% rename from ui/select/src/play.stories.tsx rename to packages/kit/src/select/play.stories.tsx index 40ce8af69..16f8c897b 100644 --- a/ui/select/src/play.stories.tsx +++ b/packages/kit/src/select/play.stories.tsx @@ -1,9 +1,9 @@ -import * as React from "react"; +import React, { useState } from "react"; import { Select } from "./"; -import { Button, Icon, Tooltip, theme } from "@washingtonpost/wpds-ui-kit"; +import { Button, Icon, Tooltip, theme } from "../index"; import { Info } from "@washingtonpost/wpds-assets"; -import type { ComponentStory } from "@storybook/react"; +import type { StoryFn } from "@storybook/react"; export default { title: "Select", @@ -18,7 +18,7 @@ export default { }, }; -const Template: ComponentStory = (args) => { +const Template: StoryFn = (args) => { return ( <> @@ -46,24 +46,26 @@ const Template: ComponentStory = (args) => { ); }; -export const Play = Template.bind({}); +export const Play = { + render: Template, -Play.args = { - success: false, - required: false, - disabled: false, - error: false, - errorMessage: "", - helperText: "", -}; + args: { + success: false, + required: false, + disabled: false, + error: false, + errorMessage: "", + helperText: "", + }, -Play.storyName = "Select"; + name: "Select", -Play.parameters = { - chromatic: { disableSnapshot: true }, + parameters: { + chromatic: { disableSnapshot: true }, + }, }; -const UnselectedTemplate: ComponentStory = (args) => { +const UnselectedTemplate: StoryFn = (args) => { return ( <> @@ -91,14 +93,16 @@ const UnselectedTemplate: ComponentStory = (args) => { ); }; -export const Unselected = UnselectedTemplate.bind({}); +export const Unselected = { + render: UnselectedTemplate, -Unselected.parameters = { - chromatic: { disableSnapshot: false }, + parameters: { + chromatic: { disableSnapshot: false }, + }, }; -const ControlledTemplate: ComponentStory = (args) => { - const [country, setCountry] = React.useState("spain"); +const ControlledTemplate: StoryFn = (args) => { + const [country, setCountry] = useState("spain"); const handleValueChange = (value: string) => { setCountry(value); }; @@ -121,10 +125,12 @@ const ControlledTemplate: ComponentStory = (args) => { ); }; -export const Controlled = ControlledTemplate.bind({}); +export const Controlled = { + render: ControlledTemplate, -Controlled.parameters = { - chromatic: { disableSnapshot: true }, + parameters: { + chromatic: { disableSnapshot: true }, + }, }; export const SelectsInARow = () => { @@ -236,7 +242,7 @@ export const SelectsInARow = () => { ); }; -const LabelOverflowTemplate: ComponentStory = (args) => { +const LabelOverflowTemplate: StoryFn = (args) => { return (
@@ -256,4 +262,6 @@ const LabelOverflowTemplate: ComponentStory = (args) => { ); }; -export const LabelOverflow = LabelOverflowTemplate.bind({}); +export const LabelOverflow = { + render: LabelOverflowTemplate, +}; diff --git a/packages/kit/src/switch/SwitchRoot.tsx b/packages/kit/src/switch/SwitchRoot.tsx index 0ba4309a8..04ac4a8b3 100644 --- a/packages/kit/src/switch/SwitchRoot.tsx +++ b/packages/kit/src/switch/SwitchRoot.tsx @@ -1,6 +1,6 @@ import * as React from "react"; import * as SwitchPrimitive from "@radix-ui/react-switch"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; export const SwitchRoot = styled(SwitchPrimitive.Root, { // reset button styles diff --git a/packages/kit/src/switch/SwitchThumb.tsx b/packages/kit/src/switch/SwitchThumb.tsx index 83cc265cf..d3f23199f 100644 --- a/packages/kit/src/switch/SwitchThumb.tsx +++ b/packages/kit/src/switch/SwitchThumb.tsx @@ -1,7 +1,7 @@ // import * as React from "react"; import * as Radix from "@radix-ui/react-switch"; import type { SwitchThumbProps as RadixSwitchThumbProps } from "@radix-ui/react-switch"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; export const SwitchThumb = styled(Radix.Thumb, { display: "inline-block", diff --git a/packages/kit/src/switch/play.stories.tsx b/packages/kit/src/switch/play.stories.tsx index 177587270..31ab50a54 100644 --- a/packages/kit/src/switch/play.stories.tsx +++ b/packages/kit/src/switch/play.stories.tsx @@ -1,3 +1,4 @@ +import React from "react"; import { Switch } from "."; import type { ComponentMeta, ComponentStory } from "@storybook/react"; import { styled } from "@washingtonpost/wpds-theme"; diff --git a/ui/tabs/src/Tabs.tsx b/packages/kit/src/tabs/Tabs.tsx similarity index 100% rename from ui/tabs/src/Tabs.tsx rename to packages/kit/src/tabs/Tabs.tsx diff --git a/ui/tabs/src/TabsContent.test.tsx b/packages/kit/src/tabs/TabsContent.test.tsx similarity index 92% rename from ui/tabs/src/TabsContent.test.tsx rename to packages/kit/src/tabs/TabsContent.test.tsx index 2bed56eff..042448426 100644 --- a/ui/tabs/src/TabsContent.test.tsx +++ b/packages/kit/src/tabs/TabsContent.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { TabsRoot } from "./TabsRoot"; import { TabsContent } from "./TabsContent"; diff --git a/ui/tabs/src/TabsContent.tsx b/packages/kit/src/tabs/TabsContent.tsx similarity index 87% rename from ui/tabs/src/TabsContent.tsx rename to packages/kit/src/tabs/TabsContent.tsx index 0bac51d9b..1b6aad56b 100644 --- a/ui/tabs/src/TabsContent.tsx +++ b/packages/kit/src/tabs/TabsContent.tsx @@ -1,6 +1,6 @@ -import * as React from "react"; +import React from "react"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; import type { TabsContentProps as RadixTabsContentProps } from "@radix-ui/react-tabs"; import * as RadixTabs from "@radix-ui/react-tabs"; diff --git a/ui/tabs/src/TabsList.test.tsx b/packages/kit/src/tabs/TabsList.test.tsx similarity index 92% rename from ui/tabs/src/TabsList.test.tsx rename to packages/kit/src/tabs/TabsList.test.tsx index d117a75c8..da6fd34a6 100644 --- a/ui/tabs/src/TabsList.test.tsx +++ b/packages/kit/src/tabs/TabsList.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { TabsRoot } from "./TabsRoot"; import { TabsList } from "./TabsList"; diff --git a/ui/tabs/src/TabsList.tsx b/packages/kit/src/tabs/TabsList.tsx similarity index 91% rename from ui/tabs/src/TabsList.tsx rename to packages/kit/src/tabs/TabsList.tsx index ff907497b..1e12b194a 100644 --- a/ui/tabs/src/TabsList.tsx +++ b/packages/kit/src/tabs/TabsList.tsx @@ -1,9 +1,9 @@ -import * as React from "react"; +import React from "react"; import * as TabsPrimitive from "@radix-ui/react-tabs"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; const StyledTabsList = styled(TabsPrimitive.List, { flexShrink: 0, diff --git a/ui/tabs/src/TabsRoot.test.tsx b/packages/kit/src/tabs/TabsRoot.test.tsx similarity index 97% rename from ui/tabs/src/TabsRoot.test.tsx rename to packages/kit/src/tabs/TabsRoot.test.tsx index 57b2c81e1..add9c42ff 100644 --- a/ui/tabs/src/TabsRoot.test.tsx +++ b/packages/kit/src/tabs/TabsRoot.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import { TabsRoot } from "./TabsRoot"; diff --git a/ui/tabs/src/TabsRoot.tsx b/packages/kit/src/tabs/TabsRoot.tsx similarity index 91% rename from ui/tabs/src/TabsRoot.tsx rename to packages/kit/src/tabs/TabsRoot.tsx index c7c0b66d2..1ee829335 100644 --- a/ui/tabs/src/TabsRoot.tsx +++ b/packages/kit/src/tabs/TabsRoot.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; +import React from "react"; import * as TabsPrimitive from "@radix-ui/react-tabs"; -import { styled } from "@washingtonpost/wpds-theme"; +import { styled } from "../theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; import { TabsContext } from "./context"; const StyledTabsRoot = styled(TabsPrimitive.Root, {}); diff --git a/ui/tabs/src/TabsTrigger.test.tsx b/packages/kit/src/tabs/TabsTrigger.test.tsx similarity index 95% rename from ui/tabs/src/TabsTrigger.test.tsx rename to packages/kit/src/tabs/TabsTrigger.test.tsx index 887b94ef9..a5f5a9a67 100644 --- a/ui/tabs/src/TabsTrigger.test.tsx +++ b/packages/kit/src/tabs/TabsTrigger.test.tsx @@ -1,4 +1,4 @@ -import * as React from "react"; +import { useContext } from "react"; import { render, screen } from "@testing-library/react"; import { TabsRoot } from "./TabsRoot"; import { TabsList } from "./TabsList"; @@ -44,7 +44,7 @@ describe("TabsTrigger", () => { test("sets previous rect", () => { const Note = () => { - const { previousRect } = React.useContext(TabsContext); + const { previousRect } = useContext(TabsContext); if (previousRect) { return {previousRect.width}; } diff --git a/ui/tabs/src/TabsTrigger.tsx b/packages/kit/src/tabs/TabsTrigger.tsx similarity index 96% rename from ui/tabs/src/TabsTrigger.tsx rename to packages/kit/src/tabs/TabsTrigger.tsx index d10002e9d..addd10bd1 100644 --- a/ui/tabs/src/TabsTrigger.tsx +++ b/packages/kit/src/tabs/TabsTrigger.tsx @@ -1,13 +1,13 @@ -import * as React from "react"; +import React from "react"; import { CSSTransition } from "react-transition-group"; import * as TabsPrimitive from "@radix-ui/react-tabs"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; import { TabsTriggerContent } from "./TabsTriggerContent"; import { TabsContext } from "./context"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const afterConsts = { content: "", diff --git a/ui/tabs/src/TabsTriggerContent.test.tsx b/packages/kit/src/tabs/TabsTriggerContent.test.tsx similarity index 97% rename from ui/tabs/src/TabsTriggerContent.test.tsx rename to packages/kit/src/tabs/TabsTriggerContent.test.tsx index 44011e37e..d63e976e7 100644 --- a/ui/tabs/src/TabsTriggerContent.test.tsx +++ b/packages/kit/src/tabs/TabsTriggerContent.test.tsx @@ -1,4 +1,3 @@ -import * as React from "react"; import { render, screen } from "@testing-library/react"; import { TabsRoot } from "./TabsRoot"; import { TabsList } from "./TabsList"; diff --git a/ui/tabs/src/TabsTriggerContent.tsx b/packages/kit/src/tabs/TabsTriggerContent.tsx similarity index 92% rename from ui/tabs/src/TabsTriggerContent.tsx rename to packages/kit/src/tabs/TabsTriggerContent.tsx index 89d3f14dc..8d0f41866 100644 --- a/ui/tabs/src/TabsTriggerContent.tsx +++ b/packages/kit/src/tabs/TabsTriggerContent.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; +import React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; -import { Tooltip } from "@washingtonpost/wpds-tooltip"; +import { styled, theme } from "../theme"; +import type * as WPDS from "../theme"; +import { Tooltip } from "../tooltip"; const StyledContainer = styled("div", { display: "flex", diff --git a/ui/tabs/src/context.ts b/packages/kit/src/tabs/context.ts similarity index 73% rename from ui/tabs/src/context.ts rename to packages/kit/src/tabs/context.ts index d91d367ed..c35bd2851 100644 --- a/ui/tabs/src/context.ts +++ b/packages/kit/src/tabs/context.ts @@ -1,4 +1,4 @@ -import * as React from "react"; +import { createContext } from "react"; interface TabsContextInterface { currentValue: string | undefined; @@ -12,5 +12,4 @@ const defaultState = { // eslint-disable-next-line @typescript-eslint/no-empty-function setPreviousRect: () => {}, }; -export const TabsContext = - React.createContext(defaultState); +export const TabsContext = createContext(defaultState); diff --git a/ui/tabs/src/index.ts b/packages/kit/src/tabs/index.ts similarity index 100% rename from ui/tabs/src/index.ts rename to packages/kit/src/tabs/index.ts diff --git a/ui/tabs/src/play.stories.tsx b/packages/kit/src/tabs/play.stories.tsx similarity index 80% rename from ui/tabs/src/play.stories.tsx rename to packages/kit/src/tabs/play.stories.tsx index 95c7af369..629de4a02 100644 --- a/ui/tabs/src/play.stories.tsx +++ b/packages/kit/src/tabs/play.stories.tsx @@ -1,15 +1,15 @@ -import * as React from "react"; +import React, { useState } from "react"; import { screen, userEvent } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; import { Tabs } from "."; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import { styled, theme } from "../theme"; import { Info } from "@washingtonpost/wpds-assets"; -import { Icon } from "@washingtonpost/wpds-icon"; +import { Icon } from "../icon"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; +import type { Meta, StoryFn } from "@storybook/react"; export default { title: "Tabs", @@ -33,7 +33,7 @@ export default { control: "boolean", }, }, -} as ComponentMeta; +} as Meta; const StyledTabs = styled("div", { backgroundColor: theme.colors.secondary, @@ -60,7 +60,7 @@ const StyledContent = styled(Tabs.Content, { }); // eslint-disable-next-line @typescript-eslint/no-explicit-any -const Template: ComponentStory = (args) => { +const Template: StoryFn = (args) => { const { density, align, ...rest } = args; return ( <> @@ -113,16 +113,18 @@ const Template: ComponentStory = (args) => { ); }; -export const Play = Template.bind({}); +export const Play = { + render: Template, -Play.args = { - density: "default", -}; + args: { + density: "default", + }, -Play.storyName = "Default"; + name: "Default", +}; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const TemplateShort: ComponentStory = (args) => { +const TemplateShort: StoryFn = (args) => { const { density, align, ...rest } = args; return ( <> @@ -152,14 +154,17 @@ const TemplateShort: ComponentStory = (args) => { ); }; -export const Center = TemplateShort.bind({}); -Center.args = { - align: "center", - density: "compact", +export const Center = { + render: TemplateShort, + + args: { + align: "center", + density: "compact", + }, }; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const TemplateDensity: ComponentStory = () => { +const TemplateDensity: StoryFn = () => { return ( Outline for viewing alignment purposes only @@ -194,12 +199,14 @@ const TemplateDensity: ComponentStory = () => { ); }; -export const Density = TemplateDensity.bind({}); +export const Density = { + render: TemplateDensity, +}; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const TemplateControlled: ComponentStory = (args) => { +const TemplateControlled: StoryFn = (args) => { const { density, align, ...rest } = args; - const [value, setValue] = React.useState("tab3"); + const [value, setValue] = useState("tab3"); return ( <> Outline for viewing alignment purposes only @@ -247,10 +254,12 @@ const TemplateControlled: ComponentStory = (args) => { ); }; -export const ControlledExample = TemplateControlled.bind({}); +export const ControlledExample = { + render: TemplateControlled, +}; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const InteractionsTemplate: ComponentStory = (args) => ( +const InteractionsTemplate: StoryFn = (args) => ( @@ -288,42 +297,44 @@ const InteractionsTemplate: ComponentStory = (args) => ( ); -export const Interactions = InteractionsTemplate.bind({}); +export const Interactions = { + render: InteractionsTemplate, + + args: { + align: "center", + density: "compact", + }, + + parameters: { + chromatic: { disableSnapshot: true }, + }, + + play: async () => { + const trigger = screen.getAllByRole("tab"); + // eslint-disable-next-line testing-library/no-node-access + const icon = trigger[0].getElementsByTagName("svg")[0]; + await expect(icon).toBeVisible(); + await expect(trigger[0]).toHaveAttribute("aria-selected", "true"); + await expect(trigger[4]).not.toHaveAttribute("aria-selected", "true"); + await expect(trigger).toHaveLength(8); + await expect(trigger[1]).toBeDisabled(); + + await expect(trigger[4]).toBeDefined(); + await userEvent.click(trigger[4]); + await expect(trigger[0]).not.toHaveAttribute("aria-selected", "true"); + await expect(trigger[4]).toHaveAttribute("aria-selected", "true"); -Interactions.args = { - align: "center", - density: "compact", + //Test that trigger shows up for truncated item + const tooltipTrigger = screen.getAllByTestId("tabs-tooltip-trigger"); + await userEvent.hover(tooltipTrigger[0]); + await sleep(300); + const tooltipContent = await screen.findAllByTestId("tabs-tooltip-content"); + await sleep(300); + await expect(tooltipContent[0]).toBeInTheDocument(); + }, }; // Function to emulate pausing between interactions function sleep(ms) { return new Promise((resolve) => setTimeout(resolve, ms)); } - -Interactions.parameters = { - chromatic: { disableSnapshot: true }, -}; - -Interactions.play = async () => { - const trigger = screen.getAllByRole("tab"); - // eslint-disable-next-line testing-library/no-node-access - const icon = trigger[0].getElementsByTagName("svg")[0]; - await expect(icon).toBeVisible(); - await expect(trigger[0]).toHaveAttribute("aria-selected", "true"); - await expect(trigger[4]).not.toHaveAttribute("aria-selected", "true"); - await expect(trigger).toHaveLength(8); - await expect(trigger[1]).toBeDisabled(); - - await expect(trigger[4]).toBeDefined(); - await userEvent.click(trigger[4]); - await expect(trigger[0]).not.toHaveAttribute("aria-selected", "true"); - await expect(trigger[4]).toHaveAttribute("aria-selected", "true"); - - //Test that trigger shows up for truncated item - const tooltipTrigger = screen.getAllByTestId("tabs-tooltip-trigger"); - await userEvent.hover(tooltipTrigger[0]); - await sleep(300); - const tooltipContent = await screen.findAllByTestId("tabs-tooltip-content"); - await sleep(300); - await expect(tooltipContent[0]).toBeInTheDocument(); -}; diff --git a/packages/kit/src/theme/play.stories.tsx b/packages/kit/src/theme/play.stories.tsx index b7efa8126..d11875a01 100644 --- a/packages/kit/src/theme/play.stories.tsx +++ b/packages/kit/src/theme/play.stories.tsx @@ -1,4 +1,4 @@ -import { useState, useEffect } from "react"; +import React, { useState, useEffect } from "react"; import { within, waitFor } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; import { theme, styled } from "../theme"; diff --git a/packages/kit/src/theme/useResponsiveScreenSize.stories.tsx b/packages/kit/src/theme/useResponsiveScreenSize.stories.tsx index ebe9a683b..401d271cb 100644 --- a/packages/kit/src/theme/useResponsiveScreenSize.stories.tsx +++ b/packages/kit/src/theme/useResponsiveScreenSize.stories.tsx @@ -1,3 +1,4 @@ +import React from "react"; import { within, waitFor } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; import { useResponsiveScreenSize } from "./useResponsiveScreenSize"; diff --git a/ui/tooltip/src/Tooltip.tsx b/packages/kit/src/tooltip/Tooltip.tsx similarity index 97% rename from ui/tooltip/src/Tooltip.tsx rename to packages/kit/src/tooltip/Tooltip.tsx index 64e1cebb9..e74f21312 100644 --- a/ui/tooltip/src/Tooltip.tsx +++ b/packages/kit/src/tooltip/Tooltip.tsx @@ -1,4 +1,4 @@ -import * as React from "react"; +import React from "react"; import { TooltipContent } from "./TooltipContent"; import { TooltipTrigger } from "./TooltipTrigger"; import * as TooltipPrimitive from "@radix-ui/react-tooltip"; diff --git a/ui/tooltip/src/TooltipContent.tsx b/packages/kit/src/tooltip/TooltipContent.tsx similarity index 94% rename from ui/tooltip/src/TooltipContent.tsx rename to packages/kit/src/tooltip/TooltipContent.tsx index bb081ba48..9db250ba4 100644 --- a/ui/tooltip/src/TooltipContent.tsx +++ b/packages/kit/src/tooltip/TooltipContent.tsx @@ -1,7 +1,7 @@ -import * as React from "react"; +import React, { forwardRef } from "react"; import * as TooltipPrimitive from "@radix-ui/react-tooltip"; -import { styled, keyframes, theme } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import { styled, keyframes, theme } from "../theme"; +import type * as WPDS from "../theme"; import { TooltipContentProps as RadixTooltipContentProps } from "@radix-ui/react-tooltip"; import { getPixelsFromRem } from "./utils"; @@ -92,7 +92,7 @@ export interface TooltipContentInterface extends ContentCombinedProps { * @see Source https://github.com/washingtonpost/wpds-ui-kit/tree/main/ui/tooltip */ -export const TooltipContent = React.forwardRef< +export const TooltipContent = forwardRef< HTMLDivElement, TooltipContentInterface >( diff --git a/ui/tooltip/src/TooltipTrigger.tsx b/packages/kit/src/tooltip/TooltipTrigger.tsx similarity index 79% rename from ui/tooltip/src/TooltipTrigger.tsx rename to packages/kit/src/tooltip/TooltipTrigger.tsx index 6609335a4..703cdc33c 100644 --- a/ui/tooltip/src/TooltipTrigger.tsx +++ b/packages/kit/src/tooltip/TooltipTrigger.tsx @@ -1,8 +1,8 @@ -import * as React from "react"; -import { styled, theme } from "@washingtonpost/wpds-theme"; +import React, { forwardRef } from "react"; +import { styled, theme } from "../theme"; import * as TooltipPrimitive from "@radix-ui/react-tooltip"; import { TooltipTriggerProps as RadixTooltipTriggerProps } from "@radix-ui/react-tooltip"; -import type * as WPDS from "@washingtonpost/wpds-theme"; +import type * as WPDS from "../theme"; const StyledTrigger = styled(TooltipPrimitive.Trigger, { color: theme.colors.primary, @@ -16,7 +16,7 @@ export interface TooltipTriggerInterface extends TriggerCombinedProps { css?: WPDS.CSS; } -export const TooltipTrigger = React.forwardRef< +export const TooltipTrigger = forwardRef< HTMLButtonElement, TooltipTriggerInterface >((props: TooltipTriggerInterface, ref) => ( diff --git a/ui/tooltip/src/index.ts b/packages/kit/src/tooltip/index.ts similarity index 100% rename from ui/tooltip/src/index.ts rename to packages/kit/src/tooltip/index.ts diff --git a/ui/tooltip/src/play.stories.tsx b/packages/kit/src/tooltip/play.stories.tsx similarity index 74% rename from ui/tooltip/src/play.stories.tsx rename to packages/kit/src/tooltip/play.stories.tsx index ebbd31c65..78a9fa01d 100644 --- a/ui/tooltip/src/play.stories.tsx +++ b/packages/kit/src/tooltip/play.stories.tsx @@ -1,10 +1,10 @@ -import * as React from "react"; +import React from "react"; import { screen, userEvent } from "@storybook/testing-library"; import { expect } from "@storybook/jest"; -import { theme } from "@washingtonpost/wpds-theme"; +import { theme } from "../theme"; import { Tooltip } from "./"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; +import type { Meta, StoryFn } from "@storybook/react"; export default { title: "Tooltip", @@ -29,10 +29,10 @@ export default { parameters: { chromatic: { delay: 300 }, }, -} as ComponentMeta; +} as Meta; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const Template: ComponentStory = (args) => ( +const Template: StoryFn = (args) => ( @@ -52,7 +52,7 @@ const Template: ComponentStory = (args) => ( ); // eslint-disable-next-line @typescript-eslint/no-explicit-any -const TemplateRight: ComponentStory = (args) => ( +const TemplateRight: StoryFn = (args) => ( @@ -70,7 +70,7 @@ const TemplateRight: ComponentStory = (args) => ( ); // eslint-disable-next-line @typescript-eslint/no-explicit-any -const TemplateLeft: ComponentStory = (args) => ( +const TemplateLeft: StoryFn = (args) => ( @@ -90,7 +90,7 @@ const TemplateLeft: ComponentStory = (args) => ( ); // eslint-disable-next-line @typescript-eslint/no-explicit-any -const TemplateBottom: ComponentStory = (args) => ( +const TemplateBottom: StoryFn = (args) => ( @@ -107,7 +107,7 @@ const TemplateBottom: ComponentStory = (args) => ( ); // eslint-disable-next-line @typescript-eslint/no-explicit-any -const TemplateDisabled: ComponentStory = (args) => ( +const TemplateDisabled: StoryFn = (args) => ( @@ -123,31 +123,46 @@ const TemplateDisabled: ComponentStory = (args) => ( ); -export const Default = Template.bind({}); -export const PlacedOnRight = TemplateRight.bind({}); -export const PlacedOnLeft = TemplateLeft.bind({}); -export const PlacedOnBottom = TemplateBottom.bind({}); -export const Disabled = TemplateDisabled.bind({}); +export const Default = { + render: Template, -Default.args = { - density: "compact", - offsetSide: theme.space[100], - align: "start", + args: { + density: "compact", + offsetSide: theme.space[100], + align: "start", + }, + + parameters: { + chromatic: { delay: 100 }, + }, +}; + +export const PlacedOnRight = { + render: TemplateRight, + args: {}, +}; + +export const PlacedOnLeft = { + render: TemplateLeft, + args: {}, + + parameters: { + chromatic: { delay: 100 }, + }, }; -PlacedOnRight.args = {}; -PlacedOnLeft.args = {}; -PlacedOnBottom.args = {}; -Disabled.args = { disabled: true }; -Default.parameters = { - chromatic: { delay: 100 }, +export const PlacedOnBottom = { + render: TemplateBottom, + args: {}, }; -PlacedOnLeft.parameters = { - chromatic: { delay: 100 }, + +export const Disabled = { + render: TemplateDisabled, + args: { disabled: true }, }; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const InteractionsTemplate: ComponentStory = () => ( +const InteractionsTemplate: StoryFn = () => ( @@ -160,14 +175,16 @@ const InteractionsTemplate: ComponentStory = () => ( ); -export const Interactions = InteractionsTemplate.bind({}); +export const Interactions = { + render: InteractionsTemplate, -Interactions.parameters = { - chromatic: { disableSnapshot: true }, -}; + parameters: { + chromatic: { disableSnapshot: true }, + }, -Interactions.play = async () => { - await userEvent.hover(screen.getAllByText("Trigger")[0]); - const contentArray = await screen.findAllByTestId("tooltip-content"); - await expect(contentArray[0]).toBeVisible(); + play: async () => { + await userEvent.hover(screen.getAllByText("Trigger")[0]); + const contentArray = await screen.findAllByTestId("tooltip-content"); + await expect(contentArray[0]).toBeVisible(); + }, }; diff --git a/ui/tooltip/src/utils.tsx b/packages/kit/src/tooltip/utils.tsx similarity index 100% rename from ui/tooltip/src/utils.tsx rename to packages/kit/src/tooltip/utils.tsx diff --git a/packages/kit/src/visually-hidden/play.stories.tsx b/packages/kit/src/visually-hidden/play.stories.tsx index 4e3df5c8c..599e61271 100644 --- a/packages/kit/src/visually-hidden/play.stories.tsx +++ b/packages/kit/src/visually-hidden/play.stories.tsx @@ -1,3 +1,4 @@ +import React from "react"; import { within, userEvent } from "@storybook/testing-library"; import { styled, theme } from "../theme"; import { VisuallyHidden } from "./visually-hidden"; diff --git a/ui/kitchen-sink/CHANGELOG.md b/packages/kitchen-sink/CHANGELOG.md similarity index 100% rename from ui/kitchen-sink/CHANGELOG.md rename to packages/kitchen-sink/CHANGELOG.md diff --git a/ui/kitchen-sink/package.json b/packages/kitchen-sink/package.json similarity index 93% rename from ui/kitchen-sink/package.json rename to packages/kitchen-sink/package.json index 96250df96..8a0b8221b 100644 --- a/ui/kitchen-sink/package.json +++ b/packages/kitchen-sink/package.json @@ -38,11 +38,10 @@ "peerDependencies": { "@washingtonpost/wpds-assets": "latest", "@washingtonpost/wpds-ui-kit": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" + "react": "^18" }, "dependencies": { "@washingtonpost/wpds-assets": "latest", "@washingtonpost/wpds-ui-kit": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" + } } diff --git a/ui/kitchen-sink/src/KitchenSink.tsx b/packages/kitchen-sink/src/KitchenSink.tsx similarity index 99% rename from ui/kitchen-sink/src/KitchenSink.tsx rename to packages/kitchen-sink/src/KitchenSink.tsx index 6fbcf92c6..ae8ab05f0 100644 --- a/ui/kitchen-sink/src/KitchenSink.tsx +++ b/packages/kitchen-sink/src/KitchenSink.tsx @@ -1,5 +1,4 @@ // /* eslint-disable @next/next/no-img-element */ -import * as React from "react"; import { Icon, styled, @@ -29,7 +28,7 @@ import { InputSearch, Select, Accordion, -} from "@washingtonpost/wpds-ui-kit"; +} from "../../kit/src/index"; import { Chart, Settings, Info, Menu } from "@washingtonpost/wpds-assets"; const Headline = styled("h1", { diff --git a/ui/kitchen-sink/src/index.ts b/packages/kitchen-sink/src/index.ts similarity index 100% rename from ui/kitchen-sink/src/index.ts rename to packages/kitchen-sink/src/index.ts diff --git a/ui/tailwind-theme/CHANGELOG.md b/packages/tailwind-theme/CHANGELOG.md similarity index 100% rename from ui/tailwind-theme/CHANGELOG.md rename to packages/tailwind-theme/CHANGELOG.md diff --git a/ui/tailwind-theme/app/index.html b/packages/tailwind-theme/app/index.html similarity index 100% rename from ui/tailwind-theme/app/index.html rename to packages/tailwind-theme/app/index.html diff --git a/ui/tailwind-theme/app/main.js b/packages/tailwind-theme/app/main.js similarity index 100% rename from ui/tailwind-theme/app/main.js rename to packages/tailwind-theme/app/main.js diff --git a/ui/tailwind-theme/app/styles.css b/packages/tailwind-theme/app/styles.css similarity index 100% rename from ui/tailwind-theme/app/styles.css rename to packages/tailwind-theme/app/styles.css diff --git a/ui/tailwind-theme/package.json b/packages/tailwind-theme/package.json similarity index 81% rename from ui/tailwind-theme/package.json rename to packages/tailwind-theme/package.json index 075f2d539..1c6a5b4f2 100644 --- a/ui/tailwind-theme/package.json +++ b/packages/tailwind-theme/package.json @@ -17,16 +17,15 @@ "build": "node script/create-theme.js" }, "peerDependencies": { - "@washingtonpost/wpds-theme": "*" + "@washingtonpost/wpds-ui-kit": "*" }, "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" + "@washingtonpost/wpds-ui-kit": "1.17.0" }, "devDependencies": { "autoprefixer": "^10.4.14", "postcss": "^8.4.24", "tailwindcss": "^3.3.2", "vite": "^4.3.9" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" + } } diff --git a/ui/tailwind-theme/postcss.config.js b/packages/tailwind-theme/postcss.config.js similarity index 100% rename from ui/tailwind-theme/postcss.config.js rename to packages/tailwind-theme/postcss.config.js diff --git a/ui/tailwind-theme/script/create-theme.js b/packages/tailwind-theme/script/create-theme.js similarity index 97% rename from ui/tailwind-theme/script/create-theme.js rename to packages/tailwind-theme/script/create-theme.js index 57ce3cfad..a03ea6a61 100644 --- a/ui/tailwind-theme/script/create-theme.js +++ b/packages/tailwind-theme/script/create-theme.js @@ -2,7 +2,7 @@ const fs = require("fs"); const path = require("path").resolve; const util = require("util"); -const tokens = require("@washingtonpost/wpds-theme/src/wpds.tokens.json"); +const tokens = require("@washingtonpost/wpds-ui-kit/src/theme/wpds.tokens.json"); /* eslint-enable @typescript-eslint/no-var-requires */ let theme = { diff --git a/ui/tailwind-theme/tailwind.config.js b/packages/tailwind-theme/tailwind.config.js similarity index 100% rename from ui/tailwind-theme/tailwind.config.js rename to packages/tailwind-theme/tailwind.config.js diff --git a/ui/tailwind-theme/vite.config.js b/packages/tailwind-theme/vite.config.js similarity index 100% rename from ui/tailwind-theme/vite.config.js rename to packages/tailwind-theme/vite.config.js diff --git a/ui/tokens/CHANGELOG.md b/packages/tokens/CHANGELOG.md similarity index 100% rename from ui/tokens/CHANGELOG.md rename to packages/tokens/CHANGELOG.md diff --git a/ui/tokens/README.md b/packages/tokens/README.md similarity index 100% rename from ui/tokens/README.md rename to packages/tokens/README.md diff --git a/ui/tokens/package.json b/packages/tokens/package.json similarity index 81% rename from ui/tokens/package.json rename to packages/tokens/package.json index c73660f51..d79a787f6 100644 --- a/ui/tokens/package.json +++ b/packages/tokens/package.json @@ -27,9 +27,8 @@ }, "license": "MIT", "devDependencies": { - "@washingtonpost/wpds-theme": "latest", - "react": "^17.0.2 || ^18", - "react-dom": "^17.0.2 || ^18" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" + "@washingtonpost/wpds-ui-kit": "latest", + "react": "^18", + "react-dom": "^18" + } } diff --git a/ui/tokens/scripts/build.mjs b/packages/tokens/scripts/build.mjs similarity index 100% rename from ui/tokens/scripts/build.mjs rename to packages/tokens/scripts/build.mjs diff --git a/scripts/add-react-to-files.js b/scripts/add-react-to-files.js new file mode 100644 index 000000000..942f4709f --- /dev/null +++ b/scripts/add-react-to-files.js @@ -0,0 +1,49 @@ +module.exports = function (file, { jscodeshift: j }, options) { + // exclude test.tsx files + if (file.path.includes("test.tsx")) { + return file.source; + } + + const root = j(file.source); + + // Find all JSX elements + const jsxElements = root.find(j.JSXElement); + + console.log(jsxElements.length, file.path); + + // Check if there are any JSX elements in the file + if (jsxElements.length === 0) { + return file.source; + } + + // Check if React import already exists + const reactImport = root.find(j.ImportDeclaration, { + source: { + value: "react", + }, + }); + + console.log("boop", reactImport.length, file.path); + + // If React import doesn't exist, add it + if (reactImport.length === 0) { + const importStatement = j.importDeclaration( + [j.importDefaultSpecifier(j.identifier("React"))], + j.literal("react") + ); + root.find(j.Program).get("body", 0).insertBefore(importStatement); + } else { + // If React import does exist, check if it's being used + const reactImportSpecifier = reactImport.find(j.ImportDefaultSpecifier); + if (reactImportSpecifier.length === 0) { + // If it's not being used, add it + reactImport + .get("specifiers") + .unshift(j.importDefaultSpecifier(j.identifier("React"))); + } + } + + return root.toSource(); +}; + +module.exports.parser = "tsx"; diff --git a/scripts/mass-migration.js b/scripts/mass-migration.js new file mode 100644 index 000000000..6db4f32db --- /dev/null +++ b/scripts/mass-migration.js @@ -0,0 +1,41 @@ +const path = require("path"); +const fs = require("fs"); +const { execSync } = require("child_process"); + +// take list of folders from ./ui/[componentName] +// use that list to process this make cmd `v2-migrate-component navigation-menu` iteratively over the list of folders + +function getDirectories() { + return fs + .readdirSync(path.resolve(__dirname, "../ui"), { withFileTypes: true }) + .filter((dirent) => { + // exclude "eslint-plugin", "tokens", "tailwind-theme", "kit" + if ( + dirent.name === "eslint-plugin" || + dirent.name === "tokens" || + dirent.name === "tailwind-theme" || + dirent.name === "kit" + ) { + return false; + } + + // filter out files already moved to packages/kit + return dirent.isDirectory() && + !fs.existsSync( + path.resolve(__dirname, `../packages/kit/src/${dirent.name}`) + ) + ? true + : false; + }) + .map((dirent) => dirent.name); +} + +const componentNames = getDirectories(); + +// run make cmd `v2-migrate-component navigation-menu` iteratively over the list of folders +componentNames.forEach((componentName) => { + console.log(`Migrating ${componentName}...`); + const makeCmd = `make v2-migrate-component componentName=${componentName}`; + console.log(`Running: ${makeCmd}`); + execSync(makeCmd, { stdio: "inherit" }); +}); diff --git a/scripts/move-component-to-new-dir.js b/scripts/move-component-to-new-dir.js new file mode 100644 index 000000000..681cf504c --- /dev/null +++ b/scripts/move-component-to-new-dir.js @@ -0,0 +1,48 @@ +const path = require("path"); +const fs = require("fs"); + +// example of how to use it +// node scripts/move-component-to-new-dir.js navigation-menu + +function moveComponentToNewDir(componentName) { + const componentPath = path.resolve(__dirname, `../ui/${componentName}/src`); + const newComponentPath = path.resolve( + __dirname, + `../packages/kit/src/${componentName}` + ); + + fs.renameSync(componentPath, newComponentPath); + console.log(`Component ${componentName} moved to new directory`); + + // now add the new component directory to the index.ts file + // like this: export * from "./navigation-menu"; + const indexPath = path.resolve(__dirname, `../packages/kit/src/index.ts`); + const indexContent = fs.readFileSync(indexPath, "utf8"); + const newContent = `export * from "./${componentName}";\n${indexContent}`; + fs.writeFileSync(indexPath, newContent); + + console.log(`Component ${componentName} added to index.ts`); + + // take deps from the old package.json and add them to the new package.json + const packageJsonPath = path.resolve( + __dirname, + `../ui/${componentName}/package.json` + ); + const newPackageJsonPath = path.resolve( + __dirname, + `../packages/kit/package.json` + ); + const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf8")); + const newPackageJson = JSON.parse( + fs.readFileSync(newPackageJsonPath, "utf8") + ); + newPackageJson.dependencies = { + ...newPackageJson.dependencies, + ...packageJson.dependencies, + }; + + fs.writeFileSync(newPackageJsonPath, JSON.stringify(newPackageJson, null, 2)); + console.log(`Dependencies added to package.json`); +} + +moveComponentToNewDir(process.argv[2]); diff --git a/templates/component-with-subcomponents/package.json.hbs b/templates/component-with-subcomponents/package.json.hbs index c12f9b2c8..885d022be 100644 --- a/templates/component-with-subcomponents/package.json.hbs +++ b/templates/component-with-subcomponents/package.json.hbs @@ -37,7 +37,7 @@ }, "peerDependencies": { "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2" + "react": "^18" }, "dependencies": { "@washingtonpost/wpds-theme": "{{ version }}" diff --git a/templates/component/package.json.hbs b/templates/component/package.json.hbs index c12f9b2c8..885d022be 100644 --- a/templates/component/package.json.hbs +++ b/templates/component/package.json.hbs @@ -37,7 +37,7 @@ }, "peerDependencies": { "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2" + "react": "^18" }, "dependencies": { "@washingtonpost/wpds-theme": "{{ version }}" diff --git a/ui/accordion/CHANGELOG.md b/ui/accordion/CHANGELOG.md deleted file mode 100644 index 135054614..000000000 --- a/ui/accordion/CHANGELOG.md +++ /dev/null @@ -1,228 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Features - -- bump wam in packages ([#475](https://github.com/washingtonpost/wpds-ui-kit/issues/475)) ([9445877](https://github.com/washingtonpost/wpds-ui-kit/commit/9445877299f34d3bb3ed110badc66aa7b682687a)) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -### Features - -- upgrade to node 18 ([7c23fa0](https://github.com/washingtonpost/wpds-ui-kit/commit/7c23fa0f49f138489510f9e01f207a70282632a6)) - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Bug Fixes - -- remove animations when user has reduced motion settings turned on [SRED-136] ([#357](https://github.com/washingtonpost/wpds-ui-kit/issues/357)) ([3c08bec](https://github.com/washingtonpost/wpds-ui-kit/commit/3c08bec85394fca28bdad816a67cd83956821df4)) - -### Features - -- upgrade wpds-assets to v1.18.0 in root and build.washingtonpost.com [SRED-100] ([#361](https://github.com/washingtonpost/wpds-ui-kit/issues/361)) ([80f6414](https://github.com/washingtonpost/wpds-ui-kit/commit/80f64144c0476c0d7a726ed3cf4720b788e036aa)) - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -### Bug Fixes - -- set accordion content font size to token size 100 to match designs ([#342](https://github.com/washingtonpost/wpds-ui-kit/issues/342)) ([cf673ba](https://github.com/washingtonpost/wpds-ui-kit/commit/cf673baac3253b2de5bd90a208e77aea05be8bdd)) - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [1.0.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.1...v1.0.0) (2023-03-02) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -## [0.25.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.0...v0.25.1) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -### Features - -- bump wam to v1.13.0 ([2f027f0](https://github.com/washingtonpost/wpds-ui-kit/commit/2f027f005d7d150ef7bcc837319e2f3047419c6b)) - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -### Bug Fixes - -- move Accordion padding css ([9239cb6](https://github.com/washingtonpost/wpds-ui-kit/commit/9239cb620ac8a7bdfca31adea2e67212eb21d2b1)) -- move padding css out of transition element to avoid jumpy transition ([44c386c](https://github.com/washingtonpost/wpds-ui-kit/commit/44c386ce7a082fee88d41ffca817fcd61e6a5c43)) - -## [0.19.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [0.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion - -# [0.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -### Bug Fixes - -- remove styledContextText and all set background colors from accordion component ([#226](https://github.com/washingtonpost/wpds-ui-kit/issues/226)) ([1f23c46](https://github.com/washingtonpost/wpds-ui-kit/commit/1f23c4637f949bf32a7bfb6416b61fa493aef186)) - -### Features - -- add specific version of stitches/react ([#215](https://github.com/washingtonpost/wpds-ui-kit/issues/215)) ([3e10dd4](https://github.com/washingtonpost/wpds-ui-kit/commit/3e10dd471c67da852ee302e30cdd9f7edd3e9bbc)) - -# [0.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -### Features - -- create tooltip ([#212](https://github.com/washingtonpost/wpds-ui-kit/issues/212)) ([1250769](https://github.com/washingtonpost/wpds-ui-kit/commit/12507691245dae165817586f171e65e52d9718e7)) -- improve docs props table ([#210](https://github.com/washingtonpost/wpds-ui-kit/issues/210)) ([da36c33](https://github.com/washingtonpost/wpds-ui-kit/commit/da36c334355ee2285dc38b0300438c073d8e35d3)) - -# [0.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-accordion diff --git a/ui/accordion/README.md b/ui/accordion/README.md deleted file mode 100644 index 39231739f..000000000 --- a/ui/accordion/README.md +++ /dev/null @@ -1,114 +0,0 @@ -# Accordion - -The accordion component is composed of four parts: Root, Item, Trigger, and Content. This component expands the Radix Accordion component. - -```jsx -import { - Accordion, - ACCORDION_DENSITY, - ACCORDION_TYPE, -} from "@washingtonpost/wpds-ui-kit"; - -const Component = () => { - const myLoader = ({ src }) => { - return `${src}`; - }; - - return ( - - - - This is a header - - - This the text that can either be expanded or hidden. - - - - - This is another header. This item has an image. - - - You can have anything as a child, including an image! - - - - ); -}; -``` - -## Accordion.Root - -This is the main wrapper for the accordion component. This is where most of the props get passed. The different types can be found inside the ACCORDION_TYPE enum. - -```jsx -export enum ACCORDION_TYPE { - single = "single", - multiple = "multiple", -} -``` - -#### Props: - -| Name | Description | Type | Required | -| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | -------- | -| type | Dictates whether you can have multiple accordion items open at the same time or not. This also affects the TS types of some of other props. | enum | true | -| disabled | Whether the accordion is disabled or not | bool | false | -| defaultValue | Item(s) that should be expanded from the start. Should match the values assigned to each `Accordion.Item` . | string \| string[] | false | - -## Accordion.Item - -Each Accordion.Item should contain an `Accordion.Trigger` and an `Accordion.Content`. Each item should also have a value which will function as a key that you can use to set the `defaultValue`. - -#### Props: - -| Name | Description | Type | Required | -| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -------- | -| value | A unique value for the item. | string | true | -| disabled | Whether the accordion is disabled or not | bool | false | -| asChild | Change the component to the HTML tag or custom component of the only child. This will merge the original component props with the props of the supplied element/component and change the underlying DOM node. | bool | false | - -## Accordion.Trigger - -Toggles the collapsed state of its associated item. There are different density options that affect the padding inside the ACCORDION_DENSITY enum. - -```jsx -export enum ACCORDION_DENSITY { - compact = "compact", - loose = "loose", - default = "default", -} -``` - -#### Props: - -| Name | Description | Type | Required | -| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- | -------- | -| density | Applies a certain amount of padding to the accordion trigger/header | enum | false | -| ref | A standard React ref | ref | false | -| asChild | Change the component to the HTML tag or custom component of the only child. This will merge the original component props with the props of the supplied element/component and change the underlying DOM node. | bool | false | - -## Accordion.Content - -Contains the collapsible content for an item. The Accordion.Content can hold anything, from text to images to other components. - -#### Props: - -| Name | Description | Type | Required | -| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- | -------- | -| ref | A standard React reference | ref | false | -| asChild | Change the component to the HTML tag or custom component of the only child. This will merge the original component props with the props of the supplied element/component and change the underlying DOM node. | bool | false | -| forceMount | Used to force mounting when more control is needed. Useful when controlling animation with React animation libraries. | bool | false | diff --git a/ui/accordion/package.json b/ui/accordion/package.json deleted file mode 100644 index 46922f258..000000000 --- a/ui/accordion/package.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "@washingtonpost/wpds-accordion", - "version": "1.17.0", - "description": "WPDS Accordion", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-assets": "^1.18.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@radix-ui/react-accordion": "^1.1.2", - "@washingtonpost/wpds-assets": "^1.18.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/accordion/src/Accordion.tsx b/ui/accordion/src/Accordion.tsx deleted file mode 100644 index ffc156424..000000000 --- a/ui/accordion/src/Accordion.tsx +++ /dev/null @@ -1,66 +0,0 @@ -import * as React from "react"; -import { theme, styled } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; -import * as AccordionPrimitive from "@radix-ui/react-accordion"; -import { AccordionTrigger, AccordionHeader } from "./AccordionTrigger"; -import { AccordionItem } from "./AccordionItem"; -import { AccordionContent } from "./AccordionContent"; -import { - AccordionSingleProps as RadixAccordionSingleProps, - AccordionMultipleProps as RadixAccordionMultipleProps, -} from "@radix-ui/react-accordion"; - -export enum ACCORDION_TYPE { - single = "single", - multiple = "multiple", -} - -export enum ACCORDION_DENSITY { - compact = "compact", - loose = "loose", - default = "default", -} - -const StyledAccordion = styled(AccordionPrimitive.Root, { - width: "100%", - variants: { - disabled: { - true: { - cursor: "not-allowed", - [`${AccordionHeader}`]: { - pointerEvents: "none", - color: theme.colors.accessible, - }, - }, - }, - }, -}); - -type AccordionRootVariants = WPDS.VariantProps; - -export type AccordionRootCombined = ( - | RadixAccordionSingleProps - | RadixAccordionMultipleProps -) & - AccordionRootVariants; - -export const AccordionRoot = React.forwardRef< - HTMLDivElement, - AccordionRootCombined ->(({ ...props }: AccordionRootCombined, ref) => ( - -)); - -AccordionRoot.displayName = "AccordionRoot"; - -const Root = AccordionRoot; -const Item = AccordionItem; -const Content = AccordionContent; -const Trigger = AccordionTrigger; - -export const Accordion = { - Root, - Item, - Content, - Trigger, -}; diff --git a/ui/accordion/src/AccordionContent.tsx b/ui/accordion/src/AccordionContent.tsx deleted file mode 100644 index 420cddd24..000000000 --- a/ui/accordion/src/AccordionContent.tsx +++ /dev/null @@ -1,75 +0,0 @@ -import * as React from "react"; -import { theme, styled, keyframes } from "@washingtonpost/wpds-theme"; -import * as AccordionPrimitive from "@radix-ui/react-accordion"; -import type * as WPDS from "@washingtonpost/wpds-theme"; -import { AccordionContentProps as RadixAccordionContentProps } from "@radix-ui/react-accordion"; - -const slideDown = keyframes({ - from: { height: 0 }, - to: { height: "var(--radix-accordion-content-height)" }, -}); - -const slideUp = keyframes({ - from: { height: "var(--radix-accordion-content-height)" }, - to: { height: 0 }, -}); - -const easeInOutExpo = `cubic-bezier(0.87, 0, 0.13, 1)`; - -const AnimatedContent = styled(AccordionPrimitive.Content, { - overflow: "hidden", - color: theme.colors.primary, - '&[data-state="open"]': { - animation: `${slideDown} ${theme.transitions.normal} ${easeInOutExpo}`, - "@reducedMotion": { - animation: "none", - }, - }, - '&[data-state="closed"]': { - animation: `${slideUp} ${theme.transitions.normal} ${easeInOutExpo}`, - "@reducedMotion": { - animation: "none", - }, - }, -}); - -const ContentContainer = styled("div", { - paddingBottom: theme.space[150], - paddingRight: theme.space[150], - fontSize: theme.fontSizes[100], -}); - -type AccordionContentVariants = WPDS.VariantProps; -type CombinedProps = RadixAccordionContentProps & AccordionContentVariants; - -export interface AccordionContentInterface extends CombinedProps { - css?: WPDS.CSS; -} - -export const AccordionContent = React.forwardRef< - HTMLDivElement, - AccordionContentInterface ->(({ children, ...props }: AccordionContentInterface, ref) => { - const { - padding = "", - paddingTop = "", - paddingBottom = "", - paddingLeft = "", - paddingRight = "", - ...restOfCss - } = props.css ? props.css : {}; - - const otherProps = { ...props, css: { ...restOfCss } }; - - return ( - - - {children} - - - ); -}); - -AccordionContent.displayName = "AccordionContent"; diff --git a/ui/accordion/src/AccordionItem.tsx b/ui/accordion/src/AccordionItem.tsx deleted file mode 100644 index 91bfa50ae..000000000 --- a/ui/accordion/src/AccordionItem.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import * as React from "react"; -import { theme, styled } from "@washingtonpost/wpds-theme"; -import * as AccordionPrimitive from "@radix-ui/react-accordion"; -import type * as WPDS from "@washingtonpost/wpds-theme"; -import { AccordionItemProps as RadixAccordionItemProps } from "@radix-ui/react-accordion"; - -const StyledAccordionItem = styled(AccordionPrimitive.Item, { - borderBottom: `1px solid ${theme.colors.subtle}`, -}); - -type AccordionItemProps = WPDS.VariantProps & - RadixAccordionItemProps; - -export interface AccordionItemInterface extends AccordionItemProps { - css?: WPDS.CSS; -} - -export const AccordionItem = React.forwardRef< - HTMLDivElement, - AccordionItemInterface ->(({ children, ...props }: AccordionItemInterface, ref) => ( - - {children} - -)); - -AccordionItem.displayName = "AccordionItem"; diff --git a/ui/accordion/src/AccordionTrigger.tsx b/ui/accordion/src/AccordionTrigger.tsx deleted file mode 100644 index a4a631ee2..000000000 --- a/ui/accordion/src/AccordionTrigger.tsx +++ /dev/null @@ -1,117 +0,0 @@ -import * as React from "react"; -import { ChevronDown } from "@washingtonpost/wpds-assets"; -import { theme, styled } from "@washingtonpost/wpds-theme"; -import { Icon } from "@washingtonpost/wpds-icon"; -import * as AccordionPrimitive from "@radix-ui/react-accordion"; -import type * as WPDS from "@washingtonpost/wpds-theme"; -import { - AccordionTriggerProps as RadixAccordionTriggerProps, - AccordionHeaderProps as RadixAccordionHeaderProps, -} from "@radix-ui/react-accordion"; - -const StyledTrigger = styled(AccordionPrimitive.Trigger, { - all: "unset", - fontFamily: "inherit", - backgroundColor: "transparent", - flex: 1, - display: "flex", - justifyContent: "space-between", - alignItems: "center", - paddingTop: theme.space[150], - paddingBottom: theme.space[150], - "&:hover": { - cursor: "pointer", - }, - "&:focus-visible": { - position: "relative", - zIndex: 1, - boxShadow: `0 0 0 2px ${theme.colors.cta}`, - }, - variants: { - density: { - default: {}, - compact: { - paddingTop: theme.space[100], - paddingBottom: theme.space[100], - }, - loose: { - paddingTop: theme.space[200], - paddingBottom: theme.space[200], - }, - }, - // this class is for the benefit of the docs only - forcefocus: { - true: { - position: "relative", - zIndex: 1, - boxShadow: `0 0 0 2px ${theme.colors.cta}`, - }, - }, - }, -}); - -const StyledIcon = styled(Icon, { - marginLeft: theme.space[150], - minWidth: theme.fontSizes[100], -}); - -const easeInOutExpo = `cubic-bezier(0.87, 0, 0.13, 1)`; - -const StyledChevron = styled(ChevronDown, { - transition: `transform ${theme.transitions.normal} ${easeInOutExpo}`, - "[data-state=open] &": { transform: "rotate(180deg)" }, - "@reducedMotion": { - transition: "none", - }, -}); - -type AccordionTriggerVariants = WPDS.VariantProps; - -type AccordionTriggerCombined = RadixAccordionTriggerProps & - AccordionTriggerVariants & { - css?: WPDS.CSS; - forcefocus?: boolean; - children: React.ReactNode; - }; - -const StyledHeader = styled(AccordionPrimitive.Header, { - all: "unset", - color: theme.colors.primary, - display: "flex", - width: "100%", - fontSize: theme.fontSizes[100], -}); - -type AccordionHeaderVariants = WPDS.VariantProps; -type HeaderCombinedProps = RadixAccordionHeaderProps & AccordionHeaderVariants; - -export interface AccordionHeaderInterface extends HeaderCombinedProps { - css?: WPDS.CSS; -} - -export const AccordionHeader = React.forwardRef< - HTMLDivElement, - AccordionHeaderInterface ->(({ children, ...props }: AccordionHeaderInterface, ref) => ( - - {children} - -)); - -AccordionHeader.displayName = "AccordionHeader"; - -export const AccordionTrigger = React.forwardRef< - HTMLButtonElement, - AccordionTriggerCombined ->((props: AccordionTriggerCombined, ref) => ( - - - {props.children} - - - - - -)); - -AccordionTrigger.displayName = "AccordionTrigger"; diff --git a/ui/accordion/src/index.ts b/ui/accordion/src/index.ts deleted file mode 100644 index 479ad20f4..000000000 --- a/ui/accordion/src/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from "./Accordion"; -export * from "./AccordionContent"; -export * from "./AccordionItem"; -export * from "./AccordionTrigger"; diff --git a/ui/action-menu/CHANGELOG.md b/ui/action-menu/CHANGELOG.md deleted file mode 100644 index ac1f55346..000000000 --- a/ui/action-menu/CHANGELOG.md +++ /dev/null @@ -1,52 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-action-menu - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-action-menu - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-action-menu - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-action-menu - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-action-menu - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-action-menu - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-action-menu - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-action-menu - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Features - -- action menu component ([#447](https://github.com/washingtonpost/wpds-ui-kit/issues/447)) ([912bb69](https://github.com/washingtonpost/wpds-ui-kit/commit/912bb69a805ef007d3e0f6c2882631a3fd429bf9)) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) diff --git a/ui/action-menu/README.md b/ui/action-menu/README.md deleted file mode 100644 index a0d6b7c12..000000000 --- a/ui/action-menu/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# DropdownMenu - -```jsx -import { DropdownMenu } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/action-menu/package.json b/ui/action-menu/package.json deleted file mode 100644 index c5a166111..000000000 --- a/ui/action-menu/package.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "@washingtonpost/wpds-action-menu", - "version": "1.17.0", - "description": "WPDS Action Menu", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "@types/node": "^20.4.2", - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-assets": "^1.20.0", - "@washingtonpost/wpds-button": "^1.7.0", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@radix-ui/react-dropdown-menu": "2.0.3", - "@washingtonpost/wpds-assets": "^1.20.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-divider": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/alert-banner/CHANGELOG.md b/ui/alert-banner/CHANGELOG.md deleted file mode 100644 index e982d557e..000000000 --- a/ui/alert-banner/CHANGELOG.md +++ /dev/null @@ -1,366 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -### Bug Fixes - -- correct alignment of text and icons in AlertBanner ([cf41bb8](https://github.com/washingtonpost/wpds-ui-kit/commit/cf41bb8414867fcdadccd70e29f6cae633e4275f)) - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Features - -- bump wam in packages ([#475](https://github.com/washingtonpost/wpds-ui-kit/issues/475)) ([9445877](https://github.com/washingtonpost/wpds-ui-kit/commit/9445877299f34d3bb3ed110badc66aa7b682687a)) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Features - -- upgrade wpds-assets to v1.18.0 in root and build.washingtonpost.com [SRED-100] ([#361](https://github.com/washingtonpost/wpds-ui-kit/issues/361)) ([80f6414](https://github.com/washingtonpost/wpds-ui-kit/commit/80f64144c0476c0d7a726ed3cf4720b788e036aa)) - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [1.0.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.1...v1.0.0) (2023-03-02) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [0.25.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.0...v0.25.1) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -### Features - -- bump wam to v1.13.0 ([2f027f0](https://github.com/washingtonpost/wpds-ui-kit/commit/2f027f005d7d150ef7bcc837319e2f3047419c6b)) - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [0.19.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -### Features - -- create tooltip ([#212](https://github.com/washingtonpost/wpds-ui-kit/issues/212)) ([1250769](https://github.com/washingtonpost/wpds-ui-kit/commit/12507691245dae165817586f171e65e52d9718e7)) - -# [0.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -### Bug Fixes - -- **deps:** bump @washingtonpost/wpds-assets from 1.11.0 to 1.12.0 ([#205](https://github.com/washingtonpost/wpds-ui-kit/issues/205)) ([aed89ae](https://github.com/washingtonpost/wpds-ui-kit/commit/aed89aeb8ad75b8b6bfe7636498e785b2788fad9)) - -# [0.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [0.11.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.1...v0.11.2) (2022-07-21) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [0.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [0.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [0.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.8.0-experimental.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -# [0.8.0-experimental.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -# [0.8.0-experimental.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -# [0.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.7.0) (2022-04-07) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [0.6.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.6.5) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [0.6.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.3...v0.6.4) (2022-04-21) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [0.6.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.6.3) (2022-04-13) - -### Bug Fixes - -- update license to MIT ([d20aa68](https://github.com/washingtonpost/wpds-ui-kit/commit/d20aa68c3bf0ef65fdaf05981ae993a63e3380ea)) - -## [0.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.1...v0.6.2) (2022-03-14) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [0.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.0...v0.6.1) (2022-03-09) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.5.0...v0.6.0) (2022-03-09) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.5...v0.5.0) (2022-03-07) - -### Bug Fixes - -- checkbox bug with stitches props ([d1e510d](https://github.com/WPMedia/wpds-ui-kit/commit/d1e510d565e35b341de432911fc304c23728a33b)) - -## [0.4.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.4...v0.4.5) (2022-03-04) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.7...v0.4.0) (2022-03-03) - -### Bug Fixes - -- remove dollar symbol from size props ([c4d66a5](https://github.com/WPMedia/wpds-ui-kit/commit/c4d66a5cf1d1af65ff94483eaeea01a496287fdc)) - -### Features - -- change to isOutline prop ([5b57d13](https://github.com/WPMedia/wpds-ui-kit/commit/5b57d13ad7e20595a18eab50a00c769bbc959217)) - -## [0.3.7](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.6...v0.3.7) (2022-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -## [0.3.6](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.6) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.5) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.4](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.4) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.3](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.3) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.1...v0.3.2) (2022-03-01) - -### Bug Fixes - -- update icon size prop to match system ([e9ae288](https://github.com/WPMedia/wpds-ui-kit/commit/e9ae288c8eaa0358f7d03bf3725858795764af3c)) - -## [0.3.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.0...v0.3.1) (2022-02-28) - -**Note:** Version bump only for package @washingtonpost/wpds-alert-banner - -# [0.3.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.2.1...v0.3.0) (2022-02-25) - -### Bug Fixes - -- all the issues ([f9b73b5](https://github.com/WPMedia/wpds-ui-kit/commit/f9b73b5e916244c192a386c605de74b5a16bc9e4)) - -### Features - -- alert banner ([56deb3f](https://github.com/WPMedia/wpds-ui-kit/commit/56deb3f08b62a5d3691f4056d54e8383bff91b97)) diff --git a/ui/alert-banner/README.md b/ui/alert-banner/README.md deleted file mode 100644 index 562c43f70..000000000 --- a/ui/alert-banner/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# AlertBanner - -```jsx -import { AlertBanner } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/alert-banner/package.json b/ui/alert-banner/package.json deleted file mode 100644 index 6f7854e8e..000000000 --- a/ui/alert-banner/package.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "name": "@washingtonpost/wpds-alert-banner", - "version": "1.17.0", - "description": "WPDS Alert Banner", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-app-bar": "*", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "*", - "@washingtonpost/wpds-container": "*", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@washingtonpost/wpds-app-bar": "1.17.0", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-container": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/app-bar/CHANGELOG.md b/ui/app-bar/CHANGELOG.md deleted file mode 100644 index 29cb26440..000000000 --- a/ui/app-bar/CHANGELOG.md +++ /dev/null @@ -1,330 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [0.19.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [0.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [0.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [0.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.8.0-experimental.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -# [0.8.0-experimental.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -# [0.8.0-experimental.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -# [0.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.7.0) (2022-04-07) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [0.6.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.6.5) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [0.6.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.3...v0.6.4) (2022-04-21) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [0.6.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.6.3) (2022-04-13) - -### Bug Fixes - -- update license to MIT ([d20aa68](https://github.com/washingtonpost/wpds-ui-kit/commit/d20aa68c3bf0ef65fdaf05981ae993a63e3380ea)) - -## [0.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.1...v0.6.2) (2022-03-14) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [0.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.0...v0.6.1) (2022-03-09) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.5.0...v0.6.0) (2022-03-09) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.5...v0.5.0) (2022-03-07) - -### Bug Fixes - -- checkbox bug with stitches props ([d1e510d](https://github.com/WPMedia/wpds-ui-kit/commit/d1e510d565e35b341de432911fc304c23728a33b)) - -## [0.4.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.4...v0.4.5) (2022-03-04) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.7...v0.4.0) (2022-03-03) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [0.3.7](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.6...v0.3.7) (2022-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -## [0.3.6](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.6) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.5) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.3](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.3) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.1...v0.3.2) (2022-03-01) - -### Bug Fixes - -- update icon size prop to match system ([e9ae288](https://github.com/WPMedia/wpds-ui-kit/commit/e9ae288c8eaa0358f7d03bf3725858795764af3c)) - -## [0.3.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.0...v0.3.1) (2022-02-28) - -**Note:** Version bump only for package @washingtonpost/wpds-app-bar - -# [0.3.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.2.1...v0.3.0) (2022-02-25) - -### Bug Fixes - -- all the issues ([f9b73b5](https://github.com/WPMedia/wpds-ui-kit/commit/f9b73b5e916244c192a386c605de74b5a16bc9e4)) - -### Features - -- alert banner ([56deb3f](https://github.com/WPMedia/wpds-ui-kit/commit/56deb3f08b62a5d3691f4056d54e8383bff91b97)) -- button ([0bec12b](https://github.com/WPMedia/wpds-ui-kit/commit/0bec12b4602a6c1174feda5686f17c08dd3f6db0)) -- yolo app bar ([d645331](https://github.com/WPMedia/wpds-ui-kit/commit/d645331c2d900d453ebb82198752de7bad997e27)) diff --git a/ui/app-bar/README.md b/ui/app-bar/README.md deleted file mode 100644 index 222f50816..000000000 --- a/ui/app-bar/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# AppBar - -```jsx -import { AppBar } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/app-bar/package.json b/ui/app-bar/package.json deleted file mode 100644 index cf45f9281..000000000 --- a/ui/app-bar/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "@washingtonpost/wpds-app-bar", - "version": "1.17.0", - "description": "WPDS App Bar", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/avatar/CHANGELOG.md b/ui/avatar/CHANGELOG.md deleted file mode 100644 index 24fb25015..000000000 --- a/ui/avatar/CHANGELOG.md +++ /dev/null @@ -1,228 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -### Features - -- refactor Avatar to better handle style and size variations ([#285](https://github.com/washingtonpost/wpds-ui-kit/issues/285)) ([1e4235c](https://github.com/washingtonpost/wpds-ui-kit/commit/1e4235c56448d64c0d4b0460a169b3265a8f72ad)) - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [0.19.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [0.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [0.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [0.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -### Features - -- create tooltip ([#212](https://github.com/washingtonpost/wpds-ui-kit/issues/212)) ([1250769](https://github.com/washingtonpost/wpds-ui-kit/commit/12507691245dae165817586f171e65e52d9718e7)) - -# [0.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [0.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -- fix(theme)!: remove global margin and padding (#151) ([78c65c8](https://github.com/washingtonpost/wpds-ui-kit/commit/78c65c8b590c3d90ef74aeef531269b60eccacfa)), closes [#151](https://github.com/washingtonpost/wpds-ui-kit/issues/151) - -### BREAKING CHANGES - -- removes rule that set all margin and padding to zero, any component relying on this rule will need to add it back locally - -# [0.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [0.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -# [0.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-avatar - -## [0.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -### Bug Fixes - -- **avatar:** add missing dependency ([342c34e](https://github.com/washingtonpost/wpds-ui-kit/commit/342c34ea649161db2b47e87f4335e6fdff46bd2f)) - -# [0.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -### Features - -- add avatar component + storybook example ([#122](https://github.com/washingtonpost/wpds-ui-kit/issues/122)) ([6e30047](https://github.com/washingtonpost/wpds-ui-kit/commit/6e300477110a128bb2ffb3809fe9cd4fc4f8c738)) diff --git a/ui/avatar/README.md b/ui/avatar/README.md deleted file mode 100644 index 89b7893f6..000000000 --- a/ui/avatar/README.md +++ /dev/null @@ -1,36 +0,0 @@ -# Avatar - -### Using next/image - -Some important things to note when using next/image with the wpds avatar component. - -- **The next/image expects a pixel value** to be passed into the height and width props. You can find the token to pixel mappings in the [size documentation](https://build.washingtonpost.com/foundations/size). -- In order for the image to fit correctly in the container you need to specify `layout="fixed"`. -- If you're having issues, double check that you're passing in a loader - -```jsx -import { Avatar } from "@washingtonpost/wpds-ui-kit"; - -const myLoader = ({ src }) => { - return `${src}`; -}; - -function Component() { - - An avatar is an atomic component that represents an individual’s identity through a circular photo. - - - An avatar is an atomic component that represents an individual’s identity through a circular photo. - -} -``` diff --git a/ui/avatar/package.json b/ui/avatar/package.json deleted file mode 100644 index c72088d16..000000000 --- a/ui/avatar/package.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "@washingtonpost/wpds-avatar", - "version": "1.17.0", - "description": "WPDS Avatar", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@radix-ui/react-avatar": "latest", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@radix-ui/react-avatar": "latest", - "@washingtonpost/wpds-theme": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/avatar/src/play.stories.tsx b/ui/avatar/src/play.stories.tsx deleted file mode 100644 index dc88aeb7a..000000000 --- a/ui/avatar/src/play.stories.tsx +++ /dev/null @@ -1,138 +0,0 @@ -import * as React from "react"; -import { Avatar as Component } from "./"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; - -export default { - title: "Avatar", - component: Component, - argTypes: { - size: { - options: [ - "025", - "050", - "075", - "087", - "100", - "125", - "150", - "175", - "200", - "225", - "250", - "275", - "300", - "350", - "400", - "450", - "500", - ], - control: { type: "select" }, - }, - }, -} as ComponentMeta; - -const defaultArgs = { - size: 200, - css: { - backgroundColor: theme.colors.subtle, - }, -}; - -const Container = styled("div", { - textAlign: "center", -}); -const Label = styled("h3", { - color: theme.colors.primary, - margin: 0, - textAlign: "center", -}); - -export const Avatar: ComponentStory = (args) => ( - - - - An avatar is an atomic component that represents an individual’s identity through a circular photo. - - -); - -Avatar.args = { ...defaultArgs }; - -export const Responsive = (args) => { - return ( - - An avatar is an atomic component that represents an individual’s identity through a circular photo. - - ); -}; - -const Row = styled("div", { - display: "flex", - gap: theme.space["100"], -}); - -export const StyledOverride: ComponentStory = (args) => { - const StyledComponent = styled(Component, { - boxShadow: theme.shadows["300"], - "&.override": { - width: "150px", - height: "150px", - }, - }); - - return ( - - - An avatar is an atomic component that represents an individual’s identity through a circular photo. - - - An avatar is an atomic component that represents an individual’s identity through a circular photo. - - - ); -}; - -export const TokenForSize: ComponentStory = (args) => { - return ( - - - An avatar is an atomic component that represents an individual’s identity through a circular photo. - - - An avatar is an atomic component that represents an individual’s identity through a circular photo. - - - An avatar is an atomic component that represents an individual’s identity through a circular photo. - - - ); -}; diff --git a/ui/box/CHANGELOG.md b/ui/box/CHANGELOG.md deleted file mode 100644 index bd809384c..000000000 --- a/ui/box/CHANGELOG.md +++ /dev/null @@ -1,306 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -### Features - -- convert "b" and "c" component stories to typescript ([#309](https://github.com/washingtonpost/wpds-ui-kit/issues/309)) ([bbcd126](https://github.com/washingtonpost/wpds-ui-kit/commit/bbcd12632d5cc58cdeb75e60c4f5da1d15063988)) - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [0.19.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [0.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -### Features - -- update to node 16 ([#123](https://github.com/washingtonpost/wpds-ui-kit/issues/123)) ([51083ec](https://github.com/washingtonpost/wpds-ui-kit/commit/51083eccd116f3d9beb710bd3253d5079768a179)) - -## [0.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [0.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.8.0-experimental.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -# [0.8.0-experimental.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -# [0.8.0-experimental.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -# [0.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.7.0) (2022-04-07) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [0.6.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.6.5) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [0.6.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.3...v0.6.4) (2022-04-21) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [0.6.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.6.3) (2022-04-13) - -### Bug Fixes - -- update license to MIT ([d20aa68](https://github.com/washingtonpost/wpds-ui-kit/commit/d20aa68c3bf0ef65fdaf05981ae993a63e3380ea)) - -## [0.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.1...v0.6.2) (2022-03-14) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [0.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.0...v0.6.1) (2022-03-09) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.5.0...v0.6.0) (2022-03-09) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.5...v0.5.0) (2022-03-07) - -### Bug Fixes - -- checkbox bug with stitches props ([d1e510d](https://github.com/WPMedia/wpds-ui-kit/commit/d1e510d565e35b341de432911fc304c23728a33b)) - -## [0.4.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.4...v0.4.5) (2022-03-04) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -# [0.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.7...v0.4.0) (2022-03-03) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [0.3.7](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.6...v0.3.7) (2022-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-box - -## [0.3.6](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.6) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.5) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) diff --git a/ui/box/README.md b/ui/box/README.md deleted file mode 100644 index 31ca0aace..000000000 --- a/ui/box/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# Box - -Quick prototyping in code sandboxes, and the like use the "Box" component - -```jsx -import * as T from "@washingtonpost/wpds-ui-kit"; - -export const MyBox = () => { - return ( - - Hello, World! - - ); -}; -``` diff --git a/ui/box/package.json b/ui/box/package.json deleted file mode 100644 index eb6c14f11..000000000 --- a/ui/box/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "@washingtonpost/wpds-box", - "version": "1.17.0", - "description": "WPDS Box component", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "publishConfig": { - "access": "public" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/box/src/play.stories.tsx b/ui/box/src/play.stories.tsx deleted file mode 100644 index cfa7edc00..000000000 --- a/ui/box/src/play.stories.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import * as React from "react"; -import { Box as Component } from "./box"; - -import type { ComponentMeta, ComponentStory } from "@storybook/react"; - -export default { - title: "Box", - component: Component, -} as ComponentMeta; - -const Template: ComponentStory = (args) => ( - - Hello, World! - -); - -export const Box = Template.bind({}); - -Box.args = {}; diff --git a/ui/button/CHANGELOG.md b/ui/button/CHANGELOG.md deleted file mode 100644 index b22cad5af..000000000 --- a/ui/button/CHANGELOG.md +++ /dev/null @@ -1,358 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -### Bug Fixes - -- button density set to default value ([#381](https://github.com/washingtonpost/wpds-ui-kit/issues/381)) ([3ac5761](https://github.com/washingtonpost/wpds-ui-kit/commit/3ac57611e1573fcd5f5eeb4d5b2f48928492cb88)) - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Bug Fixes - -- remove animations when user has reduced motion settings turned on [SRED-136] ([#357](https://github.com/washingtonpost/wpds-ui-kit/issues/357)) ([3c08bec](https://github.com/washingtonpost/wpds-ui-kit/commit/3c08bec85394fca28bdad816a67cd83956821df4)) - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -### Features - -- convert "b" and "c" component stories to typescript ([#309](https://github.com/washingtonpost/wpds-ui-kit/issues/309)) ([bbcd126](https://github.com/washingtonpost/wpds-ui-kit/commit/bbcd12632d5cc58cdeb75e60c4f5da1d15063988)) - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [0.19.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -- fix!: remove global transition (#142) ([bb0cf39](https://github.com/washingtonpost/wpds-ui-kit/commit/bb0cf3947643b3e048b1f9834a6226ed1728d1ed)), closes [#142](https://github.com/washingtonpost/wpds-ui-kit/issues/142) - -### BREAKING CHANGES - -- any element relying on global transition being present will no longer have a transition - -# [0.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [0.11.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.1...v0.11.2) (2022-07-21) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [0.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [0.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [0.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.8.0-experimental.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -# [0.8.0-experimental.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -# [0.8.0-experimental.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -# [0.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.7.0) (2022-04-07) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [0.6.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.6.5) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [0.6.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.3...v0.6.4) (2022-04-21) - -### Bug Fixes - -- disabled button doesn't change background on hover ([b6f3680](https://github.com/washingtonpost/wpds-ui-kit/commit/b6f3680a54ce77e792ead87e9f78d39a263ffe41)) - -## [0.6.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.6.3) (2022-04-13) - -### Bug Fixes - -- update license to MIT ([d20aa68](https://github.com/washingtonpost/wpds-ui-kit/commit/d20aa68c3bf0ef65fdaf05981ae993a63e3380ea)) - -## [0.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.1...v0.6.2) (2022-03-14) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [0.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.0...v0.6.1) (2022-03-09) - -### Bug Fixes - -- button hover style ([#74](https://github.com/WPMedia/wpds-ui-kit/issues/74)) ([e741bef](https://github.com/WPMedia/wpds-ui-kit/commit/e741bef9ca1e9f7b32133f115c1e0f1082907611)) - -# [0.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.5.0...v0.6.0) (2022-03-09) - -### Features - -- update to density prop for button from size ([#72](https://github.com/WPMedia/wpds-ui-kit/issues/72)) ([695bc58](https://github.com/WPMedia/wpds-ui-kit/commit/695bc58db3a5c1bcea2f4c92051038996f289257)) - -# [0.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.5...v0.5.0) (2022-03-07) - -### Bug Fixes - -- checkbox bug with stitches props ([d1e510d](https://github.com/WPMedia/wpds-ui-kit/commit/d1e510d565e35b341de432911fc304c23728a33b)) - -## [0.4.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.4...v0.4.5) (2022-03-04) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -# [0.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.7...v0.4.0) (2022-03-03) - -### Bug Fixes - -- remove dollar symbol from size props ([c4d66a5](https://github.com/WPMedia/wpds-ui-kit/commit/c4d66a5cf1d1af65ff94483eaeea01a496287fdc)) -- storybook bug with button default size value ([db361e0](https://github.com/WPMedia/wpds-ui-kit/commit/db361e0cb494a58accb94ae0df8b86a02800b232)) - -### Features - -- change to isOutline prop ([5b57d13](https://github.com/WPMedia/wpds-ui-kit/commit/5b57d13ad7e20595a18eab50a00c769bbc959217)) - -## [0.3.7](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.6...v0.3.7) (2022-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-button - -## [0.3.6](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.6) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.5) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.3](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.3) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.1...v0.3.2) (2022-03-01) - -### Bug Fixes - -- update icon size prop to match system ([e9ae288](https://github.com/WPMedia/wpds-ui-kit/commit/e9ae288c8eaa0358f7d03bf3725858795764af3c)) - -## [0.3.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.0...v0.3.1) (2022-02-28) - -### Bug Fixes - -- vqa fixes ([2a7b7f0](https://github.com/WPMedia/wpds-ui-kit/commit/2a7b7f0df36c21084c96999d34ebd74706748b10)) - -# [0.3.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.2.1...v0.3.0) (2022-02-25) - -### Bug Fixes - -- all the issues ([f9b73b5](https://github.com/WPMedia/wpds-ui-kit/commit/f9b73b5e916244c192a386c605de74b5a16bc9e4)) - -### Features - -- alert banner ([56deb3f](https://github.com/WPMedia/wpds-ui-kit/commit/56deb3f08b62a5d3691f4056d54e8383bff91b97)) -- button ([0bec12b](https://github.com/WPMedia/wpds-ui-kit/commit/0bec12b4602a6c1174feda5686f17c08dd3f6db0)) diff --git a/ui/button/README.md b/ui/button/README.md deleted file mode 100644 index a98ac3697..000000000 --- a/ui/button/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Button - -```jsx -import { Button } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/button/package.json b/ui/button/package.json deleted file mode 100644 index 202be0d2c..000000000 --- a/ui/button/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "@washingtonpost/wpds-button", - "version": "1.17.0", - "description": "WPDS Button", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/button/src/Button.tsx b/ui/button/src/Button.tsx deleted file mode 100644 index 748555bdf..000000000 --- a/ui/button/src/Button.tsx +++ /dev/null @@ -1,164 +0,0 @@ -import { theme, styled } from "@washingtonpost/wpds-theme"; -import * as React from "react"; - -export const Button = styled("button", { - display: "flex", - flexDirection: "row", - alignItems: "center", - justifyContent: "center", - height: "fit-content", - borderRadius: "$round", - cursor: "pointer", - border: "none", - appearance: "none", - px: "$100", - fontFamily: "$meta", - fontWeight: "$bold", - fontSize: "$100", - lineHeight: "$100", - gap: "$050", - transition: `background ${theme.transitions.fast} ${theme.transitions.inOut}`, - "@reducedMotion": { - transition: "none", - }, - - "&:disabled": { - color: "$onDisabled", - backgroundColor: "$colors$disabled", - borderColor: "$colors$onDisabled", - "@hover": { - "&:hover": { - backgroundColor: "$colors$disabled", - }, - }, - }, - - variants: { - variant: { - primary: { - background: theme.colors.primary, - color: theme.colors.onPrimary, - "@hover": { - "&:hover": { - background: theme.colors.gray60, - }, - }, - }, - secondary: { - background: theme.colors.secondary, - color: theme.colors.onSecondary, - border: "1px solid $subtle", - "@hover": { - "&:hover": { - background: theme.colors.gray400, - }, - }, - }, - cta: { - background: theme.colors.cta, - color: theme.colors.onCta, - "@hover": { - "&:hover": { - background: theme.colors.blue80, - }, - }, - }, - }, - density: { - compact: { - py: "$050", - }, - default: { - py: "$075", - }, - }, - isOutline: { - true: { - background: "none", - border: "1px solid", - }, - false: {}, - }, - icon: { - center: { - py: "$050", - px: "$050", - fontSize: "0", - lineHeight: "0", - gap: "0", - maxWidth: "fit-content", - }, - left: { - flexDirection: "row", - }, - right: { - flexDirection: "row-reverse", - }, - none: {}, - }, - }, - defaultVariants: { - variant: "secondary", - density: "default", - isOutline: false, - icon: "left", - }, - compoundVariants: [ - { - icon: "center", - density: "default", - css: { - padding: "$075", - fontSize: "0", - lineHeight: "0", - }, - }, - { - isOutline: true, - variant: "primary", - css: { - background: "none", - color: theme.colors.primary, - "@hover": { - "&:hover": { - background: theme.colors.alpha25, - }, - }, - }, - }, - { - isOutline: true, - variant: "secondary", - css: { - background: "none", - color: theme.colors.secondary, - "@hover": { - "&:hover": { - background: theme.colors.alpha25, - }, - }, - }, - }, - { - isOutline: true, - variant: "cta", - css: { - background: "none", - color: theme.colors.cta, - "@hover": { - "&:hover": { - background: theme.colors.alpha25, - }, - }, - }, - }, - ], -}); - -type ButtonProps = React.ComponentProps; - -interface ButtonInterface extends ButtonProps { - children: React.ReactNode; -} - -export type { ButtonProps, ButtonInterface }; diff --git a/ui/button/src/index.ts b/ui/button/src/index.ts deleted file mode 100644 index e22c29adc..000000000 --- a/ui/button/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./Button"; diff --git a/ui/card/CHANGELOG.md b/ui/card/CHANGELOG.md deleted file mode 100644 index 7bc5b61da..000000000 --- a/ui/card/CHANGELOG.md +++ /dev/null @@ -1,160 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -### Features - -- convert "b" and "c" component stories to typescript ([#309](https://github.com/washingtonpost/wpds-ui-kit/issues/309)) ([bbcd126](https://github.com/washingtonpost/wpds-ui-kit/commit/bbcd12632d5cc58cdeb75e60c4f5da1d15063988)) - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-card - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -### Features - -- **ui-kit:** add card component and stories ([#259](https://github.com/washingtonpost/wpds-ui-kit/issues/259)) ([5ce09e0](https://github.com/washingtonpost/wpds-ui-kit/commit/5ce09e0f7b6e829b9b72cd1fdf2090f0967a8b0e)) diff --git a/ui/card/README.md b/ui/card/README.md deleted file mode 100644 index df11fbbd3..000000000 --- a/ui/card/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Card - -```jsx -import { Card } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/card/package.json b/ui/card/package.json deleted file mode 100644 index 25cdf3c53..000000000 --- a/ui/card/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "@washingtonpost/wpds-card", - "version": "1.17.0", - "description": "Single, contained unit designed to hold other related elements and/or components.", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/card/src/Card.tsx b/ui/card/src/Card.tsx deleted file mode 100644 index 7858c49d5..000000000 --- a/ui/card/src/Card.tsx +++ /dev/null @@ -1,33 +0,0 @@ -import * as React from "react"; -import type * as WPDS from "@washingtonpost/wpds-theme"; -import { theme, styled } from "@washingtonpost/wpds-theme"; - -const StyledCard = styled("div", { - padding: theme.space["150"], - border: theme.colors.faint, - borderRadius: "2px", - borderWidth: "1px", - borderStyle: "solid", - backgroundColor: theme.colors.secondary, - color: theme.colors.onSecondary, - width: "100%", -}); - -type CardProps = { - /** Override/include custom CSS */ - css?: WPDS.CSS; - /** The nested elements inside Card */ - children?: React.ReactNode; -} & React.ComponentPropsWithRef; - -export const Card = React.forwardRef( - ({ children, css, ...props }: CardProps, ref) => { - return ( - - {children} - - ); - } -); - -Card.displayName = "Card"; diff --git a/ui/card/src/index.ts b/ui/card/src/index.ts deleted file mode 100644 index 24d321246..000000000 --- a/ui/card/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./Card"; diff --git a/ui/carousel/CHANGELOG.md b/ui/carousel/CHANGELOG.md deleted file mode 100644 index 2d67e46a8..000000000 --- a/ui/carousel/CHANGELOG.md +++ /dev/null @@ -1,149 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -### Bug Fixes - -- handle Carousel item focus corectly when child button is clicked ([29b9459](https://github.com/washingtonpost/wpds-ui-kit/commit/29b945934b7f596f76729d0243410330b867503e)) - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -### Bug Fixes - -- adding key to cloned carousel items ([#511](https://github.com/washingtonpost/wpds-ui-kit/issues/511)) ([d5a76b3](https://github.com/washingtonpost/wpds-ui-kit/commit/d5a76b3c9b0915fe272b9995510a8c80a1a2fdff)) - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -### Features - -- add useActiveDescendant hook to simplify child element focus in Carousel ([38f84c5](https://github.com/washingtonpost/wpds-ui-kit/commit/38f84c55282149eb7d17413996b7ffe47112ea9a)) - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Features - -- bump wam in packages ([#475](https://github.com/washingtonpost/wpds-ui-kit/issues/475)) ([9445877](https://github.com/washingtonpost/wpds-ui-kit/commit/9445877299f34d3bb3ed110badc66aa7b682687a)) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- expanded documentation for Carousel ([6911bd4](https://github.com/washingtonpost/wpds-ui-kit/commit/6911bd43432743a0cffdd9b7dceb3aea5f9453d0)) -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-carousel - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Bug Fixes - -- remove animations when user has reduced motion settings turned on [SRED-136] ([#357](https://github.com/washingtonpost/wpds-ui-kit/issues/357)) ([3c08bec](https://github.com/washingtonpost/wpds-ui-kit/commit/3c08bec85394fca28bdad816a67cd83956821df4)) - -### Features - -- upgrade wpds-assets to v1.18.0 in root and build.washingtonpost.com [SRED-100] ([#361](https://github.com/washingtonpost/wpds-ui-kit/issues/361)) ([80f6414](https://github.com/washingtonpost/wpds-ui-kit/commit/80f64144c0476c0d7a726ed3cf4720b788e036aa)) - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -### Features - -- add Carousel component ([#347](https://github.com/washingtonpost/wpds-ui-kit/issues/347)) ([df0c3fc](https://github.com/washingtonpost/wpds-ui-kit/commit/df0c3fcc8feb42457f2992d921277f3e885c6f97)) diff --git a/ui/carousel/README.md b/ui/carousel/README.md deleted file mode 100644 index 2b5febfff..000000000 --- a/ui/carousel/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Carousel - -```jsx -import { Carousel } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/carousel/package.json b/ui/carousel/package.json deleted file mode 100644 index 853494a75..000000000 --- a/ui/carousel/package.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "name": "@washingtonpost/wpds-carousel", - "version": "1.17.0", - "description": "WPDS Carousel", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "^5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "*", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-pagination-dots": "*", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@radix-ui/react-slot": "^1.0.0", - "@radix-ui/react-use-controllable-state": "^1.0.0", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-pagination-dots": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "react-swipeable": "^7.0.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/checkbox/CHANGELOG.md b/ui/checkbox/CHANGELOG.md deleted file mode 100644 index 53ad089f0..000000000 --- a/ui/checkbox/CHANGELOG.md +++ /dev/null @@ -1,394 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Features - -- bump wam in packages ([#475](https://github.com/washingtonpost/wpds-ui-kit/issues/475)) ([9445877](https://github.com/washingtonpost/wpds-ui-kit/commit/9445877299f34d3bb3ed110badc66aa7b682687a)) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Bug Fixes - -- remove animations when user has reduced motion settings turned on [SRED-136] ([#357](https://github.com/washingtonpost/wpds-ui-kit/issues/357)) ([3c08bec](https://github.com/washingtonpost/wpds-ui-kit/commit/3c08bec85394fca28bdad816a67cd83956821df4)) - -### Features - -- upgrade wpds-assets to v1.18.0 in root and build.washingtonpost.com [SRED-100] ([#361](https://github.com/washingtonpost/wpds-ui-kit/issues/361)) ([80f6414](https://github.com/washingtonpost/wpds-ui-kit/commit/80f64144c0476c0d7a726ed3cf4720b788e036aa)) - -# [1.3.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.2.1...v1.3.0) (2023-03-17) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [1.2.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.2.0...v1.2.1) (2023-03-16) - -### Bug Fixes - -- clicking label should toggle box ([#355](https://github.com/washingtonpost/wpds-ui-kit/issues/355)) ([a03ed1b](https://github.com/washingtonpost/wpds-ui-kit/commit/a03ed1b0a5f50f6aa2e4952ab5854e2abca2a508)) - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [1.0.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.1...v1.0.0) (2023-03-02) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [0.25.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.0...v0.25.1) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -### Features - -- convert "b" and "c" component stories to typescript ([#309](https://github.com/washingtonpost/wpds-ui-kit/issues/309)) ([bbcd126](https://github.com/washingtonpost/wpds-ui-kit/commit/bbcd12632d5cc58cdeb75e60c4f5da1d15063988)) - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -### Bug Fixes - -- add asterisk to required checkbox to match input required styles ([#299](https://github.com/washingtonpost/wpds-ui-kit/issues/299)) ([f1bdc33](https://github.com/washingtonpost/wpds-ui-kit/commit/f1bdc33f94cb0b14058fe988f4b1e5074f8a1bf2)) -- allow passing in checkbox label as child ([#297](https://github.com/washingtonpost/wpds-ui-kit/issues/297)) ([9e63975](https://github.com/washingtonpost/wpds-ui-kit/commit/9e63975badd1a62ae958ca74ef84566e6d6b209d)) - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -### Features - -- bump wam to v1.13.0 ([2f027f0](https://github.com/washingtonpost/wpds-ui-kit/commit/2f027f005d7d150ef7bcc837319e2f3047419c6b)) - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [0.19.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -### Bug Fixes - -- **deps:** bump @washingtonpost/wpds-assets from 1.11.0 to 1.12.0 ([#205](https://github.com/washingtonpost/wpds-ui-kit/issues/205)) ([aed89ae](https://github.com/washingtonpost/wpds-ui-kit/commit/aed89aeb8ad75b8b6bfe7636498e785b2788fad9)) - -# [0.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -- fix(theme)!: remove global margin and padding (#151) ([78c65c8](https://github.com/washingtonpost/wpds-ui-kit/commit/78c65c8b590c3d90ef74aeef531269b60eccacfa)), closes [#151](https://github.com/washingtonpost/wpds-ui-kit/issues/151) - -### BREAKING CHANGES - -- removes rule that set all margin and padding to zero, any component relying on this rule will need to add it back locally - -# [0.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -- fix!: remove global transition (#142) ([bb0cf39](https://github.com/washingtonpost/wpds-ui-kit/commit/bb0cf3947643b3e048b1f9834a6226ed1728d1ed)), closes [#142](https://github.com/washingtonpost/wpds-ui-kit/issues/142) - -### BREAKING CHANGES - -- any element relying on global transition being present will no longer have a transition - -# [0.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [0.11.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.1...v0.11.2) (2022-07-21) - -### Bug Fixes - -- add label to checkbox ([deffc54](https://github.com/washingtonpost/wpds-ui-kit/commit/deffc5411d7353198a8160ea1484efc31c92a041)) -- label alignment ([7a0e3c6](https://github.com/washingtonpost/wpds-ui-kit/commit/7a0e3c6251c827c7a532a81c7b4aa745f546be20)) -- preventing checkbox squish ([c435a83](https://github.com/washingtonpost/wpds-ui-kit/commit/c435a83270e14f7c15aaab890118c0da5af3fec7)) -- wrapping checkbox in input ([2ef1009](https://github.com/washingtonpost/wpds-ui-kit/commit/2ef10097ab352f881ddce4ace374a267dde2b6e1)) - -## [0.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [0.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [0.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.8.0-experimental.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -# [0.8.0-experimental.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -# [0.8.0-experimental.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -# [0.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.7.0) (2022-04-07) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [0.6.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.6.5) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [0.6.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.3...v0.6.4) (2022-04-21) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [0.6.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.6.3) (2022-04-13) - -### Bug Fixes - -- update license to MIT ([d20aa68](https://github.com/washingtonpost/wpds-ui-kit/commit/d20aa68c3bf0ef65fdaf05981ae993a63e3380ea)) - -## [0.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.1...v0.6.2) (2022-03-14) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [0.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.0...v0.6.1) (2022-03-09) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.5.0...v0.6.0) (2022-03-09) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.5...v0.5.0) (2022-03-07) - -### Bug Fixes - -- checkbox bug with stitches props ([d1e510d](https://github.com/WPMedia/wpds-ui-kit/commit/d1e510d565e35b341de432911fc304c23728a33b)) -- disabled checkbox states ([e908a91](https://github.com/WPMedia/wpds-ui-kit/commit/e908a91f0c6f01d69022b209b1dd0ccc32da422d)) - -## [0.4.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.4...v0.4.5) (2022-03-04) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -# [0.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.7...v0.4.0) (2022-03-03) - -### Bug Fixes - -- disabled and indeterminte ui state ([46d74ab](https://github.com/WPMedia/wpds-ui-kit/commit/46d74abc487720aa09e8b2078e142657de90804a)) -- logic errors with checkbox's compound variants and fix alpha theme tokens ([#69](https://github.com/WPMedia/wpds-ui-kit/issues/69)) ([78d294b](https://github.com/WPMedia/wpds-ui-kit/commit/78d294b0caa8afa68ec973e1767b854963f521de)) -- remove dollar symbol from size props ([c4d66a5](https://github.com/WPMedia/wpds-ui-kit/commit/c4d66a5cf1d1af65ff94483eaeea01a496287fdc)) - -### Features - -- change to isOutline prop ([5b57d13](https://github.com/WPMedia/wpds-ui-kit/commit/5b57d13ad7e20595a18eab50a00c769bbc959217)) - -## [0.3.7](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.6...v0.3.7) (2022-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [0.3.6](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.6) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.5) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.4](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.4) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.3](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.3) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.1...v0.3.2) (2022-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-checkbox - -## [0.3.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.0...v0.3.1) (2022-02-28) - -### Bug Fixes - -- vqa fixes ([2a7b7f0](https://github.com/WPMedia/wpds-ui-kit/commit/2a7b7f0df36c21084c96999d34ebd74706748b10)) - -# [0.3.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.2.1...v0.3.0) (2022-02-25) - -### Bug Fixes - -- all the issues ([f9b73b5](https://github.com/WPMedia/wpds-ui-kit/commit/f9b73b5e916244c192a386c605de74b5a16bc9e4)) -- bump ([5e7077c](https://github.com/WPMedia/wpds-ui-kit/commit/5e7077c4daafbd2147fc9a9d426ee3f743d326e9)) diff --git a/ui/checkbox/README.md b/ui/checkbox/README.md deleted file mode 100644 index ad0a81c94..000000000 --- a/ui/checkbox/README.md +++ /dev/null @@ -1,45 +0,0 @@ -# Checkbox - -```jsx -import { Checkbox } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return Checkbox label; -} -``` - -### Checkbox Label - -There are two ways you can pass in a label to the checkbox component: - -- The label prop. This option only takes in a string. -- As a child. This allows you to style your label to your preference. You can include links, custom stylings, etc. - -```jsx -import { Checkbox } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - const StyledLabel = styled("div", { - textDecoration: "line-through", - }); - - return ( - - This is the label - - ); -} -``` - -```jsx -import { Checkbox } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ( - - You can pass in links.{" "} - Like this link to our docs site - - ); -} -``` diff --git a/ui/checkbox/package.json b/ui/checkbox/package.json deleted file mode 100644 index 5e3e4e646..000000000 --- a/ui/checkbox/package.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "name": "@washingtonpost/wpds-checkbox", - "version": "1.17.0", - "description": "WPDS Checkbox", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup-node src/index.ts --minify --format esm,cjs --dts --sourcemap --legacy-output --clean", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@radix-ui/react-checkbox": "^1.0.0", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-input-label": "*", - "@washingtonpost/wpds-input-shared": "*", - "@washingtonpost/wpds-theme": "*", - "@washingtonpost/wpds-visually-hidden": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@radix-ui/react-checkbox": "^1.0.0", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-input-label": "1.17.0", - "@washingtonpost/wpds-input-shared": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "@washingtonpost/wpds-visually-hidden": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/container/CHANGELOG.md b/ui/container/CHANGELOG.md deleted file mode 100644 index 5c13eb307..000000000 --- a/ui/container/CHANGELOG.md +++ /dev/null @@ -1,335 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -### Features - -- convert "b" and "c" component stories to typescript ([#309](https://github.com/washingtonpost/wpds-ui-kit/issues/309)) ([bbcd126](https://github.com/washingtonpost/wpds-ui-kit/commit/bbcd12632d5cc58cdeb75e60c4f5da1d15063988)) - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [0.19.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -### Bug Fixes - -- update notXl breakpoint to match xl and add notXxl ([5b7ddae](https://github.com/washingtonpost/wpds-ui-kit/commit/5b7ddaef6d5c9aec7ae853e2d69693928affa082)) - -# [0.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [0.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [0.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [0.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.8.0-experimental.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -# [0.8.0-experimental.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -# [0.8.0-experimental.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -# [0.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.7.0) (2022-04-07) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [0.6.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.6.5) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [0.6.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.3...v0.6.4) (2022-04-21) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [0.6.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.6.3) (2022-04-13) - -### Bug Fixes - -- update license to MIT ([d20aa68](https://github.com/washingtonpost/wpds-ui-kit/commit/d20aa68c3bf0ef65fdaf05981ae993a63e3380ea)) - -## [0.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.1...v0.6.2) (2022-03-14) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [0.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.0...v0.6.1) (2022-03-09) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.5.0...v0.6.0) (2022-03-09) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.5...v0.5.0) (2022-03-07) - -### Bug Fixes - -- checkbox bug with stitches props ([d1e510d](https://github.com/WPMedia/wpds-ui-kit/commit/d1e510d565e35b341de432911fc304c23728a33b)) - -## [0.4.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.4...v0.4.5) (2022-03-04) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -# [0.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.7...v0.4.0) (2022-03-03) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [0.3.7](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.6...v0.3.7) (2022-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [0.3.6](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.6) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.5) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.3](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.3) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.1...v0.3.2) (2022-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-container - -## [0.3.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.0...v0.3.1) (2022-02-28) - -### Bug Fixes - -- vqa fixes ([2a7b7f0](https://github.com/WPMedia/wpds-ui-kit/commit/2a7b7f0df36c21084c96999d34ebd74706748b10)) - -# [0.3.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.2.1...v0.3.0) (2022-02-25) - -### Bug Fixes - -- all the issues ([f9b73b5](https://github.com/WPMedia/wpds-ui-kit/commit/f9b73b5e916244c192a386c605de74b5a16bc9e4)) - -### Features - -- alert banner ([56deb3f](https://github.com/WPMedia/wpds-ui-kit/commit/56deb3f08b62a5d3691f4056d54e8383bff91b97)) -- button ([0bec12b](https://github.com/WPMedia/wpds-ui-kit/commit/0bec12b4602a6c1174feda5686f17c08dd3f6db0)) -- container ([d5d0153](https://github.com/WPMedia/wpds-ui-kit/commit/d5d0153fe8afe4982efea258e390b566284198ce)) -- yolo app bar ([d645331](https://github.com/WPMedia/wpds-ui-kit/commit/d645331c2d900d453ebb82198752de7bad997e27)) diff --git a/ui/container/README.md b/ui/container/README.md deleted file mode 100644 index cfbdb6b2e..000000000 --- a/ui/container/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Container - -The container centers your content horizontally. It's the most basic layout element. - -```jsx -import { Container } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return Hello World; -} -``` diff --git a/ui/container/package.json b/ui/container/package.json deleted file mode 100644 index f10ee803b..000000000 --- a/ui/container/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "@washingtonpost/wpds-container", - "version": "1.17.0", - "description": "The container centers your content horizontally. It's the most basic layout element.", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/container/src/play.stories.tsx b/ui/container/src/play.stories.tsx deleted file mode 100644 index 71c75a8a1..000000000 --- a/ui/container/src/play.stories.tsx +++ /dev/null @@ -1,62 +0,0 @@ -import * as React from "react"; -import { Box } from "@washingtonpost/wpds-box"; -import { Container as Component } from "."; - -import type { ComponentStory, ComponentMeta } from "@storybook/react"; - -export default { - title: "Container", - component: Component, - argTypes: { - maxWidth: { - options: ["fluid", "sm", "md", "lg", "xl"], - defaultValue: "fluid", - }, - }, - parameters: { - layout: "fullscreen", - }, - args: { - maxWidth: "fluid", - }, -} as ComponentMeta; - -const Template: ComponentStory = (args) => ( - <> - Extra lg - lg - md - sm - Fluid - Play - -); - -export const Container = Template.bind({}); - -Container.args = {}; - -Container.decorators = [ - (Story) => ( - *": { - border: "1px dashed $gray100", - background: "rgb(148, 83, 140, 0.2)", - height: "$500", - color: "$primary", - }, - }} - > - - - ), -]; - -Container.parameters = { - chromatic: { viewports: [767, 768, 900, 1024, 1440] }, -}; diff --git a/ui/dialog/CHANGELOG.md b/ui/dialog/CHANGELOG.md deleted file mode 100644 index 39e032994..000000000 --- a/ui/dialog/CHANGELOG.md +++ /dev/null @@ -1,26 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.21.0...v1.22.0) (2024-02-15) - -**Note:** Version bump only for package @washingtonpost/wpds-dialog - -# [1.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.20.0...v1.21.0) (2024-02-07) - -**Note:** Version bump only for package @washingtonpost/wpds-dialog - -# [1.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.19.0...v1.20.0) (2024-01-24) - -**Note:** Version bump only for package @washingtonpost/wpds-dialog - -# [1.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.18.0...v1.19.0) (2024-01-10) - -**Note:** Version bump only for package @washingtonpost/wpds-dialog - -# [1.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.17.0...v1.18.0) (2023-12-13) - -### Features - -- add Dialog component ([15d6206](https://github.com/washingtonpost/wpds-ui-kit/commit/15d6206d6287bb3eee3c9f0af8ff57a0bf917998)) diff --git a/ui/dialog/README.md b/ui/dialog/README.md deleted file mode 100644 index b0d8147c8..000000000 --- a/ui/dialog/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Dialog - -```jsx -import { Dialog } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/dialog/package.json b/ui/dialog/package.json deleted file mode 100644 index afcd895f2..000000000 --- a/ui/dialog/package.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "@washingtonpost/wpds-dialog", - "version": "1.22.0", - "description": "WPDS Dialog", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2" - }, - "dependencies": { - "@radix-ui/react-dialog": "^1.0.5", - "@radix-ui/react-use-controllable-state": "^1.0.1", - "@washingtonpost/wpds-assets": "^1.23.1", - "@washingtonpost/wpds-button": "1.22.0", - "@washingtonpost/wpds-icon": "1.22.0", - "@washingtonpost/wpds-theme": "1.22.0", - "react-transition-group": "^4.4.5" - }, - "gitHead": "dddd34ee2494be2d91fe5671db3291060097b02a" -} diff --git a/ui/divider/CHANGELOG.md b/ui/divider/CHANGELOG.md deleted file mode 100644 index c57048b19..000000000 --- a/ui/divider/CHANGELOG.md +++ /dev/null @@ -1,230 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -### Features - -- bump radix deps ([6c85f68](https://github.com/washingtonpost/wpds-ui-kit/commit/6c85f68fec01df5d2a62843667ad7589dccf213b)) - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [0.19.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [0.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -## [0.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-divider - -# [0.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-divider diff --git a/ui/divider/README.md b/ui/divider/README.md deleted file mode 100644 index 9f9478d9c..000000000 --- a/ui/divider/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Divider - -```jsx -import { Divider } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/divider/package.json b/ui/divider/package.json deleted file mode 100644 index 40e40d0f1..000000000 --- a/ui/divider/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "@washingtonpost/wpds-divider", - "version": "1.17.0", - "description": "WPDS Divider", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@radix-ui/react-separator": "^1.0.0", - "@washingtonpost/wpds-theme": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/drawer/CHANGELOG.md b/ui/drawer/CHANGELOG.md deleted file mode 100644 index 2c0e299ab..000000000 --- a/ui/drawer/CHANGELOG.md +++ /dev/null @@ -1,225 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -### Features - -- add `auto` as valid value for Drawer height and width ([386b149](https://github.com/washingtonpost/wpds-ui-kit/commit/386b149047b00481a90ae9be6c726f2754cedaca)) - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Features - -- bump wam in packages ([#475](https://github.com/washingtonpost/wpds-ui-kit/issues/475)) ([9445877](https://github.com/washingtonpost/wpds-ui-kit/commit/9445877299f34d3bb3ed110badc66aa7b682687a)) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Bug Fixes - -- remove animations when user has reduced motion settings turned on [SRED-136] ([#357](https://github.com/washingtonpost/wpds-ui-kit/issues/357)) ([3c08bec](https://github.com/washingtonpost/wpds-ui-kit/commit/3c08bec85394fca28bdad816a67cd83956821df4)) - -### Features - -- upgrade wpds-assets to v1.18.0 in root and build.washingtonpost.com [SRED-100] ([#361](https://github.com/washingtonpost/wpds-ui-kit/issues/361)) ([80f6414](https://github.com/washingtonpost/wpds-ui-kit/commit/80f64144c0476c0d7a726ed3cf4720b788e036aa)) - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -### Features - -- add Carousel component ([#347](https://github.com/washingtonpost/wpds-ui-kit/issues/347)) ([df0c3fc](https://github.com/washingtonpost/wpds-ui-kit/commit/df0c3fcc8feb42457f2992d921277f3e885c6f97)) - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [1.0.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.1...v1.0.0) (2023-03-02) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [0.25.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.0...v0.25.1) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -### Bug Fixes - -- included Scrim props in DrawerScrim ([7ae9ba0](https://github.com/washingtonpost/wpds-ui-kit/commit/7ae9ba0c1f1c25592ae349df38313f7b613210a6)) - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -### Features - -- bump wam to v1.13.0 ([2f027f0](https://github.com/washingtonpost/wpds-ui-kit/commit/2f027f005d7d150ef7bcc837319e2f3047419c6b)) - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -## [0.19.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [0.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-drawer - -# [0.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -### Features - -- add specific version of stitches/react ([#215](https://github.com/washingtonpost/wpds-ui-kit/issues/215)) ([3e10dd4](https://github.com/washingtonpost/wpds-ui-kit/commit/3e10dd471c67da852ee302e30cdd9f7edd3e9bbc)) - -# [0.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -### Features - -- add scrim component ([#211](https://github.com/washingtonpost/wpds-ui-kit/issues/211)) ([2cbc8b6](https://github.com/washingtonpost/wpds-ui-kit/commit/2cbc8b6573961aff2f754a2184fcc451cb8c1258)) -- improve docs props table ([#210](https://github.com/washingtonpost/wpds-ui-kit/issues/210)) ([da36c33](https://github.com/washingtonpost/wpds-ui-kit/commit/da36c334355ee2285dc38b0300438c073d8e35d3)) - -# [0.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -### Features - -- add drawer component ([#190](https://github.com/washingtonpost/wpds-ui-kit/issues/190)) ([94c6276](https://github.com/washingtonpost/wpds-ui-kit/commit/94c62764a6bacf3756b5fd5da7089e018ddaf212)) diff --git a/ui/drawer/README.md b/ui/drawer/README.md deleted file mode 100644 index 9a69ba4d2..000000000 --- a/ui/drawer/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Drawer - -```jsx -import { Drawer } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/drawer/jest-setup.ts b/ui/drawer/jest-setup.ts deleted file mode 100644 index d0de870dc..000000000 --- a/ui/drawer/jest-setup.ts +++ /dev/null @@ -1 +0,0 @@ -import "@testing-library/jest-dom"; diff --git a/ui/drawer/jest.config.js b/ui/drawer/jest.config.js deleted file mode 100644 index b713b2057..000000000 --- a/ui/drawer/jest.config.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ -module.exports = { - preset: "ts-jest", - testEnvironment: "jsdom", - setupFilesAfterEnv: ["/jest-setup.ts"], - coverageReporters: ["text"], -}; diff --git a/ui/drawer/package.json b/ui/drawer/package.json deleted file mode 100644 index 2cacfef5e..000000000 --- a/ui/drawer/package.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "name": "@washingtonpost/wpds-drawer", - "version": "1.17.0", - "description": "WPDS Drawer", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "jest --coverage", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "*", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-scrim": "*", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@radix-ui/react-focus-scope": "^1.0.0", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-scrim": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "react-transition-group": "^4.4.5" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/drawer/tsconfig.json b/ui/drawer/tsconfig.json deleted file mode 100644 index 38b3e6118..000000000 --- a/ui/drawer/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "jsx": "react", - "types": ["jest"] - }, - "include": ["**/*.test.ts", "./jest-setup.ts"] -} diff --git a/ui/error-message/CHANGELOG.md b/ui/error-message/CHANGELOG.md deleted file mode 100644 index 5ce532722..000000000 --- a/ui/error-message/CHANGELOG.md +++ /dev/null @@ -1,250 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [1.16.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [1.16.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [1.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [1.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [1.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [1.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [1.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [1.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/WPMedia/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/WPMedia/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/WPMedia/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/WPMedia/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [1.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [1.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [1.8.5](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [1.8.4](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [1.8.3](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [1.8.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [1.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [1.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/WPMedia/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/WPMedia/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [1.7.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/WPMedia/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/WPMedia/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [1.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [1.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/WPMedia/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/WPMedia/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [1.5.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [1.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [1.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [1.2.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [1.1.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/WPMedia/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/WPMedia/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.24.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [0.23.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [0.23.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.23.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.22.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.21.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [0.20.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.20.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [0.19.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.19.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.18.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [0.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [0.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -## [0.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-error-message - -# [0.8.0-experimental.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -### Features - -- add compoent names to package descripton ([57f9c6c](https://github.com/WPMedia/wpds-ui-kit/commit/57f9c6cc57f15b290593aad22cd436054eb25256)) - -# [0.8.0-experimental.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -# [0.8.0-experimental.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -### Features - -- add new InputText component ([e3fbc61](https://github.com/WPMedia/wpds-ui-kit/commit/e3fbc6187ffa798306b123e56004932d6fcb0380)) diff --git a/ui/error-message/README.md b/ui/error-message/README.md deleted file mode 100644 index 30cc900c4..000000000 --- a/ui/error-message/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# ErrorMessage - -```jsx -import { ErrorMessage } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/error-message/package.json b/ui/error-message/package.json deleted file mode 100644 index f50420fa2..000000000 --- a/ui/error-message/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "@washingtonpost/wpds-error-message", - "version": "1.17.0", - "description": "WPDS ErrorMessage", - "author": "WPDS Support ", - "homepage": "https://github.com/WPMedia/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/WPMedia/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/WPMedia/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/error-message/src/play.stories.tsx b/ui/error-message/src/play.stories.tsx deleted file mode 100644 index 1466e5e48..000000000 --- a/ui/error-message/src/play.stories.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import * as React from "react"; -import { ErrorMessage as Component } from "./"; - -import type { ComponentMeta, ComponentStory } from "@storybook/react"; - -export default { - title: "ErrorMessage", - component: Component, -} as ComponentMeta; - -const Template: ComponentStory = (args) => ( - -); - -export const ErrorMessage = Template.bind({}); - -ErrorMessage.args = { - children: "Error Message", - id: "my-error-message", -}; diff --git a/ui/fieldset/CHANGELOG.md b/ui/fieldset/CHANGELOG.md deleted file mode 100644 index e03d034e1..000000000 --- a/ui/fieldset/CHANGELOG.md +++ /dev/null @@ -1,228 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [1.16.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [1.16.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [1.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [1.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [1.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [1.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [1.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [1.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/WPMedia/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/WPMedia/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/WPMedia/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/WPMedia/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [1.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [1.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [1.8.5](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [1.8.4](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [1.8.3](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [1.8.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [1.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [1.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/WPMedia/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/WPMedia/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [1.7.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/WPMedia/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/WPMedia/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [1.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [1.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/WPMedia/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/WPMedia/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [1.5.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [1.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [1.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [1.2.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [1.1.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/WPMedia/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/WPMedia/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.24.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [0.23.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [0.23.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.23.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.22.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.21.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [0.20.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.20.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [0.19.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.19.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.18.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [0.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -## [0.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset - -# [0.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-fieldset diff --git a/ui/fieldset/README.md b/ui/fieldset/README.md deleted file mode 100644 index 89710cf56..000000000 --- a/ui/fieldset/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Fieldset - -```jsx -import { Fieldset } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return
; -} -``` diff --git a/ui/fieldset/package.json b/ui/fieldset/package.json deleted file mode 100644 index 0415a61e7..000000000 --- a/ui/fieldset/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "@washingtonpost/wpds-fieldset", - "version": "1.17.0", - "description": "WPDS Fieldset", - "author": "WPDS Support ", - "homepage": "https://github.com/WPMedia/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/WPMedia/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/WPMedia/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/fieldset/src/play.stories.tsx b/ui/fieldset/src/play.stories.tsx deleted file mode 100644 index dd18250be..000000000 --- a/ui/fieldset/src/play.stories.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import * as React from "react"; -import { Fieldset as Component } from "./"; - -import type { ComponentMeta, ComponentStory } from "@storybook/react"; - -export default { - title: "Fieldset", - component: Component, -} as ComponentMeta; - -const Template: ComponentStory = (args) => ( - Content -); - -export const Fieldset = Template.bind({}); - -Fieldset.args = { - legend: "Fieldset", -}; diff --git a/ui/helper-text/CHANGELOG.md b/ui/helper-text/CHANGELOG.md deleted file mode 100644 index d203cef56..000000000 --- a/ui/helper-text/CHANGELOG.md +++ /dev/null @@ -1,250 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [1.16.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [1.16.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [1.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [1.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [1.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [1.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [1.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [1.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/WPMedia/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/WPMedia/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/WPMedia/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/WPMedia/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [1.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [1.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [1.8.5](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [1.8.4](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [1.8.3](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [1.8.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [1.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [1.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/WPMedia/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/WPMedia/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [1.7.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/WPMedia/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/WPMedia/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [1.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [1.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/WPMedia/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/WPMedia/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [1.5.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [1.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [1.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [1.2.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [1.1.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/WPMedia/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/WPMedia/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.24.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [0.23.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [0.23.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.23.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.22.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.21.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [0.20.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.20.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [0.19.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.19.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.18.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [0.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [0.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -## [0.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-helper-text - -# [0.8.0-experimental.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -### Features - -- add compoent names to package descripton ([57f9c6c](https://github.com/WPMedia/wpds-ui-kit/commit/57f9c6cc57f15b290593aad22cd436054eb25256)) - -# [0.8.0-experimental.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -# [0.8.0-experimental.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -### Features - -- add new InputText component ([e3fbc61](https://github.com/WPMedia/wpds-ui-kit/commit/e3fbc6187ffa798306b123e56004932d6fcb0380)) diff --git a/ui/helper-text/README.md b/ui/helper-text/README.md deleted file mode 100644 index cb9fe9f25..000000000 --- a/ui/helper-text/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# HelperText - -```jsx -import { HelperText } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/helper-text/package.json b/ui/helper-text/package.json deleted file mode 100644 index 2c98d9585..000000000 --- a/ui/helper-text/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "@washingtonpost/wpds-helper-text", - "version": "1.17.0", - "description": "WPDS HelperText", - "author": "WPDS Support ", - "homepage": "https://github.com/WPMedia/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/WPMedia/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/WPMedia/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/helper-text/src/play.stories.tsx b/ui/helper-text/src/play.stories.tsx deleted file mode 100644 index 42a6ebcf3..000000000 --- a/ui/helper-text/src/play.stories.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import * as React from "react"; -import { HelperText as Component } from "./"; - -import type { ComponentMeta, ComponentStory } from "@storybook/react"; - -export default { - title: "HelperText", - component: Component, -} as ComponentMeta; - -const Template: ComponentStory = (args) => ( - -); - -export const HelperText = Template.bind({}); - -HelperText.args = { - children: "Helper Text", - id: "my-helper-text", -}; diff --git a/ui/icon/CHANGELOG.md b/ui/icon/CHANGELOG.md deleted file mode 100644 index 16a058ff4..000000000 --- a/ui/icon/CHANGELOG.md +++ /dev/null @@ -1,374 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [1.0.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.1...v1.0.0) (2023-03-02) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [0.25.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.0...v0.25.1) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -### Bug Fixes - -- fix icon fill ([#334](https://github.com/washingtonpost/wpds-ui-kit/issues/334)) ([e542231](https://github.com/washingtonpost/wpds-ui-kit/commit/e5422314d62400294962c312626dca8fb7660e1a)) - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -### Bug Fixes - -- IconInterface fill type definition ([151d52e](https://github.com/washingtonpost/wpds-ui-kit/commit/151d52e65a48dfb5b006ccef6181c811e988a4a8)) - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -### Bug Fixes - -- **ui kit:** support wpds color tokens for icon 'fill' property ([5021824](https://github.com/washingtonpost/wpds-ui-kit/commit/50218245e013ba14d98f77932d9780f40a5af339)) - -## [0.19.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -### Features - -- add size util and css prop to icon component ([#217](https://github.com/washingtonpost/wpds-ui-kit/issues/217)) ([5849a85](https://github.com/washingtonpost/wpds-ui-kit/commit/5849a85f42f8d49620bfc6bfee470bca3a1ebc05)) - -# [0.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -### Features - -- improve docs props table ([#210](https://github.com/washingtonpost/wpds-ui-kit/issues/210)) ([da36c33](https://github.com/washingtonpost/wpds-ui-kit/commit/da36c334355ee2285dc38b0300438c073d8e35d3)) - -# [0.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [0.11.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.1...v0.11.2) (2022-07-21) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [0.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [0.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [0.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.8.0-experimental.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -# [0.8.0-experimental.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -# [0.8.0-experimental.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -# [0.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.7.0) (2022-04-07) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [0.6.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.6.5) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [0.6.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.3...v0.6.4) (2022-04-21) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [0.6.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.6.3) (2022-04-13) - -### Bug Fixes - -- update license to MIT ([d20aa68](https://github.com/washingtonpost/wpds-ui-kit/commit/d20aa68c3bf0ef65fdaf05981ae993a63e3380ea)) - -## [0.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.1...v0.6.2) (2022-03-14) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [0.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.0...v0.6.1) (2022-03-09) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.5.0...v0.6.0) (2022-03-09) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.5...v0.5.0) (2022-03-07) - -### Bug Fixes - -- checkbox bug with stitches props ([d1e510d](https://github.com/WPMedia/wpds-ui-kit/commit/d1e510d565e35b341de432911fc304c23728a33b)) - -### Features - -- support fill attribute ([dc264f0](https://github.com/WPMedia/wpds-ui-kit/commit/dc264f0ade0fdc46475f07745c5f6406a0be0d1b)) - -## [0.4.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.4...v0.4.5) (2022-03-04) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.7...v0.4.0) (2022-03-03) - -### Bug Fixes - -- remove dollar symbol from size props ([c4d66a5](https://github.com/WPMedia/wpds-ui-kit/commit/c4d66a5cf1d1af65ff94483eaeea01a496287fdc)) - -## [0.3.7](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.6...v0.3.7) (2022-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -## [0.3.6](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.6) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.5) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.4](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.4) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.3](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.3) (2022-03-01) - -### Bug Fixes - -- storybook issues ([1ee2ad1](https://github.com/WPMedia/wpds-ui-kit/commit/1ee2ad1db03ca0c1174af7b47be796bd27022c95)) - -## [0.3.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.1...v0.3.2) (2022-03-01) - -### Bug Fixes - -- update icon size prop to match system ([e9ae288](https://github.com/WPMedia/wpds-ui-kit/commit/e9ae288c8eaa0358f7d03bf3725858795764af3c)) - -## [0.3.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.0...v0.3.1) (2022-02-28) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.3.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.2.1...v0.3.0) (2022-02-25) - -### Bug Fixes - -- all the issues ([f9b73b5](https://github.com/WPMedia/wpds-ui-kit/commit/f9b73b5e916244c192a386c605de74b5a16bc9e4)) - -### Features - -- button ([0bec12b](https://github.com/WPMedia/wpds-ui-kit/commit/0bec12b4602a6c1174feda5686f17c08dd3f6db0)) - -## [0.2.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.2.0...v0.2.1) (2022-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.2.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.1.0...v0.2.0) (2022-01-26) - -**Note:** Version bump only for package @washingtonpost/wpds-icon - -# [0.1.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.1.0-experimental.21...v0.1.0) (2022-01-24) - -**Note:** Version bump only for package @washingtonpost/wpds-icon diff --git a/ui/icon/README.md b/ui/icon/README.md deleted file mode 100644 index cdc9713db..000000000 --- a/ui/icon/README.md +++ /dev/null @@ -1,24 +0,0 @@ -# Icon - -```jsx -import { Icon } from "@washingtonpost/wpds-ui-kit"; -import { Garlic } from "@washingtonpost/wpds-assets"; - -function Component() { - return ( - - - - ); -} -``` - -## Component API - -- size (["16", "24", "32"]), width and height of our icons from the system -- label, The accessibility label for the icon. This label will be visually hidden but read aloud by VoiceOver and other screenreaders to describe the icon. - -## Do's and Don'ts - -- fill color will be set on the SVG icon component. not this component -- the svg icon component will be hidden from the a11y tree. it's presentational. The SVG's title node should be removed as well. diff --git a/ui/icon/package.json b/ui/icon/package.json deleted file mode 100644 index a054e8ee8..000000000 --- a/ui/icon/package.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "@washingtonpost/wpds-icon", - "version": "1.17.0", - "description": "WPDS Icon Component", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "@washingtonpost/wpds-visually-hidden": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0", - "@washingtonpost/wpds-visually-hidden": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/icon/src/icon.tsx b/ui/icon/src/icon.tsx deleted file mode 100644 index 1a51e07de..000000000 --- a/ui/icon/src/icon.tsx +++ /dev/null @@ -1,73 +0,0 @@ -import * as React from "react"; -import { VisuallyHidden } from "@washingtonpost/wpds-visually-hidden"; -import { css, theme } from "@washingtonpost/wpds-theme"; -import type * as WPDS from "@washingtonpost/wpds-theme"; - -const NAME = "Icon"; - -export type WPDSThemeColorObject = { - token: string; - value: string; - scale: string; - prefix: string; -}; - -interface IconInterface extends Omit, "fill"> { - /** - * The name of the icon to display. - */ - label: string; - size?: "100" | "150" | "200" | number; - children?: React.ReactNode; - className?: string; - css?: WPDS.CSS; - fill?: string | WPDSThemeColorObject; - id?: string; - alt?: string; -} - -export const Icon = React.forwardRef( - ( - { - children, - size = "100", - fill = "currentColor", - label, - className = "", - css: cssProp, - ...props - }, - ref - ) => { - const child = React.Children.only(children); - - const IconSizeStyle = css({ - size: theme.sizes[size] || size, - fill, - }); - - return ( - <> - {React.cloneElement(child as React.ReactElement, { - "aria-hidden": true, - focusable: false, - role: "img", - ref, - fill: fill, - className: `${IconSizeStyle({ - css: cssProp, - color: fill, - })} ${className}`, - ...props, - })} - {label ? {label} : null} - - ); - } -); - -type IconProps = React.ComponentPropsWithRef; - -Icon.displayName = NAME; - -export type { IconProps, IconInterface }; diff --git a/ui/icon/src/index.ts b/ui/icon/src/index.ts deleted file mode 100644 index b975409af..000000000 --- a/ui/icon/src/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./icon"; diff --git a/ui/input-label/CHANGELOG.md b/ui/input-label/CHANGELOG.md deleted file mode 100644 index dd89e366b..000000000 --- a/ui/input-label/CHANGELOG.md +++ /dev/null @@ -1,259 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [1.16.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [1.16.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [1.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [1.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [1.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [1.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [1.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [1.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/WPMedia/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/WPMedia/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/WPMedia/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/WPMedia/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [1.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -### Bug Fixes - -- Label + Checkbox Bug ([#445](https://github.com/WPMedia/wpds-ui-kit/issues/445)) ([9749319](https://github.com/WPMedia/wpds-ui-kit/commit/974931905c57d6a19d3e9138d7d57bf98392935c)) - -# [1.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [1.8.5](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [1.8.4](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [1.8.3](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [1.8.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [1.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [1.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/WPMedia/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/WPMedia/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [1.7.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add cancel button to input type search ([#405](https://github.com/WPMedia/wpds-ui-kit/issues/405)) ([e20e9ec](https://github.com/WPMedia/wpds-ui-kit/commit/e20e9ecc64f98e7761486d2d55845e2cefac7834)) -- add NavigationMenu component ([#408](https://github.com/WPMedia/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/WPMedia/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [1.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [1.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/WPMedia/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/WPMedia/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [1.5.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [1.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [1.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [1.2.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [1.1.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/WPMedia/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/WPMedia/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.24.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [0.23.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [0.23.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.23.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.22.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -### Bug Fixes - -- add asterisk to required checkbox to match input required styles ([#299](https://github.com/WPMedia/wpds-ui-kit/issues/299)) ([f1bdc33](https://github.com/WPMedia/wpds-ui-kit/commit/f1bdc33f94cb0b14058fe988f4b1e5074f8a1bf2)) - -### Features - -- bump radix deps ([6c85f68](https://github.com/WPMedia/wpds-ui-kit/commit/6c85f68fec01df5d2a62843667ad7589dccf213b)) - -# [0.21.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [0.20.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.20.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [0.19.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.19.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.18.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [0.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [0.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -## [0.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-input-label - -# [0.8.0-experimental.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -### Features - -- add compoent names to package descripton ([57f9c6c](https://github.com/WPMedia/wpds-ui-kit/commit/57f9c6cc57f15b290593aad22cd436054eb25256)) - -# [0.8.0-experimental.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -# [0.8.0-experimental.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -### Features - -- add new InputText component ([e3fbc61](https://github.com/WPMedia/wpds-ui-kit/commit/e3fbc6187ffa798306b123e56004932d6fcb0380)) diff --git a/ui/input-label/README.md b/ui/input-label/README.md deleted file mode 100644 index 314fc84d4..000000000 --- a/ui/input-label/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# InputLabel - -```jsx -import { InputLabel } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/input-label/package.json b/ui/input-label/package.json deleted file mode 100644 index b3a82a614..000000000 --- a/ui/input-label/package.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "@washingtonpost/wpds-input-label", - "version": "1.17.0", - "description": "WPDS InputLabel", - "author": "WPDS Support ", - "homepage": "https://github.com/WPMedia/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/WPMedia/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/WPMedia/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-input-shared": "*", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@radix-ui/react-label": "^2.0.2", - "@washingtonpost/wpds-input-shared": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/input-label/src/play.stories.tsx b/ui/input-label/src/play.stories.tsx deleted file mode 100644 index e58838b2d..000000000 --- a/ui/input-label/src/play.stories.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import * as React from "react"; -import { InputLabel as Component } from "./"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; - -export default { - title: "InputLabel", - component: Component, -} as ComponentMeta; - -const Template = (args) => ; - -export const InputLabel: ComponentStory = Template.bind({}); - -InputLabel.args = { - children: "Label", -}; diff --git a/ui/input-password/CHANGELOG.md b/ui/input-password/CHANGELOG.md deleted file mode 100644 index 5d70c22b6..000000000 --- a/ui/input-password/CHANGELOG.md +++ /dev/null @@ -1,279 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [1.16.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [1.16.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [1.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [1.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [1.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [1.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [1.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [1.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/WPMedia/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/WPMedia/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Features - -- bump wam in packages ([#475](https://github.com/WPMedia/wpds-ui-kit/issues/475)) ([9445877](https://github.com/WPMedia/wpds-ui-kit/commit/9445877299f34d3bb3ed110badc66aa7b682687a)) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/WPMedia/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/WPMedia/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [1.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [1.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [1.8.5](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [1.8.4](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [1.8.3](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [1.8.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [1.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [1.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/WPMedia/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/WPMedia/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [1.7.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/WPMedia/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/WPMedia/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [1.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [1.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/WPMedia/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/WPMedia/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [1.5.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [1.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [1.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Features - -- upgrade wpds-assets to v1.18.0 in root and build.washingtonpost.com [SRED-100] ([#361](https://github.com/WPMedia/wpds-ui-kit/issues/361)) ([80f6414](https://github.com/WPMedia/wpds-ui-kit/commit/80f64144c0476c0d7a726ed3cf4720b788e036aa)) - -# [1.2.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [1.1.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/WPMedia/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/WPMedia/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [1.0.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.25.1...v1.0.0) (2023-03-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [0.25.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.25.0...v0.25.1) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.25.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.24.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [0.23.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [0.23.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.23.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.22.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.21.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -### Features - -- bump wam to v1.13.0 ([2f027f0](https://github.com/WPMedia/wpds-ui-kit/commit/2f027f005d7d150ef7bcc837319e2f3047419c6b)) - -## [0.20.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.20.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [0.19.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.19.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.18.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -### Bug Fixes - -- **deps:** bump @washingtonpost/wpds-assets from 1.11.0 to 1.12.0 ([#205](https://github.com/WPMedia/wpds-ui-kit/issues/205)) ([aed89ae](https://github.com/WPMedia/wpds-ui-kit/commit/aed89aeb8ad75b8b6bfe7636498e785b2788fad9)) - -# [0.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -- fix(theme)!: remove global margin and padding (#151) ([78c65c8](https://github.com/WPMedia/wpds-ui-kit/commit/78c65c8b590c3d90ef74aeef531269b60eccacfa)), closes [#151](https://github.com/WPMedia/wpds-ui-kit/issues/151) - -### BREAKING CHANGES - -- removes rule that set all margin and padding to zero, any component relying on this rule will need to add it back locally - -# [0.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -### Bug Fixes - -- bump wpds-assets deps ([#155](https://github.com/WPMedia/wpds-ui-kit/issues/155)) ([c9af732](https://github.com/WPMedia/wpds-ui-kit/commit/c9af732bda2ab238d4decd2bd9ab93d165efd69c)) - -# [0.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [0.11.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.1...v0.11.2) (2022-07-21) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [0.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [0.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -## [0.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-input-password - -# [0.8.0-experimental.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -### Features - -- add compoent names to package descripton ([57f9c6c](https://github.com/WPMedia/wpds-ui-kit/commit/57f9c6cc57f15b290593aad22cd436054eb25256)) - -# [0.8.0-experimental.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -# [0.8.0-experimental.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -### Features - -- add InputPassword component ([e03ab07](https://github.com/WPMedia/wpds-ui-kit/commit/e03ab07e904a1b0bc6762b9a1ddd2cf8f920f0aa)) -- add new InputText component ([e3fbc61](https://github.com/WPMedia/wpds-ui-kit/commit/e3fbc6187ffa798306b123e56004932d6fcb0380)) diff --git a/ui/input-password/README.md b/ui/input-password/README.md deleted file mode 100644 index aff5e411f..000000000 --- a/ui/input-password/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# InputPassword - -```jsx -import { InputPassword } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/input-password/package.json b/ui/input-password/package.json deleted file mode 100644 index 55d53e144..000000000 --- a/ui/input-password/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "@washingtonpost/wpds-input-password", - "version": "1.17.0", - "description": "WPDS InputPassword", - "author": "WPDS Support ", - "homepage": "https://github.com/WPMedia/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/WPMedia/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/WPMedia/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-input-text": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-input-text": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/input-search/CHANGELOG.md b/ui/input-search/CHANGELOG.md deleted file mode 100644 index 70d8f722a..000000000 --- a/ui/input-search/CHANGELOG.md +++ /dev/null @@ -1,94 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-input-search - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-input-search - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-input-search - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-search - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-input-search - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-input-search - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-input-search - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-input-search - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Features - -- bump wam in packages ([#475](https://github.com/washingtonpost/wpds-ui-kit/issues/475)) ([9445877](https://github.com/washingtonpost/wpds-ui-kit/commit/9445877299f34d3bb3ed110badc66aa7b682687a)) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-input-search - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-search - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -### Features - -- add remaining examples to InputSearch docs and additional testing examples and validation ([e527dd9](https://github.com/washingtonpost/wpds-ui-kit/commit/e527dd91940eb47df0c61a5aae31a01270652075)) - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-search - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-search - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-search - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -### Bug Fixes - -- updated InputSearch sub component types ([18e9bc1](https://github.com/washingtonpost/wpds-ui-kit/commit/18e9bc17f93cb050e69b1c15ada1a42eab1e4b30)) - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-input-search - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) diff --git a/ui/input-search/README.md b/ui/input-search/README.md deleted file mode 100644 index be875874a..000000000 --- a/ui/input-search/README.md +++ /dev/null @@ -1,71 +0,0 @@ -# Search - -```jsx -import { InputSearch } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` - -## Search component so far (files updated/created/changed): - -#### Search.tsx - -The main file. Everything is up to date. Could perhaps use some comments? But it's set up as the rest of our more complex components are. This is where you pass the `openOnFocus` prop. However, it only opens the `Search.Popover` when something has already been typed. If the input is completely empty, the popover won't be triggered. Hadn't yet started to even address this issue yet. - -TODO: (goes with what's in SearchPopover.tsx and SearchInput.tsx comments) Popover needs to be triggered when the input is focused but nothing has been typed in yet. - -#### SearchInput.tsx - -This is where the input part of the component lives. I'm using/extending the WPDS input-text component with `type=search`. The current version of the search input covers up the search button with the clear button when something is typed in. This means that there's no way to click the search button and it relies solely on `onEnter` functionality. After a chat with design, we decided to update all search inputs to have both the clear 'X' button and the search button. - -TODO: when you press the search button the search should be run -TODO: when you focus on the input (before typing anything) the popover should open with some preloaded content -TODO: when you press the clear button, it clear out the text but then when you focus back in it brings back the old content. I think the ref is not getting cleared out correctly. - -#### InputText/InputText.tsx - -This is the main input component. Trying to keep all other functionality the same, we now do several things for the search input alone. First, we now override/hide the default search clear button for both wekit and edge (will need to test on edge too). - -#### SearchList.tsx - -This is the component that holds the result contents. In this component I basically just remove the built-in paddings and margins from reach-ui, align, and set the overflowY. - -TODO: haven't taken into account overflowX yet. Something to think about - -#### SearchListItem.tsx - -This is the component that holds each result. This component unsets the listItem styles inherited from default list itmes and sets the set height per item as specified by the specs. Also, it seems that the only way to style the parts of the results that match what's already been typed by the user is by targeting `[data-user-value="true"]`. It's the cleanest way I could find, but perhaps you can find another? - -TODO: design doesn't take into account result items that are wider than the container. Should it wrap? Should it ellipse? Nobody knows. - -#### SearchPopover.tsx - -This component is the main container that holds all the things and that opens when we interact with the input. I am unsure how to get it to open on focus (with nothing typed). As of now, it opens on focus when you pass `openOnFocus` to the main Search component. However, you have to have typed something in already for this to work. - -#### SearchEmptyState.tsx - -Most everything else should be finished and look according to spec - -#### SearchLoadingState.tsx - -Most everything else should be finished and look according to spec - -#### SearchOtherState.tsx - -Since both the empty state and the loading state have the same formatting and the only things that differ are the specific icon used and the text that goes with it, I create this abstraction to try and remove some code duplication. The main thing left to do in this file is to remove the `any` types. You can also rename this file? I was trying to communicate that it's a wrapper for the different type of states the component can have outside of the main one... - -#### README.md - -Other than these notes, I haven't updated anything yet on this file. - -TODO: update README with relevant information. - -#### Other notes: - -Have been using [the code sandbox example/exploration I did for the spike](https://codesandbox.io/s/search-component-exploration-egv014?file=/src/reachUiCombobox.js) as a reference for some things too - -TODO: Design wants filtering within the actual popover -TODO: onResultHover (mentioned in zeplin) -TODO: Add docs + examples (code) diff --git a/ui/input-search/package.json b/ui/input-search/package.json deleted file mode 100644 index 92f4615a8..000000000 --- a/ui/input-search/package.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "name": "@washingtonpost/wpds-input-search", - "version": "1.17.0", - "description": "WPDS Input Search", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-assets": "^1.18.0", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-input-label": "*", - "@washingtonpost/wpds-input-text": "*", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@reach/combobox": "^0.18.0", - "@reach/popover": "^0.18.0", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-input-label": "1.17.0", - "@washingtonpost/wpds-input-text": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "match-sorter": "6.3.1" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/input-shared/CHANGELOG.md b/ui/input-shared/CHANGELOG.md deleted file mode 100644 index 7493da3c4..000000000 --- a/ui/input-shared/CHANGELOG.md +++ /dev/null @@ -1,262 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [1.16.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [1.16.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [1.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [1.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [1.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [1.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [1.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [1.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/WPMedia/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/WPMedia/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/WPMedia/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/WPMedia/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -### Bug Fixes - -- add autofocus style to input ([#451](https://github.com/WPMedia/wpds-ui-kit/issues/451)) ([31ae39a](https://github.com/WPMedia/wpds-ui-kit/commit/31ae39af69b732549567a7adde0c6378f96b45d7)) - -## [1.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [1.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -### Features - -- add remaining examples to InputSearch docs and additional testing examples and validation ([e527dd9](https://github.com/WPMedia/wpds-ui-kit/commit/e527dd91940eb47df0c61a5aae31a01270652075)) - -## [1.8.5](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [1.8.4](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [1.8.3](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [1.8.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [1.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [1.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/WPMedia/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/WPMedia/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [1.7.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add cancel button to input type search ([#405](https://github.com/WPMedia/wpds-ui-kit/issues/405)) ([e20e9ec](https://github.com/WPMedia/wpds-ui-kit/commit/e20e9ecc64f98e7761486d2d55845e2cefac7834)) -- add NavigationMenu component ([#408](https://github.com/WPMedia/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/WPMedia/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [1.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [1.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/WPMedia/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/WPMedia/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [1.5.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [1.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [1.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Bug Fixes - -- remove animations when user has reduced motion settings turned on [SRED-136] ([#357](https://github.com/WPMedia/wpds-ui-kit/issues/357)) ([3c08bec](https://github.com/WPMedia/wpds-ui-kit/commit/3c08bec85394fca28bdad816a67cd83956821df4)) - -# [1.2.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [1.1.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/WPMedia/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/WPMedia/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.24.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [0.23.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [0.23.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.23.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.22.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -### Bug Fixes - -- add asterisk to required checkbox to match input required styles ([#299](https://github.com/WPMedia/wpds-ui-kit/issues/299)) ([f1bdc33](https://github.com/WPMedia/wpds-ui-kit/commit/f1bdc33f94cb0b14058fe988f4b1e5074f8a1bf2)) -- input field label autocomplete bug fix ([#289](https://github.com/WPMedia/wpds-ui-kit/issues/289)) ([09c2bd0](https://github.com/WPMedia/wpds-ui-kit/commit/09c2bd09780c2c9cc0ab05fcbaa0b2d47d5ff1d7)) - -# [0.21.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [0.20.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.20.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [0.19.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.19.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.18.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -### Bug Fixes - -- float label on controlled input value changes ([949f7df](https://github.com/WPMedia/wpds-ui-kit/commit/949f7dfd19d2610bb904085dcc63231ea66c3de9)) - -## [0.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [0.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -## [0.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-input-shared - -# [0.8.0-experimental.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -### Features - -- add compoent names to package descripton ([57f9c6c](https://github.com/WPMedia/wpds-ui-kit/commit/57f9c6cc57f15b290593aad22cd436054eb25256)) - -# [0.8.0-experimental.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -# [0.8.0-experimental.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -### Features - -- add new InputText component ([e3fbc61](https://github.com/WPMedia/wpds-ui-kit/commit/e3fbc6187ffa798306b123e56004932d6fcb0380)) diff --git a/ui/input-shared/README.md b/ui/input-shared/README.md deleted file mode 100644 index a1337bab2..000000000 --- a/ui/input-shared/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# InputShared - -```jsx -import { InputShared } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/input-shared/package.json b/ui/input-shared/package.json deleted file mode 100644 index 72d8bfb60..000000000 --- a/ui/input-shared/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "@washingtonpost/wpds-input-shared", - "version": "1.17.0", - "description": "WPDS InputShared", - "author": "WPDS Support ", - "homepage": "https://github.com/WPMedia/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/WPMedia/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/WPMedia/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/input-text/CHANGELOG.md b/ui/input-text/CHANGELOG.md deleted file mode 100644 index 152a11b60..000000000 --- a/ui/input-text/CHANGELOG.md +++ /dev/null @@ -1,320 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [1.16.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [1.16.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [1.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -### Bug Fixes - -- handle Carousel item focus corectly when child button is clicked ([29b9459](https://github.com/WPMedia/wpds-ui-kit/commit/29b945934b7f596f76729d0243410330b867503e)) - -# [1.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -### Bug Fixes - -- input text event issue ([#513](https://github.com/WPMedia/wpds-ui-kit/issues/513)) ([d5ee574](https://github.com/WPMedia/wpds-ui-kit/commit/d5ee574b80375706db04cd2b6b4c8b786b54727a)) - -# [1.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [1.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [1.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [1.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/WPMedia/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/WPMedia/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Features - -- bump wam in packages ([#475](https://github.com/WPMedia/wpds-ui-kit/issues/475)) ([9445877](https://github.com/WPMedia/wpds-ui-kit/commit/9445877299f34d3bb3ed110badc66aa7b682687a)) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/WPMedia/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/WPMedia/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -### Bug Fixes - -- add autofocus style to input ([#451](https://github.com/WPMedia/wpds-ui-kit/issues/451)) ([31ae39a](https://github.com/WPMedia/wpds-ui-kit/commit/31ae39af69b732549567a7adde0c6378f96b45d7)) - -## [1.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [1.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [1.8.5](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [1.8.4](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [1.8.3](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -### Bug Fixes - -- type InputText buttons as buttons to prevent form submission ([6d07599](https://github.com/WPMedia/wpds-ui-kit/commit/6d07599fcbf03676469cced8921e31226071db50)) - -## [1.8.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [1.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [1.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/WPMedia/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/WPMedia/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [1.7.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add cancel button to input type search ([#405](https://github.com/WPMedia/wpds-ui-kit/issues/405)) ([e20e9ec](https://github.com/WPMedia/wpds-ui-kit/commit/e20e9ecc64f98e7761486d2d55845e2cefac7834)) -- add NavigationMenu component ([#408](https://github.com/WPMedia/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/WPMedia/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [1.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [1.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/WPMedia/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/WPMedia/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [1.5.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [1.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [1.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Bug Fixes - -- remove animations when user has reduced motion settings turned on [SRED-136] ([#357](https://github.com/WPMedia/wpds-ui-kit/issues/357)) ([3c08bec](https://github.com/WPMedia/wpds-ui-kit/commit/3c08bec85394fca28bdad816a67cd83956821df4)) - -### Features - -- upgrade wpds-assets to v1.18.0 in root and build.washingtonpost.com [SRED-100] ([#361](https://github.com/WPMedia/wpds-ui-kit/issues/361)) ([80f6414](https://github.com/WPMedia/wpds-ui-kit/commit/80f64144c0476c0d7a726ed3cf4720b788e036aa)) - -# [1.2.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -### Features - -- add Carousel component ([#347](https://github.com/WPMedia/wpds-ui-kit/issues/347)) ([df0c3fc](https://github.com/WPMedia/wpds-ui-kit/commit/df0c3fcc8feb42457f2992d921277f3e885c6f97)) - -# [1.1.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/WPMedia/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/WPMedia/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [1.0.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.25.1...v1.0.0) (2023-03-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [0.25.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.25.0...v0.25.1) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [0.25.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [0.24.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [0.23.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [0.23.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [0.23.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [0.22.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -### Bug Fixes - -- changed import style to fix missing api table ([#296](https://github.com/WPMedia/wpds-ui-kit/issues/296)) ([0338e1a](https://github.com/WPMedia/wpds-ui-kit/commit/0338e1ac61f7ca38c52296216254679ff4955812)) -- float input label when placeholder text is present ([6fe91b4](https://github.com/WPMedia/wpds-ui-kit/commit/6fe91b43e91cdf2646f85bdef66822b01eecd0b1)) -- input field label autocomplete bug fix ([#289](https://github.com/WPMedia/wpds-ui-kit/issues/289)) ([09c2bd0](https://github.com/WPMedia/wpds-ui-kit/commit/09c2bd09780c2c9cc0ab05fcbaa0b2d47d5ff1d7)) - -### Features - -- bump radix deps ([6c85f68](https://github.com/WPMedia/wpds-ui-kit/commit/6c85f68fec01df5d2a62843667ad7589dccf213b)) - -# [0.21.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -### Features - -- bump wam to v1.13.0 ([2f027f0](https://github.com/WPMedia/wpds-ui-kit/commit/2f027f005d7d150ef7bcc837319e2f3047419c6b)) - -## [0.20.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [0.20.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [0.19.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [0.19.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -### Bug Fixes - -- add css prop input text container ([#234](https://github.com/WPMedia/wpds-ui-kit/issues/234)) ([2945f1f](https://github.com/WPMedia/wpds-ui-kit/commit/2945f1ffff6e5d961da60848d2e4c3cbc6eabb2a)) - -# [0.18.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [0.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [0.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -### Bug Fixes - -- **deps:** bump @washingtonpost/wpds-assets from 1.11.0 to 1.12.0 ([#205](https://github.com/WPMedia/wpds-ui-kit/issues/205)) ([aed89ae](https://github.com/WPMedia/wpds-ui-kit/commit/aed89aeb8ad75b8b6bfe7636498e785b2788fad9)) - -# [0.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -- fix(theme)!: remove global margin and padding (#151) ([78c65c8](https://github.com/WPMedia/wpds-ui-kit/commit/78c65c8b590c3d90ef74aeef531269b60eccacfa)), closes [#151](https://github.com/WPMedia/wpds-ui-kit/issues/151) - -### BREAKING CHANGES - -- removes rule that set all margin and padding to zero, any component relying on this rule will need to add it back locally - -# [0.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -### Bug Fixes - -- bump wpds-assets deps ([#155](https://github.com/WPMedia/wpds-ui-kit/issues/155)) ([c9af732](https://github.com/WPMedia/wpds-ui-kit/commit/c9af732bda2ab238d4decd2bd9ab93d165efd69c)) - -- fix!: remove global transition (#142) ([bb0cf39](https://github.com/WPMedia/wpds-ui-kit/commit/bb0cf3947643b3e048b1f9834a6226ed1728d1ed)), closes [#142](https://github.com/WPMedia/wpds-ui-kit/issues/142) - -### BREAKING CHANGES - -- any element relying on global transition being present will no longer have a transition - -# [0.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [0.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -### Bug Fixes - -- float label on controlled input value changes ([949f7df](https://github.com/WPMedia/wpds-ui-kit/commit/949f7dfd19d2610bb904085dcc63231ea66c3de9)) - -## [0.11.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.1...v0.11.2) (2022-07-21) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [0.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [0.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [0.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [0.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [0.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -## [0.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -### Bug Fixes - -- **input:** reorder onBlur and onChange args in order to send callbacks to proper places ([ae30072](https://github.com/WPMedia/wpds-ui-kit/commit/ae30072d9e33e2f009fb07e5b5e07adbe6ae8370)) - -# [0.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-input-text - -# [0.8.0-experimental.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -### Features - -- add compoent names to package descripton ([57f9c6c](https://github.com/WPMedia/wpds-ui-kit/commit/57f9c6cc57f15b290593aad22cd436054eb25256)) - -# [0.8.0-experimental.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -# [0.8.0-experimental.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -### Features - -- add InputPassword component ([e03ab07](https://github.com/WPMedia/wpds-ui-kit/commit/e03ab07e904a1b0bc6762b9a1ddd2cf8f920f0aa)) -- add new InputText component ([e3fbc61](https://github.com/WPMedia/wpds-ui-kit/commit/e3fbc6187ffa798306b123e56004932d6fcb0380)) - -# [0.7.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.2...v0.7.0) (2022-04-07) - -### Features - -- add new InputText component ([74042b2](https://github.com/WPMedia/wpds-ui-kit/commit/74042b2463b2cc09336c20bcbbd28d789bd75194)) diff --git a/ui/input-text/README.md b/ui/input-text/README.md deleted file mode 100644 index 99ad0fe80..000000000 --- a/ui/input-text/README.md +++ /dev/null @@ -1,122 +0,0 @@ -# InputText - -### Handling browser autofill - -It is now standard practice for browsers to save users information and use it to autofill forms for them to provide users with the best experience. - -Reasons this can be tricky: - -- Browsers override our styles with theirs in these situations. This means they add a blue or yellow background on the inputs that have been autofilled and that could clash with our styles. -- Autofilling a form does _not_ trigger any events on the input. This can cause issues if, for instance, you have a floating label that is triggered solely by JS like we do. - -Tackling the first problem isn't too difficult. All we have to do is apply the styles that we want targeting the pseudo element that the browsers add. We use `-webkit-box-shadow` to override the yellow/blue background color the browser adds to the input. We also need to set the color of the font - especially so that you can read the text in dark mode. - -```js -"&:-webkit-autofill": { - "-webkit-box-shadow": `0 0 0 100px ${theme.colors.secondary} inset`, - "-webkit-text-fill-color": `${theme.colors.primary}`, - }, -``` - -The second problem is trickier to solve. How can we make our label float when no event is triggered on the autofill? - -Approaches we can take: - -- Use an interval/timeout to check whether the pseudo class has been applied. - - This is not the best approach because it can make the page slower. Also,We are working on a component level, which means that each input component on the form would have one of these timers. Imagine a page full of inputs with each input having a never-ending interval! The horror! -- Use the `:has` selector. - - This could work, but it's not the best solution. We would have to poll the input to see if the selector has been applied. Additionally, the `:has` selector is still a draft and not fully supported by all browsers. -- Listen for an animation change and use that to trigger label. - - This is the solution we ultimately went with. A more thorough explanation can be found below, but essentially add an animation to the autofill pseudo class selectors and use JS to listen for the change. - -#### Our solution - -From all the possible approaches, we opted to go with listening to the animation. This solution was adapted from a [solution Klarna UI](https://medium.com/@brunn/detecting-autofilled-fields-in-javascript-aed598d25da7) has used in the past. - -To start, we had to add the animation on the autofill pseudo selectors. We created two animations and called them inside the autofill selectors. Note: We need to add these animations to the globalCss because stitches will change the class names and we won't be able to match them inside of our component. We couldn't just add them to globalStyles, however, because not all teams have adopted and/or are using our global styles. - -```js -export const globalInputAutoFillTriggerAnimations = globalCss({ - "@keyframes jsTriggerAutoFillStart": { - from: { - alpha: 1, - }, - }, - "@keyframes jsTriggerAutoFillCancel": { - from: { - alpha: 1, - }, - }, -}); -``` - -```js -export const unstyledInputStyles = { - "&:-webkit-autofill": { - "-webkit-box-shadow": `0 0 0 100px ${theme.colors.secondary} inset`, - "-webkit-text-fill-color": `${theme.colors.primary}`, - // used to trigger JS so that we can do the label shrinking - animation: "jsTriggerAutoFillStart 200ms", - }, - - "&:not(:-webkit-autofill)": { - // used to trigger JS so that we can stop the label shrinking - animation: "jsTriggerAutoFillCancel 200ms", - }, - - "@reducedMotion": { - animation: "none", - }, -}; -``` - -In our component we now have to create an event listener to listen to these animations. We need to check the animationName to make sure that it matches either the start or cancel, so that our label floats or stays normal accordingly. - -For this component, we also accept a reference from outside and have an interal reference to keep track of our listener. We have to make sure that we don't forget about the external reference. - -```js -export const InputText = () => { - // This useEffect checks whether we have an external reference. - // If so, then we take it into account - useEffect(() => { - if (!ref) return; - - if (typeof ref === "function") { - ref(internalRef.current); - } else { - ref.current = internalRef.current; - } - }, [ref, internalRef]); - - useEffect(() => { - const element = internalRef.current; - - const onAnimationStart = (e) => { - // This switch case will not work due to the way stitches does classes - switch (e.animationName) { - case "jsTriggerAutoFillStart": - return setIsAutofilled(true); - case "jsTriggerAutoFillCancel": - return setIsAutofilled(false); - } - }; - - element?.addEventListener("animationstart", onAnimationStart, false); - - // don't forget to clean up your listener - return () => { - element?.removeEventListener("animationstart", onAnimationStart, false); - }; - }); -}; -``` - -Some extra resources: - -- https://medium.com/@brunn/detecting-autofilled-fields-in-javascript-aed598d25da7 -- https://stackoverflow.com/questions/11708092/detecting-browser-autofill?page=1&tab=scoredesc#tab-top -- https://github.com/mui/material-ui/issues/22488 -- https://github.com/mui/material-ui/issues/14427 -- http://webagility.com/posts/the-ultimate-list-of-hacks-for-chromes-forced-yellow-background-on-autocompleted-inputs -- https://stackoverflow.com/questions/22631943/change-font-color-of-autofill-input-field -- https://developer.mozilla.org/en-US/docs/Web/CSS/:has diff --git a/ui/input-text/package.json b/ui/input-text/package.json deleted file mode 100644 index e23a194a0..000000000 --- a/ui/input-text/package.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "name": "@washingtonpost/wpds-input-text", - "version": "1.17.0", - "description": "WPDS InputText", - "author": "WPDS Support ", - "homepage": "https://github.com/WPMedia/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/WPMedia/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/WPMedia/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "*", - "@washingtonpost/wpds-divider": "*", - "@washingtonpost/wpds-error-message": "*", - "@washingtonpost/wpds-helper-text": "*", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-input-label": "*", - "@washingtonpost/wpds-input-shared": "*", - "@washingtonpost/wpds-theme": "*", - "@washingtonpost/wpds-visually-hidden": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@radix-ui/react-label": "^1.0.0", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-error-message": "1.17.0", - "@washingtonpost/wpds-helper-text": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-input-label": "1.17.0", - "@washingtonpost/wpds-input-shared": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "@washingtonpost/wpds-visually-hidden": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/input-textarea/CHANGELOG.md b/ui/input-textarea/CHANGELOG.md deleted file mode 100644 index eb4c10fb4..000000000 --- a/ui/input-textarea/CHANGELOG.md +++ /dev/null @@ -1,275 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [1.16.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [1.16.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -### Bug Fixes - -- prevent content and label overlap in InputTextarea ([3221741](https://github.com/WPMedia/wpds-ui-kit/commit/322174186b61a723b9fcc6fc07c88d7abff624de)) - -# [1.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [1.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [1.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [1.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [1.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [1.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/WPMedia/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/WPMedia/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/WPMedia/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/WPMedia/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -### Bug Fixes - -- add autofocus style to input ([#451](https://github.com/WPMedia/wpds-ui-kit/issues/451)) ([31ae39a](https://github.com/WPMedia/wpds-ui-kit/commit/31ae39af69b732549567a7adde0c6378f96b45d7)) - -## [1.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [1.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [1.8.5](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [1.8.4](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [1.8.3](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [1.8.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [1.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [1.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/WPMedia/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/WPMedia/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [1.7.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add cancel button to input type search ([#405](https://github.com/WPMedia/wpds-ui-kit/issues/405)) ([e20e9ec](https://github.com/WPMedia/wpds-ui-kit/commit/e20e9ecc64f98e7761486d2d55845e2cefac7834)) -- add NavigationMenu component ([#408](https://github.com/WPMedia/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/WPMedia/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [1.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [1.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/WPMedia/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/WPMedia/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [1.5.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [1.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [1.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Bug Fixes - -- remove animations when user has reduced motion settings turned on [SRED-136] ([#357](https://github.com/WPMedia/wpds-ui-kit/issues/357)) ([3c08bec](https://github.com/WPMedia/wpds-ui-kit/commit/3c08bec85394fca28bdad816a67cd83956821df4)) - -# [1.2.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -### Features - -- add Carousel component ([#347](https://github.com/WPMedia/wpds-ui-kit/issues/347)) ([df0c3fc](https://github.com/WPMedia/wpds-ui-kit/commit/df0c3fcc8feb42457f2992d921277f3e885c6f97)) - -# [1.1.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/WPMedia/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/WPMedia/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.24.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [0.23.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [0.23.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.23.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.22.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -### Bug Fixes - -- changed import style to fix missing api table ([#296](https://github.com/WPMedia/wpds-ui-kit/issues/296)) ([0338e1a](https://github.com/WPMedia/wpds-ui-kit/commit/0338e1ac61f7ca38c52296216254679ff4955812)) -- float input label when placeholder text is present ([6fe91b4](https://github.com/WPMedia/wpds-ui-kit/commit/6fe91b43e91cdf2646f85bdef66822b01eecd0b1)) -- input field label autocomplete bug fix ([#289](https://github.com/WPMedia/wpds-ui-kit/issues/289)) ([09c2bd0](https://github.com/WPMedia/wpds-ui-kit/commit/09c2bd09780c2c9cc0ab05fcbaa0b2d47d5ff1d7)) - -# [0.21.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -### Bug Fixes - -- honor required prop in InputTextarea ([46e0b19](https://github.com/WPMedia/wpds-ui-kit/commit/46e0b19c25ac99e6f2fb956ca4c21d0a7c34b108)) - -## [0.20.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.20.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [0.19.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.19.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.18.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -- fix!: remove global transition (#142) ([bb0cf39](https://github.com/WPMedia/wpds-ui-kit/commit/bb0cf3947643b3e048b1f9834a6226ed1728d1ed)), closes [#142](https://github.com/WPMedia/wpds-ui-kit/issues/142) - -### BREAKING CHANGES - -- any element relying on global transition being present will no longer have a transition - -# [0.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [0.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [0.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -## [0.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -### Bug Fixes - -- **input:** reorder onBlur and onChange args in order to send callbacks to proper places ([ae30072](https://github.com/WPMedia/wpds-ui-kit/commit/ae30072d9e33e2f009fb07e5b5e07adbe6ae8370)) - -# [0.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-input-textarea - -# [0.8.0-experimental.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -### Features - -- add compoent names to package descripton ([57f9c6c](https://github.com/WPMedia/wpds-ui-kit/commit/57f9c6cc57f15b290593aad22cd436054eb25256)) - -# [0.8.0-experimental.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -### Bug Fixes - -- ensure all component class dependencies in ui-kit ([bd9a862](https://github.com/WPMedia/wpds-ui-kit/commit/bd9a862b75451d5ff9e5dcdbd2600dfd8e0557c4)) - -# [0.8.0-experimental.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -### Features - -- add new InputText component ([e3fbc61](https://github.com/WPMedia/wpds-ui-kit/commit/e3fbc6187ffa798306b123e56004932d6fcb0380)) diff --git a/ui/input-textarea/README.md b/ui/input-textarea/README.md deleted file mode 100644 index c46292a63..000000000 --- a/ui/input-textarea/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextArea - -```jsx -import { InputTextarea } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/input-textarea/package.json b/ui/input-textarea/package.json deleted file mode 100644 index e6897cc8e..000000000 --- a/ui/input-textarea/package.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "@washingtonpost/wpds-input-textarea", - "version": "1.17.0", - "description": "WPDS InputTextarea", - "author": "WPDS Support ", - "homepage": "https://github.com/WPMedia/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/WPMedia/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/WPMedia/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-error-message": "*", - "@washingtonpost/wpds-helper-text": "*", - "@washingtonpost/wpds-input-label": "*", - "@washingtonpost/wpds-input-shared": "*", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@washingtonpost/wpds-error-message": "1.17.0", - "@washingtonpost/wpds-helper-text": "1.17.0", - "@washingtonpost/wpds-input-label": "1.17.0", - "@washingtonpost/wpds-input-shared": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/input-textarea/src/play.stories.tsx b/ui/input-textarea/src/play.stories.tsx deleted file mode 100644 index e2cf12293..000000000 --- a/ui/input-textarea/src/play.stories.tsx +++ /dev/null @@ -1,38 +0,0 @@ -import * as React from "react"; -import { InputTextarea as Component } from "./"; -import type { ComponentMeta, ComponentStory } from "@storybook/react"; - -export default { - title: "InputTextarea", - component: Component, -} as ComponentMeta; - -const Template: ComponentStory = (args) => ( - -); - -export const Play = Template.bind({}); - -Play.storyName = "InputTextarea"; - -Play.args = { - canResize: false, - name: "text-area-1", - id: "text-area-1", - label: "Label", -}; - -Play.argTypes = { - helperText: { control: "text" }, -}; - -export const Error = Template.bind({}); - -Error.args = { - canResize: false, - name: "text-area-2", - id: "text-area-2", - label: "Label", - error: true, - errorMessage: "Error message", -}; diff --git a/ui/kit/CHANGELOG.md b/ui/kit/CHANGELOG.md deleted file mode 100644 index 7529f6681..000000000 --- a/ui/kit/CHANGELOG.md +++ /dev/null @@ -1,388 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [1.3.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.2.1...v1.3.0) (2023-03-17) - -### Features - -- tabs component [SRED-67] ([#340](https://github.com/washingtonpost/wpds-ui-kit/issues/340)) ([93bdc36](https://github.com/washingtonpost/wpds-ui-kit/commit/93bdc36da85e8fb27db07d5846a14ab15ad9fddf)) - -## [1.2.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.2.0...v1.2.1) (2023-03-16) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -### Features - -- add Carousel component ([#347](https://github.com/washingtonpost/wpds-ui-kit/issues/347)) ([df0c3fc](https://github.com/washingtonpost/wpds-ui-kit/commit/df0c3fcc8feb42457f2992d921277f3e885c6f97)) - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [1.0.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.1...v1.0.0) (2023-03-02) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.25.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.0...v0.25.1) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -### Features - -- **ui-kit:** add card component and stories ([#259](https://github.com/washingtonpost/wpds-ui-kit/issues/259)) ([5ce09e0](https://github.com/washingtonpost/wpds-ui-kit/commit/5ce09e0f7b6e829b9b72cd1fdf2090f0967a8b0e)) - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -### Bug Fixes - -- update kit package with select dependency ([#255](https://github.com/washingtonpost/wpds-ui-kit/issues/255)) ([a3b3f2e](https://github.com/washingtonpost/wpds-ui-kit/commit/a3b3f2e8dea90bc3c644fd47308bbd8f56ea2412)) - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.19.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -### Features - -- add scrim component ([#211](https://github.com/washingtonpost/wpds-ui-kit/issues/211)) ([2cbc8b6](https://github.com/washingtonpost/wpds-ui-kit/commit/2cbc8b6573961aff2f754a2184fcc451cb8c1258)) -- create tooltip ([#212](https://github.com/washingtonpost/wpds-ui-kit/issues/212)) ([1250769](https://github.com/washingtonpost/wpds-ui-kit/commit/12507691245dae165817586f171e65e52d9718e7)) - -# [0.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -### Features - -- add drawer component ([#190](https://github.com/washingtonpost/wpds-ui-kit/issues/190)) ([94c6276](https://github.com/washingtonpost/wpds-ui-kit/commit/94c62764a6bacf3756b5fd5da7089e018ddaf212)) - -# [0.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -### Features - -- PaginationDots component ([#135](https://github.com/washingtonpost/wpds-ui-kit/issues/135)) ([87d60c3](https://github.com/washingtonpost/wpds-ui-kit/commit/87d60c3977b50f1280869e6a780dec91461f3941)) - -# [0.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.11.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.1...v0.11.2) (2022-07-21) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -### Features - -- add avatar component + storybook example ([#122](https://github.com/washingtonpost/wpds-ui-kit/issues/122)) ([6e30047](https://github.com/washingtonpost/wpds-ui-kit/commit/6e300477110a128bb2ffb3809fe9cd4fc4f8c738)) - -# [0.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0...v0.8.1) (2022-05-11) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.2...v0.8.0) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.8.0-experimental.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.5...v0.8.0-experimental.2) (2022-04-29) - -# [0.8.0-experimental.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.8.0-experimental.0...v0.8.0-experimental.1) (2022-04-28) - -### Bug Fixes - -- ensure all component class dependencies in ui-kit ([bd9a862](https://github.com/washingtonpost/wpds-ui-kit/commit/bd9a862b75451d5ff9e5dcdbd2600dfd8e0557c4)) - -# [0.8.0-experimental.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.8.0-experimental.0) (2022-04-22) - -### Features - -- add InputPassword component ([e03ab07](https://github.com/washingtonpost/wpds-ui-kit/commit/e03ab07e904a1b0bc6762b9a1ddd2cf8f920f0aa)) -- add new InputText component ([e3fbc61](https://github.com/washingtonpost/wpds-ui-kit/commit/e3fbc6187ffa798306b123e56004932d6fcb0380)) - -# [0.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.7.0) (2022-04-07) - -### Features - -- add new InputText component ([74042b2](https://github.com/washingtonpost/wpds-ui-kit/commit/74042b2463b2cc09336c20bcbbd28d789bd75194)) - -## [0.6.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.4...v0.6.5) (2022-04-29) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.6.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.3...v0.6.4) (2022-04-21) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.6.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.6.2...v0.6.3) (2022-04-13) - -### Bug Fixes - -- update license to MIT ([d20aa68](https://github.com/washingtonpost/wpds-ui-kit/commit/d20aa68c3bf0ef65fdaf05981ae993a63e3380ea)) - -## [0.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.1...v0.6.2) (2022-03-14) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.6.0...v0.6.1) (2022-03-09) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.5.0...v0.6.0) (2022-03-09) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.5...v0.5.0) (2022-03-07) - -### Bug Fixes - -- checkbox bug with stitches props ([d1e510d](https://github.com/WPMedia/wpds-ui-kit/commit/d1e510d565e35b341de432911fc304c23728a33b)) - -## [0.4.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.4.4...v0.4.5) (2022-03-04) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.7...v0.4.0) (2022-03-03) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.3.7](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.6...v0.3.7) (2022-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.3.6](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.6) (2022-03-01) - -### Bug Fixes - -- bump pkgs ([e2833e7](https://github.com/WPMedia/wpds-ui-kit/commit/e2833e7b1a7738d7f87062be28d9f53dee542c14)) - -## [0.3.5](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.5) (2022-03-01) - -### Bug Fixes - -- bump pkgs ([e2833e7](https://github.com/WPMedia/wpds-ui-kit/commit/e2833e7b1a7738d7f87062be28d9f53dee542c14)) - -## [0.3.3](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.2...v0.3.3) (2022-03-01) - -### Bug Fixes - -- bump pkgs ([e2833e7](https://github.com/WPMedia/wpds-ui-kit/commit/e2833e7b1a7738d7f87062be28d9f53dee542c14)) - -## [0.3.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.1...v0.3.2) (2022-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -## [0.3.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.3.0...v0.3.1) (2022-02-28) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.3.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.2.1...v0.3.0) (2022-02-25) - -### Bug Fixes - -- all the issues ([f9b73b5](https://github.com/WPMedia/wpds-ui-kit/commit/f9b73b5e916244c192a386c605de74b5a16bc9e4)) - -### Features - -- alert banner ([56deb3f](https://github.com/WPMedia/wpds-ui-kit/commit/56deb3f08b62a5d3691f4056d54e8383bff91b97)) -- container ([d5d0153](https://github.com/WPMedia/wpds-ui-kit/commit/d5d0153fe8afe4982efea258e390b566284198ce)) -- yolo app bar ([d645331](https://github.com/WPMedia/wpds-ui-kit/commit/d645331c2d900d453ebb82198752de7bad997e27)) - -## [0.2.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.2.0...v0.2.1) (2022-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.2.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.1.0...v0.2.0) (2022-01-26) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit - -# [0.1.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.1.0-experimental.21...v0.1.0) (2022-01-24) - -**Note:** Version bump only for package @washingtonpost/wpds-ui-kit diff --git a/ui/kit/README.md b/ui/kit/README.md deleted file mode 100644 index 4f191637d..000000000 --- a/ui/kit/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @washingtonpost/wpds-ui-kit - -```bash -npm i @washingtonpost/wpds-ui-kit -``` - -```jsx -import * as React from "react"; -import * as Kit from "@washingtonpost/wpds-ui-kit"; -import * as Icons from "your-icons"; - -export const MyCoolComponent = () => { - return ( - - - - ); -}; -``` diff --git a/ui/kit/package.json b/ui/kit/package.json deleted file mode 100644 index e18aed8b0..000000000 --- a/ui/kit/package.json +++ /dev/null @@ -1,113 +0,0 @@ -{ - "name": "@washingtonpost/wpds-ui-kit", - "version": "1.17.0", - "description": "WPDS UI Kit", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "publishConfig": { - "access": "public" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "dependencies": { - "@washingtonpost/eslint-plugin-wpds": "1.17.0", - "@washingtonpost/wpds-accordion": "1.17.0", - "@washingtonpost/wpds-action-menu": "1.17.0", - "@washingtonpost/wpds-alert-banner": "1.17.0", - "@washingtonpost/wpds-app-bar": "1.17.0", - "@washingtonpost/wpds-avatar": "1.17.0", - "@washingtonpost/wpds-box": "1.17.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-card": "1.17.0", - "@washingtonpost/wpds-carousel": "1.17.0", - "@washingtonpost/wpds-checkbox": "1.17.0", - "@washingtonpost/wpds-container": "1.17.0", - "@washingtonpost/wpds-divider": "1.17.0", - "@washingtonpost/wpds-drawer": "1.17.0", - "@washingtonpost/wpds-error-message": "1.17.0", - "@washingtonpost/wpds-fieldset": "1.17.0", - "@washingtonpost/wpds-helper-text": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-input-label": "1.17.0", - "@washingtonpost/wpds-input-password": "1.17.0", - "@washingtonpost/wpds-input-search": "1.17.0", - "@washingtonpost/wpds-input-shared": "1.17.0", - "@washingtonpost/wpds-input-text": "1.17.0", - "@washingtonpost/wpds-input-textarea": "1.17.0", - "@washingtonpost/wpds-navigation-menu": "1.17.0", - "@washingtonpost/wpds-pagination-dots": "1.17.0", - "@washingtonpost/wpds-popover": "1.17.0", - "@washingtonpost/wpds-radio-group": "1.17.0", - "@washingtonpost/wpds-scrim": "1.17.0", - "@washingtonpost/wpds-select": "1.17.0", - "@washingtonpost/wpds-switch": "1.17.0", - "@washingtonpost/wpds-tabs": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0", - "@washingtonpost/wpds-tooltip": "1.17.0", - "@washingtonpost/wpds-visually-hidden": "1.17.0" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/eslint-plugin-wpds": "*", - "@washingtonpost/wpds-accordion": "*", - "@washingtonpost/wpds-action-menu": "*", - "@washingtonpost/wpds-alert-banner": "*", - "@washingtonpost/wpds-app-bar": "*", - "@washingtonpost/wpds-avatar": "*", - "@washingtonpost/wpds-box": "*", - "@washingtonpost/wpds-button": "*", - "@washingtonpost/wpds-card": "*", - "@washingtonpost/wpds-carousel": "*", - "@washingtonpost/wpds-checkbox": "*", - "@washingtonpost/wpds-container": "*", - "@washingtonpost/wpds-divider": "*", - "@washingtonpost/wpds-drawer": "*", - "@washingtonpost/wpds-error-message": "*", - "@washingtonpost/wpds-fieldset": "*", - "@washingtonpost/wpds-helper-text": "*", - "@washingtonpost/wpds-icon": "*", - "@washingtonpost/wpds-input-label": "*", - "@washingtonpost/wpds-input-password": "*", - "@washingtonpost/wpds-input-search": "*", - "@washingtonpost/wpds-input-shared": "*", - "@washingtonpost/wpds-input-text": "*", - "@washingtonpost/wpds-input-textarea": "*", - "@washingtonpost/wpds-navigation-menu": "*", - "@washingtonpost/wpds-pagination-dots": "*", - "@washingtonpost/wpds-popover": "*", - "@washingtonpost/wpds-radio-group": "*", - "@washingtonpost/wpds-scrim": "*", - "@washingtonpost/wpds-select": "*", - "@washingtonpost/wpds-switch": "*", - "@washingtonpost/wpds-tabs": "*", - "@washingtonpost/wpds-theme": "*", - "@washingtonpost/wpds-tooltip": "*", - "@washingtonpost/wpds-visually-hidden": "*" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/kit/src/index.ts b/ui/kit/src/index.ts deleted file mode 100644 index 2d258b709..000000000 --- a/ui/kit/src/index.ts +++ /dev/null @@ -1,35 +0,0 @@ -// insert new component exports here -export * from "@washingtonpost/wpds-action-menu"; -export * from "@washingtonpost/wpds-input-search"; -export * from "@washingtonpost/wpds-navigation-menu"; -export * from "@washingtonpost/wpds-tabs"; -export * from "@washingtonpost/wpds-switch"; -export * from "@washingtonpost/wpds-card"; -export * from "@washingtonpost/wpds-popover"; -export * from "@washingtonpost/wpds-select"; -export * from "@washingtonpost/wpds-carousel"; -export * from "@washingtonpost/wpds-tooltip"; -export * from "@washingtonpost/wpds-scrim"; -export * from "@washingtonpost/wpds-drawer"; -export * from "@washingtonpost/wpds-accordion"; -export * from "@washingtonpost/wpds-pagination-dots"; -export * from "@washingtonpost/wpds-avatar"; -export * from "@washingtonpost/wpds-divider"; -export * from "@washingtonpost/wpds-fieldset"; -export * from "@washingtonpost/wpds-radio-group"; -export * from "@washingtonpost/wpds-helper-text"; -export * from "@washingtonpost/wpds-error-message"; -export * from "@washingtonpost/wpds-input-label"; -export * from "@washingtonpost/wpds-input-shared"; -export * from "@washingtonpost/wpds-input-password"; -export * from "@washingtonpost/wpds-input-text"; -export * from "@washingtonpost/wpds-input-textarea"; -export * from "@washingtonpost/wpds-checkbox"; -export * from "@washingtonpost/wpds-alert-banner"; -export * from "@washingtonpost/wpds-button"; -export * from "@washingtonpost/wpds-app-bar"; -export * from "@washingtonpost/wpds-container"; -export * from "@washingtonpost/wpds-theme"; -export * from "@washingtonpost/wpds-icon"; -export * from "@washingtonpost/wpds-visually-hidden"; -export * from "@washingtonpost/wpds-box"; diff --git a/ui/navigation-menu/CHANGELOG.md b/ui/navigation-menu/CHANGELOG.md deleted file mode 100644 index ddc15bfca..000000000 --- a/ui/navigation-menu/CHANGELOG.md +++ /dev/null @@ -1,98 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -### Bug Fixes - -- allow clicking of interactive elements below NavigationMenu ([a3de5ad](https://github.com/washingtonpost/wpds-ui-kit/commit/a3de5ad35940498ac6d718a1e3e9aa3314d30490)) - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-navigation-menu - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) diff --git a/ui/navigation-menu/README.md b/ui/navigation-menu/README.md deleted file mode 100644 index b72e471cb..000000000 --- a/ui/navigation-menu/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# NavigationMenu - -```jsx -import { NavigationMenu } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/navigation-menu/package.json b/ui/navigation-menu/package.json deleted file mode 100644 index 27c66d1de..000000000 --- a/ui/navigation-menu/package.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "name": "@washingtonpost/wpds-navigation-menu", - "version": "1.17.0", - "description": "WPDS NavigationMenu", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react,react-dom", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react,react-dom", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@popperjs/core": "^2.11.7", - "@radix-ui/react-navigation-menu": "^1.1.2", - "@washingtonpost/wpds-theme": "1.17.0", - "popper-max-size-modifier": "^0.2.0", - "react-popper": "^2.3.0", - "react-transition-group": "^4.4.5" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/pagination-dots/CHANGELOG.md b/ui/pagination-dots/CHANGELOG.md deleted file mode 100644 index 1b25b8934..000000000 --- a/ui/pagination-dots/CHANGELOG.md +++ /dev/null @@ -1,216 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Bug Fixes - -- remove animations when user has reduced motion settings turned on [SRED-136] ([#357](https://github.com/washingtonpost/wpds-ui-kit/issues/357)) ([3c08bec](https://github.com/washingtonpost/wpds-ui-kit/commit/3c08bec85394fca28bdad816a67cd83956821df4)) - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -### Features - -- add Carousel component ([#347](https://github.com/washingtonpost/wpds-ui-kit/issues/347)) ([df0c3fc](https://github.com/washingtonpost/wpds-ui-kit/commit/df0c3fcc8feb42457f2992d921277f3e885c6f97)) - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -### Bug Fixes - -- build issue with embeds ([#320](https://github.com/washingtonpost/wpds-ui-kit/issues/320)) ([8b1344f](https://github.com/washingtonpost/wpds-ui-kit/commit/8b1344fa978e94ace5dec695480d3f8cf64ac4ed)) - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -## [0.19.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [0.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [0.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [0.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [0.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [0.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -- fix(theme)!: remove global margin and padding (#151) ([78c65c8](https://github.com/washingtonpost/wpds-ui-kit/commit/78c65c8b590c3d90ef74aeef531269b60eccacfa)), closes [#151](https://github.com/washingtonpost/wpds-ui-kit/issues/151) - -### BREAKING CHANGES - -- removes rule that set all margin and padding to zero, any component relying on this rule will need to add it back locally - -# [0.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -**Note:** Version bump only for package @washingtonpost/wpds-pagination-dots - -# [0.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -### Features - -- PaginationDots component ([#135](https://github.com/washingtonpost/wpds-ui-kit/issues/135)) ([87d60c3](https://github.com/washingtonpost/wpds-ui-kit/commit/87d60c3977b50f1280869e6a780dec91461f3941)) diff --git a/ui/pagination-dots/README.md b/ui/pagination-dots/README.md deleted file mode 100644 index 5db856c53..000000000 --- a/ui/pagination-dots/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# PaginationDots - -Pagination dots show progress over a range of items (such as a carousel of images). Mandatory props are `amount` (the total amount of dots) and `index` (the 1-indexed position of the currently active dot). Optional prop is `unitName`, which describes the type of item the dots represent (such as `page` or `image`). When `unitName` is specified, the `aria-valuetext` will read "[unitName] x of y", where x and y are numbers ([More on aria-valuetext here](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-valuetext)). - -The PaginationDots component is meant to be controlled by another component, such as a Carousel which sets/updates `amount` and `index` to represent the items being traversed. - -The parent element is meant to have a `position: relative` or `position: absolute` in order for the dots to attach to the element. - -```jsx -import { PaginationDots } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/pagination-dots/package.json b/ui/pagination-dots/package.json deleted file mode 100644 index baa07d5f0..000000000 --- a/ui/pagination-dots/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "@washingtonpost/wpds-pagination-dots", - "version": "1.17.0", - "description": "WPDS Pagination Dots and Container", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@washingtonpost/wpds-theme": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/popover/CHANGELOG.md b/ui/popover/CHANGELOG.md deleted file mode 100644 index 432a6f786..000000000 --- a/ui/popover/CHANGELOG.md +++ /dev/null @@ -1,168 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Features - -- bump wam in packages ([#475](https://github.com/washingtonpost/wpds-ui-kit/issues/475)) ([9445877](https://github.com/washingtonpost/wpds-ui-kit/commit/9445877299f34d3bb3ed110badc66aa7b682687a)) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Bug Fixes - -- remove animations when user has reduced motion settings turned on [SRED-136] ([#357](https://github.com/washingtonpost/wpds-ui-kit/issues/357)) ([3c08bec](https://github.com/washingtonpost/wpds-ui-kit/commit/3c08bec85394fca28bdad816a67cd83956821df4)) - -### Features - -- upgrade wpds-assets to v1.18.0 in root and build.washingtonpost.com [SRED-100] ([#361](https://github.com/washingtonpost/wpds-ui-kit/issues/361)) ([80f6414](https://github.com/washingtonpost/wpds-ui-kit/commit/80f64144c0476c0d7a726ed3cf4720b788e036aa)) - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [1.0.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.1...v1.0.0) (2023-03-02) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -## [0.25.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.0...v0.25.1) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-popover - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -### Bug Fixes - -- update build and dev scripts in Popover to use legacy output flag ([b777c38](https://github.com/washingtonpost/wpds-ui-kit/commit/b777c3866490c03f3cd0875fe072a9789a04c8f0)) - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-popover diff --git a/ui/popover/README.md b/ui/popover/README.md deleted file mode 100644 index 12f7079f5..000000000 --- a/ui/popover/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Popover - -```jsx -import { Popover } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/popover/package.json b/ui/popover/package.json deleted file mode 100644 index 79a2baa54..000000000 --- a/ui/popover/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "@washingtonpost/wpds-popover", - "version": "1.17.0", - "description": "WPDS Popover", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "^1.18.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@radix-ui/react-popover": "^1.0.2", - "@washingtonpost/wpds-assets": "^1.22.0", - "@washingtonpost/wpds-button": "1.17.0", - "@washingtonpost/wpds-icon": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/popover/src/PopoverClose.tsx b/ui/popover/src/PopoverClose.tsx deleted file mode 100644 index 3dec11e7e..000000000 --- a/ui/popover/src/PopoverClose.tsx +++ /dev/null @@ -1,44 +0,0 @@ -import * as React from "react"; -import * as PopoverPrimitive from "@radix-ui/react-popover"; -import { styled, theme } from "@washingtonpost/wpds-theme"; -import { Button } from "@washingtonpost/wpds-button"; -import { Icon } from "@washingtonpost/wpds-icon"; -import { Close } from "@washingtonpost/wpds-assets"; - -import type * as WPDS from "@washingtonpost/wpds-theme"; -import type { PopoverCloseProps as RadixPopoverCloseProps } from "@radix-ui/react-popover"; - -const NAME = "PopoverClose"; - -const StyledButton = styled(Button, { - position: "absolute", - top: theme.space["025"], - right: theme.space["025"], - "&&": { - border: "none", - }, -}); - -export type PopoverCloseProps = { - /** Override CSS */ - css?: WPDS.CSS; -} & RadixPopoverCloseProps; - -export const PopoverClose = React.forwardRef< - HTMLButtonElement, - PopoverCloseProps ->(({ children, asChild, ...props }, ref) => ( - - {asChild ? ( - children - ) : ( - - - - - - )} - -)); - -PopoverClose.displayName = NAME; diff --git a/ui/radio-group/CHANGELOG.md b/ui/radio-group/CHANGELOG.md deleted file mode 100644 index b4b6bd51f..000000000 --- a/ui/radio-group/CHANGELOG.md +++ /dev/null @@ -1,241 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [1.16.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [1.16.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [1.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [1.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [1.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [1.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [1.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [1.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- allow for RadioButtons in RadioGroup to wrap ([cbae96e](https://github.com/WPMedia/wpds-ui-kit/commit/cbae96edc40c41aa4b664ef3f0dda1681261aa11)) -- rerun linting and formatting ([#483](https://github.com/WPMedia/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/WPMedia/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/WPMedia/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/WPMedia/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [1.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [1.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [1.8.5](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [1.8.4](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [1.8.3](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [1.8.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [1.8.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [1.8.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/WPMedia/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/WPMedia/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [1.7.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/WPMedia/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/WPMedia/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [1.6.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [1.6.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/WPMedia/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/WPMedia/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [1.5.1](https://github.com/WPMedia/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [1.5.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [1.4.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Bug Fixes - -- remove animations when user has reduced motion settings turned on [SRED-136] ([#357](https://github.com/WPMedia/wpds-ui-kit/issues/357)) ([3c08bec](https://github.com/WPMedia/wpds-ui-kit/commit/3c08bec85394fca28bdad816a67cd83956821df4)) - -# [1.2.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [1.1.0](https://github.com/WPMedia/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/WPMedia/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/WPMedia/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [0.24.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [0.23.2](https://github.com/WPMedia/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [0.23.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [0.23.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [0.22.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -### Features - -- bump radix deps ([6c85f68](https://github.com/WPMedia/wpds-ui-kit/commit/6c85f68fec01df5d2a62843667ad7589dccf213b)) - -# [0.21.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [0.20.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [0.20.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [0.19.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [0.19.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [0.18.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [0.17.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [0.16.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.15.0...v0.16.0) (2022-09-02) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [0.15.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.14.0...v0.15.0) (2022-08-24) - -- fix(theme)!: remove global margin and padding (#151) ([78c65c8](https://github.com/WPMedia/wpds-ui-kit/commit/78c65c8b590c3d90ef74aeef531269b60eccacfa)), closes [#151](https://github.com/WPMedia/wpds-ui-kit/issues/151) - -### BREAKING CHANGES - -- removes rule that set all margin and padding to zero, any component relying on this rule will need to add it back locally - -# [0.14.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.13.0...v0.14.0) (2022-08-12) - -- fix!: remove global transition (#142) ([bb0cf39](https://github.com/WPMedia/wpds-ui-kit/commit/bb0cf3947643b3e048b1f9834a6226ed1728d1ed)), closes [#142](https://github.com/WPMedia/wpds-ui-kit/issues/142) - -### BREAKING CHANGES - -- any element relying on global transition being present will no longer have a transition - -# [0.13.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.12.0...v0.13.0) (2022-08-05) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [0.12.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.2...v0.12.0) (2022-08-03) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [0.11.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.11.0...v0.11.1) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [0.11.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.10.0...v0.11.0) (2022-06-24) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [0.10.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.1...v0.10.0) (2022-06-21) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -## [0.9.1](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0...v0.9.1) (2022-06-10) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group - -# [0.9.0](https://github.com/WPMedia/wpds-ui-kit/compare/v0.9.0-experimental.3...v0.9.0) (2022-06-07) - -**Note:** Version bump only for package @washingtonpost/wpds-radio-group diff --git a/ui/radio-group/README.md b/ui/radio-group/README.md deleted file mode 100644 index a68835cc3..000000000 --- a/ui/radio-group/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# RadioGroup - -```jsx -import { RadioGroup } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/radio-group/package.json b/ui/radio-group/package.json deleted file mode 100644 index be5332d69..000000000 --- a/ui/radio-group/package.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "name": "@washingtonpost/wpds-radio-group", - "version": "1.17.0", - "description": "WPDS RadioGroup", - "author": "WPDS Support ", - "homepage": "https://github.com/WPMedia/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/WPMedia/wpds-ui-kit.git" - }, - "scripts": { - "test": "echo \"Error: run tests from root\" && exit 1", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" - }, - "bugs": { - "url": "https://github.com/WPMedia/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-error-message": "*", - "@washingtonpost/wpds-fieldset": "*", - "@washingtonpost/wpds-input-label": "*", - "@washingtonpost/wpds-theme": "*", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@radix-ui/react-radio-group": "^1.0.0", - "@washingtonpost/wpds-error-message": "1.17.0", - "@washingtonpost/wpds-fieldset": "1.17.0", - "@washingtonpost/wpds-input-label": "1.17.0", - "@washingtonpost/wpds-theme": "1.17.0" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/scrim/CHANGELOG.md b/ui/scrim/CHANGELOG.md deleted file mode 100644 index 51876263d..000000000 --- a/ui/scrim/CHANGELOG.md +++ /dev/null @@ -1,192 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Bug Fixes - -- remove animations when user has reduced motion settings turned on [SRED-136] ([#357](https://github.com/washingtonpost/wpds-ui-kit/issues/357)) ([3c08bec](https://github.com/washingtonpost/wpds-ui-kit/commit/3c08bec85394fca28bdad816a67cd83956821df4)) - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -## [0.19.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1-experimental.0...v0.19.1) (2022-10-17) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [0.19.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.18.0...v0.19.0) (2022-10-03) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [0.18.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.17.0...v0.18.0) (2022-09-22) - -**Note:** Version bump only for package @washingtonpost/wpds-scrim - -# [0.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.16.0...v0.17.0) (2022-09-13) - -### Features - -- add scrim component ([#211](https://github.com/washingtonpost/wpds-ui-kit/issues/211)) ([2cbc8b6](https://github.com/washingtonpost/wpds-ui-kit/commit/2cbc8b6573961aff2f754a2184fcc451cb8c1258)) diff --git a/ui/scrim/README.md b/ui/scrim/README.md deleted file mode 100644 index 2d2f2deb4..000000000 --- a/ui/scrim/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Scrim - -```jsx -import { Scrim } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return ; -} -``` diff --git a/ui/scrim/jest-setup.ts b/ui/scrim/jest-setup.ts deleted file mode 100644 index d0de870dc..000000000 --- a/ui/scrim/jest-setup.ts +++ /dev/null @@ -1 +0,0 @@ -import "@testing-library/jest-dom"; diff --git a/ui/scrim/jest.config.js b/ui/scrim/jest.config.js deleted file mode 100644 index b713b2057..000000000 --- a/ui/scrim/jest.config.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ -module.exports = { - preset: "ts-jest", - testEnvironment: "jsdom", - setupFilesAfterEnv: ["/jest-setup.ts"], - coverageReporters: ["text"], -}; diff --git a/ui/scrim/package.json b/ui/scrim/package.json deleted file mode 100644 index e5eb33500..000000000 --- a/ui/scrim/package.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "name": "@washingtonpost/wpds-scrim", - "version": "1.17.0", - "description": "WPDS Scrim", - "author": "WPDS Support ", - "homepage": "https://github.com/washingtonpost/wpds-ui-kit#readme", - "license": "MIT", - "source": "src/index.ts", - "main": "dist/index.js", - "module": "dist/esm/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "README.md", - "src" - ], - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/washingtonpost/wpds-ui-kit.git" - }, - "scripts": { - "test": "jest", - "build": "tsup src/index.ts --loader .ts=tsx --minify --format esm,cjs --dts --sourcemap --legacy-output --external react", - "dev": "tsup src/index.ts --format esm,cjs --watch --dts --legacy-output --external react", - "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", - "jest-v": "jest --version" - }, - "bugs": { - "url": "https://github.com/washingtonpost/wpds-ui-kit/issues" - }, - "devDependencies": { - "tsup": "5.11.13", - "typescript": "4.5.5" - }, - "peerDependencies": { - "@washingtonpost/wpds-theme": "^0.25.0", - "react": "^16.8.6 || ^17.0.2 || ^18" - }, - "dependencies": { - "@radix-ui/react-dialog": "^1.0.0", - "@washingtonpost/wpds-theme": "1.17.0", - "react-transition-group": "^4.4.5" - }, - "gitHead": "5ba886cfa95b3eed476edf87b1ac36d37ffe3469" -} diff --git a/ui/scrim/tsconfig.json b/ui/scrim/tsconfig.json deleted file mode 100644 index 38b3e6118..000000000 --- a/ui/scrim/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "jsx": "react", - "types": ["jest"] - }, - "include": ["**/*.test.ts", "./jest-setup.ts"] -} diff --git a/ui/select/CHANGELOG.md b/ui/select/CHANGELOG.md deleted file mode 100644 index 99ccbf394..000000000 --- a/ui/select/CHANGELOG.md +++ /dev/null @@ -1,206 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30) - -### Bug Fixes - -- refactor select layout to deal with long label text and overflow ([d16e647](https://github.com/washingtonpost/wpds-ui-kit/commit/d16e647e5f52134ba24442d08b9b252005a1188d)) - -## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -## [1.16.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.0...v1.16.1) (2023-10-31) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [1.16.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.15.0...v1.16.0) (2023-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [1.15.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.14.0...v1.15.0) (2023-10-23) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [1.14.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.13.0...v1.14.0) (2023-09-20) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [1.13.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.12.0...v1.13.0) (2023-09-18) - -### Bug Fixes - -- Floating select label SRED-446 ([#501](https://github.com/washingtonpost/wpds-ui-kit/issues/501)) ([c71efa2](https://github.com/washingtonpost/wpds-ui-kit/commit/c71efa29a1c32227251ad3bfa1dbddc6c450d9f4)) - -# [1.12.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.1...v1.12.0) (2023-09-13) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -## [1.11.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.11.0...v1.11.1) (2023-08-23) - -### Bug Fixes - -- rerun linting and formatting ([#483](https://github.com/washingtonpost/wpds-ui-kit/issues/483)) ([8de5f8a](https://github.com/washingtonpost/wpds-ui-kit/commit/8de5f8a7ddaf3b1b9cb3a8fb646d301cb003a081)) - -# [1.11.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.10.0...v1.11.0) (2023-08-16) - -### Features - -- bump wam in packages ([#475](https://github.com/washingtonpost/wpds-ui-kit/issues/475)) ([9445877](https://github.com/washingtonpost/wpds-ui-kit/commit/9445877299f34d3bb3ed110badc66aa7b682687a)) - -### Reverts - -- Revert "chore(release): publish" (#481) ([c25d111](https://github.com/washingtonpost/wpds-ui-kit/commit/c25d11199534ab28a653d371edee4a6638d2fc7e)), closes [#481](https://github.com/washingtonpost/wpds-ui-kit/issues/481) - -# [1.10.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.1...v1.10.0) (2023-08-10) - -### Bug Fixes - -- constraining max height ([89e1f8d](https://github.com/washingtonpost/wpds-ui-kit/commit/89e1f8d4a5f7b1a8a963be5cccbaeadd5df596b9)) -- fixing select position ([7c00425](https://github.com/washingtonpost/wpds-ui-kit/commit/7c004257452b0561d8d3981ebd4a69f334ceec7b)) -- remove top border on select content ([53267f9](https://github.com/washingtonpost/wpds-ui-kit/commit/53267f97e8643f3c0a6b57f21781587135bde649)) - -## [1.9.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.9.0...v1.9.1) (2023-07-17) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [1.9.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.5...v1.9.0) (2023-07-14) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -## [1.8.5](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.4...v1.8.5) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -## [1.8.4](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.3...v1.8.4) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -## [1.8.3](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.2...v1.8.3) (2023-07-06) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -## [1.8.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.1...v1.8.2) (2023-06-30) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -## [1.8.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.8.0...v1.8.1) (2023-06-28) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [1.8.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.1...v1.8.0) (2023-06-28) - -### Features - -- new InputSearch component ([#428](https://github.com/washingtonpost/wpds-ui-kit/issues/428)) ([a84c713](https://github.com/washingtonpost/wpds-ui-kit/commit/a84c71392d87ac6d21bc1d1945be814e178ca890)) - -## [1.7.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.7.0...v1.7.1) (2023-06-20) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [1.7.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.2...v1.7.0) (2023-06-06) - -### Features - -- add NavigationMenu component ([#408](https://github.com/washingtonpost/wpds-ui-kit/issues/408)) ([1a2873f](https://github.com/washingtonpost/wpds-ui-kit/commit/1a2873f674d3695dca0d9de96a4ca12caf8bb1c0)) - -## [1.6.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.1...v1.6.2) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -## [1.6.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.6.0...v1.6.1) (2023-05-24) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [1.6.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.2...v1.6.0) (2023-05-24) - -### Bug Fixes - -- alignment and space issue with select label ([#393](https://github.com/washingtonpost/wpds-ui-kit/issues/393)) ([0abe7de](https://github.com/washingtonpost/wpds-ui-kit/commit/0abe7de73f6929c23329bfe539b2b8215ca668a1)) - -### Features - -- use external footer on docs site ([#387](https://github.com/washingtonpost/wpds-ui-kit/issues/387)) ([b1dad16](https://github.com/washingtonpost/wpds-ui-kit/commit/b1dad167a07cb75938a9fc3d22f4e69b4f0e4697)) - -## [1.5.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.1...v1.5.2) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -## [1.5.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.5.0...v1.5.1) (2023-05-02) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [1.5.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.4.0...v1.5.0) (2023-04-18) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [1.4.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.3.0...v1.4.0) (2023-03-28) - -### Bug Fixes - -- remove animations when user has reduced motion settings turned on [SRED-136] ([#357](https://github.com/washingtonpost/wpds-ui-kit/issues/357)) ([3c08bec](https://github.com/washingtonpost/wpds-ui-kit/commit/3c08bec85394fca28bdad816a67cd83956821df4)) - -### Features - -- upgrade wpds-assets to v1.18.0 in root and build.washingtonpost.com [SRED-100] ([#361](https://github.com/washingtonpost/wpds-ui-kit/issues/361)) ([80f6414](https://github.com/washingtonpost/wpds-ui-kit/commit/80f64144c0476c0d7a726ed3cf4720b788e036aa)) - -# [1.2.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.1.0...v1.2.0) (2023-03-13) - -### Features - -- add Carousel component ([#347](https://github.com/washingtonpost/wpds-ui-kit/issues/347)) ([df0c3fc](https://github.com/washingtonpost/wpds-ui-kit/commit/df0c3fcc8feb42457f2992d921277f3e885c6f97)) - -# [1.1.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.0.0...v1.1.0) (2023-03-06) - -### Features - -- Switch component ([#332](https://github.com/washingtonpost/wpds-ui-kit/issues/332)) ([4f2bd48](https://github.com/washingtonpost/wpds-ui-kit/commit/4f2bd482f61a06f0cee3b20ced80cedbde52f01f)) - -# [1.0.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.1...v1.0.0) (2023-03-02) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -## [0.25.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.25.0...v0.25.1) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [0.25.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.25.0) (2023-03-01) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [0.24.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.2...v0.24.0) (2023-02-03) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -## [0.23.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.24.0...v0.23.2) (2023-01-17) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -## [0.23.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.23.0...v0.23.1) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [0.23.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.22.0...v0.23.0) (2023-01-11) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [0.22.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.21.0...v0.22.0) (2023-01-05) - -### Features - -- allow for use of Select in example form on mobile ([#288](https://github.com/washingtonpost/wpds-ui-kit/issues/288)) ([72291c6](https://github.com/washingtonpost/wpds-ui-kit/commit/72291c65dc51d5627e0d3f18fd816637eb29c523)) - -# [0.21.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.1...v0.21.0) (2022-12-02) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -## [0.20.1](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.20.0...v0.20.1) (2022-10-24) - -**Note:** Version bump only for package @washingtonpost/wpds-select - -# [0.20.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v0.19.1...v0.20.0) (2022-10-21) - -**Note:** Version bump only for package @washingtonpost/wpds-select diff --git a/ui/select/README.md b/ui/select/README.md deleted file mode 100644 index f1de7fd59..000000000 --- a/ui/select/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Select - -```jsx -import { Select } from "@washingtonpost/wpds-ui-kit"; - -function Component() { - return