Skip to content

Commit

Permalink
(HP-2047) Update HDS
Browse files Browse the repository at this point in the history
  • Loading branch information
Riippi committed Feb 6, 2024
1 parent e9bdbca commit 5834433
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 33 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"@sentry/browser": "^6.19.7",
"@testing-library/react": "^12.1.4",
"@testing-library/react-hooks": "^8.0.0",
"@types/classnames": "^2.2.9",
"@types/dompurify": "^2.2.2",
"@types/enzyme": "^3.10.5",
"@types/enzyme-adapter-react-16": "^1.0.6",
Expand Down Expand Up @@ -51,9 +50,9 @@
"formik": "^2.0.4",
"graphql": "^15.2.0",
"graphql.macro": "^1.4.2",
"hds-core": "^3.2.0",
"hds-design-tokens": "^3.2.0",
"hds-react": "^3.2.0",
"hds-core": "^3.5.0",
"hds-design-tokens": "^3.5.0",
"hds-react": "^3.5.0",
"history": "^4.9.0",
"http-status-typed": "^1.0.0",
"i18n-iso-countries": "^7.0.0",
Expand Down
16 changes: 8 additions & 8 deletions src/toast/__tests__/__snapshots__/Toast.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ exports[`Toast should render correct toast 1`] = `
onClose={[Function]}
type="error"
>
<hn
<da
visuallyHidden={false}
>
<Animated(section)
Expand All @@ -128,7 +128,7 @@ exports[`Toast should render correct toast 1`] = `
className="Notification-module_label__1bhNu notification_hds-notification__label__2t1lR"
role="heading"
>
<Y
<pe
aria-hidden={true}
className="Notification-module_icon__1ans7 notification_hds-icon__29HQM"
>
Expand All @@ -148,12 +148,12 @@ exports[`Toast should render correct toast 1`] = `
fillRule="evenodd"
/>
</svg>
</Y>
<hn
</pe>
<da
visuallyHidden={false}
>
test title
</hn>
</da>
</div>
<div
className="Notification-module_body__9BSAD notification_hds-notification__body__3cobH"
Expand All @@ -172,7 +172,7 @@ exports[`Toast should render correct toast 1`] = `
title="notification.closeButtonText"
type="button"
>
<R
<ce
aria-hidden={true}
>
<svg
Expand All @@ -191,11 +191,11 @@ exports[`Toast should render correct toast 1`] = `
fillRule="evenodd"
/>
</svg>
</R>
</ce>
</button>
</section>
</Animated(section)>
</hn>
</da>
</ForwardRef>
</div>
</NotificationComponent>
Expand Down
36 changes: 15 additions & 21 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3226,13 +3226,6 @@
dependencies:
"@types/node" "*"

"@types/classnames@^2.2.9":
version "2.3.1"
resolved "https://registry.yarnpkg.com/@types/classnames/-/classnames-2.3.1.tgz#3c2467aa0f1a93f1f021e3b9bcf938bd5dfdc0dd"
integrity sha512-zeOWb0JGBoVmlQoznvqXbE0tEC/HONsnoUNH19Hc96NFsTAwTXbTqb8FMYkru1F/iqp7a18Ws3nWJvtA1sHD1A==
dependencies:
classnames "*"

"@types/connect-history-api-fallback@^1.3.5":
version "1.3.5"
resolved "https://registry.yarnpkg.com/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.3.5.tgz#d1f7a8a09d0ed5a57aee5ae9c18ab9b803205dae"
Expand Down Expand Up @@ -5338,7 +5331,7 @@ cjs-module-lexer@^1.0.0:
resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40"
integrity sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==

classnames@*, classnames@^2.2.6:
classnames@^2.2.6:
version "2.3.1"
resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.3.1.tgz#dfcfa3891e306ec1dad105d0e88f4417b8535e8e"
integrity sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==
Expand Down Expand Up @@ -7857,20 +7850,20 @@ hasown@^2.0.0:
dependencies:
function-bind "^1.1.2"

hds-core@3.2.0, hds-core@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/hds-core/-/hds-core-3.2.0.tgz#d6d06f216129762284dca6134bae50639462460f"
integrity sha512-NA10PJzZvsA88CzJdawuLpaEKNDJiAWJh8RwdNGbFv/h9tS6sUiKn9QuLtgzAIvjWtNkyRrIZ0BGC83WVZ1F6g==
hds-core@3.5.0, hds-core@^3.5.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/hds-core/-/hds-core-3.5.0.tgz#8b7491806a2603af7cf7fdce8383cf22b4291c7b"
integrity sha512-4T2FOIuiy/7s7UcoAh1pEM4RuneNQCyYrUY6uJkF1X3oJdvFclmBiEqpKK4ijlsSz1gEaHCQlpKiZQraT909Vw==

hds-design-tokens@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/hds-design-tokens/-/hds-design-tokens-3.2.0.tgz#2652cf6e837ac52ad3139808341ccf15b38aea78"
integrity sha512-TF+xuqF4vkbVoL7gWcd5uTJMDYln3fLcJ9JB3Bw53Aj3tqZNHZqgxwQ4LUhgEHNSESiOPbNGxL0GGkIGI1Gv2w==
hds-design-tokens@^3.5.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/hds-design-tokens/-/hds-design-tokens-3.5.0.tgz#fd33aef3076f03c28df181d1030c667c3ce4657e"
integrity sha512-UOoe2svjom2AA0W0VS+PrxEticdYo2IoSLa7Ok2VNmxNuQkljwncechlA/0qyXzim95QfnQdrpjeyaoOzmH6rQ==

hds-react@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/hds-react/-/hds-react-3.2.0.tgz#86d243f812e97a88bee63a84a8cd1cd1ec902fc5"
integrity sha512-/FJ5XhBBfg/GwlPQSOYCndtcA4PFWJBHDPZ0N5WKGJQAOZLEhIcxByV8QlR1wtbBEBX9lAt8jdAWeItT7VqN4w==
hds-react@^3.5.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/hds-react/-/hds-react-3.5.0.tgz#368a489175c97ac1be7e4a4684abb9c9f6201ce2"
integrity sha512-PIhpRJIT+4F4Y3f6cI+b0fqrtWikF+Zhn9Vin2Qu+UtgfgiVDd8rXfkbYyD9e5ZYhae0/6bPhD5TlDEkrW4tmg==
dependencies:
"@babel/runtime" "7.17.9"
"@emotion/styled-base" "^11.0.0"
Expand All @@ -7885,7 +7878,7 @@ hds-react@^3.2.0:
crc-32 "1.2.0"
date-fns "2.16.1"
downshift "6.0.6"
hds-core "3.2.0"
hds-core "3.5.0"
http-status-typed "^1.0.1"
jwt-decode "^3.1.2"
kashe "1.0.4"
Expand Down Expand Up @@ -12479,6 +12472,7 @@ statuses@2.0.1:
integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=

stream-browserify@^3.0.0, "stream@npm:stream-browserify":
name stream
version "3.0.0"
resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-3.0.0.tgz#22b0a2850cdf6503e73085da1fc7b7d0c2122f2f"
integrity sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==
Expand Down

0 comments on commit 5834433

Please sign in to comment.