Skip to content

Commit 85f1bc3

Browse files
committed
Fix last release
1 parent 9287549 commit 85f1bc3

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

patches/@gouvfr+dsfr+1.13.0.patch renamed to patches/@gouvfr+dsfr+1.13.2.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ index e4d335c..6c53dce 100644
88
</svg>
99
+<!-- Slightly increasing size so it reaches the threshold that will prevent it from being inlined by Vite. -->
1010
diff --git a/node_modules/@gouvfr/dsfr/dist/dsfr.module.js b/node_modules/@gouvfr/dsfr/dist/dsfr.module.js
11-
index 7cc31ef..2572570 100644
11+
index 3566bc7..e58a87f 100644
1212
--- a/node_modules/@gouvfr/dsfr/dist/dsfr.module.js
1313
+++ b/node_modules/@gouvfr/dsfr/dist/dsfr.module.js
14-
@@ -6338,9 +6338,11 @@ class HeaderLinks extends api.core.Instance {
14+
@@ -6453,9 +6453,11 @@ class HeaderLinks extends api.core.Instance {
1515
case api.Modes.ANGULAR:
1616
case api.Modes.REACT:
1717
case api.Modes.VUE:

src/mui/mui.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,10 +651,18 @@ function getPrimaryButtonClassSelector() {
651651
"vimeo",
652652
"youtube",
653653
"menu",
654-
"search"
654+
"search",
655+
"bluesky"
655656
] as const;
656657

657-
assert<Equals<BtnVariantWithoutPosition, typeof btnVariants[number]>>();
658+
type Source = typeof btnVariants[number];
659+
type Mirrored = BtnVariantWithoutPosition;
660+
661+
type InSourceNotInMirrored = Exclude<Source, Mirrored>;
662+
type InMirroredNotInSource = Exclude<Mirrored, Source>;
663+
664+
assert<Equals<InSourceNotInMirrored, never>>();
665+
assert<Equals<InMirroredNotInSource, never>>();
658666

659667
let selector = `.${fr.cx("fr-btn")}`;
660668

0 commit comments

Comments
 (0)