Skip to content

Commit 9dc8ba5

Browse files
committed
dependencies updated
1 parent 691e8a8 commit 9dc8ba5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+7003
-4186
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
node_modules
22
dist
3+
dist-cli
34
.cache
45
*.tgz
56
docs-dist

apps/benchmark-web/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
"@flyover/box2d": "^1.0.1",
3030
"box2d.js": "^1.0.4",
3131
"box2dweb": "^2.1.0-b",
32-
"planck-js": "^0.3.31"
32+
"planck-js": "^1.3.0"
3333
},
3434
"devDependencies": {
35-
"esbuild": "^0.21.5",
35+
"esbuild": "^0.25.0",
3636
"esbuild-ts-paths": "^1.1.3"
3737
}
3838
}

apps/testbed/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
"@box2d/particles": "^0.11.0",
3232
"@react-nano/router": "^0.15.0",
3333
"@types/randomcolor": "^0.5.9",
34-
"@types/react": "^18.3.3",
35-
"@types/react-dom": "^18.3.0",
36-
"esbuild": "^0.21.5",
34+
"@types/react": "^18.3.18",
35+
"@types/react-dom": "^18.3.5",
36+
"esbuild": "^0.25.0",
3737
"esbuild-sass-plugin": "^3.3.1",
3838
"esbuild-ts-paths": "^1.1.3",
3939
"gl-matrix": "^3.4.3",
4040
"react": "^18.3.1",
4141
"react-dom": "^18.3.1",
42-
"sort-package-json": "^2.10.0",
42+
"sort-package-json": "^2.14.0",
4343
"typed-glsl": "0.11.2",
4444
"typed-signals": "^3.0.0",
4545
"typeface-open-sans": "1.1.13"

apps/testbed/src/tests/core/top_down_car.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import { Test, registerTest } from "../../test";
3636
import { Settings } from "../../settings";
3737
import { HotKey, hotKeyState } from "../../utils/hotkeys";
3838

39-
// eslint-disable-next-line @typescript-eslint/no-loss-of-precision
39+
// eslint-disable-next-line no-loss-of-precision
4040
const DEGTORAD = 0.0174532925199432957;
4141
// const RADTODEG = 57.295779513082320876;
4242

@@ -341,7 +341,7 @@ class TopdownCar extends Test {
341341
this.m_car = new TDCar(this.m_world);
342342
}
343343

344-
public getHotkeys(): HotKey[] {
344+
public override getHotkeys(): HotKey[] {
345345
return [
346346
hotKeyState("a", "Turn Left", this.m_controlState, "left"),
347347
hotKeyState("d", "Turn Right", this.m_controlState, "right"),
@@ -365,11 +365,11 @@ class TopdownCar extends Test {
365365
}
366366
}
367367

368-
public BeginContact(contact: b2Contact): void {
368+
public override BeginContact(contact: b2Contact): void {
369369
TopdownCar.handleContact(contact, true);
370370
}
371371

372-
public EndContact(contact: b2Contact): void {
372+
public override EndContact(contact: b2Contact): void {
373373
TopdownCar.handleContact(contact, false);
374374
}
375375

@@ -385,7 +385,7 @@ class TopdownCar extends Test {
385385
}
386386
}
387387

388-
public Step(settings: Settings, timeStep: number): void {
388+
public override Step(settings: Settings, timeStep: number): void {
389389
/* this.m_tire.updateFriction();
390390
this.m_tire.updateDrive(this.m_controlState);
391391
this.m_tire.updateTurn(this.m_controlState); */

apps/testbed/src/ui/Main/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useEffect, useReducer, useRef } from "react";
1+
import { useEffect, useReducer, useRef } from "react";
22
import { useRouter } from "@react-nano/router";
33

44
import { useManager } from "../../manager";

apps/testbed/src/ui/Section/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { PropsWithChildren, useState } from "react";
1+
import { PropsWithChildren, useState } from "react";
22

33
import "./style.scss";
44

apps/testbed/src/ui/Section/style.scss

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
.section {
22
border: none;
33
padding: 0;
4-
margin: 0 0 $spacing-md 0;
4+
margin: 0 0 vars.$spacing-md 0;
55

66
> legend {
77
font-weight: bold;
88
display: block;
99
width: 100%;
10-
padding: 0 $spacing-md;
11-
margin: 0 -#{$spacing-md};
10+
padding: 0 vars.$spacing-md;
11+
margin: 0 -#{vars.$spacing-md};
1212
position: relative;
1313
cursor: pointer;
14-
font-size: $font-size-lg;
14+
font-size: vars.$font-size-lg;
1515

1616
&:hover {
17-
background: $color-frame-bg-hovered;
17+
background: vars.$color-frame-bg-hovered;
1818
}
1919

2020
&::after {
2121
content: "";
22-
font-size: $font-size-sm;
22+
font-size: vars.$font-size-sm;
2323
position: absolute;
2424
top: 0;
25-
right: $spacing-md;
26-
width: $spacing-lg;
25+
right: vars.$spacing-md;
26+
width: vars.$spacing-lg;
2727
height: 100%;
2828
display: flex;
2929
align-items: center;
@@ -35,34 +35,34 @@
3535
}
3636

3737
&.active-legend {
38-
background: $color-frame-bg;
38+
background: vars.$color-frame-bg;
3939
}
4040
}
4141

4242
> div {
43-
padding: $spacing-md 0 0 0;
43+
padding: vars.$spacing-md 0 0 0;
4444

4545
&.section-content-hidden {
4646
display: none;
4747
}
4848

4949
> a {
50-
font-size: $font-size-md;
50+
font-size: vars.$font-size-md;
5151
display: block;
52-
color: $color-text;
52+
color: vars.$color-text;
5353
text-decoration: none;
54-
padding: 0 $spacing-md;
54+
padding: 0 vars.$spacing-md;
5555

5656
&.active-link {
57-
background: $color-frame-bg;
57+
background: vars.$color-frame-bg;
5858
}
5959

6060
&:hover {
61-
background: $color-frame-bg-hovered;
61+
background: vars.$color-frame-bg-hovered;
6262
}
6363

6464
&:active {
65-
background: $color-frame-bg-active;
65+
background: vars.$color-frame-bg-active;
6666
}
6767
}
6868
}

apps/testbed/src/ui/SettingsSection/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import React from "react";
2-
31
import { TestControl } from "../../testControls";
42
import { Checkbox } from "../controls/Checkbox";
53
import { Radio } from "../controls/Radio";
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.settings-section > .section-content > * + * {
2-
margin: $spacing-md 0 0 0;
2+
margin: vars.$spacing-md 0 0 0;
33
}

apps/testbed/src/ui/SideBar/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useEffect, useMemo, useState } from "react";
1+
import { useEffect, useMemo, useState } from "react";
22
import { useRouter } from "@react-nano/router";
33

44
import "./style.scss";

0 commit comments

Comments
 (0)