diff --git a/package-lock.json b/package-lock.json index 4812dea..9e054e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,7 @@ "@tscircuit/react-fiber": "^1.1.25", "@tscircuit/soup": "^0.0.32", "@types/node": "18.7.23", - "@types/react": "^18.0.21", + "@types/react": "^18.3.3", "next": "^14.1.4", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -11751,13 +11751,12 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.0.21", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.21.tgz", - "integrity": "sha512-7QUCOxvFgnD5Jk8ZKlUAhVcRj7GuJRjnjjiY/IUBWKgOlnvDvTMLD4RTF7NPyVmbRhNrbomZiOepg7M/2Kj1mA==", + "version": "18.3.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", + "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", "devOptional": true, "dependencies": { "@types/prop-types": "*", - "@types/scheduler": "*", "csstype": "^3.0.2" } }, @@ -11767,12 +11766,6 @@ "integrity": "sha512-A4STmOXPhMUtHH+S6ymgE2GiBSMqf4oTvcQZMcHzokuTLVYzXTB8ttjcgxOVaAp2lGwEdzZ0J+cRbbeevQj1UQ==", "dev": true }, - "node_modules/@types/scheduler": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz", - "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==", - "devOptional": true - }, "node_modules/@types/semver": { "version": "7.5.0", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", @@ -37767,13 +37760,12 @@ "dev": true }, "@types/react": { - "version": "18.0.21", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.21.tgz", - "integrity": "sha512-7QUCOxvFgnD5Jk8ZKlUAhVcRj7GuJRjnjjiY/IUBWKgOlnvDvTMLD4RTF7NPyVmbRhNrbomZiOepg7M/2Kj1mA==", + "version": "18.3.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", + "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", "devOptional": true, "requires": { "@types/prop-types": "*", - "@types/scheduler": "*", "csstype": "^3.0.2" } }, @@ -37783,12 +37775,6 @@ "integrity": "sha512-A4STmOXPhMUtHH+S6ymgE2GiBSMqf4oTvcQZMcHzokuTLVYzXTB8ttjcgxOVaAp2lGwEdzZ0J+cRbbeevQj1UQ==", "dev": true }, - "@types/scheduler": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz", - "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==", - "devOptional": true - }, "@types/semver": { "version": "7.5.0", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", diff --git a/package.json b/package.json index 4a053da..f4b4635 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@tscircuit/react-fiber": "^1.1.25", "@tscircuit/soup": "^0.0.32", "@types/node": "18.7.23", - "@types/react": "^18.0.21", + "@types/react": "^18.3.3", "next": "^14.1.4", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/src/components/ToolbarOverlay.tsx b/src/components/ToolbarOverlay.tsx index 8273062..00055a7 100644 --- a/src/components/ToolbarOverlay.tsx +++ b/src/components/ToolbarOverlay.tsx @@ -9,6 +9,7 @@ import { } from "@tscircuit/builder" import { LAYER_NAME_TO_COLOR } from "lib/Drawer" import { useGlobalStore } from "global-store" +import packageJson from "../../package.json" interface Props { children?: any @@ -102,6 +103,22 @@ export const ToolbarOverlay = ({ children, elements }: Props) => { }} > {children} +