From 0cbc9ba2ab0a38a8f994e95bc8a4704522f6790f Mon Sep 17 00:00:00 2001 From: Jonas de Luna Skulberg <113468143+jonasdeluna@users.noreply.github.com> Date: Wed, 31 Jan 2024 15:14:33 +0100 Subject: [PATCH] Rename GraphicaCore to Core (#68) * Rename graphica to core * v1.0.735 --- package.json | 2 +- src/{GraphicaCore.ts => Core.ts} | 4 ++-- src/index.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename src/{GraphicaCore.ts => Core.ts} (99%) diff --git a/package.json b/package.json index f5f0ef9..5122854 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kateter-platform/graphica", - "version": "1.0.734", + "version": "1.0.735", "source": "./src/index.ts", "description": "A tool for advanced graphing and visualization", "repository": { diff --git a/src/GraphicaCore.ts b/src/Core.ts similarity index 99% rename from src/GraphicaCore.ts rename to src/Core.ts index a9d89ad..f0b0014 100644 --- a/src/GraphicaCore.ts +++ b/src/Core.ts @@ -46,7 +46,7 @@ const defaultGraphicaOptions: GraphicaOptions = { //Note for docs: minZoom is how far you are allowed to zoom IN. MaxZoom is how far you are allowed to zoom OUT. -class GraphicaCore { +class Core { components: Component[]; draggables: Component[]; updateComponents: Component[]; @@ -270,4 +270,4 @@ class GraphicaCore { } } -export default GraphicaCore; +export default Core; diff --git a/src/index.ts b/src/index.ts index 526b14d..dbbd09f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -export { default as GraphicaCore } from "./GraphicaCore"; +export { default as Core } from "./Core"; export { default as Arc } from "./Components/Arc"; export { default as Bracket } from "./Components/Bracket"; export { default as Button } from "./Components/Button";