diff --git a/package.json b/package.json index 5e4af255..826adaf6 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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", @@ -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", diff --git a/src/core/navigation/Navigation.tsx b/src/core/navigation/Navigation.tsx index 87c3691a..0cfb6b71 100644 --- a/src/core/navigation/Navigation.tsx +++ b/src/core/navigation/Navigation.tsx @@ -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} >