Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit a8028cf

Browse files
author
Julien Bouquillon
committed
fix: dsfr
1 parent 8ffea76 commit a8028cf

File tree

3 files changed

+17
-19
lines changed

3 files changed

+17
-19
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socialgouv/template",
3-
"version": "1.10.4",
3+
"version": "1.14.8",
44
"private": true,
55
"scripts": {
66
"predev": "only-include-used-icons",
@@ -29,7 +29,7 @@
2929
"postinstall": "is-ci || husky install"
3030
},
3131
"dependencies": {
32-
"@codegouvfr/react-dsfr": "^0.21.2",
32+
"@codegouvfr/react-dsfr": "^0.28.0",
3333
"@emotion/react": "^11.10.5",
3434
"@emotion/server": "^11.10.0",
3535
"@emotion/styled": "^11.10.5",
@@ -43,7 +43,7 @@
4343
"next-seo": "^5.1.0",
4444
"react": "18.2.0",
4545
"react-dom": "18.2.0",
46-
"tss-react": "^4.5.2"
46+
"tss-react": "^4.6.0"
4747
},
4848
"devDependencies": {
4949
"@babel/core": "^7.17.5",

pages/dsfr.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,12 @@ const Home: NextPage = () => {
5555
/>
5656
<br />
5757
<div className={fr.cx("fr-accordions-group")}>
58-
<Accordion
59-
label="Name of the Accordion 1"
60-
content="Content of the Accordion 1"
61-
/>
62-
<Accordion
63-
label="Name of the Accordion 2"
64-
content="Content of the Accordion 2"
65-
/>
58+
<Accordion label="Name of the Accordion 1">
59+
Content of the Accordion 1
60+
</Accordion>
61+
<Accordion label="Name of the Accordion 2">
62+
Content of the Accordion 2
63+
</Accordion>
6664
</div>
6765
<br />
6866
<Stack spacing={2} sx={{ mt: 5 }} direction="row">

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,10 +1164,10 @@
11641164
exec-sh "^0.3.2"
11651165
minimist "^1.2.0"
11661166

1167-
"@codegouvfr/react-dsfr@^0.21.2":
1168-
version "0.21.2"
1169-
resolved "https://registry.yarnpkg.com/@codegouvfr/react-dsfr/-/react-dsfr-0.21.2.tgz#501460fa0e03addd855d21caa19eb21ab4f45d8c"
1170-
integrity sha512-mvCJbrgyqxBw5Ciz3Z9gOxfRPLKTCq4mdqfMsSiv5hgz1pMGJ2hHw32KtlmlHTEG1DapfLr+ooSP8I2cZ6KKzw==
1167+
"@codegouvfr/react-dsfr@^0.28.0":
1168+
version "0.28.0"
1169+
resolved "https://registry.yarnpkg.com/@codegouvfr/react-dsfr/-/react-dsfr-0.28.0.tgz#41233b1d21d8eadcf604deaebc6e1e6c066e8108"
1170+
integrity sha512-TCsCL1qhqHXhYfKz+D2TV92AR1ZxA5Z50YwyHdbzWkZNffIt3uBtcN1FzlgidGcKpcFuSEugL87tjM9mckIspQ==
11711171
dependencies:
11721172
tsafe "^1.4.0"
11731173

@@ -12914,10 +12914,10 @@ tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.4.0:
1291412914
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e"
1291512915
integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==
1291612916

12917-
tss-react@^4.5.2:
12918-
version "4.5.2"
12919-
resolved "https://registry.yarnpkg.com/tss-react/-/tss-react-4.5.2.tgz#8fb5248d5715fe1b5fcb1eb70e86c86151d7285e"
12920-
integrity sha512-Q5JycexkHWgMm7SdJrazsAL9JEfaFfiumZSjXl2QHJH7F8Adg4L/0m993/UzcjGfZO7z9l4g+EDkVGDP8nfJFQ==
12917+
tss-react@^4.6.0:
12918+
version "4.6.0"
12919+
resolved "https://registry.yarnpkg.com/tss-react/-/tss-react-4.6.0.tgz#9bf6133d7dd4f7723cf887fb50e37a5670a536af"
12920+
integrity sha512-GWIduTQpV2B5iEvVSDkYTjvtLi+irTckO5tR28vCYwIOzvgUcK/Gr9xZ/NuJY1Qdb0pasNda5lCecjSnzj1Y0A==
1292112921
dependencies:
1292212922
"@emotion/cache" "*"
1292312923
"@emotion/serialize" "*"

0 commit comments

Comments
 (0)