Skip to content

Commit 38df017

Browse files
committed
Rollback to gouvfr/dsfr 1.9.3 (very temporaly)
1 parent f28b3ab commit 38df017

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codegouvfr/react-dsfr",
3-
"version": "0.73.1",
3+
"version": "0.73.2",
44
"description": "French State Design System React integration library",
55
"repository": {
66
"type": "git",
@@ -66,7 +66,7 @@
6666
"@babel/core": "^7.20.2",
6767
"@emotion/react": "^11.10.4",
6868
"@emotion/styled": "^11.10.4",
69-
"@gouvfr/dsfr": "1.10.0",
69+
"@gouvfr/dsfr": "1.9.3",
7070
"@mui/icons-material": "^5.11.16",
7171
"@mui/material": "^5.13.3",
7272
"@storybook/addon-a11y": "^6.5.16",

src/assets/dsfr_plus_icons.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@use '../dsfr/utility/icons/icons.min.css';
2+
@use '../dsfr/dsfr.min.css';

src/next-appdir/DsfrHead.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ import { getScriptToRunAsap } from "../useIsDark/scriptToRunAsap";
88
import { fontUrlByFileBasename } from "./zz_internal/fontUrlByFileBasename";
99
import { getDefaultColorSchemeServerSide } from "./zz_internal/defaultColorScheme";
1010
import { setLink, type RegisteredLinkProps } from "../link";
11-
import "../assets/dsfr_plus_icons.css";
11+
//NOTE: As of now there is no way to enforce ordering in Next Appdir
12+
//See: https://github.com/vercel/next.js/issues/16630
13+
// @import url(...) doesn't work. Using Sass and @use is our last resort.
14+
import "../assets/dsfr_plus_icons.scss";
1215

1316
export type DsfrHeadProps = {
1417
/** If not provided no fonts are preloaded.

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,10 +1394,10 @@
13941394
resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6"
13951395
integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==
13961396

1397-
"@gouvfr/dsfr@1.10.0":
1398-
version "1.10.0"
1399-
resolved "https://registry.yarnpkg.com/@gouvfr/dsfr/-/dsfr-1.10.0.tgz#a3f4939c728e35d8c9ecf06f7a62369ae46256db"
1400-
integrity sha512-fHqGCvc8jGtkX2AKRCWi9o3jf/kirP/BeeZ2FBVGwS9Oxd8KsG22xk/6Tls8nA+qPaI+2ZkZQxATBV8KlhwNhQ==
1397+
"@gouvfr/dsfr@1.9.3":
1398+
version "1.9.3"
1399+
resolved "https://registry.yarnpkg.com/@gouvfr/dsfr/-/dsfr-1.9.3.tgz#289148c79566f6332cc930230742c4fe509d96f2"
1400+
integrity sha512-toPM1nvzSxPAwpLhnIgf7a/TJV0WOUa6sDqYummvMhZ9PBolFPGuD+3r8e3vg0bR5BkYxOt9hFErOPDU1tU4sQ==
14011401

14021402
"@humanwhocodes/config-array@^0.5.0":
14031403
version "0.5.0"

0 commit comments

Comments
 (0)