Skip to content

Commit aa718b9

Browse files
committed
chore: bump react to 19.1
1 parent b14fa67 commit aa718b9

File tree

4 files changed

+42
-42
lines changed

4 files changed

+42
-42
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@
120120
"picocolors": "^1.1.1",
121121
"prom-client": "^15.1.2",
122122
"query-string": "5",
123-
"react": "^19.0.0",
124-
"react-dom": "^19.0.0",
123+
"react": "^19.1.0",
124+
"react-dom": "^19.1.0",
125125
"react-hook-form": "^7.53.2",
126126
"react-i18next": "^15.4.1",
127127
"react-router-dom": "^6.3.0",

src/containers/ErrorPage/__tests__/__snapshots__/ErrorPage-test.tsx.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ exports[`ErrorPage renderers correctly 1`] = `
134134
>
135135
<span
136136
class="textStyle_label.large fw_bold"
137-
id=":r0:"
137+
id="«r0»"
138138
>
139139
Kontakt
140140
</span>
141141
<nav
142-
aria-labelledby=":r0:"
142+
aria-labelledby="«r0»"
143143
>
144144
<ul
145145
class="d_flex flex-d_column gap_3xsmall"
@@ -179,12 +179,12 @@ exports[`ErrorPage renderers correctly 1`] = `
179179
>
180180
<span
181181
class="textStyle_label.large fw_bold"
182-
id=":r1:"
182+
id="«r1»"
183183
>
184184
Om nettstedet
185185
</span>
186186
<nav
187-
aria-labelledby=":r1:"
187+
aria-labelledby="«r1»"
188188
>
189189
<ul
190190
class="d_flex flex-d_column gap_3xsmall"
@@ -224,12 +224,12 @@ exports[`ErrorPage renderers correctly 1`] = `
224224
>
225225
<span
226226
class="textStyle_label.large fw_bold"
227-
id=":r2:"
227+
id="«r2»"
228228
>
229229
Andre språk
230230
</span>
231231
<nav
232-
aria-labelledby=":r2:"
232+
aria-labelledby="«r2»"
233233
>
234234
<ul
235235
class="d_flex flex-d_column gap_3xsmall"
@@ -269,12 +269,12 @@ exports[`ErrorPage renderers correctly 1`] = `
269269
>
270270
<span
271271
class="textStyle_label.large fw_bold"
272-
id=":r3:"
272+
id="«r3»"
273273
>
274274
Følg oss
275275
</span>
276276
<nav
277-
aria-labelledby=":r3:"
277+
aria-labelledby="«r3»"
278278
>
279279
<ul
280280
class="d_grid flex-d_column gap_3xsmall grid-tc_auto_auto_auto_auto_1fr"

src/iframe/__tests__/__snapshots__/IframeArticlePage-test.tsx.snap

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ exports[`IframeArticlePage with article renderers correctly 1`] = `
8080
data-part="root"
8181
data-scope="accordion"
8282
dir="ltr"
83-
id="accordion::r0:"
83+
id="accordion:«r0»"
8484
>
8585
<div
8686
class="w_100%"
@@ -89,23 +89,23 @@ exports[`IframeArticlePage with article renderers correctly 1`] = `
8989
data-scope="accordion"
9090
data-state="closed"
9191
dir="ltr"
92-
id="collapsible:accordion::r0::item:rulesForUse"
92+
id="collapsible:accordion:«r0»:item:rulesForUse"
9393
>
9494
<h2
9595
class="textStyle_label.medium fw_bold"
9696
>
9797
<button
98-
aria-controls="accordion::r0::content:rulesForUse"
98+
aria-controls="accordion:«r0»:content:rulesForUse"
9999
aria-disabled="false"
100100
aria-expanded="false"
101101
class="d_flex ai_center jc_space-between bg_surface.default cursor_pointer trs-dur_fast trs-tmf_default trs-prop_background,_border-color,_border,_border-radius closed:trs-prop_background,_border-color,_border,_border-radius disabled:cursor_not-allowed disabled:bg_surface.disabled.subtle disabled:bx-sh-c_stroke.disabled disabled:c_text.disabled disabled:hover:bg_surface.disabled.subtle disabled:hover:bx-sh-c_stroke.disabled disabled:hover:c_text.disabled px_medium py_medium w_100% bdr_xsmall bx-sh-c_stroke.subtle bx-sh_inset_0_0_0_1px_var(--shadow-color) hover:bg_surface.actionSubtle.hover hover:bx-sh-c_stroke.hover open:bg_surface.actionSubtle.active open:bx-sh-c_stroke.default open:bdr-b_sharp focusVisible:ring_none focusVisible:bx-sh-c_stroke.default focusVisible:bx-sh_inset_0_0_0_3px_var(--shadow-color)"
102102
data-orientation="vertical"
103-
data-ownedby="accordion::r0:"
103+
data-ownedby="accordion:«r0»"
104104
data-part="item-trigger"
105105
data-scope="accordion"
106106
data-state="closed"
107107
dir="ltr"
108-
id="accordion::r0::trigger:rulesForUse"
108+
id="accordion:«r0»:trigger:rulesForUse"
109109
type="button"
110110
>
111111
Sitere eller gjenbruke?
@@ -131,7 +131,7 @@ exports[`IframeArticlePage with article renderers correctly 1`] = `
131131
</button>
132132
</h2>
133133
<div
134-
aria-labelledby="accordion::r0::trigger:rulesForUse"
134+
aria-labelledby="accordion:«r0»:trigger:rulesForUse"
135135
class="ov_hidden trs-prop_padding-bottom trs-dur_normal trs-tmf_default py_xsmall px_small open:anim_collapse-in open:motionReduce:anim_none closed:anim_collapse-out closed:motionReduce:anim_none bdr-b_xsmall bd-w_0_1px_1px border-style_solid bd-c_stroke.default"
136136
data-collapsible=""
137137
data-orientation="vertical"
@@ -140,7 +140,7 @@ exports[`IframeArticlePage with article renderers correctly 1`] = `
140140
data-state="closed"
141141
dir="ltr"
142142
hidden=""
143-
id="accordion::r0::content:rulesForUse"
143+
id="accordion:«r0»:content:rulesForUse"
144144
role="region"
145145
style="--height: 0px; --width: 0px;"
146146
>
@@ -150,7 +150,7 @@ exports[`IframeArticlePage with article renderers correctly 1`] = `
150150
data-part="root"
151151
data-scope="tabs"
152152
dir="ltr"
153-
id="tabs::r2:"
153+
id="tabs:«r2»"
154154
>
155155
<div
156156
aria-label="Innholdstyper"
@@ -160,23 +160,23 @@ exports[`IframeArticlePage with article renderers correctly 1`] = `
160160
data-part="list"
161161
data-scope="tabs"
162162
dir="ltr"
163-
id="tabs::r2::list"
163+
id="tabs:«r2»:list"
164164
role="tablist"
165165
>
166166
<button
167-
aria-controls="tabs::r2::content-text"
167+
aria-controls="tabs:«r2»:content-text"
168168
aria-selected="true"
169169
class="d_inline-flex ai_center jc_center flex-sh_0 cursor_pointer textStyle_label.small fw_bold trs-dur_normal trs-prop_color,_background,_border-color trs-tmf_default white-space_nowrap px_small py_3xsmall z_1 hover:c_text.action hover:bd-c_stroke.hover hover:focusVisible:bd-c_stroke.default selected:c_text.strong disabled:c_text.subtle disabled:cursor_not-allowed disabled:hover:c_text.subtle disabled:hover:bd-c_stroke.default disabled:bd-c_stroke.default motionReduce:trs_none motionReduce:trs-dur_0s bd-c_stroke.default horizontal:bd-b_1px_solid vertical:bd-l_1px_solid vertical:jc_flex-start focusVisible:ring_none focusVisible:bdr_unset peer"
170170
data-focus=""
171171
data-orientation="horizontal"
172-
data-ownedby="tabs::r2::list"
172+
data-ownedby="tabs:«r2»:list"
173173
data-part="trigger"
174174
data-scope="tabs"
175175
data-selected=""
176176
data-ssr=""
177177
data-value="text"
178178
dir="ltr"
179-
id="tabs::r2::trigger-text"
179+
id="tabs:«r2»:trigger-text"
180180
role="tab"
181181
tabindex="0"
182182
type="button"
@@ -189,21 +189,21 @@ exports[`IframeArticlePage with article renderers correctly 1`] = `
189189
data-part="indicator"
190190
data-scope="tabs"
191191
dir="ltr"
192-
id="tabs::r2::indicator"
192+
id="tabs:«r2»:indicator"
193193
style="--transition-property: left, right, top, bottom, width, height; --left: 0px; --top: 0px; --width: 0px; --height: 0px; position: absolute; will-change: var(--transition-property); transition-property: var(--transition-property); transition-duration: 0ms; transition-timing-function: var(--transition-timing-function); left: var(--left);"
194194
/>
195195
</div>
196196
<div
197-
aria-labelledby="tabs::r2::trigger-text"
197+
aria-labelledby="tabs:«r2»:trigger-text"
198198
class="d_flex flex-d_column ai_flex-start gap_xsmall z_1 horizontal:pbs_xsmall vertical:ps_xsmall focusVisible:ring_none focusVisible:bx-sh_0_0_0_3px_var(--shadow-color) focusVisible:bx-sh-c_stroke.default"
199199
data-orientation="horizontal"
200-
data-ownedby="tabs::r2::list"
200+
data-ownedby="tabs:«r2»:list"
201201
data-part="content"
202202
data-scope="tabs"
203203
data-selected=""
204204
data-state="open"
205205
dir="ltr"
206-
id="tabs::r2::content-text"
206+
id="tabs:«r2»:content-text"
207207
role="tabpanel"
208208
tabindex="0"
209209
>

yarn.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10773,8 +10773,8 @@ __metadata:
1077310773
prettier: "npm:^3.5.3"
1077410774
prom-client: "npm:^15.1.2"
1077510775
query-string: "npm:5"
10776-
react: "npm:^19.0.0"
10777-
react-dom: "npm:^19.0.0"
10776+
react: "npm:^19.1.0"
10777+
react-dom: "npm:^19.1.0"
1077810778
react-hook-form: "npm:^7.53.2"
1077910779
react-i18next: "npm:^15.4.1"
1078010780
react-router-dom: "npm:^6.3.0"
@@ -12342,14 +12342,14 @@ __metadata:
1234212342
languageName: node
1234312343
linkType: hard
1234412344

12345-
"react-dom@npm:^19.0.0":
12346-
version: 19.0.0
12347-
resolution: "react-dom@npm:19.0.0"
12345+
"react-dom@npm:^19.1.0":
12346+
version: 19.1.0
12347+
resolution: "react-dom@npm:19.1.0"
1234812348
dependencies:
12349-
scheduler: "npm:^0.25.0"
12349+
scheduler: "npm:^0.26.0"
1235012350
peerDependencies:
12351-
react: ^19.0.0
12352-
checksum: 10c0/a36ce7ab507b237ae2759c984cdaad4af4096d8199fb65b3815c16825e5cfeb7293da790a3fc2184b52bfba7ba3ff31c058c01947aff6fd1a3701632aabaa6a9
12351+
react: ^19.1.0
12352+
checksum: 10c0/3e26e89bb6c67c9a6aa86cb888c7a7f8258f2e347a6d2a15299c17eb16e04c19194e3452bc3255bd34000a61e45e2cb51e46292392340432f133e5a5d2dfb5fc
1235312353
languageName: node
1235412354
linkType: hard
1235512355

@@ -12432,10 +12432,10 @@ __metadata:
1243212432
languageName: node
1243312433
linkType: hard
1243412434

12435-
"react@npm:^19.0.0":
12436-
version: 19.0.0
12437-
resolution: "react@npm:19.0.0"
12438-
checksum: 10c0/9cad8f103e8e3a16d15cb18a0d8115d8bd9f9e1ce3420310aea381eb42aa0a4f812cf047bb5441349257a05fba8a291515691e3cb51267279b2d2c3253f38471
12435+
"react@npm:^19.1.0":
12436+
version: 19.1.0
12437+
resolution: "react@npm:19.1.0"
12438+
checksum: 10c0/530fb9a62237d54137a13d2cfb67a7db6a2156faed43eecc423f4713d9b20c6f2728b026b45e28fcd72e8eadb9e9ed4b089e99f5e295d2f0ad3134251bdd3698
1243912439
languageName: node
1244012440
linkType: hard
1244112441

@@ -12901,10 +12901,10 @@ __metadata:
1290112901
languageName: node
1290212902
linkType: hard
1290312903

12904-
"scheduler@npm:^0.25.0":
12905-
version: 0.25.0
12906-
resolution: "scheduler@npm:0.25.0"
12907-
checksum: 10c0/a4bb1da406b613ce72c1299db43759526058fdcc413999c3c3e0db8956df7633acf395cb20eb2303b6a65d658d66b6585d344460abaee8080b4aa931f10eaafe
12904+
"scheduler@npm:^0.26.0":
12905+
version: 0.26.0
12906+
resolution: "scheduler@npm:0.26.0"
12907+
checksum: 10c0/5b8d5bfddaae3513410eda54f2268e98a376a429931921a81b5c3a2873aab7ca4d775a8caac5498f8cbc7d0daeab947cf923dbd8e215d61671f9f4e392d34356
1290812908
languageName: node
1290912909
linkType: hard
1291012910

0 commit comments

Comments
 (0)