Skip to content

Commit

Permalink
feat: upgrade to HDS v3.7, bump version to v1.0.0-alpha272
Browse files Browse the repository at this point in the history
refs LIIKUNTA-627 (HDS v3.7 might help here)
refs PT-1720 (HDS v3.7 might help here)
  • Loading branch information
karisal-anders committed Apr 11, 2024
1 parent 102e5a0 commit eda2a4a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 22 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-helsinki-headless-cms",
"version": "1.0.0-alpha271",
"version": "1.0.0-alpha272",
"description": "React components for displaying Headless CMS content according to guidelines set by HDS",
"main": "cjs/index.js",
"module": "index.js",
Expand Down Expand Up @@ -106,7 +106,7 @@
"eslint-plugin-react-hooks": "^4.3.0",
"git-rev-sync": "^3.0.2",
"graphql": "^16.8.0",
"hds-react": "^3.6.0",
"hds-react": "^3.7.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.6.2",
"jest-axe": "^8.0.0",
Expand Down Expand Up @@ -135,7 +135,7 @@
"webpack": "^5.70.0"
},
"dependencies": {
"hds-design-tokens": "^3.6.0",
"hds-design-tokens": "^3.7.0",
"html-entities": "^2.4.0",
"html-react-parser": "^4.2.9",
"isomorphic-dompurify": "^1.8.0",
Expand Down
7 changes: 1 addition & 6 deletions src/core/navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,7 @@ export function Navigation({
defaultLanguage={currentLanguage?.code?.toLowerCase()}
languages={languageOptions}
className={className}
style={
/* HDS v3.4–v3.6 has broken theme support with next.js SSR & hydration.
* FIXME: Replace with `theme={overrideHeaderMaxWidth}` when HDS theme support is fixed.
*/
overrideHeaderMaxWidth as React.CSSProperties
}
theme={overrideHeaderMaxWidth}
>
<Header.SkipLink
skipTo={`#${mainContentId ?? MAIN_CONTENT_ID}`}
Expand Down
26 changes: 13 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7829,20 +7829,20 @@ hash.js@^1.0.0, hash.js@^1.0.3:
inherits "^2.0.3"
minimalistic-assert "^1.0.1"

hds-core@3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/hds-core/-/hds-core-3.6.0.tgz#8a6fab39f229fab6405efa987e0343b1c902fb58"
integrity sha512-ZsKGPhLKCzNpJIOfOOkXQadAXUjgAP+ltf+jGHP/NcaQLPHIh225NGtmmW7QJwY/y0wgunYXB/84xKcYiYuaOg==
hds-core@3.7.0:
version "3.7.0"
resolved "https://registry.yarnpkg.com/hds-core/-/hds-core-3.7.0.tgz#4a4d65786afac4a8c4d10d1739b10cc8e2fc611f"
integrity sha512-rgr7r2b6nGqLiYR7StG2dY/31zXT988hsSLu8ipkDM4hTdFRLGGtqNpPP+6B8WlksAmszVmMwF6BbDxdAxtWfA==

hds-design-tokens@^3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/hds-design-tokens/-/hds-design-tokens-3.6.0.tgz#8dbf10d6483ba7341cbb7de2423824a00e427e4e"
integrity sha512-c7P/te2EtTty0SByYycC46BXJE2T/WDO0et/MD8HvNn23mjypxwJ5/QD7oY8iTahbJNZRW+MuaBwGKz++rH3zA==
hds-design-tokens@^3.7.0:
version "3.7.0"
resolved "https://registry.yarnpkg.com/hds-design-tokens/-/hds-design-tokens-3.7.0.tgz#233636beeff5df39d47cfb4e4861e760a085c3c3"
integrity sha512-JBfVmsDQbLAPwX1Xh0uX5o3q4xfqQSQSWx4vewXmOBTjNkGcf2au+XCo9S5QvETai9OR85m5GbTh33DXquFLXw==

hds-react@^3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/hds-react/-/hds-react-3.6.0.tgz#91a17f225e8ddb2c35b17f07ba3598ee79a43b20"
integrity sha512-NyU2dpUX7RRHycOgS2WZyTmNLIbZHadeaxCwB9bOscIFz6RjQGU0ipqfCySH8Hj8QlBcBIxw+W5oPsjVxkx1MA==
hds-react@^3.7.0:
version "3.7.0"
resolved "https://registry.yarnpkg.com/hds-react/-/hds-react-3.7.0.tgz#22ca9bbf72efe8ec49e4b4c50c644dbe2a5fd002"
integrity sha512-HF4WqO7ciapvCnCmPRjtj568L+A495g7n+m7rmZhsOYr8Q3/uI1C9bQrPA/Kpu794Cw9ulxekbRao905Ju4XhA==
dependencies:
"@babel/runtime" "7.17.9"
"@emotion/styled-base" "^11.0.0"
Expand All @@ -7858,7 +7858,7 @@ hds-react@^3.6.0:
crc-32 "1.2.0"
date-fns "2.16.1"
downshift "6.0.6"
hds-core "3.6.0"
hds-core "3.7.0"
http-status-typed "^1.0.1"
jwt-decode "^3.1.2"
kashe "1.0.4"
Expand Down

0 comments on commit eda2a4a

Please sign in to comment.