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

Commit

Permalink
fix: dsfr
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Feb 1, 2023
1 parent 8ffea76 commit a8028cf
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@socialgouv/template",
"version": "1.10.4",
"version": "1.14.8",
"private": true,
"scripts": {
"predev": "only-include-used-icons",
Expand Down Expand Up @@ -29,7 +29,7 @@
"postinstall": "is-ci || husky install"
},
"dependencies": {
"@codegouvfr/react-dsfr": "^0.21.2",
"@codegouvfr/react-dsfr": "^0.28.0",
"@emotion/react": "^11.10.5",
"@emotion/server": "^11.10.0",
"@emotion/styled": "^11.10.5",
Expand All @@ -43,7 +43,7 @@
"next-seo": "^5.1.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"tss-react": "^4.5.2"
"tss-react": "^4.6.0"
},
"devDependencies": {
"@babel/core": "^7.17.5",
Expand Down
14 changes: 6 additions & 8 deletions pages/dsfr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,12 @@ const Home: NextPage = () => {
/>
<br />
<div className={fr.cx("fr-accordions-group")}>
<Accordion
label="Name of the Accordion 1"
content="Content of the Accordion 1"
/>
<Accordion
label="Name of the Accordion 2"
content="Content of the Accordion 2"
/>
<Accordion label="Name of the Accordion 1">
Content of the Accordion 1
</Accordion>
<Accordion label="Name of the Accordion 2">
Content of the Accordion 2
</Accordion>
</div>
<br />
<Stack spacing={2} sx={{ mt: 5 }} direction="row">
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1164,10 +1164,10 @@
exec-sh "^0.3.2"
minimist "^1.2.0"

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

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

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

0 comments on commit a8028cf

Please sign in to comment.