handsontable 0.0.0-next-b0eaa90-20241016 → 0.0.0-next-662a118-20241017

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of handsontable might be problematic. Click here for more details.

Files changed (80) hide show
  1. package/3rdparty/walkontable/src/calculator/viewportRows.js +1 -5
  2. package/3rdparty/walkontable/src/calculator/viewportRows.mjs +2 -5
  3. package/3rdparty/walkontable/src/core/clone.js +0 -1
  4. package/3rdparty/walkontable/src/core/clone.mjs +0 -1
  5. package/3rdparty/walkontable/src/core/core.js +0 -2
  6. package/3rdparty/walkontable/src/core/core.mjs +0 -2
  7. package/3rdparty/walkontable/src/overlay/_base.js +1 -3
  8. package/3rdparty/walkontable/src/overlay/_base.mjs +1 -3
  9. package/3rdparty/walkontable/src/overlay/bottom.js +2 -2
  10. package/3rdparty/walkontable/src/overlay/bottom.mjs +2 -2
  11. package/3rdparty/walkontable/src/overlay/top.js +1 -1
  12. package/3rdparty/walkontable/src/overlay/top.mjs +1 -1
  13. package/3rdparty/walkontable/src/settings.js +2 -0
  14. package/3rdparty/walkontable/src/settings.mjs +2 -0
  15. package/3rdparty/walkontable/src/table.js +5 -6
  16. package/3rdparty/walkontable/src/table.mjs +5 -6
  17. package/3rdparty/walkontable/src/utils/column.js +1 -1
  18. package/3rdparty/walkontable/src/utils/column.mjs +1 -1
  19. package/3rdparty/walkontable/src/viewport.js +0 -1
  20. package/3rdparty/walkontable/src/viewport.mjs +0 -1
  21. package/CHANGELOG.md +5 -0
  22. package/base.js +2 -2
  23. package/base.mjs +2 -2
  24. package/core.js +0 -11
  25. package/core.mjs +0 -11
  26. package/dataMap/metaManager/metaSchema.js +0 -17
  27. package/dataMap/metaManager/metaSchema.mjs +0 -17
  28. package/dist/handsontable.css +5 -236
  29. package/dist/handsontable.full.css +3 -3
  30. package/dist/handsontable.full.js +3816 -3902
  31. package/dist/handsontable.full.min.css +3 -4
  32. package/dist/handsontable.full.min.js +26 -26
  33. package/dist/handsontable.js +3508 -3600
  34. package/dist/handsontable.min.css +4 -9
  35. package/dist/handsontable.min.js +24 -24
  36. package/editors/autocompleteEditor/autocompleteEditor.js +1 -1
  37. package/editors/autocompleteEditor/autocompleteEditor.mjs +1 -1
  38. package/editors/baseEditor/baseEditor.js +1 -1
  39. package/editors/baseEditor/baseEditor.mjs +1 -1
  40. package/editors/dateEditor/dateEditor.js +0 -2
  41. package/editors/dateEditor/dateEditor.mjs +0 -2
  42. package/editors/handsontableEditor/handsontableEditor.js +1 -1
  43. package/editors/handsontableEditor/handsontableEditor.mjs +1 -1
  44. package/editors/passwordEditor/passwordEditor.js +0 -4
  45. package/editors/passwordEditor/passwordEditor.mjs +1 -5
  46. package/editors/selectEditor/selectEditor.js +9 -20
  47. package/editors/selectEditor/selectEditor.mjs +9 -20
  48. package/editors/textEditor/textEditor.js +11 -7
  49. package/editors/textEditor/textEditor.mjs +12 -8
  50. package/helpers/mixed.js +3 -3
  51. package/helpers/mixed.mjs +3 -3
  52. package/package.json +3 -10
  53. package/plugins/comments/commentEditor.js +1 -8
  54. package/plugins/comments/commentEditor.mjs +1 -8
  55. package/plugins/comments/comments.js +1 -1
  56. package/plugins/comments/comments.mjs +1 -1
  57. package/plugins/contextMenu/menu/menu.js +4 -4
  58. package/plugins/contextMenu/menu/menu.mjs +4 -4
  59. package/plugins/manualRowMove/manualRowMove.js +1 -1
  60. package/plugins/manualRowMove/manualRowMove.mjs +1 -1
  61. package/plugins/mergeCells/mergeCells.js +1 -1
  62. package/plugins/mergeCells/mergeCells.mjs +1 -1
  63. package/plugins/nestedRows/ui/headers.js +1 -3
  64. package/plugins/nestedRows/ui/headers.mjs +1 -3
  65. package/tableView.js +0 -33
  66. package/tableView.mjs +0 -33
  67. package/utils/autoResize.js +1 -4
  68. package/utils/autoResize.mjs +1 -4
  69. package/utils/ghostTable.js +1 -1
  70. package/utils/ghostTable.mjs +1 -1
  71. package/3rdparty/walkontable/src/utils/stylesHandler.js +0 -185
  72. package/3rdparty/walkontable/src/utils/stylesHandler.mjs +0 -181
  73. package/helpers/themes.js +0 -17
  74. package/helpers/themes.mjs +0 -13
  75. package/styles/handsontable.css +0 -1920
  76. package/styles/handsontable.min.css +0 -30
  77. package/styles/ht-theme-gemini.css +0 -690
  78. package/styles/ht-theme-gemini.min.css +0 -30
  79. package/styles/ht-theme-main.css +0 -712
  80. package/styles/ht-theme-main.min.css +0 -30
@@ -7,8 +7,7 @@ var _viewportBase = require("./viewportBase");
7
7
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
8
8
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
9
9
  function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
- // eslint-disable-next-line import/no-mutable-exports
11
- let DEFAULT_HEIGHT = exports.DEFAULT_HEIGHT = 23;
10
+ const DEFAULT_HEIGHT = exports.DEFAULT_HEIGHT = 23;
12
11
 
13
12
  /**
14
13
  * @typedef {object} ViewportRowsCalculatorOptions
@@ -35,13 +34,10 @@ class ViewportRowsCalculator extends _viewportBase.ViewportBaseCalculator {
35
34
  viewportHeight,
36
35
  scrollOffset,
37
36
  totalRows,
38
- defaultRowHeight,
39
37
  rowHeightFn,
40
38
  overrideFn,
41
39
  horizontalScrollbarHeight
42
40
  } = _ref;
43
- // Replace the default height of `23px` with a value from the current theme.
44
- exports.DEFAULT_HEIGHT = DEFAULT_HEIGHT = defaultRowHeight;
45
41
  super(calculationTypes);
46
42
  _defineProperty(this, "viewportHeight", 0);
47
43
  _defineProperty(this, "scrollOffset", 0);
@@ -3,8 +3,8 @@ import "core-js/modules/es.array.push.js";
3
3
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
4
4
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
5
5
  function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6
- import { ViewportBaseCalculator } from "./viewportBase.mjs"; // eslint-disable-next-line import/no-mutable-exports
7
- export let DEFAULT_HEIGHT = 23;
6
+ import { ViewportBaseCalculator } from "./viewportBase.mjs";
7
+ export const DEFAULT_HEIGHT = 23;
8
8
 
9
9
  /**
10
10
  * @typedef {object} ViewportRowsCalculatorOptions
@@ -31,13 +31,10 @@ export class ViewportRowsCalculator extends ViewportBaseCalculator {
31
31
  viewportHeight,
32
32
  scrollOffset,
33
33
  totalRows,
34
- defaultRowHeight,
35
34
  rowHeightFn,
36
35
  overrideFn,
37
36
  horizontalScrollbarHeight
38
37
  } = _ref;
39
- // Replace the default height of `23px` with a value from the current theme.
40
- DEFAULT_HEIGHT = defaultRowHeight;
41
38
  super(calculationTypes);
42
39
  _defineProperty(this, "viewportHeight", 0);
43
40
  _defineProperty(this, "scrollOffset", 0);
@@ -33,7 +33,6 @@ class Clone extends _base.default {
33
33
  this.wtTable = this.cloneOverlay.createTable(this.getTableDao(), facadeGetter, this.domBindings, this.wtSettings);
34
34
  this.wtViewport = clone.viewport;
35
35
  this.selectionManager = clone.selectionManager;
36
- this.stylesHandler = clone.stylesHandler;
37
36
  this.wtEvent = new _event.default(facadeGetter, this.domBindings, this.wtSettings, this.eventManager, this.wtTable, this.selectionManager, clone.event);
38
37
  this.findOriginalHeaders();
39
38
  }
@@ -29,7 +29,6 @@ export default class Clone extends CoreAbstract {
29
29
  this.wtTable = this.cloneOverlay.createTable(this.getTableDao(), facadeGetter, this.domBindings, this.wtSettings);
30
30
  this.wtViewport = clone.viewport;
31
31
  this.selectionManager = clone.selectionManager;
32
- this.stylesHandler = clone.stylesHandler;
33
32
  this.wtEvent = new Event(facadeGetter, this.domBindings, this.wtSettings, this.eventManager, this.wtTable, this.selectionManager, clone.event);
34
33
  this.findOriginalHeaders();
35
34
  }
@@ -12,7 +12,6 @@ var _base = _interopRequireDefault(require("./_base"));
12
12
  var _manager = require("../selection/manager");
13
13
  var _object = require("../../../../helpers/object");
14
14
  var _element = require("../../../../helpers/dom/element");
15
- var _stylesHandler = require("../utils/stylesHandler");
16
15
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
17
16
  /**
18
17
  * @class Walkontable
@@ -24,7 +23,6 @@ class Walkontable extends _base.default {
24
23
  */
25
24
  constructor(table, settings) {
26
25
  super(table, new _settings.default(settings));
27
- this.stylesHandler = new _stylesHandler.StylesHandler(this.domBindings);
28
26
  const facadeGetter = this.wtSettings.getSetting('facade', this); // todo rethink. I would like to have no access to facade from the internal scope.
29
27
 
30
28
  this.wtTable = new _master.default(this.getTableDao(), facadeGetter, this.domBindings, this.wtSettings);
@@ -9,7 +9,6 @@ import CoreAbstract from "./_base.mjs";
9
9
  import { SelectionManager } from "../selection/manager.mjs";
10
10
  import { objectEach } from "../../../../helpers/object.mjs";
11
11
  import { addClass, removeClass } from "../../../../helpers/dom/element.mjs";
12
- import { StylesHandler } from "../utils/stylesHandler.mjs";
13
12
  /**
14
13
  * @class Walkontable
15
14
  */
@@ -20,7 +19,6 @@ export default class Walkontable extends CoreAbstract {
20
19
  */
21
20
  constructor(table, settings) {
22
21
  super(table, new Settings(settings));
23
- this.stylesHandler = new StylesHandler(this.domBindings);
24
22
  const facadeGetter = this.wtSettings.getSetting('facade', this); // todo rethink. I would like to have no access to facade from the internal scope.
25
23
 
26
24
  this.wtTable = new MasterTable(this.getTableDao(), facadeGetter, this.domBindings, this.wtSettings);
@@ -302,9 +302,7 @@ class Overlay {
302
302
  // todo ioc , or factor func if used only here
303
303
  event: this.wot.wtEvent,
304
304
  // todo ioc , or factory func if used only here
305
- selectionManager: this.wot.selectionManager,
306
- // todo ioc , or factory func if used only here
307
- stylesHandler: this.wot.stylesHandler
305
+ selectionManager: this.wot.selectionManager // todo ioc , or factory func if used only here
308
306
  });
309
307
  }
310
308
 
@@ -298,9 +298,7 @@ export class Overlay {
298
298
  // todo ioc , or factor func if used only here
299
299
  event: this.wot.wtEvent,
300
300
  // todo ioc , or factory func if used only here
301
- selectionManager: this.wot.selectionManager,
302
- // todo ioc , or factory func if used only here
303
- stylesHandler: this.wot.stylesHandler
301
+ selectionManager: this.wot.selectionManager // todo ioc , or factory func if used only here
304
302
  });
305
303
  }
306
304
 
@@ -144,9 +144,9 @@ class BottomOverlay extends _base.Overlay {
144
144
  sumCellSizes(from, to) {
145
145
  const {
146
146
  wtTable,
147
- stylesHandler
147
+ wtSettings
148
148
  } = this.wot;
149
- const defaultRowHeight = stylesHandler.getDefaultRowHeight();
149
+ const defaultRowHeight = wtSettings.getSetting('defaultRowHeight');
150
150
  let row = from;
151
151
  let sum = 0;
152
152
  while (row < to) {
@@ -140,9 +140,9 @@ export class BottomOverlay extends Overlay {
140
140
  sumCellSizes(from, to) {
141
141
  const {
142
142
  wtTable,
143
- stylesHandler
143
+ wtSettings
144
144
  } = this.wot;
145
- const defaultRowHeight = stylesHandler.getDefaultRowHeight();
145
+ const defaultRowHeight = wtSettings.getSetting('defaultRowHeight');
146
146
  let row = from;
147
147
  let sum = 0;
148
148
  while (row < to) {
@@ -138,7 +138,7 @@ class TopOverlay extends _base.Overlay {
138
138
  * @returns {number} Height sum.
139
139
  */
140
140
  sumCellSizes(from, to) {
141
- const defaultRowHeight = this.wot.stylesHandler.getDefaultRowHeight();
141
+ const defaultRowHeight = this.wtSettings.getSetting('defaultRowHeight');
142
142
  let row = from;
143
143
  let sum = 0;
144
144
  while (row < to) {
@@ -134,7 +134,7 @@ export class TopOverlay extends Overlay {
134
134
  * @returns {number} Height sum.
135
135
  */
136
136
  sumCellSizes(from, to) {
137
- const defaultRowHeight = this.wot.stylesHandler.getDefaultRowHeight();
137
+ const defaultRowHeight = this.wtSettings.getSetting('defaultRowHeight');
138
138
  let row = from;
139
139
  let sum = 0;
140
140
  while (row < to) {
@@ -19,6 +19,7 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
19
19
  * @property {Option} currentRowClassName Option `currentRowClassName`.
20
20
  * @property {Option} data Option `data`.
21
21
  * @property {Option} defaultColumnWidth Option `defaultColumnWidth`.
22
+ * @property {Option} defaultRowHeight Option `defaultRowHeight`.
22
23
  * @property {Option} externalRowCalculator Option `externalRowCalculator`.
23
24
  * @property {Option} fixedColumnsStart Option `fixedColumnsStart`.
24
25
  * @property {Option} fixedRowsBottom Option `fixedRowsBottom`.
@@ -190,6 +191,7 @@ class Settings {
190
191
  rowHeightByOverlayName() {
191
192
  // return undefined means use default size for the rendered cell content
192
193
  },
194
+ defaultRowHeight: 23,
193
195
  defaultColumnWidth: 50,
194
196
  selections: null,
195
197
  hideBorderOnMouseDownOver: false,
@@ -16,6 +16,7 @@ import { objectEach } from "../../../helpers/object.mjs";
16
16
  * @property {Option} currentRowClassName Option `currentRowClassName`.
17
17
  * @property {Option} data Option `data`.
18
18
  * @property {Option} defaultColumnWidth Option `defaultColumnWidth`.
19
+ * @property {Option} defaultRowHeight Option `defaultRowHeight`.
19
20
  * @property {Option} externalRowCalculator Option `externalRowCalculator`.
20
21
  * @property {Option} fixedColumnsStart Option `fixedColumnsStart`.
21
22
  * @property {Option} fixedRowsBottom Option `fixedRowsBottom`.
@@ -185,6 +186,7 @@ export default class Settings {
185
186
  rowHeightByOverlayName() {
186
187
  // return undefined means use default size for the rendered cell content
187
188
  },
189
+ defaultRowHeight: 23,
188
190
  defaultColumnWidth: 50,
189
191
  selections: null,
190
192
  hideBorderOnMouseDownOver: false,
@@ -367,7 +367,7 @@ class Table {
367
367
  markIfOversizedColumnHeader(col) {
368
368
  const sourceColIndex = this.columnFilter.renderedToSource(col);
369
369
  let level = this.wtSettings.getSetting('columnHeaders').length;
370
- const defaultRowHeight = this.wot.stylesHandler.getDefaultRowHeight();
370
+ const defaultRowHeight = this.wtSettings.getSetting('defaultRowHeight');
371
371
  let previousColHeaderHeight;
372
372
  let currentHeader;
373
373
  let currentHeaderHeight;
@@ -645,9 +645,8 @@ class Table {
645
645
  return;
646
646
  }
647
647
  let rowCount = this.TBODY.childNodes.length;
648
- const expectedTableHeight = rowCount * this.wot.stylesHandler.getDefaultRowHeight();
648
+ const expectedTableHeight = rowCount * this.wtSettings.getSetting('defaultRowHeight');
649
649
  const actualTableHeight = (0, _element.innerHeight)(this.TBODY) - 1;
650
- const rowHeightFn = this.wot.stylesHandler.getStyleForTD('box-sizing') === 'border-box' ? _element.outerHeight : _element.innerHeight;
651
650
  let previousRowHeight;
652
651
  let rowInnerHeight;
653
652
  let sourceRowIndex;
@@ -664,11 +663,11 @@ class Table {
664
663
  currentTr = this.getTrForRow(sourceRowIndex);
665
664
  rowHeader = currentTr.querySelector('th');
666
665
  if (rowHeader) {
667
- rowInnerHeight = rowHeightFn(rowHeader);
666
+ rowInnerHeight = (0, _element.innerHeight)(rowHeader);
668
667
  } else {
669
- rowInnerHeight = rowHeightFn(currentTr) - 1;
668
+ rowInnerHeight = (0, _element.innerHeight)(currentTr) - 1;
670
669
  }
671
- if (!previousRowHeight && this.wot.stylesHandler.getDefaultRowHeight() < rowInnerHeight || previousRowHeight < rowInnerHeight) {
670
+ if (!previousRowHeight && this.wtSettings.getSetting('defaultRowHeight') < rowInnerHeight || previousRowHeight < rowInnerHeight) {
672
671
  rowInnerHeight += 1;
673
672
  this.dataAccessObject.wtViewport.oversizedRows[sourceRowIndex] = rowInnerHeight;
674
673
  }
@@ -363,7 +363,7 @@ class Table {
363
363
  markIfOversizedColumnHeader(col) {
364
364
  const sourceColIndex = this.columnFilter.renderedToSource(col);
365
365
  let level = this.wtSettings.getSetting('columnHeaders').length;
366
- const defaultRowHeight = this.wot.stylesHandler.getDefaultRowHeight();
366
+ const defaultRowHeight = this.wtSettings.getSetting('defaultRowHeight');
367
367
  let previousColHeaderHeight;
368
368
  let currentHeader;
369
369
  let currentHeaderHeight;
@@ -641,9 +641,8 @@ class Table {
641
641
  return;
642
642
  }
643
643
  let rowCount = this.TBODY.childNodes.length;
644
- const expectedTableHeight = rowCount * this.wot.stylesHandler.getDefaultRowHeight();
644
+ const expectedTableHeight = rowCount * this.wtSettings.getSetting('defaultRowHeight');
645
645
  const actualTableHeight = innerHeight(this.TBODY) - 1;
646
- const rowHeightFn = this.wot.stylesHandler.getStyleForTD('box-sizing') === 'border-box' ? outerHeight : innerHeight;
647
646
  let previousRowHeight;
648
647
  let rowInnerHeight;
649
648
  let sourceRowIndex;
@@ -660,11 +659,11 @@ class Table {
660
659
  currentTr = this.getTrForRow(sourceRowIndex);
661
660
  rowHeader = currentTr.querySelector('th');
662
661
  if (rowHeader) {
663
- rowInnerHeight = rowHeightFn(rowHeader);
662
+ rowInnerHeight = innerHeight(rowHeader);
664
663
  } else {
665
- rowInnerHeight = rowHeightFn(currentTr) - 1;
664
+ rowInnerHeight = innerHeight(currentTr) - 1;
666
665
  }
667
- if (!previousRowHeight && this.wot.stylesHandler.getDefaultRowHeight() < rowInnerHeight || previousRowHeight < rowInnerHeight) {
666
+ if (!previousRowHeight && this.wtSettings.getSetting('defaultRowHeight') < rowInnerHeight || previousRowHeight < rowInnerHeight) {
668
667
  rowInnerHeight += 1;
669
668
  this.dataAccessObject.wtViewport.oversizedRows[sourceRowIndex] = rowInnerHeight;
670
669
  }
@@ -77,7 +77,7 @@ class ColumnUtils {
77
77
  * @returns {number}
78
78
  */
79
79
  getHeaderHeight(level) {
80
- let height = this.dataAccessObject.wot.stylesHandler.getDefaultRowHeight();
80
+ let height = this.wtSettings.getSetting('defaultRowHeight');
81
81
  const oversizedHeight = this.dataAccessObject.wtViewport.oversizedColumnHeaders[level];
82
82
  if (oversizedHeight !== undefined) {
83
83
  height = height ? Math.max(height, oversizedHeight) : oversizedHeight;
@@ -74,7 +74,7 @@ export default class ColumnUtils {
74
74
  * @returns {number}
75
75
  */
76
76
  getHeaderHeight(level) {
77
- let height = this.dataAccessObject.wot.stylesHandler.getDefaultRowHeight();
77
+ let height = this.wtSettings.getSetting('defaultRowHeight');
78
78
  const oversizedHeight = this.dataAccessObject.wtViewport.oversizedColumnHeaders[level];
79
79
  if (oversizedHeight !== undefined) {
80
80
  height = height ? Math.max(height, oversizedHeight) : oversizedHeight;
@@ -284,7 +284,6 @@ class Viewport {
284
284
  viewportHeight: height,
285
285
  scrollOffset: pos,
286
286
  totalRows: wtSettings.getSetting('totalRows'),
287
- defaultRowHeight: this.wot.stylesHandler.getDefaultRowHeight(),
288
287
  rowHeightFn: sourceRow => wtTable.getRowHeight(sourceRow),
289
288
  overrideFn: wtSettings.getSettingPure('viewportRowCalculatorOverride'),
290
289
  horizontalScrollbarHeight: scrollbarHeight
@@ -281,7 +281,6 @@ class Viewport {
281
281
  viewportHeight: height,
282
282
  scrollOffset: pos,
283
283
  totalRows: wtSettings.getSetting('totalRows'),
284
- defaultRowHeight: this.wot.stylesHandler.getDefaultRowHeight(),
285
284
  rowHeightFn: sourceRow => wtTable.getRowHeight(sourceRow),
286
285
  overrideFn: wtSettings.getSettingPure('viewportRowCalculatorOverride'),
287
286
  horizontalScrollbarHeight: scrollbarHeight
package/CHANGELOG.md CHANGED
@@ -9,6 +9,11 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
9
 
10
10
  <!-- UNVERSIONED -->
11
11
 
12
+ ## [14.6.1] - 2024-10-17
13
+
14
+ ### Removed
15
+ - Removed `aria-hidden` from the TextEditor and PasswordEditor's `TEXTAREA` elements. [#11218](https://github.com/handsontable/handsontable/pull/11218)
16
+
12
17
  ## [14.6.0] - 2024-10-01
13
18
 
14
19
  ### Added
package/base.js CHANGED
@@ -45,8 +45,8 @@ Handsontable.hooks = _hooks.Hooks.getSingleton();
45
45
  Handsontable.CellCoords = _src.CellCoords;
46
46
  Handsontable.CellRange = _src.CellRange;
47
47
  Handsontable.packageName = 'handsontable';
48
- Handsontable.buildDate = "16/10/2024 13:47:33";
49
- Handsontable.version = "0.0.0-next-b0eaa90-20241016";
48
+ Handsontable.buildDate = "17/10/2024 07:41:53";
49
+ Handsontable.version = "0.0.0-next-662a118-20241017";
50
50
  Handsontable.languages = {
51
51
  dictionaryKeys: _registry.dictionaryKeys,
52
52
  getLanguageDictionary: _registry.getLanguageDictionary,
package/base.mjs CHANGED
@@ -35,8 +35,8 @@ Handsontable.hooks = Hooks.getSingleton();
35
35
  Handsontable.CellCoords = CellCoords;
36
36
  Handsontable.CellRange = CellRange;
37
37
  Handsontable.packageName = 'handsontable';
38
- Handsontable.buildDate = "16/10/2024 13:47:39";
39
- Handsontable.version = "0.0.0-next-b0eaa90-20241016";
38
+ Handsontable.buildDate = "17/10/2024 07:41:58";
39
+ Handsontable.version = "0.0.0-next-662a118-20241017";
40
40
  Handsontable.languages = {
41
41
  dictionaryKeys,
42
42
  getLanguageDictionary,
package/core.js CHANGED
@@ -43,7 +43,6 @@ var _index3 = require("./core/index");
43
43
  var _uniqueMap = require("./utils/dataStructures/uniqueMap");
44
44
  var _shortcuts = require("./shortcuts");
45
45
  var _shortcutContexts = require("./shortcutContexts");
46
- var _themes = require("./helpers/themes");
47
46
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
48
47
  let activeGuid = null;
49
48
 
@@ -230,17 +229,7 @@ function Core(rootElement, userSettings) {
230
229
  this.renderCall = false;
231
230
  rootElement.insertBefore(this.container, rootElement.firstChild);
232
231
  if ((0, _rootInstance.isRootInstance)(this)) {
233
- var _rootElement$parentNo;
234
232
  (0, _mixed._injectProductInfo)(userSettings.licenseKey, rootElement);
235
- const rootThemeClassName = (0, _themes.getThemeClassName)(rootElement.className);
236
- if (rootThemeClassName) {
237
- tableMeta.themeName = rootThemeClassName;
238
- }
239
- (0, _element.addClass)(rootElement, tableMeta.themeName);
240
- const licenseInfo = (_rootElement$parentNo = rootElement.parentNode) === null || _rootElement$parentNo === void 0 ? void 0 : _rootElement$parentNo.querySelector('.hot-display-license-info');
241
- if (licenseInfo) {
242
- (0, _element.addClass)(licenseInfo, tableMeta.themeName);
243
- }
244
233
  }
245
234
  this.guid = `ht_${(0, _string.randomString)()}`; // this is the namespace for global events
246
235
 
package/core.mjs CHANGED
@@ -39,7 +39,6 @@ import { installFocusCatcher, createViewportScroller } from "./core/index.mjs";
39
39
  import { createUniqueMap } from "./utils/dataStructures/uniqueMap.mjs";
40
40
  import { createShortcutManager } from "./shortcuts/index.mjs";
41
41
  import { registerAllShortcutContexts } from "./shortcutContexts/index.mjs";
42
- import { getThemeClassName } from "./helpers/themes.mjs";
43
42
  let activeGuid = null;
44
43
 
45
44
  /**
@@ -225,17 +224,7 @@ export default function Core(rootElement, userSettings) {
225
224
  this.renderCall = false;
226
225
  rootElement.insertBefore(this.container, rootElement.firstChild);
227
226
  if (isRootInstance(this)) {
228
- var _rootElement$parentNo;
229
227
  _injectProductInfo(userSettings.licenseKey, rootElement);
230
- const rootThemeClassName = getThemeClassName(rootElement.className);
231
- if (rootThemeClassName) {
232
- tableMeta.themeName = rootThemeClassName;
233
- }
234
- addClass(rootElement, tableMeta.themeName);
235
- const licenseInfo = (_rootElement$parentNo = rootElement.parentNode) === null || _rootElement$parentNo === void 0 ? void 0 : _rootElement$parentNo.querySelector('.hot-display-license-info');
236
- if (licenseInfo) {
237
- addClass(licenseInfo, tableMeta.themeName);
238
- }
239
228
  }
240
229
  this.guid = `ht_${randomString()}`; // this is the namespace for global events
241
230
 
@@ -4313,23 +4313,6 @@ var _default = () => {
4313
4313
  * ```
4314
4314
  */
4315
4315
  tableClassName: undefined,
4316
- // TODO: add themeName description
4317
- /**
4318
- * The `themeName` option lets you add CSS class names
4319
- *
4320
- * @memberof Options#
4321
- * @type {string|string[]}
4322
- * @default undefined
4323
- * @category Core
4324
- *
4325
- * @example
4326
- * ```js
4327
- * // add a `ht-theme-name` CSS class name
4328
- * // to every Handsontable instance inside the `container` element
4329
- * themeName: 'ht-theme-name',
4330
- * ```
4331
- */
4332
- themeName: 'ht-theme-main',
4333
4316
  /**
4334
4317
  * The `tabMoves` option configures the action of the <kbd>**Tab**</kbd> key.
4335
4318
  *
@@ -4310,23 +4310,6 @@ export default () => {
4310
4310
  * ```
4311
4311
  */
4312
4312
  tableClassName: undefined,
4313
- // TODO: add themeName description
4314
- /**
4315
- * The `themeName` option lets you add CSS class names
4316
- *
4317
- * @memberof Options#
4318
- * @type {string|string[]}
4319
- * @default undefined
4320
- * @category Core
4321
- *
4322
- * @example
4323
- * ```js
4324
- * // add a `ht-theme-name` CSS class name
4325
- * // to every Handsontable instance inside the `container` element
4326
- * themeName: 'ht-theme-name',
4327
- * ```
4328
- */
4329
- themeName: 'ht-theme-main',
4330
4313
  /**
4331
4314
  * The `tabMoves` option configures the action of the <kbd>**Tab**</kbd> key.
4332
4315
  *