handsontable 19.0.0-rc2 → 19.0.0-rc4

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.
Files changed (71) hide show
  1. package/CHANGELOG.md +7 -2
  2. package/base.js +2 -2
  3. package/base.mjs +2 -2
  4. package/core/license.js +2 -2
  5. package/core/license.mjs +2 -2
  6. package/core.js +7 -8
  7. package/core.mjs +7 -8
  8. package/dist/handsontable.full.js +21 -22
  9. package/dist/handsontable.full.min.js +7 -7
  10. package/dist/handsontable.js +21 -22
  11. package/dist/handsontable.min.js +7 -7
  12. package/dist/handsontable.settings-schema.js +7 -7
  13. package/dist/handsontable.settings-schema.min.js +2 -2
  14. package/dist/manifest.json +1 -1
  15. package/dist/themes/classic.js +2 -2
  16. package/dist/themes/classic.min.js +2 -2
  17. package/dist/themes/horizon.js +2 -2
  18. package/dist/themes/horizon.min.js +2 -2
  19. package/dist/themes/main.js +2 -2
  20. package/dist/themes/main.min.js +2 -2
  21. package/dist/themes/static/variables/colors/ant.js +2 -2
  22. package/dist/themes/static/variables/colors/ant.min.js +2 -2
  23. package/dist/themes/static/variables/colors/classic.js +2 -2
  24. package/dist/themes/static/variables/colors/classic.min.js +2 -2
  25. package/dist/themes/static/variables/colors/horizon.js +2 -2
  26. package/dist/themes/static/variables/colors/horizon.min.js +2 -2
  27. package/dist/themes/static/variables/colors/main.js +2 -2
  28. package/dist/themes/static/variables/colors/main.min.js +2 -2
  29. package/dist/themes/static/variables/colors/material.js +2 -2
  30. package/dist/themes/static/variables/colors/material.min.js +2 -2
  31. package/dist/themes/static/variables/colors/shadcn.js +2 -2
  32. package/dist/themes/static/variables/colors/shadcn.min.js +2 -2
  33. package/dist/themes/static/variables/density.js +2 -2
  34. package/dist/themes/static/variables/density.min.js +2 -2
  35. package/dist/themes/static/variables/helpers/iconStyles.js +2 -2
  36. package/dist/themes/static/variables/helpers/iconStyles.min.js +2 -2
  37. package/dist/themes/static/variables/helpers/iconsMap.js +2 -2
  38. package/dist/themes/static/variables/helpers/iconsMap.min.js +2 -2
  39. package/dist/themes/static/variables/icons/horizon.js +2 -2
  40. package/dist/themes/static/variables/icons/horizon.min.js +2 -2
  41. package/dist/themes/static/variables/icons/main.js +2 -2
  42. package/dist/themes/static/variables/icons/main.min.js +2 -2
  43. package/dist/themes/static/variables/sizing.js +2 -2
  44. package/dist/themes/static/variables/sizing.min.js +2 -2
  45. package/dist/themes/static/variables/tokens/classic.js +2 -2
  46. package/dist/themes/static/variables/tokens/classic.min.js +2 -2
  47. package/dist/themes/static/variables/tokens/horizon.js +2 -2
  48. package/dist/themes/static/variables/tokens/horizon.min.js +2 -2
  49. package/dist/themes/static/variables/tokens/main.js +2 -2
  50. package/dist/themes/static/variables/tokens/main.min.js +2 -2
  51. package/helpers/mixed.js +5 -5
  52. package/helpers/mixed.mjs +5 -5
  53. package/package.json +1 -1
  54. package/plugins/formulas/formulas.d.ts +2 -2
  55. package/plugins/formulas/formulas.js +2 -2
  56. package/plugins/formulas/formulas.mjs +2 -2
  57. package/styles/handsontable.css +2 -2
  58. package/styles/handsontable.min.css +2 -2
  59. package/styles/handsontableStyles.d.ts +1 -1
  60. package/styles/handsontableStyles.js +1 -1
  61. package/styles/handsontableStyles.mjs +1 -1
  62. package/styles/ht-icons-horizon.min.css +2 -2
  63. package/styles/ht-icons-main.min.css +2 -2
  64. package/styles/ht-theme-classic-no-icons.min.css +2 -2
  65. package/styles/ht-theme-classic.min.css +2 -2
  66. package/styles/ht-theme-horizon-no-icons.min.css +2 -2
  67. package/styles/ht-theme-horizon.min.css +2 -2
  68. package/styles/ht-theme-main-no-icons.min.css +2 -2
  69. package/styles/ht-theme-main.min.css +2 -2
  70. package/utils/licenseNotification.js +2 -2
  71. package/utils/licenseNotification.mjs +2 -2
package/CHANGELOG.md CHANGED
@@ -9,7 +9,7 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
9
 
10
10
  <!-- UNVERSIONED -->
11
11
 
12
- ## [19.0.0-rc1] - 2026-11-16
12
+ ## [19.0.0-rc3] - 2026-11-18
13
13
 
14
14
  ### Added
15
15
  - **Breaking change**: Added treegrid accessibility to the NestedRows plugin: tree attributes on rows, Ctrl/Cmd+arrow keys on a row header to expand, collapse, or move to the parent row, and screen reader announcements. On a row header, Ctrl/Cmd+arrow keys no longer jump to the edge of the row, and Enter no longer toggles while an overlay covers the grid. [#13759](https://github.com/handsontable/handsontable/pull/13759)
@@ -327,7 +327,6 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
327
327
  - Fixed a crash when double-clicking a row selection checkbox while a header was selected. [#13897](https://github.com/handsontable/handsontable/pull/13897)
328
328
  - Fixed an issue where the pagination bar shrank to the width of the row headers when the grid had no columns to render. [#13901](https://github.com/handsontable/handsontable/pull/13901)
329
329
  - Fixed swapping the ColumnSorting and MultiColumnSorting plugins in one updateSettings() call, which turned both plugins off. [#13904](https://github.com/handsontable/handsontable/pull/13904)
330
- - Fixed slow scrolling of grids with many custom borders. [#13908](https://github.com/handsontable/handsontable/pull/13908)
331
330
  - Fixed checkbox cells storing a pasted or written value that matches a template only by letter case (such as `"False"`) as text instead of the template value, and storing a written `"true"` or `"false"` as text in a row that was never rendered, and added an opt-in `checkbox` validator that marks or rejects values matching neither template. [#13910](https://github.com/handsontable/handsontable/pull/13910)
332
331
  - Fixed a flicker of the custom borders on `updateSettings()` with `customBordersProgressive` enabled. The previous borders now stay visible until the new ones are applied. [#13913](https://github.com/handsontable/handsontable/pull/13913)
333
332
  - Fixed a duplicated mobile selection handle on cells of a frozen column or row. [#13915](https://github.com/handsontable/handsontable/pull/13915)
@@ -492,6 +491,12 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
492
491
  - React: Fixed a bug where a component-based renderer in a frozen row or column left the cell empty in one of the two tables the grid draws it in, which made the frozen area stop lining up with the rest of the rows. [#9063](https://github.com/handsontable/handsontable/issues/9063)
493
492
  - Angular: Fixed a bug where the grid rendered at zero height when the `height` option was relative (for example `'100%'`) and the `<hot-table>` sat in a parent with a fixed height, which also showed up as the grid disappearing inside a CSS-transformed ancestor. [#13690](https://github.com/handsontable/handsontable/pull/13690)
494
493
  - Angular: Fixed an error logged on every server request when the grid renders on the server, and an error logged on click after the page hydrates. [#14007](https://github.com/handsontable/handsontable/pull/14007)
494
+ - Fixed `customBorders` edges that were not drawn on the first column and the first row after the frozen ones. [#14294](https://github.com/handsontable/handsontable/pull/14294)
495
+
496
+ ## [18.1.3] - 2026-11-20
497
+
498
+ ### Fixed
499
+ - Fixed slow scrolling of grids with many custom borders. [#13908](https://github.com/handsontable/handsontable/pull/13908)
495
500
 
496
501
  ## [18.1.2] - 2026-10-07
497
502
 
package/base.js CHANGED
@@ -72,8 +72,8 @@ Handsontable.hooks = _hooks.Hooks.getSingleton();
72
72
  Handsontable.CellCoords = _src.CellCoords;
73
73
  Handsontable.CellRange = _src.CellRange;
74
74
  Handsontable.packageName = 'handsontable';
75
- Handsontable.buildDate = "17/11/2026 11:12:32";
76
- Handsontable.version = "19.0.0-rc2";
75
+ Handsontable.buildDate = "20/11/2026 12:42:45";
76
+ Handsontable.version = "19.0.0-rc4";
77
77
  Handsontable.languages = {
78
78
  dictionaryKeys: _registry.dictionaryKeys,
79
79
  getLanguageDictionary: _registry.getLanguageDictionary,
package/base.mjs CHANGED
@@ -43,8 +43,8 @@ Handsontable.hooks = Hooks.getSingleton();
43
43
  Handsontable.CellCoords = CellCoords;
44
44
  Handsontable.CellRange = CellRange;
45
45
  Handsontable.packageName = 'handsontable';
46
- Handsontable.buildDate = "17/11/2026 11:12:32";
47
- Handsontable.version = "19.0.0-rc2";
46
+ Handsontable.buildDate = "20/11/2026 12:42:45";
47
+ Handsontable.version = "19.0.0-rc4";
48
48
  Handsontable.languages = {
49
49
  dictionaryKeys,
50
50
  getLanguageDictionary,
package/core/license.js CHANGED
@@ -33,10 +33,10 @@ function getLicenseState(hot) {
33
33
  return cached.state;
34
34
  }
35
35
  // DO NOT add a `typeof process` guard here - see the matching comment in `initLicenseNotification`.
36
- // The bundler inlines `"17/11/2026"` to a string literal (the bare read cannot
36
+ // The bundler inlines `"20/11/2026"` to a string literal (the bare read cannot
37
37
  // crash); a guard is left un-inlined and compiles to `false` in browser bundles, blanking the date
38
38
  // and silently killing expired-key detection.
39
- const releaseDate = "17/11/2026" || '';
39
+ const releaseDate = "20/11/2026" || '';
40
40
  const state = (0, _mixed._getLicenseState)(licenseKey, releaseDate);
41
41
  licenseStates.set(hot, {
42
42
  key: licenseKey,
package/core/license.mjs CHANGED
@@ -22,10 +22,10 @@ import { resolveXlsxEntitlement, UNRESTRICTED_XLSX_ENTITLEMENT } from '../utils/
22
22
  return cached.state;
23
23
  }
24
24
  // DO NOT add a `typeof process` guard here - see the matching comment in `initLicenseNotification`.
25
- // The bundler inlines `"17/11/2026"` to a string literal (the bare read cannot
25
+ // The bundler inlines `"20/11/2026"` to a string literal (the bare read cannot
26
26
  // crash); a guard is left un-inlined and compiles to `false` in browser bundles, blanking the date
27
27
  // and silently killing expired-key detection.
28
- const releaseDate = "17/11/2026" || '';
28
+ const releaseDate = "20/11/2026" || '';
29
29
  const state = _getLicenseState(licenseKey, releaseDate);
30
30
  licenseStates.set(hot, {
31
31
  key: licenseKey,
package/core.js CHANGED
@@ -9705,7 +9705,9 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
9705
9705
  clearTimeout(handler);
9706
9706
  });
9707
9707
  };
9708
- this.microtasks = [];
9708
+ // A Set, not an array: microtasks run in the order they were queued, so dropping the oldest entry
9709
+ // from an array would shift every entry after it, making a bulk validation over n cells O(n²).
9710
+ this.microtasks = new Set();
9709
9711
  /**
9710
9712
  * Registers a microtask callback.
9711
9713
  *
@@ -9715,17 +9717,14 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
9715
9717
  const entry = {
9716
9718
  cancelled: false
9717
9719
  };
9718
- this.microtasks.push(entry);
9720
+ this.microtasks.add(entry);
9719
9721
  this.rootWindow.queueMicrotask(()=>{
9720
9722
  // A cancelled entry was dropped by `_clearMicrotasks()`, which `destroy()` calls before it clears the instance.
9721
9723
  if (entry.cancelled) {
9722
9724
  return;
9723
9725
  }
9724
- const index = this.microtasks.indexOf(entry);
9725
9726
  // Drop the entry once it ran, or every validated edit and every data load keeps one until `destroy()`.
9726
- if (index !== -1) {
9727
- this.microtasks.splice(index, 1);
9728
- }
9727
+ this.microtasks.delete(entry);
9729
9728
  callback();
9730
9729
  });
9731
9730
  };
@@ -9734,10 +9733,10 @@ function Core(rootContainer, userSettings, rootInstanceSymbol = false) {
9734
9733
  *
9735
9734
  * @private
9736
9735
  */ this._clearMicrotasks = function() {
9737
- (0, _array.arrayEach)(this.microtasks, (entry)=>{
9736
+ this.microtasks.forEach((entry)=>{
9738
9737
  entry.cancelled = true;
9739
9738
  });
9740
- this.microtasks.length = 0;
9739
+ this.microtasks.clear();
9741
9740
  };
9742
9741
  /**
9743
9742
  * Gets the instance of the EditorManager.
package/core.mjs CHANGED
@@ -9690,7 +9690,9 @@ let activeGuid = null;
9690
9690
  clearTimeout(handler);
9691
9691
  });
9692
9692
  };
9693
- this.microtasks = [];
9693
+ // A Set, not an array: microtasks run in the order they were queued, so dropping the oldest entry
9694
+ // from an array would shift every entry after it, making a bulk validation over n cells O(n²).
9695
+ this.microtasks = new Set();
9694
9696
  /**
9695
9697
  * Registers a microtask callback.
9696
9698
  *
@@ -9700,17 +9702,14 @@ let activeGuid = null;
9700
9702
  const entry = {
9701
9703
  cancelled: false
9702
9704
  };
9703
- this.microtasks.push(entry);
9705
+ this.microtasks.add(entry);
9704
9706
  this.rootWindow.queueMicrotask(()=>{
9705
9707
  // A cancelled entry was dropped by `_clearMicrotasks()`, which `destroy()` calls before it clears the instance.
9706
9708
  if (entry.cancelled) {
9707
9709
  return;
9708
9710
  }
9709
- const index = this.microtasks.indexOf(entry);
9710
9711
  // Drop the entry once it ran, or every validated edit and every data load keeps one until `destroy()`.
9711
- if (index !== -1) {
9712
- this.microtasks.splice(index, 1);
9713
- }
9712
+ this.microtasks.delete(entry);
9714
9713
  callback();
9715
9714
  });
9716
9715
  };
@@ -9719,10 +9718,10 @@ let activeGuid = null;
9719
9718
  *
9720
9719
  * @private
9721
9720
  */ this._clearMicrotasks = function() {
9722
- arrayEach(this.microtasks, (entry)=>{
9721
+ this.microtasks.forEach((entry)=>{
9723
9722
  entry.cancelled = true;
9724
9723
  });
9725
- this.microtasks.length = 0;
9724
+ this.microtasks.clear();
9726
9725
  };
9727
9726
  /**
9728
9727
  * Gets the instance of the EditorManager.