Skip to content

Commit

Permalink
Merge branch 'develop' into merge-develop-into-release-brahma-17
Browse files Browse the repository at this point in the history
  • Loading branch information
Dresse committed May 29, 2024
2 parents c93133f + b8d8d85 commit 49c5ebd
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 25 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-webpack-plugin": "^4.1.0",
"eslint-webpack-plugin": "^4.2.0",
"flatpickr": "^4.6.13",
"json": "^11.0.0",
"markdownlint-cli2": "^0.4.0",
Expand All @@ -83,7 +83,7 @@
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-scripts": "^4.0.3",
"sass": "^1.77.1",
"sass": "^1.77.2",
"skeleton-screen-css": "^1.1.0",
"storybook-addon-designs": "^6.2.1",
"stylelint": "^14.16.1",
Expand All @@ -92,7 +92,7 @@
"stylelint-prettier": "^3.0.0",
"stylelint-scss": "^5.3.2",
"typescript": "^4.7.4",
"web-vitals": "^3.5.2"
"web-vitals": "^4.0.1"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
Expand Down
4 changes: 2 additions & 2 deletions src/stories/Library/footer-accordions/FooterAccordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const FooterAccordion: FC<FooterAccordionProps> = ({

return (
<>
<h3 className="footer-accordion__header footer__title">
<h2 className="footer-accordion__header footer__title">
<button
className="footer-accordion__header-button"
aria-expanded={isOpen}
Expand All @@ -30,7 +30,7 @@ const FooterAccordion: FC<FooterAccordionProps> = ({
alt=""
/>
</button>
</h3>
</h2>
<div
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{ __html: content }}
Expand Down
2 changes: 1 addition & 1 deletion src/stories/Library/footer-colums/FooterColumn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type FooterColumnType = {
const FooterColumn: FC<FooterColumnType> = ({ title, content }) => {
return (
<>
<h3 className="footer__title">{title}</h3>
<h2 className="footer__title">{title}</h2>
<div
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{ __html: content }}
Expand Down
8 changes: 8 additions & 0 deletions src/stories/Library/nav-grid/init-nav-grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@ window.addEventListener("load", () => {
return;
}

const firstHiddenLink = Array.from(grid.querySelectorAll(".nav-grid__item"))
.find((item) => window.getComputedStyle(item).display === "none")
?.querySelector("a");

button.addEventListener("click", () => {
grid.classList.remove("nav-grid--folded");

if (firstHiddenLink) {
firstHiddenLink.focus();
}
});
});
});
2 changes: 1 addition & 1 deletion src/stories/Library/nav-spot/NavSpot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const NavSpot: FC<NavSpotProps> = ({
</div>

<div className="nav-spot__text">
<h1 className="nav-spot__title">{title}</h1>
<h2 className="nav-spot__title">{title}</h2>

{subtitle ? <p className="nav-spot__subtitle">{subtitle}</p> : ""}

Expand Down
2 changes: 1 addition & 1 deletion src/stories/Library/nav-teaser/NavTeaser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const NavTeaser: FC<NavTeaserProps> = ({ title, subtitle }) => {
return (
<article className="nav-teaser">
<a href="#">
<h1 className="nav-teaser__title">{title}</h1>
<h3 className="nav-teaser__title">{title}</h3>

{subtitle ? <p className="nav-teaser__subtitle">{subtitle}</p> : ""}

Expand Down
34 changes: 17 additions & 17 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2952,10 +2952,10 @@
"@types/eslint" "*"
"@types/estree" "*"

"@types/eslint@*", "@types/eslint@^8.56.5":
version "8.56.6"
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.56.6.tgz#d5dc16cac025d313ee101108ba5714ea10eb3ed0"
integrity sha512-ymwc+qb1XkjT/gfoQwxIeHZ6ixH23A+tCT2ADSA/DPVKzAjwYkTXBMCQ/f6fe4wEa85Lhp26VPeUxI7wMhAi7A==
"@types/eslint@*", "@types/eslint@^8.56.10":
version "8.56.10"
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.56.10.tgz#eb2370a73bf04a901eeba8f22595c7ee0f7eb58d"
integrity sha512-Shavhk87gCtY2fhXDctcfS3e6FdxWkCx1iUZ9eEUbh7rTqlZT0/IzOkCOVt0fCjcFuZ9FPYfuezTBImfHCDBGQ==
dependencies:
"@types/estree" "*"
"@types/json-schema" "*"
Expand Down Expand Up @@ -7319,12 +7319,12 @@ eslint-webpack-plugin@^2.5.2:
normalize-path "^3.0.0"
schema-utils "^3.1.1"

eslint-webpack-plugin@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/eslint-webpack-plugin/-/eslint-webpack-plugin-4.1.0.tgz#83daf1e601ea57b63d7164eea0635d7b7bafe673"
integrity sha512-C3wAG2jyockIhN0YRLuKieKj2nx/gnE/VHmoHemD5ifnAtY6ZU+jNPfzPoX4Zd6RIbUyWTiZUh/ofUlBhoAX7w==
eslint-webpack-plugin@^4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/eslint-webpack-plugin/-/eslint-webpack-plugin-4.2.0.tgz#41f54b25379908eb9eca8645bc997c90cfdbd34e"
integrity sha512-rsfpFQ01AWQbqtjgPRr2usVRxhWDuG0YDYcG8DJOteD3EFnpeuYuOwk0PQiN7PRBTqS6ElNdtPZPggj8If9WnA==
dependencies:
"@types/eslint" "^8.56.5"
"@types/eslint" "^8.56.10"
jest-worker "^29.7.0"
micromatch "^4.0.5"
normalize-path "^3.0.0"
Expand Down Expand Up @@ -14288,10 +14288,10 @@ sass-loader@^10.0.5:
schema-utils "^3.0.0"
semver "^7.3.2"

sass@^1.77.1:
version "1.77.1"
resolved "https://registry.yarnpkg.com/sass/-/sass-1.77.1.tgz#018cdfb206afd14724030c02e9fefd8f30a76cd0"
integrity sha512-OMEyfirt9XEfyvocduUIOlUSkWOXS/LAt6oblR/ISXCTukyavjex+zQNm51pPCOiFKY1QpWvEH1EeCkgyV3I6w==
sass@^1.77.2:
version "1.77.2"
resolved "https://registry.yarnpkg.com/sass/-/sass-1.77.2.tgz#18d4ed2eefc260cdc8099c5439ec1303fd5863aa"
integrity sha512-eb4GZt1C3avsX3heBNlrc7I09nyT00IUuo4eFhAbeXWU2fvA7oXI53SxODVAA+zgZCk9aunAZgO+losjR3fAwA==
dependencies:
chokidar ">=3.0.0 <4.0.0"
immutable "^4.0.0"
Expand Down Expand Up @@ -16340,10 +16340,10 @@ web-namespaces@^1.0.0:
resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-1.1.4.tgz#bc98a3de60dadd7faefc403d1076d529f5e030ec"
integrity sha512-wYxSGajtmoP4WxfejAPIr4l0fVh+jeMXZb08wNc0tMg6xsfZXj3cECqIK0G7ZAqUq0PP8WlMDtaOGVBTAWztNw==

web-vitals@^3.5.2:
version "3.5.2"
resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-3.5.2.tgz#5bb58461bbc173c3f00c2ddff8bfe6e680999ca9"
integrity sha512-c0rhqNcHXRkY/ogGDJQxZ9Im9D19hDihbzSQJrsioex+KnFgmMzBiy57Z1EjkhX/+OjyBpclDCzz2ITtjokFmg==
web-vitals@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-4.0.1.tgz#9fa4dfcd26130d6721717c5f2ff73adf3adbbe76"
integrity sha512-AW6qT/vXK3pbf+WgVcEBXY//AWCpXjVKgdb6rt0cARSUdtT+NUtZCOeo+CSLUX7PjSQ275DmxfkAs7QlPbtR6w==

webidl-conversions@^3.0.0:
version "3.0.1"
Expand Down

0 comments on commit 49c5ebd

Please sign in to comment.