Skip to content

Commit

Permalink
chore: update wam on docs site (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
artmsilva authored Jan 30, 2025
1 parent 48bb624 commit 90c0262
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 63 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React, { useEffect, useState } from "react";
// disable eslint for this line because we want to import all assets
/*eslint import/namespace: ['error', { allowComputed: true }]*/
import * as AllAssets from "@washingtonpost/wpds-assets";
import MDXStyling from "~/components/Markdown/Styling";
import { toast } from "react-toastify";
import { Box, Icon, theme, AlertBanner } from "@washingtonpost/wpds-ui-kit";
import { AlertBanner, Box, Icon, theme } from "@washingtonpost/wpds-ui-kit";
import { paramCase } from "param-case";
import React, { useEffect, useState } from "react";
import { toast } from "react-toastify";
import MDXStyling from "~/components/Markdown/Styling";
export const logoList = [
"voraciously",
"amazon",
Expand Down Expand Up @@ -42,13 +42,16 @@ export const logoList = [
"the7-black",
"the7-blue",
"the7",
"wpi",
"wpi-white"
];

export const darkLogos = [
"washington-post-white",
"wp-mark-white",
"washington-post-magazine",
"olympics-dark",
"wpi-white"
];

const Logos = () => {
Expand Down Expand Up @@ -118,7 +121,7 @@ const Logos = () => {
label={componentName}
size={componentName.includes("washington") ? "250px" : "150px"}
>
<Sample fill={theme.colors.primary} />
<Sample />
</Icon>
</Box>
</MDXStyling.Cell>
Expand Down
63 changes: 11 additions & 52 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
],
"dependencies": {
"@babel/standalone": "^7.17.11",
"@washingtonpost/wpds-assets": "^2.9.0",
"@washingtonpost/wpds-assets": "^2.10.2",
"typescript": "4.5.5"
},
"scripts": {
Expand Down Expand Up @@ -135,7 +135,7 @@
"prettier": {},
"packageManager": "npm@10.2.4",
"overrides": {
"@washingtonpost/wpds-assets": "^2.9.0",
"@washingtonpost/wpds-assets": "^2.10.2",
"react-docgen-typescript": "^2.2.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@react-types/combobox": "^3.11.1",
"@react-types/shared": "^3.23.1",
"@stitches/react": "1.3.1-1",
"@washingtonpost/wpds-assets": "^2.9.0",
"@washingtonpost/wpds-assets": "^2.10.2",
"match-sorter": "6.3.1",
"nanoid": "^3.3.4",
"popper-max-size-modifier": "^0.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
"typescript": "4.5.5"
},
"peerDependencies": {
"@washingtonpost/wpds-assets": "^2.9.0",
"@washingtonpost/wpds-assets": "^2.10.2",
"@washingtonpost/wpds-ui-kit": "2.9.0",
"react": "^18.2.0"
},
"dependencies": {
"@washingtonpost/wpds-assets": "^2.9.0",
"@washingtonpost/wpds-assets": "^2.10.2",
"@washingtonpost/wpds-ui-kit": "2.11.0",
"nanoid": "^3.3.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"license": "MIT",
"devDependencies": {
"@washingtonpost/wpds-assets": "^2.9.0",
"@washingtonpost/wpds-assets": "^2.10.2",
"@washingtonpost/wpds-ui-kit": "2.11.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down

0 comments on commit 90c0262

Please sign in to comment.