@logicflow/core 2.0.15 → 2.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/LogicFlow.js CHANGED
@@ -1211,7 +1211,7 @@ var LogicFlow = /** @class */ (function () {
1211
1211
  this.graphModel.destroy();
1212
1212
  this.tool.destroy();
1213
1213
  this.history.destroy();
1214
- this.clearThemeMode();
1214
+ clearThemeMode();
1215
1215
  for (var extensionName in this.extension) {
1216
1216
  var extensionInstance = this.extension[extensionName];
1217
1217
  if ('destroy' in extensionInstance) {
package/lib/LogicFlow.js CHANGED
@@ -1240,7 +1240,7 @@ var LogicFlow = /** @class */ (function () {
1240
1240
  this.graphModel.destroy();
1241
1241
  this.tool.destroy();
1242
1242
  this.history.destroy();
1243
- this.clearThemeMode();
1243
+ (0, util_1.clearThemeMode)();
1244
1244
  for (var extensionName in this.extension) {
1245
1245
  var extensionInstance = this.extension[extensionName];
1246
1246
  if ('destroy' in extensionInstance) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logicflow/core",
3
- "version": "2.0.15",
3
+ "version": "2.0.16",
4
4
  "description": "LogicFlow, help you quickly create flowcharts",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
package/src/LogicFlow.tsx CHANGED
@@ -1432,7 +1432,7 @@ export class LogicFlow {
1432
1432
  this.graphModel.destroy()
1433
1433
  this.tool.destroy()
1434
1434
  this.history.destroy()
1435
- this.clearThemeMode()
1435
+ clearThemeMode()
1436
1436
  for (const extensionName in this.extension) {
1437
1437
  const extensionInstance = this.extension[extensionName]
1438
1438
  if ('destroy' in extensionInstance) {