@adaptabletools/adaptable-plugin-nocode-aggrid 22.0.1 → 22.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable-plugin-nocode-aggrid",
3
- "version": "22.0.1",
3
+ "version": "22.0.2",
4
4
  "description": "",
5
5
  "homepage": "http://www.adaptabletools.com/",
6
6
  "author": {
package/src/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AdaptableOptions, AdaptablePlugin, AgGridConfig } from '@adaptabletools/adaptable';
1
+ import { AdaptableOptions, AdaptablePlugin, AgGridConfig } from '@adaptabletools/adaptable/types';
2
2
  export declare const readJSONFile: (file: File, toJSON?: (str: string) => Promise<any> | any) => Promise<unknown>;
3
3
  export declare const readExcelFile: (file: File) => Promise<any>;
4
4
  interface NoCodePluginOptions {
package/src/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { read as XLSXRead, utils as XLSXUtils } from 'xlsx';
2
- import { AdaptablePlugin, AdaptableNoCodeWizard, } from '@adaptabletools/adaptable';
2
+ import { AdaptablePlugin } from '@adaptabletools/adaptable/types';
3
+ import { AdaptableNoCodeWizard } from '@adaptabletools/adaptable/agGrid';
3
4
  import packageJson from '../package.json';
4
5
  import adaptableCorePackageJson from '@adaptabletools/adaptable/package.json';
5
6
  const { version, name } = packageJson;
@@ -68,7 +69,7 @@ class NoCodePlugin extends AdaptablePlugin {
68
69
  ? adaptableOptions.initialState.Theme.CurrentTheme
69
70
  : null);
70
71
  if (theme) {
71
- document.documentElement.classList.add(`ab--theme-${theme}`);
72
+ document.documentElement.classList.add(`ab--theme-${theme}`, `infinite-theme-mode--${theme}`);
72
73
  }
73
74
  let isJSON;
74
75
  return new Promise((resolve) => {