@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/bundle.cjs.js +3 -3
- package/package.json +1 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/agGrid/Adaptable.js +9 -9
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
3
|
-
"version": "15.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",
|
package/publishTimestamp.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: 1676907692180;
|
|
2
2
|
export default _default;
|
package/publishTimestamp.js
CHANGED
package/src/agGrid/Adaptable.js
CHANGED
|
@@ -4333,33 +4333,33 @@ class Adaptable {
|
|
|
4333
4333
|
el.classList.remove(`infinite-${theme.Name}`);
|
|
4334
4334
|
});
|
|
4335
4335
|
// VARIANT
|
|
4336
|
-
let
|
|
4336
|
+
let variantTheme = '';
|
|
4337
4337
|
if (!isSystemTheme && themeObject.Variant) {
|
|
4338
|
-
|
|
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 (
|
|
4345
|
-
el.classList.add(getClassName(
|
|
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 (
|
|
4352
|
-
el.classList.add(`infinite-${
|
|
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 ||
|
|
4359
|
-
if ((
|
|
4358
|
+
if (newTheme && (isSystemTheme || variantTheme)) {
|
|
4359
|
+
if ((variantTheme || themeName) === GeneralConstants_1.LIGHT_THEME) {
|
|
4360
4360
|
newTheme.AgGridClassName = newTheme.AgGridClassName || getAgGridLightThemeName();
|
|
4361
4361
|
}
|
|
4362
|
-
if ((
|
|
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.
|
|
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.
|
|
3
|
+
exports.default = '15.0.1'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
|