Skip to content

Commit e6e494a

Browse files
committed
chore: Update component snapshots
Underlying library components have updated tree structures. I've manually validated the appearance of all these components. Next will be additional reviews of the functionality.
1 parent 0eb068b commit e6e494a

File tree

7 files changed

+4558
-8787
lines changed

7 files changed

+4558
-8787
lines changed

src/ui/components/PlayerControls/__tests__/__snapshots__/PlayerControls.test.ts.snap

+73-130
Original file line numberDiff line numberDiff line change
@@ -61,37 +61,60 @@ exports[`Player Controls [Default] matches snapshot 1`] = `
6161
>
6262
0.000
6363
</Text>
64-
<RNCSlider
65-
disabled={false}
66-
inverted={false}
67-
lowerLimit={-9007199254740991}
68-
maximumTrackTintColor="rgb(26, 28, 24)"
69-
maximumValue={15000}
70-
minimumTrackTintColor="rgb(0, 110, 0)"
71-
minimumValue={0}
72-
onChange={[Function]}
73-
onRNCSliderAccessibilityAction={null}
74-
onRNCSliderSlidingComplete={[Function]}
75-
onRNCSliderSlidingStart={[Function]}
76-
onRNCSliderValueChange={[Function]}
77-
onResponderTerminationRequest={[Function]}
78-
onStartShouldSetResponder={[Function]}
79-
step={0}
64+
<View
65+
onLayout={[Function]}
8066
style={
8167
[
68+
[
69+
{
70+
"flex": 4,
71+
},
72+
{
73+
"height": 40,
74+
},
75+
],
8276
{
83-
"flex": 4,
84-
},
85-
{
86-
"height": 40,
77+
"justifyContent": "center",
8778
},
8879
]
8980
}
90-
tapToSeek={false}
91-
thumbTintColor="rgb(0, 110, 0)"
92-
upperLimit={9007199254740991}
93-
value={0}
94-
/>
81+
>
82+
<RNCSlider
83+
disabled={false}
84+
inverted={false}
85+
lowerLimit={-9007199254740991}
86+
maximumTrackTintColor="rgb(26, 28, 24)"
87+
maximumValue={15000}
88+
minimumTrackTintColor="rgb(0, 110, 0)"
89+
minimumValue={0}
90+
onChange={[Function]}
91+
onRNCSliderAccessibilityAction={null}
92+
onRNCSliderSlidingComplete={[Function]}
93+
onRNCSliderSlidingStart={[Function]}
94+
onRNCSliderValueChange={[Function]}
95+
onResponderTerminationRequest={[Function]}
96+
onStartShouldSetResponder={[Function]}
97+
step={0}
98+
style={
99+
[
100+
{
101+
"width": 0,
102+
"zIndex": 1,
103+
},
104+
{
105+
"height": 40,
106+
},
107+
{
108+
"alignContent": "center",
109+
"alignItems": "center",
110+
},
111+
]
112+
}
113+
tapToSeek={false}
114+
thumbTintColor="rgb(0, 110, 0)"
115+
upperLimit={9007199254740991}
116+
/>
117+
</View>
95118
<Text
96119
style={
97120
[
@@ -271,27 +294,11 @@ exports[`Player Controls [Default] matches snapshot 1`] = `
271294
}
272295
testID="icon-button"
273296
>
274-
<Text
275-
allowFontScaling={false}
276-
selectable={false}
277-
style={
278-
[
279-
{
280-
"color": "rgb(67, 72, 63)",
281-
"fontSize": 24,
282-
},
283-
undefined,
284-
{
285-
"fontFamily": "Entypo",
286-
"fontStyle": "normal",
287-
"fontWeight": "normal",
288-
},
289-
{},
290-
]
291-
}
292-
>
293-
294-
</Text>
297+
<icon
298+
color="rgb(67, 72, 63)"
299+
name="controller-jump-to-start"
300+
size={24}
301+
/>
295302
</View>
296303
</View>
297304
</View>
@@ -398,27 +405,11 @@ exports[`Player Controls [Default] matches snapshot 1`] = `
398405
}
399406
testID="icon-button"
400407
>
401-
<Text
402-
allowFontScaling={false}
403-
selectable={false}
404-
style={
405-
[
406-
{
407-
"color": "rgb(67, 72, 63)",
408-
"fontSize": 24,
409-
},
410-
undefined,
411-
{
412-
"fontFamily": "Entypo",
413-
"fontStyle": "normal",
414-
"fontWeight": "normal",
415-
},
416-
{},
417-
]
418-
}
419-
>
420-
421-
</Text>
408+
<icon
409+
color="rgb(67, 72, 63)"
410+
name="controller-fast-backward"
411+
size={24}
412+
/>
422413
</View>
423414
</View>
424415
</View>
@@ -558,27 +549,11 @@ exports[`Player Controls [Default] matches snapshot 1`] = `
558549
}
559550
testID="cross-fade-icon-current"
560551
>
561-
<Text
562-
allowFontScaling={false}
563-
selectable={false}
564-
style={
565-
[
566-
{
567-
"color": "rgb(67, 72, 63)",
568-
"fontSize": 24,
569-
},
570-
undefined,
571-
{
572-
"fontFamily": "Entypo",
573-
"fontStyle": "normal",
574-
"fontWeight": "normal",
575-
},
576-
{},
577-
]
578-
}
579-
>
580-
581-
</Text>
552+
<icon
553+
color="rgb(67, 72, 63)"
554+
name="controller-play"
555+
size={24}
556+
/>
582557
</View>
583558
</View>
584559
</View>
@@ -687,27 +662,11 @@ exports[`Player Controls [Default] matches snapshot 1`] = `
687662
}
688663
testID="icon-button"
689664
>
690-
<Text
691-
allowFontScaling={false}
692-
selectable={false}
693-
style={
694-
[
695-
{
696-
"color": "rgb(67, 72, 63)",
697-
"fontSize": 24,
698-
},
699-
undefined,
700-
{
701-
"fontFamily": "Entypo",
702-
"fontStyle": "normal",
703-
"fontWeight": "normal",
704-
},
705-
{},
706-
]
707-
}
708-
>
709-
710-
</Text>
665+
<icon
666+
color="rgb(67, 72, 63)"
667+
name="controller-fast-forward"
668+
size={24}
669+
/>
711670
</View>
712671
</View>
713672
</View>
@@ -814,27 +773,11 @@ exports[`Player Controls [Default] matches snapshot 1`] = `
814773
}
815774
testID="icon-button"
816775
>
817-
<Text
818-
allowFontScaling={false}
819-
selectable={false}
820-
style={
821-
[
822-
{
823-
"color": "rgb(67, 72, 63)",
824-
"fontSize": 24,
825-
},
826-
undefined,
827-
{
828-
"fontFamily": "Entypo",
829-
"fontStyle": "normal",
830-
"fontWeight": "normal",
831-
},
832-
{},
833-
]
834-
}
835-
>
836-
837-
</Text>
776+
<icon
777+
color="rgb(67, 72, 63)"
778+
name="controller-next"
779+
size={24}
780+
/>
838781
</View>
839782
</View>
840783
</View>

0 commit comments

Comments
 (0)