Skip to content

Commit 25344ab

Browse files
committed
chore: upgrade HDS to latest version (4.8.0)
HCRC-178
1 parent 54b5e94 commit 25344ab

3 files changed

Lines changed: 14 additions & 27 deletions

File tree

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"homepage": "https://github.com/City-of-Helsinki/react-helsinki-headless-cms#readme",
4949
"peerDependencies": {
5050
"@apollo/client": "^3.11.10",
51-
"hds-react": ">=4.7.1",
51+
"hds-react": ">=4.8.0",
5252
"react": "^18",
5353
"react-dom": "^18"
5454
},
@@ -111,7 +111,7 @@
111111
"eslint-plugin-react-hooks": "^5.0.0",
112112
"git-rev-sync": "^3.0.2",
113113
"graphql": "^16.9.0",
114-
"hds-react": "^4.7.1",
114+
"hds-react": "^4.8.0",
115115
"identity-obj-proxy": "^3.0.0",
116116
"jest": "^29.7.0",
117117
"jest-axe": "^9.0.0",
@@ -141,14 +141,14 @@
141141
"webpack": "^5.96.1"
142142
},
143143
"dependencies": {
144+
"classnames": "^2.5.1",
144145
"date-fns": "^4.1.0",
145146
"hds-design-tokens": "^3.11.0",
146147
"html-entities": "^2.5.2",
147148
"html-react-parser": "^4.2.9",
148149
"isomorphic-dompurify": "^2.16.0",
149150
"jest-environment-jsdom": "^29.7.0",
150-
"lodash-es": "^4.17.21",
151-
"classnames": "^2.5.1"
151+
"lodash-es": "^4.17.21"
152152
},
153153
"msw": {
154154
"workerDirectory": "public"

src/common/components/tag/Tag.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ export function Tag({
5656
!onClick && styles.noOutline,
5757
className,
5858
)}
59-
placeholder={undefined}
6059
{...hdsTagProps}
6160
// TODO: don't use the generatedId and allow an undefined id.
6261
id={id ?? `tag${generatedId}`}

yarn.lock

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,13 +1068,6 @@
10681068
"@babel/plugin-transform-modules-commonjs" "^7.27.1"
10691069
"@babel/plugin-transform-typescript" "^7.27.1"
10701070

1071-
"@babel/runtime@7.17.9":
1072-
version "7.17.9"
1073-
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.9.tgz#d19fbf802d01a8cb6cf053a64e472d42c434ba72"
1074-
integrity sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==
1075-
dependencies:
1076-
regenerator-runtime "^0.13.4"
1077-
10781071
"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.17.8", "@babel/runtime@^7.26.10":
10791072
version "7.28.4"
10801073
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.28.4.tgz#a70226016fabe25c5783b2f22d3e1c9bc5ca3326"
@@ -7109,23 +7102,23 @@ hasown@^2.0.2:
71097102
dependencies:
71107103
function-bind "^1.1.2"
71117104

7112-
hds-core@4.7.1:
7113-
version "4.7.1"
7114-
resolved "https://registry.yarnpkg.com/hds-core/-/hds-core-4.7.1.tgz#2f04b7e5f6a971401d91b7c74dfceb92c49fc641"
7115-
integrity sha512-3TTsU4gZvGRnhAHJ0bXc0hW2UKRKkHbykJRiOIMCQqpTEluO7baRluvVUl1mXHIm6Cw3gotEUhw2nXLlV4t6oA==
7105+
hds-core@4.8.0:
7106+
version "4.8.0"
7107+
resolved "https://registry.yarnpkg.com/hds-core/-/hds-core-4.8.0.tgz#1e814d16bf55ac646020caf6b4f5a578d2885b8b"
7108+
integrity sha512-Bdbo0SiUwLC4D1pgZtr1puORZR2h5Y6TstGE7QJ2xHWbZFn/UwTL4q2u4fGY6JH117y4hbzsJ1SWlLaSJlTMfA==
71167109

71177110
hds-design-tokens@^3.11.0:
71187111
version "3.12.0"
71197112
resolved "https://registry.yarnpkg.com/hds-design-tokens/-/hds-design-tokens-3.12.0.tgz#1a0b5b73cb1d9da8fffbc76154cf436a3032b4b1"
71207113
integrity sha512-Pu9oESUoKgYtmlKrdRKcAHodyxJw8fm0qizsqNhfsfZE5Ln88ZkoaCoZLCC4Cyh7sfsCEZh9/1yuoO0Kktf8+Q==
71217114

7122-
hds-react@^4.7.1:
7123-
version "4.7.1"
7124-
resolved "https://registry.yarnpkg.com/hds-react/-/hds-react-4.7.1.tgz#9bc0aa475f3a2fd9c6286056b7c2cb2e47467209"
7125-
integrity sha512-68I+lQ8QBkQrlbJe87JCngEnT/Jzd9OtpzpNk/wpUyG00oar6+ovoZGSYAzutdHI/qUg/Jbp4SnI2gMG4y/PDg==
7115+
hds-react@^4.8.0:
7116+
version "4.8.0"
7117+
resolved "https://registry.yarnpkg.com/hds-react/-/hds-react-4.8.0.tgz#8b159561634e37eecbbc6e636cfb2fc9c6b812ff"
7118+
integrity sha512-zYFlOCpKYMF+jOQz39Fl4iwTaRi6yVh1OKh605OnFcfdv3jzYPF7MBgoO9Joiv6mJeVFkrheX02fzcQZgyG/fQ==
71267119
dependencies:
71277120
"@apollo/client" "^3.10.1"
7128-
"@babel/runtime" "7.17.9"
7121+
"@babel/runtime" "^7.26.10"
71297122
"@emotion/styled-base" "^11.0.0"
71307123
"@hookform/resolvers" "^2.9.11"
71317124
"@juggle/resize-observer" "3.2.0"
@@ -7140,7 +7133,7 @@ hds-react@^4.7.1:
71407133
date-fns "2.16.1"
71417134
downshift "6.0.6"
71427135
graphql "^16.8.1"
7143-
hds-core "4.7.1"
7136+
hds-core "4.8.0"
71447137
jwt-decode "^3.1.2"
71457138
kashe "1.0.4"
71467139
lodash "^4.17.21"
@@ -10431,11 +10424,6 @@ regenerate@^1.4.2:
1043110424
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a"
1043210425
integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==
1043310426

10434-
regenerator-runtime@^0.13.4:
10435-
version "0.13.11"
10436-
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9"
10437-
integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==
10438-
1043910427
regexp.prototype.flags@^1.5.3, regexp.prototype.flags@^1.5.4:
1044010428
version "1.5.4"
1044110429
resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz#1ad6c62d44a259007e55b3970e00f746efbcaa19"

0 commit comments

Comments
 (0)