mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-24 03:55:49 -05:00
Upgrade tldraw to latest
This commit is contained in:
@@ -29,7 +29,6 @@ import {
|
||||
} from "~/modules/in-game-lists";
|
||||
import { modesShort } from "~/modules/in-game-lists/modes";
|
||||
import {
|
||||
TLDRAW_URL,
|
||||
mainWeaponImageUrl,
|
||||
outlinedMainWeaponImageUrl,
|
||||
specialWeaponImageUrl,
|
||||
@@ -42,7 +41,6 @@ import { Image } from "../../../components/Image";
|
||||
import type { StageBackgroundStyle } from "../plans-types";
|
||||
|
||||
export default function Planner() {
|
||||
const { t } = useTranslation(["common"]);
|
||||
const { i18n } = useTranslation();
|
||||
const plannerBgParams = usePlannerBg();
|
||||
|
||||
@@ -233,11 +231,6 @@ export default function Planner() {
|
||||
<StageBackgroundSelector onAddBackground={handleAddBackgroundImage} />
|
||||
<OutlineToggle outlined={imgOutlined} setImgOutlined={setImgOutlined} />
|
||||
<WeaponImageSelector handleAddWeapon={handleAddWeapon} />
|
||||
<div className="plans__powered-by">
|
||||
<a href={TLDRAW_URL} target="_blank" rel="noreferrer">
|
||||
{t("common:plans.poweredBy", { name: "tldraw" })}
|
||||
</a>
|
||||
</div>
|
||||
<div style={{ position: "fixed", inset: 0 }}>
|
||||
<Tldraw
|
||||
onMount={handleMount}
|
||||
|
||||
@@ -148,15 +148,6 @@ button[data-state="closed"][aria-haspopup="dialog"] {
|
||||
gap: var(--s-1-5);
|
||||
}
|
||||
|
||||
.plans__powered-by {
|
||||
position: fixed;
|
||||
z-index: 10;
|
||||
right: 0.5%;
|
||||
bottom: 0.5%;
|
||||
color: var(--text-lighter);
|
||||
font-size: var(--fonts-xxxs);
|
||||
}
|
||||
|
||||
.plans__no-img-text {
|
||||
color: var(--theme-error);
|
||||
font-size: var(--fonts-xs);
|
||||
|
||||
@@ -58,7 +58,6 @@ export const PATREON_HOW_TO_CONNECT_DISCORD_URL =
|
||||
export const SENDOU_INK_GITHUB_URL = "https://github.com/Sendouc/sendou.ink";
|
||||
export const GITHUB_CONTRIBUTORS_URL =
|
||||
"https://github.com/Sendouc/sendou.ink/graphs/contributors";
|
||||
export const TLDRAW_URL = "https://www.tldraw.com/";
|
||||
export const BORZOIC_TWITTER = "https://twitter.com/borzoic_";
|
||||
export const LEAN_TWITTER = "https://twitter.com/LeanYoshi";
|
||||
export const UBERU_TWITTER = "https://twitter.com/uberu5";
|
||||
|
||||
@@ -122,7 +122,6 @@
|
||||
"weapon.category.subs": "Sekundære våben",
|
||||
"weapon.category.specials": "Specialvåben",
|
||||
|
||||
"plans.poweredBy": "Tegneprogrammet er leveret af {{name}}",
|
||||
"plans.blueprint": "Blåtryk",
|
||||
"plans.bgStyle.OVER": "Set ovenfra",
|
||||
"plans.bgStyle.MINI": "Kort (blankt)",
|
||||
|
||||
@@ -118,7 +118,6 @@
|
||||
"weapon.category.subs": "Sekundärwaffen",
|
||||
"weapon.category.specials": "Spezialwaffen",
|
||||
|
||||
"plans.poweredBy": "Ermöglicht durch {{name}}",
|
||||
"plans.blueprint": "Entwurf",
|
||||
"plans.bgStyle.OVER": "Vogelperspektive",
|
||||
"plans.bgStyle.MINI": "Mini-Karte (leer)",
|
||||
|
||||
@@ -141,7 +141,6 @@
|
||||
"weapon.category.subs": "Subs",
|
||||
"weapon.category.specials": "Specials",
|
||||
|
||||
"plans.poweredBy": "Powered by {{name}}",
|
||||
"plans.blueprint": "Blueprint",
|
||||
"plans.bgStyle.OVER": "Overhead",
|
||||
"plans.bgStyle.MINI": "Minimap (blank)",
|
||||
|
||||
@@ -130,7 +130,6 @@
|
||||
"weapon.category.subs": "Armas Secundarias",
|
||||
"weapon.category.specials": "Armas Especiales",
|
||||
|
||||
"plans.poweredBy": "Creado usando {{name}}",
|
||||
"plans.blueprint": "Planos",
|
||||
"plans.bgStyle.OVER": "Vista aérea",
|
||||
"plans.bgStyle.MINI": "Mapa (vacio)",
|
||||
|
||||
@@ -139,7 +139,6 @@
|
||||
"weapon.category.subs": "Armas Secundarias",
|
||||
"weapon.category.specials": "Armas Especiales",
|
||||
|
||||
"plans.poweredBy": "Creado usando {{name}}",
|
||||
"plans.blueprint": "Planos",
|
||||
"plans.bgStyle.OVER": "Vista aérea",
|
||||
"plans.bgStyle.MINI": "Mapa (vacio)",
|
||||
|
||||
@@ -125,7 +125,6 @@
|
||||
"weapon.category.subs": "Secondaires",
|
||||
"weapon.category.specials": "Spéciales",
|
||||
|
||||
"plans.poweredBy": "Réalisé avec {{name}}",
|
||||
"plans.blueprint": "Plans",
|
||||
"plans.bgStyle.OVER": "Vue de dessus",
|
||||
"plans.bgStyle.MINI": "Carte territoriale (vide)",
|
||||
|
||||
@@ -125,7 +125,6 @@
|
||||
"weapon.category.subs": "Secondaires",
|
||||
"weapon.category.specials": "Spéciales",
|
||||
|
||||
"plans.poweredBy": "Réalisé avec {{name}}",
|
||||
"plans.blueprint": "Plans",
|
||||
"plans.bgStyle.OVER": "Vue de dessus",
|
||||
"plans.bgStyle.MINI": "Carte territoriale (vide)",
|
||||
|
||||
@@ -125,7 +125,6 @@
|
||||
"weapon.category.subs": "Subs",
|
||||
"weapon.category.specials": "Specials",
|
||||
|
||||
"plans.poweredBy": "מופעל על ידי {{name}}",
|
||||
"plans.blueprint": "תכנית",
|
||||
"plans.bgStyle.OVER": "מבט על",
|
||||
"plans.bgStyle.MINI": "מפה (ריקה)",
|
||||
|
||||
@@ -90,7 +90,6 @@
|
||||
"weapon.category.BRELLAS": "Sparasole",
|
||||
"weapon.category.STRINGERS": "Calamarchi",
|
||||
"weapon.category.SPLATANAS": "Lame",
|
||||
"plans.poweredBy": "Offerto da {{name}}",
|
||||
"articles.by": "da {{author}}",
|
||||
"websiteSubtitle": "Hub per Splatoon Competitivo"
|
||||
}
|
||||
|
||||
@@ -136,7 +136,6 @@
|
||||
"weapon.category.subs": "サブ",
|
||||
"weapon.category.specials": "スペシャル",
|
||||
|
||||
"plans.poweredBy": "Powered by {{name}}",
|
||||
"plans.blueprint": "計画",
|
||||
"plans.bgStyle.OVER": "頭上マップ",
|
||||
"plans.bgStyle.MINI": "ミニマップ (障害物なし)",
|
||||
|
||||
@@ -124,7 +124,6 @@
|
||||
"weapon.category.subs": "서브",
|
||||
"weapon.category.specials": "스페셜",
|
||||
|
||||
"plans.poweredBy": "Powered by {{name}}",
|
||||
"plans.blueprint": "Blueprint",
|
||||
"plans.bgStyle.OVER": "전체",
|
||||
"plans.bgStyle.MINI": "미니맵 (간단)",
|
||||
|
||||
@@ -112,7 +112,6 @@
|
||||
"weapon.category.subs": "Bronie zapasowe",
|
||||
"weapon.category.specials": "Bronie specjalne",
|
||||
|
||||
"plans.poweredBy": "Zasilany przez {{name}}",
|
||||
"plans.blueprint": "Projekt",
|
||||
"plans.bgStyle.OVER": "Overhead",
|
||||
"plans.bgStyle.MINI": "Minimapa (pusta)",
|
||||
|
||||
@@ -136,7 +136,6 @@
|
||||
"weapon.category.subs": "Armas secundárias",
|
||||
"weapon.category.specials": "Especiais",
|
||||
|
||||
"plans.poweredBy": "Distribuído por {{name}}",
|
||||
"plans.blueprint": "Planta",
|
||||
"plans.bgStyle.OVER": "Visão aérea",
|
||||
"plans.bgStyle.MINI": "Minimapa (vazio)",
|
||||
|
||||
@@ -127,7 +127,6 @@
|
||||
"weapon.category.subs": "Запасное",
|
||||
"weapon.category.specials": "Особое",
|
||||
|
||||
"plans.poweredBy": "При поддержке {{name}}",
|
||||
"plans.blueprint": "план",
|
||||
"plans.bgStyle.OVER": "Вид сверху",
|
||||
"plans.bgStyle.MINI": "Миникарта (пустая)",
|
||||
|
||||
@@ -139,7 +139,6 @@
|
||||
"weapon.category.subs": "副武器",
|
||||
"weapon.category.specials": "特殊武器",
|
||||
|
||||
"plans.poweredBy": "Powered by {{name}}",
|
||||
"plans.blueprint": "蓝图",
|
||||
"plans.bgStyle.OVER": "俯视图",
|
||||
"plans.bgStyle.MINI": "小地图(空白)",
|
||||
|
||||
196
package-lock.json
generated
196
package-lock.json
generated
@@ -21,7 +21,7 @@
|
||||
"@remix-run/node": "^2.12.1",
|
||||
"@remix-run/react": "^2.12.1",
|
||||
"@remix-run/serve": "^2.12.1",
|
||||
"@tldraw/tldraw": "2.4.6",
|
||||
"@tldraw/tldraw": "3.0.3",
|
||||
"aws-sdk": "^2.1691.0",
|
||||
"better-sqlite3": "11.1.2",
|
||||
"clsx": "^2.1.1",
|
||||
@@ -2311,28 +2311,28 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@floating-ui/core": {
|
||||
"version": "1.6.7",
|
||||
"resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.7.tgz",
|
||||
"integrity": "sha512-yDzVT/Lm101nQ5TCVeK65LtdN7Tj4Qpr9RTXJ2vPFLqtLxwOrpoxAHAJI8J3yYWUc40J0BDBheaitK5SJmno2g==",
|
||||
"version": "1.6.8",
|
||||
"resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.8.tgz",
|
||||
"integrity": "sha512-7XJ9cPU+yI2QeLS+FCSlqNFZJq8arvswefkZrYI1yQBbftw6FyrZOxYSh+9S7z7TpeWlRt9zJ5IhM1WIL334jA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@floating-ui/utils": "^0.2.7"
|
||||
"@floating-ui/utils": "^0.2.8"
|
||||
}
|
||||
},
|
||||
"node_modules/@floating-ui/dom": {
|
||||
"version": "1.6.10",
|
||||
"resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.10.tgz",
|
||||
"integrity": "sha512-fskgCFv8J8OamCmyun8MfjB1Olfn+uZKjOKZ0vhYF3gRmEUXcGOjxWL8bBr7i4kIuPZ2KD2S3EUIOxnjC8kl2A==",
|
||||
"version": "1.6.11",
|
||||
"resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.11.tgz",
|
||||
"integrity": "sha512-qkMCxSR24v2vGkhYDo/UzxfJN3D4syqSjyuTFz6C7XcpU1pASPRieNI0Kj5VP3/503mOfYiGY891ugBX1GlABQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@floating-ui/core": "^1.6.0",
|
||||
"@floating-ui/utils": "^0.2.7"
|
||||
"@floating-ui/utils": "^0.2.8"
|
||||
}
|
||||
},
|
||||
"node_modules/@floating-ui/react-dom": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.1.tgz",
|
||||
"integrity": "sha512-4h84MJt3CHrtG18mGsXuLCHMrug49d7DFkU0RMIyshRveBeyV2hmV/pDaF2Uxtu8kgq5r46llp5E5FQiR0K2Yg==",
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.2.tgz",
|
||||
"integrity": "sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@floating-ui/dom": "^1.0.0"
|
||||
@@ -2343,9 +2343,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@floating-ui/utils": {
|
||||
"version": "0.2.7",
|
||||
"resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.7.tgz",
|
||||
"integrity": "sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA==",
|
||||
"version": "0.2.8",
|
||||
"resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.8.tgz",
|
||||
"integrity": "sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@headlessui/react": {
|
||||
@@ -5582,107 +5582,73 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tldraw/editor": {
|
||||
"version": "2.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/editor/-/editor-2.4.6.tgz",
|
||||
"integrity": "sha512-oeGyObXp+bBZpTo9QlNHm+8E+t3oFYljqrapDqNy65jC84b8kY+43ma50YM9aux2KFYqzTZTGvjS8a6Y63UWtg==",
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/editor/-/editor-3.0.3.tgz",
|
||||
"integrity": "sha512-XKJe+yyLnrIseO9RwDMpU8+19Zj66augRHdE7Yh5Na7hLuoDrL7IWkrOgf5hmgJsPVvK5o6nVJyoC7V3Ldszxw==",
|
||||
"license": "SEE LICENSE IN LICENSE.md",
|
||||
"dependencies": {
|
||||
"@tldraw/state": "2.4.6",
|
||||
"@tldraw/state-react": "2.4.6",
|
||||
"@tldraw/store": "2.4.6",
|
||||
"@tldraw/tlschema": "2.4.6",
|
||||
"@tldraw/utils": "2.4.6",
|
||||
"@tldraw/validate": "2.4.6",
|
||||
"@tldraw/state": "3.0.3",
|
||||
"@tldraw/state-react": "3.0.3",
|
||||
"@tldraw/store": "3.0.3",
|
||||
"@tldraw/tlschema": "3.0.3",
|
||||
"@tldraw/utils": "3.0.3",
|
||||
"@tldraw/validate": "3.0.3",
|
||||
"@types/core-js": "^2.5.5",
|
||||
"@use-gesture/react": "^10.2.27",
|
||||
"classnames": "^2.3.2",
|
||||
"core-js": "^3.31.1",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"idb": "^7.1.1",
|
||||
"is-plain-object": "^5.0.0",
|
||||
"nanoid": "4.0.2"
|
||||
"is-plain-object": "^5.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18",
|
||||
"react-dom": "^18"
|
||||
}
|
||||
},
|
||||
"node_modules/@tldraw/editor/node_modules/nanoid": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz",
|
||||
"integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
],
|
||||
"node_modules/@tldraw/state": {
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/state/-/state-3.0.3.tgz",
|
||||
"integrity": "sha512-0BkYaZjR9OvECNL+a29ZyncFbhjj85u/xx546oU0Pd7tult7/8DWoHIExd4ANgblrJm+rtH60W9CemcIymvtDQ==",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"nanoid": "bin/nanoid.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^14 || ^16 || >=18"
|
||||
"dependencies": {
|
||||
"@tldraw/utils": "3.0.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@tldraw/state": {
|
||||
"version": "2.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/state/-/state-2.4.6.tgz",
|
||||
"integrity": "sha512-GioWrWw7INl34/89HyucfXgCxhA41bofoSqHFK3Nyl1ONWDyN7HvQerXUz+2hCFcxr4SQnQoHKQ3Pa3FjksydA==",
|
||||
"license": "SEE LICENSE IN LICENSE.md"
|
||||
},
|
||||
"node_modules/@tldraw/state-react": {
|
||||
"version": "2.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/state-react/-/state-react-2.4.6.tgz",
|
||||
"integrity": "sha512-ncyi5J9kvrUysnD3je6ART9LqlEeXKzp843CtH2oRy6gWJhIRRxPaAlpF5QXwDCBWtgP7asyHjqfKwadnSBfYQ==",
|
||||
"license": "SEE LICENSE IN LICENSE.md",
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/state-react/-/state-react-3.0.3.tgz",
|
||||
"integrity": "sha512-FIIMxXjj06mP9VwONh9WhEDgzjamBD0ZIiCmMAKTm14Y3wlPHaNUq/ZeHdcPstwKJHV6O2+KMOy2qmUgOYu5YA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@tldraw/state": "2.4.6"
|
||||
"@tldraw/state": "3.0.3",
|
||||
"@tldraw/utils": "3.0.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18"
|
||||
}
|
||||
},
|
||||
"node_modules/@tldraw/store": {
|
||||
"version": "2.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/store/-/store-2.4.6.tgz",
|
||||
"integrity": "sha512-vF0t4S4ptozRXx47/Ks7F6GPdLbowBvm8XztMlp9qAus5WQH/Ji3A3Usu04ChZQaOWBQOC5zz3C9yPdyMvfHeQ==",
|
||||
"license": "SEE LICENSE IN LICENSE.md",
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/store/-/store-3.0.3.tgz",
|
||||
"integrity": "sha512-DQ3J7RCrQgsFm7Esv5NMVHKYzZre1x7uOc4vvep/jK07js5FCVwv1Yg2K8EWhjdUS7DOjsie9yVyx+6KZGIajQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@tldraw/state": "2.4.6",
|
||||
"@tldraw/utils": "2.4.6",
|
||||
"lodash.isequal": "^4.5.0",
|
||||
"nanoid": "4.0.2"
|
||||
"@tldraw/state": "3.0.3",
|
||||
"@tldraw/utils": "3.0.3",
|
||||
"lodash.isequal": "^4.5.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18"
|
||||
}
|
||||
},
|
||||
"node_modules/@tldraw/store/node_modules/nanoid": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz",
|
||||
"integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"nanoid": "bin/nanoid.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^14 || ^16 || >=18"
|
||||
}
|
||||
},
|
||||
"node_modules/@tldraw/tldraw": {
|
||||
"version": "2.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/tldraw/-/tldraw-2.4.6.tgz",
|
||||
"integrity": "sha512-QLZ8P76LME470BIz+m5SHvAWn8wHPHjAT2KsMWfBlwRLtuT240dr5DdKlXvKNZbzvOZN2TyZFGqp0KqnDLH0XA==",
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/tldraw/-/tldraw-3.0.3.tgz",
|
||||
"integrity": "sha512-XwfzYDxVceNVKUOLee2yRv0SVmSNX22Oc4AERZQ3PeRCJHZj+n4zhawOrgWXSayZX6I/EL6ZrdH1pChqwcWNtg==",
|
||||
"license": "SEE LICENSE IN LICENSE.md",
|
||||
"dependencies": {
|
||||
"tldraw": "2.4.6"
|
||||
"tldraw": "3.0.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18",
|
||||
@@ -5690,56 +5656,38 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@tldraw/tlschema": {
|
||||
"version": "2.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/tlschema/-/tlschema-2.4.6.tgz",
|
||||
"integrity": "sha512-wsV+w86jn0sT2XB4i/E/XW4L4u5UJyyQHWgwr5fmMA38LYe1n/akvGpcrc99Tayk5PvArkT6HRSX1oy6iaMsXw==",
|
||||
"license": "SEE LICENSE IN LICENSE.md",
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/tlschema/-/tlschema-3.0.3.tgz",
|
||||
"integrity": "sha512-iVU1R9Cw8gL2ydp8bYcRcpyDciKr9MUUcoSMnWcvgNUFURzk3toikLTF1zfznY9wgMm8jyecNS74FRXDqUbwSw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@tldraw/state": "2.4.6",
|
||||
"@tldraw/store": "2.4.6",
|
||||
"@tldraw/utils": "2.4.6",
|
||||
"@tldraw/validate": "2.4.6",
|
||||
"nanoid": "4.0.2"
|
||||
"@tldraw/state": "3.0.3",
|
||||
"@tldraw/store": "3.0.3",
|
||||
"@tldraw/utils": "3.0.3",
|
||||
"@tldraw/validate": "3.0.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18"
|
||||
}
|
||||
},
|
||||
"node_modules/@tldraw/tlschema/node_modules/nanoid": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz",
|
||||
"integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/ai"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"nanoid": "bin/nanoid.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^14 || ^16 || >=18"
|
||||
}
|
||||
},
|
||||
"node_modules/@tldraw/utils": {
|
||||
"version": "2.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/utils/-/utils-2.4.6.tgz",
|
||||
"integrity": "sha512-7CnDWY4ru5AuFDt66je7qA/s5ZrN+Nhf7UBGT2oerECsLhDAp7J8cL+ly4Jbe5LHOb6w/s6NMcv4BiEv2B/pPg==",
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/utils/-/utils-3.0.3.tgz",
|
||||
"integrity": "sha512-Md6RZe+Qo8CXMfo513GKmQmex6tIxDBNaEiDTrK1/hjNefSq5LQi9J6v1TQN0brDywbYVe+iOpjouzxMjsk/tQ==",
|
||||
"license": "SEE LICENSE IN LICENSE.md",
|
||||
"dependencies": {
|
||||
"fractional-indexing-jittered": "^0.9.1",
|
||||
"lodash.throttle": "^4.1.1",
|
||||
"lodash.uniq": "^4.5.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@tldraw/validate": {
|
||||
"version": "2.4.6",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/validate/-/validate-2.4.6.tgz",
|
||||
"integrity": "sha512-ujoEF0o4kwf8loC9NCPXWCB3923faoqil0xB2hbmZsloLcE92Uzgx+dWcRsSCPDobn8D/kh+79em/Brb/cjICA==",
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@tldraw/validate/-/validate-3.0.3.tgz",
|
||||
"integrity": "sha512-zZ6JbT36DlamI1Nknqn+/yQuR0MQ58XS2rfDkXwKpPLaNOmkSD7GRrZX1HDGv/7yZ1OjWxlmQV/i0ljfol6JEg==",
|
||||
"license": "SEE LICENSE IN LICENSE.md",
|
||||
"dependencies": {
|
||||
"@tldraw/utils": "2.4.6"
|
||||
"@tldraw/utils": "3.0.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/acorn": {
|
||||
@@ -9067,6 +9015,12 @@
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/fractional-indexing-jittered": {
|
||||
"version": "0.9.1",
|
||||
"resolved": "https://registry.npmjs.org/fractional-indexing-jittered/-/fractional-indexing-jittered-0.9.1.tgz",
|
||||
"integrity": "sha512-qyzDZ7JXWf/yZT2rQDpQwFBbIaZS2o+zb0s740vqreXQ6bFQPd8tAy4D1gGN0CUeIcnNHjuvb0EaLnqHhGV/PA==",
|
||||
"license": "CC0-1.0"
|
||||
},
|
||||
"node_modules/fresh": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
|
||||
@@ -14416,9 +14370,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/tldraw": {
|
||||
"version": "2.4.6",
|
||||
"resolved": "https://registry.npmjs.org/tldraw/-/tldraw-2.4.6.tgz",
|
||||
"integrity": "sha512-Zbn3fXnY4T/MNkvwix93PHJwnyEV1oYfNyE1zf5M96ZrCZkmqwfl3VXI18kzYpxxIhBjvEgtJb6aw9rR/xQ6gg==",
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/tldraw/-/tldraw-3.0.3.tgz",
|
||||
"integrity": "sha512-pENWzrO0DszLu355evevvyr93z00NnFPseTumRTVTYfTgATay4mjlMYQYfJxebVi+t/3u85djQN16nt67Zn7uw==",
|
||||
"license": "SEE LICENSE IN LICENSE.md",
|
||||
"dependencies": {
|
||||
"@radix-ui/react-alert-dialog": "^1.0.5",
|
||||
@@ -14429,8 +14383,8 @@
|
||||
"@radix-ui/react-select": "^1.2.0",
|
||||
"@radix-ui/react-slider": "^1.1.0",
|
||||
"@radix-ui/react-toast": "^1.1.1",
|
||||
"@tldraw/editor": "2.4.6",
|
||||
"@tldraw/store": "2.4.6",
|
||||
"@tldraw/editor": "3.0.3",
|
||||
"@tldraw/store": "3.0.3",
|
||||
"canvas-size": "^1.2.6",
|
||||
"classnames": "^2.3.2",
|
||||
"hotkeys-js": "^3.11.2",
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"@remix-run/node": "^2.12.1",
|
||||
"@remix-run/react": "^2.12.1",
|
||||
"@remix-run/serve": "^2.12.1",
|
||||
"@tldraw/tldraw": "2.4.6",
|
||||
"@tldraw/tldraw": "^3.0.3",
|
||||
"aws-sdk": "^2.1691.0",
|
||||
"better-sqlite3": "11.1.2",
|
||||
"clsx": "^2.1.1",
|
||||
|
||||
Reference in New Issue
Block a user