Skip to content

Commit f884164

Browse files
authored
feat(web): update snapshots (#2184)
1 parent 5dba02c commit f884164

File tree

3 files changed

+42
-42
lines changed

3 files changed

+42
-42
lines changed

packages/web/src/components/range/__snapshots__/DynamicRangeSlider.test.js.snap

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ exports[`should display tooltip 1`] = `
931931
<div
932932
className="rheostat-background"
933933
/>
934-
<button
934+
<div
935935
aria-disabled={false}
936936
aria-label="slider-button"
937937
aria-valuemax={3455}
@@ -957,8 +957,8 @@ exports[`should display tooltip 1`] = `
957957
>
958958
1
959959
</span>
960-
</button>
961-
<button
960+
</div>
961+
<div
962962
aria-disabled={false}
963963
aria-label="slider-button"
964964
aria-valuemax={3455}
@@ -984,7 +984,7 @@ exports[`should display tooltip 1`] = `
984984
>
985985
3455
986986
</span>
987-
</button>
987+
</div>
988988
<div
989989
className="rheostat-progress"
990990
style={
@@ -1165,7 +1165,7 @@ exports[`should not render histogram when showHistogram is set to false 1`] = `
11651165
<div
11661166
className="rheostat-background"
11671167
/>
1168-
<button
1168+
<div
11691169
aria-disabled={false}
11701170
aria-label="slider-button"
11711171
aria-valuemax={3455}
@@ -1186,7 +1186,7 @@ exports[`should not render histogram when showHistogram is set to false 1`] = `
11861186
}
11871187
tabIndex={0}
11881188
/>
1189-
<button
1189+
<div
11901190
aria-disabled={false}
11911191
aria-label="slider-button"
11921192
aria-valuemax={3455}
@@ -2166,7 +2166,7 @@ exports[`should render histogram when showHistogram is set to true 1`] = `
21662166
<div
21672167
className="rheostat-background"
21682168
/>
2169-
<button
2169+
<div
21702170
aria-disabled={false}
21712171
aria-label="slider-button"
21722172
aria-valuemax={3455}
@@ -2187,7 +2187,7 @@ exports[`should render histogram when showHistogram is set to true 1`] = `
21872187
}
21882188
tabIndex={0}
21892189
/>
2190-
<button
2190+
<div
21912191
aria-disabled={false}
21922192
aria-label="slider-button"
21932193
aria-valuemax={3455}
@@ -3167,7 +3167,7 @@ exports[`should render range labels 1`] = `
31673167
<div
31683168
className="rheostat-background"
31693169
/>
3170-
<button
3170+
<div
31713171
aria-disabled={false}
31723172
aria-label="slider-button"
31733173
aria-valuemax={3455}
@@ -3188,7 +3188,7 @@ exports[`should render range labels 1`] = `
31883188
}
31893189
tabIndex={0}
31903190
/>
3191-
<button
3191+
<div
31923192
aria-disabled={false}
31933193
aria-label="slider-button"
31943194
aria-valuemax={3455}
@@ -4168,7 +4168,7 @@ exports[`should render slider 1`] = `
41684168
<div
41694169
className="rheostat-background"
41704170
/>
4171-
<button
4171+
<div
41724172
aria-disabled={false}
41734173
aria-label="slider-button"
41744174
aria-valuemax={3455}
@@ -4189,7 +4189,7 @@ exports[`should render slider 1`] = `
41894189
}
41904190
tabIndex={0}
41914191
/>
4192-
<button
4192+
<div
41934193
aria-disabled={false}
41944194
aria-label="slider-button"
41954195
aria-valuemax={3455}
@@ -5180,7 +5180,7 @@ exports[`should render title 1`] = `
51805180
<div
51815181
className="rheostat-background"
51825182
/>
5183-
<button
5183+
<div
51845184
aria-disabled={false}
51855185
aria-label="slider-button"
51865186
aria-valuemax={3455}
@@ -5201,7 +5201,7 @@ exports[`should render title 1`] = `
52015201
}
52025202
tabIndex={0}
52035203
/>
5204-
<button
5204+
<div
52055205
aria-disabled={false}
52065206
aria-label="slider-button"
52075207
aria-valuemax={3455}

packages/web/src/components/range/__snapshots__/RangeInput.test.js.snap

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ exports[`should not render histogram when showHistogram is set to false 1`] = `
253253
<div
254254
className="rheostat-background"
255255
/>
256-
<button
256+
<div
257257
aria-disabled={false}
258258
aria-label="slider-button"
259259
aria-valuemax={50000}
@@ -274,7 +274,7 @@ exports[`should not render histogram when showHistogram is set to false 1`] = `
274274
}
275275
tabIndex={0}
276276
/>
277-
<button
277+
<div
278278
aria-disabled={false}
279279
aria-label="slider-button"
280280
aria-valuemax={50000}
@@ -1949,7 +1949,7 @@ exports[`should render histogram when showHistogram is set to true 1`] = `
19491949
<div
19501950
className="rheostat-background"
19511951
/>
1952-
<button
1952+
<div
19531953
aria-disabled={false}
19541954
aria-label="slider-button"
19551955
aria-valuemax={50000}
@@ -1970,7 +1970,7 @@ exports[`should render histogram when showHistogram is set to true 1`] = `
19701970
}
19711971
tabIndex={0}
19721972
/>
1973-
<button
1973+
<div
19741974
aria-disabled={false}
19751975
aria-label="slider-button"
19761976
aria-valuemax={50000}
@@ -2312,7 +2312,7 @@ exports[`should render range labels 1`] = `
23122312
<div
23132313
className="rheostat-background"
23142314
/>
2315-
<button
2315+
<div
23162316
aria-disabled={false}
23172317
aria-label="slider-button"
23182318
aria-valuemax={50000}
@@ -2333,7 +2333,7 @@ exports[`should render range labels 1`] = `
23332333
}
23342334
tabIndex={0}
23352335
/>
2336-
<button
2336+
<div
23372337
aria-disabled={false}
23382338
aria-label="slider-button"
23392339
aria-valuemax={50000}
@@ -2675,7 +2675,7 @@ exports[`should render range with slider 1`] = `
26752675
<div
26762676
className="rheostat-background"
26772677
/>
2678-
<button
2678+
<div
26792679
aria-disabled={false}
26802680
aria-label="slider-button"
26812681
aria-valuemax={50000}
@@ -2696,7 +2696,7 @@ exports[`should render range with slider 1`] = `
26962696
}
26972697
tabIndex={0}
26982698
/>
2699-
<button
2699+
<div
27002700
aria-disabled={false}
27012701
aria-label="slider-button"
27022702
aria-valuemax={50000}
@@ -3031,7 +3031,7 @@ exports[`should render title 1`] = `
30313031
<div
30323032
className="rheostat-background"
30333033
/>
3034-
<button
3034+
<div
30353035
aria-disabled={false}
30363036
aria-label="slider-button"
30373037
aria-valuemax={50000}
@@ -3052,7 +3052,7 @@ exports[`should render title 1`] = `
30523052
}
30533053
tabIndex={0}
30543054
/>
3055-
<button
3055+
<div
30563056
aria-disabled={false}
30573057
aria-label="slider-button"
30583058
aria-valuemax={50000}
@@ -3380,7 +3380,7 @@ exports[`should select default value 1`] = `
33803380
<div
33813381
className="rheostat-background"
33823382
/>
3383-
<button
3383+
<div
33843384
aria-disabled={false}
33853385
aria-label="slider-button"
33863386
aria-valuemax={48000}
@@ -3401,7 +3401,7 @@ exports[`should select default value 1`] = `
34013401
}
34023402
tabIndex={0}
34033403
/>
3404-
<button
3404+
<div
34053405
aria-disabled={false}
34063406
aria-label="slider-button"
34073407
aria-valuemax={50000}

packages/web/src/components/range/__snapshots__/RangeSlider.test.js.snap

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ exports[`should display tooltip 1`] = `
152152
<div
153153
className="rheostat-background"
154154
/>
155-
<button
155+
<div
156156
aria-disabled={false}
157157
aria-label="slider-button"
158158
aria-valuemax={50000}
@@ -178,8 +178,8 @@ exports[`should display tooltip 1`] = `
178178
>
179179
30000
180180
</span>
181-
</button>
182-
<button
181+
</div>
182+
<div
183183
aria-disabled={false}
184184
aria-label="slider-button"
185185
aria-valuemax={50000}
@@ -205,7 +205,7 @@ exports[`should display tooltip 1`] = `
205205
>
206206
50000
207207
</span>
208-
</button>
208+
</div>
209209
<div
210210
className="rheostat-progress"
211211
style={
@@ -386,7 +386,7 @@ exports[`should not render histogram when showHistogram is set to false 1`] = `
386386
<div
387387
className="rheostat-background"
388388
/>
389-
<button
389+
<div
390390
aria-disabled={false}
391391
aria-label="slider-button"
392392
aria-valuemax={50000}
@@ -407,7 +407,7 @@ exports[`should not render histogram when showHistogram is set to false 1`] = `
407407
}
408408
tabIndex={0}
409409
/>
410-
<button
410+
<div
411411
aria-disabled={false}
412412
aria-label="slider-button"
413413
aria-valuemax={50000}
@@ -1675,7 +1675,7 @@ exports[`should render histogram when showHistogram is set to true 1`] = `
16751675
<div
16761676
className="rheostat-background"
16771677
/>
1678-
<button
1678+
<div
16791679
aria-disabled={false}
16801680
aria-label="slider-button"
16811681
aria-valuemax={50000}
@@ -1696,7 +1696,7 @@ exports[`should render histogram when showHistogram is set to true 1`] = `
16961696
}
16971697
tabIndex={0}
16981698
/>
1699-
<button
1699+
<div
17001700
aria-disabled={false}
17011701
aria-label="slider-button"
17021702
aria-valuemax={50000}
@@ -1897,7 +1897,7 @@ exports[`should render range labels 1`] = `
18971897
<div
18981898
className="rheostat-background"
18991899
/>
1900-
<button
1900+
<div
19011901
aria-disabled={false}
19021902
aria-label="slider-button"
19031903
aria-valuemax={50000}
@@ -1918,7 +1918,7 @@ exports[`should render range labels 1`] = `
19181918
}
19191919
tabIndex={0}
19201920
/>
1921-
<button
1921+
<div
19221922
aria-disabled={false}
19231923
aria-label="slider-button"
19241924
aria-valuemax={50000}
@@ -2101,7 +2101,7 @@ exports[`should render slider 1`] = `
21012101
<div
21022102
className="rheostat-background"
21032103
/>
2104-
<button
2104+
<div
21052105
aria-disabled={false}
21062106
aria-label="slider-button"
21072107
aria-valuemax={50000}
@@ -2122,7 +2122,7 @@ exports[`should render slider 1`] = `
21222122
}
21232123
tabIndex={0}
21242124
/>
2125-
<button
2125+
<div
21262126
aria-disabled={false}
21272127
aria-label="slider-button"
21282128
aria-valuemax={50000}
@@ -2302,7 +2302,7 @@ exports[`should render title 1`] = `
23022302
<div
23032303
className="rheostat-background"
23042304
/>
2305-
<button
2305+
<div
23062306
aria-disabled={false}
23072307
aria-label="slider-button"
23082308
aria-valuemax={50000}
@@ -2323,7 +2323,7 @@ exports[`should render title 1`] = `
23232323
}
23242324
tabIndex={0}
23252325
/>
2326-
<button
2326+
<div
23272327
aria-disabled={false}
23282328
aria-label="slider-button"
23292329
aria-valuemax={50000}
@@ -2510,7 +2510,7 @@ exports[`should select default value 1`] = `
25102510
<div
25112511
className="rheostat-background"
25122512
/>
2513-
<button
2513+
<div
25142514
aria-disabled={false}
25152515
aria-label="slider-button"
25162516
aria-valuemax={48000}
@@ -2531,7 +2531,7 @@ exports[`should select default value 1`] = `
25312531
}
25322532
tabIndex={0}
25332533
/>
2534-
<button
2534+
<div
25352535
aria-disabled={false}
25362536
aria-label="slider-button"
25372537
aria-valuemax={50000}

0 commit comments

Comments
 (0)