Skip to content

Commit 64ec4be

Browse files
fix: update snapshots
1 parent 37b1839 commit 64ec4be

File tree

4 files changed

+30
-24
lines changed

4 files changed

+30
-24
lines changed

packages/@lightningjs/ui-components/src/components/ControlRow/__snapshots__/ControlRow.test.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ exports[`ControlRow renders 1`] = `
609609
"visible": true,
610610
"w": 880,
611611
"x": -40,
612-
"y": 68,
612+
"y": 52,
613613
"zIndex": 0,
614614
},
615615
"Title": {
@@ -671,7 +671,7 @@ exports[`ControlRow renders 1`] = `
671671
"enabled": true,
672672
"flex": false,
673673
"flexItem": false,
674-
"h": 48,
674+
"h": 32,
675675
"hasFinalFocus": false,
676676
"hasFocus": false,
677677
"isComponent": true,

packages/@lightningjs/ui-components/src/components/ScrollWrapper/__snapshots__/ScrollWrapper.test.js.snap

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -497,10 +497,11 @@ exports[`ScrollWrapper renders 1`] = `
497497
"textColor": 4294506490,
498498
"type": "TextTexture",
499499
"verticalAlign": "middle",
500+
"w": 24,
500501
"wordWrapWidth": 48,
501502
},
502503
"visible": true,
503-
"w": 0,
504+
"w": 24,
504505
"x": 0,
505506
"y": 2,
506507
"zIndex": 0,
@@ -511,7 +512,7 @@ exports[`ScrollWrapper renders 1`] = `
511512
"enabled": true,
512513
"flex": false,
513514
"flexItem": true,
514-
"h": 513,
515+
"h": 342,
515516
"hasFinalFocus": false,
516517
"hasFocus": false,
517518
"isComponent": true,
@@ -534,7 +535,7 @@ exports[`ScrollWrapper renders 1`] = `
534535
],
535536
"type": "TextBox",
536537
"visible": true,
537-
"w": 46.5,
538+
"w": 36,
538539
"x": 0,
539540
"y": 0,
540541
"zIndex": 0,
@@ -545,7 +546,7 @@ exports[`ScrollWrapper renders 1`] = `
545546
"enabled": true,
546547
"flex": true,
547548
"flexItem": true,
548-
"h": 513,
549+
"h": 342,
549550
"isComponent": undefined,
550551
"mount": 0,
551552
"mountX": 0,
@@ -666,10 +667,11 @@ exports[`ScrollWrapper renders a content array 1`] = `
666667
"textColor": 4294506490,
667668
"type": "TextTexture",
668669
"verticalAlign": "middle",
670+
"w": 48,
669671
"wordWrapWidth": 48,
670672
},
671673
"visible": true,
672-
"w": 0,
674+
"w": 48,
673675
"x": 0,
674676
"y": 2,
675677
"zIndex": 0,
@@ -680,7 +682,7 @@ exports[`ScrollWrapper renders a content array 1`] = `
680682
"enabled": true,
681683
"flex": false,
682684
"flexItem": true,
683-
"h": 33,
685+
"h": 22,
684686
"hasFinalFocus": false,
685687
"hasFocus": false,
686688
"isComponent": true,
@@ -703,7 +705,7 @@ exports[`ScrollWrapper renders a content array 1`] = `
703705
],
704706
"type": "TextBox",
705707
"visible": true,
706-
"w": 12,
708+
"w": 72,
707709
"x": 0,
708710
"y": 0,
709711
"zIndex": 0,
@@ -754,10 +756,11 @@ exports[`ScrollWrapper renders a content array 1`] = `
754756
"textColor": 4294506490,
755757
"type": "TextTexture",
756758
"verticalAlign": "middle",
759+
"w": 48,
757760
"wordWrapWidth": 48,
758761
},
759762
"visible": true,
760-
"w": 0,
763+
"w": 48,
761764
"x": 0,
762765
"y": 2,
763766
"zIndex": 0,
@@ -768,7 +771,7 @@ exports[`ScrollWrapper renders a content array 1`] = `
768771
"enabled": true,
769772
"flex": false,
770773
"flexItem": true,
771-
"h": 513,
774+
"h": 342,
772775
"hasFinalFocus": false,
773776
"hasFocus": false,
774777
"isComponent": true,
@@ -791,7 +794,7 @@ exports[`ScrollWrapper renders a content array 1`] = `
791794
],
792795
"type": "TextBox",
793796
"visible": true,
794-
"w": 46.5,
797+
"w": 72,
795798
"x": 0,
796799
"y": 0,
797800
"zIndex": 0,
@@ -1318,10 +1321,11 @@ exports[`ScrollWrapper renders a content string 1`] = `
13181321
"textColor": 4294506490,
13191322
"type": "TextTexture",
13201323
"verticalAlign": "middle",
1324+
"w": 24,
13211325
"wordWrapWidth": 48,
13221326
},
13231327
"visible": true,
1324-
"w": 0,
1328+
"w": 24,
13251329
"x": 0,
13261330
"y": 2,
13271331
"zIndex": 0,
@@ -1332,7 +1336,7 @@ exports[`ScrollWrapper renders a content string 1`] = `
13321336
"enabled": true,
13331337
"flex": false,
13341338
"flexItem": true,
1335-
"h": 513,
1339+
"h": 342,
13361340
"hasFinalFocus": false,
13371341
"hasFocus": false,
13381342
"isComponent": true,
@@ -1355,7 +1359,7 @@ exports[`ScrollWrapper renders a content string 1`] = `
13551359
],
13561360
"type": "TextBox",
13571361
"visible": true,
1358-
"w": 46.5,
1362+
"w": 36,
13591363
"x": 0,
13601364
"y": 0,
13611365
"zIndex": 0,
@@ -1366,7 +1370,7 @@ exports[`ScrollWrapper renders a content string 1`] = `
13661370
"enabled": true,
13671371
"flex": true,
13681372
"flexItem": true,
1369-
"h": 513,
1373+
"h": 342,
13701374
"isComponent": undefined,
13711375
"mount": 0,
13721376
"mountX": 0,

packages/@lightningjs/ui-components/src/components/TitleRow/__snapshots__/TitleRow.test.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ exports[`TitleRow renders 1`] = `
282282
"visible": true,
283283
"w": 2220,
284284
"x": 0,
285-
"y": 68,
285+
"y": 52,
286286
"zIndex": 0,
287287
},
288288
"Title": {
@@ -344,7 +344,7 @@ exports[`TitleRow renders 1`] = `
344344
"enabled": true,
345345
"flex": false,
346346
"flexItem": false,
347-
"h": 48,
347+
"h": 32,
348348
"hasFinalFocus": false,
349349
"hasFocus": false,
350350
"isComponent": true,

packages/@lightningjs/ui-components/src/components/Tooltip/__snapshots__/Tooltip.test.js.snap

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ exports[`Tooltip renders 1`] = `
2525
"enabled": true,
2626
"flex": false,
2727
"flexItem": false,
28-
"h": 0,
28+
"h": 33,
2929
"isComponent": undefined,
3030
"mount": 0,
3131
"mountX": 0,
@@ -48,16 +48,18 @@ exports[`Tooltip renders 1`] = `
4848
"fontFace": "Arial",
4949
"fontSize": 20,
5050
"fontStyle": "300",
51+
"h": 33,
5152
"lineHeight": 32,
5253
"precision": 0.6666666666666666,
5354
"text": "Tooltip",
5455
"textBaseline": "bottom",
5556
"textColor": 4279769113,
5657
"type": "TextTexture",
5758
"verticalAlign": "middle",
59+
"w": 605.48291015625,
5860
},
5961
"visible": true,
60-
"w": 0,
62+
"w": 605.48291015625,
6163
"x": 0,
6264
"y": 2,
6365
"zIndex": 0,
@@ -91,8 +93,8 @@ exports[`Tooltip renders 1`] = `
9193
],
9294
"type": "TextBox",
9395
"visible": true,
94-
"w": 10.5,
95-
"x": 25.25,
96+
"w": 908.224365234375,
97+
"x": 474.1121826171875,
9698
"y": 26.5,
9799
"zIndex": 0,
98100
},
@@ -124,10 +126,10 @@ exports[`Tooltip renders 1`] = `
124126
"texture": {
125127
"h": 73,
126128
"type": "Bubble",
127-
"w": 50.5,
129+
"w": 948.224365234375,
128130
},
129131
"visible": true,
130-
"w": 50.5,
132+
"w": 948.224365234375,
131133
"x": 0,
132134
"y": 0,
133135
"zIndex": 0,

0 commit comments

Comments
 (0)