@adaptabletools/adaptable 15.0.0 → 15.0.1

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",
3
- "version": "15.0.0",
3
+ "version": "15.0.1",
4
4
  "description": "Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
5
5
  "keywords": [
6
6
  "web-components",
@@ -1,2 +1,2 @@
1
- declare const _default: 1676900629854;
1
+ declare const _default: 1676907692180;
2
2
  export default _default;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = 1676900629854;
3
+ exports.default = 1676907692180;
@@ -4333,33 +4333,33 @@ class Adaptable {
4333
4333
  el.classList.remove(`infinite-${theme.Name}`);
4334
4334
  });
4335
4335
  // VARIANT
4336
- let vairantTheme = '';
4336
+ let variantTheme = '';
4337
4337
  if (!isSystemTheme && themeObject.Variant) {
4338
- vairantTheme = themeObject.Variant;
4338
+ variantTheme = themeObject.Variant;
4339
4339
  }
4340
4340
  // APPLY NEW THEME
4341
4341
  const newTheme = allThemesMap[themeName];
4342
4342
  const getClassName = (theme) => GeneralConstants.THEME_STYLE + theme;
4343
4343
  el.classList.add(getClassName(themeName));
4344
- if (vairantTheme) {
4345
- el.classList.add(getClassName(vairantTheme));
4344
+ if (variantTheme) {
4345
+ el.classList.add(getClassName(variantTheme));
4346
4346
  }
4347
4347
  if (isSystemTheme) {
4348
4348
  // add infinite table classname for theme
4349
4349
  el.classList.add(`infinite-${themeName}`);
4350
4350
  }
4351
- else if (vairantTheme) {
4352
- el.classList.add(`infinite-${vairantTheme}`);
4351
+ else if (variantTheme) {
4352
+ el.classList.add(`infinite-${variantTheme}`);
4353
4353
  }
4354
4354
  // AG THEME CLASS NAME
4355
4355
  const container = this.getAgGridContainerElement();
4356
4356
  const getAgGridLightThemeName = () => this.getAgGridLightThemeName();
4357
4357
  const getAgGridDarkThemeName = () => getAgGridLightThemeName() + '-dark';
4358
- if (newTheme && (isSystemTheme || vairantTheme)) {
4359
- if ((vairantTheme !== null && vairantTheme !== void 0 ? vairantTheme : themeName) === GeneralConstants_1.LIGHT_THEME) {
4358
+ if (newTheme && (isSystemTheme || variantTheme)) {
4359
+ if ((variantTheme || themeName) === GeneralConstants_1.LIGHT_THEME) {
4360
4360
  newTheme.AgGridClassName = newTheme.AgGridClassName || getAgGridLightThemeName();
4361
4361
  }
4362
- if ((vairantTheme !== null && vairantTheme !== void 0 ? vairantTheme : themeName) === GeneralConstants_1.DARK_THEME) {
4362
+ if ((variantTheme || themeName) === GeneralConstants_1.DARK_THEME) {
4363
4363
  newTheme.AgGridClassName = newTheme.AgGridClassName || getAgGridDarkThemeName();
4364
4364
  }
4365
4365
  }
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "15.0.0";
1
+ declare const _default: "15.0.1";
2
2
  export default _default;
package/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '15.0.0'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
3
+ exports.default = '15.0.1'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version