From a68ca05ab26ef4f9276e7db16a14b3d7afd11243 Mon Sep 17 00:00:00 2001 From: Eric Mika Date: Thu, 21 Sep 2023 15:36:31 -0400 Subject: [PATCH 1/2] feat: support for tweakpane v4 --- .eslintignore | 2 +- .eslintrc.js => .eslintrc.cjs | 0 LICENSE => LICENSE.txt | 0 README.md | 13 +- index.html | 15 +- package.json | 43 +- rollup.config.js | 22 +- src/Euler.ts | 12 +- src/PointProjector.ts | 2 +- src/Quaternion.ts | 10 +- src/QuaternionAssembly.ts | 4 +- src/Rotation.ts | 8 +- src/RotationInputController.ts | 19 +- src/RotationInputControllerConfig.ts | 12 +- src/RotationInputGizmoController.ts | 16 +- src/RotationInputGizmoControllerConfig.ts | 2 +- src/RotationInputGizmoView.ts | 16 +- src/RotationInputGizmoViewConfig.ts | 2 +- src/RotationInputPluginEuler.ts | 33 +- src/RotationInputPluginEulerParams.ts | 4 +- src/RotationInputPluginQuaternion.ts | 28 +- src/RotationInputSwatchController.ts | 6 +- src/RotationInputSwatchControllerConfig.ts | 2 +- src/RotationInputSwatchView.ts | 16 +- src/RotationInputSwatchViewConfig.ts | 4 +- src/RotationInputView.ts | 2 +- src/RotationInputViewConfig.ts | 2 +- src/SVGLineStrip.ts | 6 +- src/Vector3.ts | 2 +- src/createArcRotation.ts | 4 +- src/createArcVerticesArray.ts | 2 +- src/createAxisEuler.ts | 5 +- src/createAxisQuaternion.ts | 5 +- src/createEulerAssembly.ts | 8 +- src/index.ts | 8 +- src/isRotationInputRotation.ts | 2 +- src/parseEuler.ts | 6 +- src/parseEulerOrder.ts | 2 +- src/parseEulerUnit.ts | 2 +- src/parseQuaternion.ts | 2 +- src/sass/plugin.scss | 65 +- src/tsconfig-dts.json | 8 + src/tsconfig.json | 8 + src/utils/iikanjiEaseout.ts | 2 +- src/utils/linearstep.ts | 2 +- src/utils/mod.ts | 2 +- src/utils/sanitizeAngle.ts | 2 +- src/utils/saturate.ts | 2 +- tsconfig.json | 10 - yarn.lock | 2752 ++++++++------------ 50 files changed, 1308 insertions(+), 1894 deletions(-) rename .eslintrc.js => .eslintrc.cjs (100%) rename LICENSE => LICENSE.txt (100%) create mode 100644 src/tsconfig-dts.json create mode 100644 src/tsconfig.json delete mode 100644 tsconfig.json diff --git a/.eslintignore b/.eslintignore index 15bee58..dfc47aa 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,5 +2,5 @@ /docs/**/* /ts*/**/* /types/**/* -.eslintrc.js +.eslintrc.cjs rollup.config.js diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 100% rename from .eslintrc.js rename to .eslintrc.cjs diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt diff --git a/README.md b/README.md index 9e8c5cb..124e661 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,10 @@ Rotation input plugin for Tweakpane [Sandbox](https://0b5vr.github.io/tweakpane-plugin-rotation) ```html - - - - - -