handsontable 19.0.0-rc4 → 19.0.0-rc6
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/CHANGELOG.md +3 -1
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core/license.js +2 -2
- package/core/license.mjs +2 -2
- package/dist/handsontable.full.js +257 -42
- package/dist/handsontable.full.min.js +29 -29
- package/dist/handsontable.js +257 -42
- package/dist/handsontable.min.js +29 -29
- package/dist/handsontable.settings-schema.js +7 -7
- package/dist/handsontable.settings-schema.min.js +2 -2
- package/dist/manifest.json +1 -1
- package/dist/themes/classic.js +2 -2
- package/dist/themes/classic.min.js +2 -2
- package/dist/themes/horizon.js +2 -2
- package/dist/themes/horizon.min.js +2 -2
- package/dist/themes/main.js +2 -2
- package/dist/themes/main.min.js +2 -2
- package/dist/themes/static/variables/colors/ant.js +2 -2
- package/dist/themes/static/variables/colors/ant.min.js +2 -2
- package/dist/themes/static/variables/colors/classic.js +2 -2
- package/dist/themes/static/variables/colors/classic.min.js +2 -2
- package/dist/themes/static/variables/colors/horizon.js +2 -2
- package/dist/themes/static/variables/colors/horizon.min.js +2 -2
- package/dist/themes/static/variables/colors/main.js +2 -2
- package/dist/themes/static/variables/colors/main.min.js +2 -2
- package/dist/themes/static/variables/colors/material.js +2 -2
- package/dist/themes/static/variables/colors/material.min.js +2 -2
- package/dist/themes/static/variables/colors/shadcn.js +2 -2
- package/dist/themes/static/variables/colors/shadcn.min.js +2 -2
- package/dist/themes/static/variables/density.js +2 -2
- package/dist/themes/static/variables/density.min.js +2 -2
- package/dist/themes/static/variables/helpers/iconStyles.js +2 -2
- package/dist/themes/static/variables/helpers/iconStyles.min.js +2 -2
- package/dist/themes/static/variables/helpers/iconsMap.js +2 -2
- package/dist/themes/static/variables/helpers/iconsMap.min.js +2 -2
- package/dist/themes/static/variables/icons/horizon.js +2 -2
- package/dist/themes/static/variables/icons/horizon.min.js +2 -2
- package/dist/themes/static/variables/icons/main.js +2 -2
- package/dist/themes/static/variables/icons/main.min.js +2 -2
- package/dist/themes/static/variables/sizing.js +2 -2
- package/dist/themes/static/variables/sizing.min.js +2 -2
- package/dist/themes/static/variables/tokens/classic.js +2 -2
- package/dist/themes/static/variables/tokens/classic.min.js +2 -2
- package/dist/themes/static/variables/tokens/horizon.js +2 -2
- package/dist/themes/static/variables/tokens/horizon.min.js +2 -2
- package/dist/themes/static/variables/tokens/main.js +2 -2
- package/dist/themes/static/variables/tokens/main.min.js +2 -2
- package/helpers/mixed.js +5 -5
- package/helpers/mixed.mjs +5 -5
- package/package.json +1 -1
- package/plugins/exportFile/types/xlsx/numeric-utils.d.ts +19 -8
- package/plugins/exportFile/types/xlsx/numeric-utils.js +88 -7
- package/plugins/exportFile/types/xlsx/numeric-utils.mjs +100 -13
- package/plugins/exportFile/types/xlsx.js +9 -4
- package/plugins/exportFile/types/xlsx.mjs +9 -4
- package/plugins/importFile/inference.d.ts +3 -1
- package/plugins/importFile/inference.js +16 -6
- package/plugins/importFile/inference.mjs +19 -7
- package/plugins/importFile/mapper.js +89 -1
- package/plugins/importFile/mapper.mjs +89 -1
- package/styles/handsontable.css +2 -2
- package/styles/handsontable.min.css +2 -2
- package/styles/handsontableStyles.d.ts +1 -1
- package/styles/handsontableStyles.js +1 -1
- package/styles/handsontableStyles.mjs +1 -1
- package/styles/ht-icons-horizon.min.css +2 -2
- package/styles/ht-icons-main.min.css +2 -2
- package/styles/ht-theme-classic-no-icons.min.css +2 -2
- package/styles/ht-theme-classic.min.css +2 -2
- package/styles/ht-theme-horizon-no-icons.min.css +2 -2
- package/styles/ht-theme-horizon.min.css +2 -2
- package/styles/ht-theme-main-no-icons.min.css +2 -2
- package/styles/ht-theme-main.min.css +2 -2
- package/utils/licenseNotification.js +2 -2
- package/utils/licenseNotification.mjs +2 -2
- package/utils/xlsxEngine/numFmtCode.d.ts +15 -0
- package/utils/xlsxEngine/numFmtCode.js +11 -0
- package/utils/xlsxEngine/numFmtCode.mjs +21 -0
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-
|
|
12
|
+
## [19.0.0-rc5] - 2026-11-20
|
|
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)
|
|
@@ -107,6 +107,7 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
107
107
|
- React: Changed `useHotEditor` so `value` updates in the same render as `setValue`, and mounted React editors inherit the grid theme `color-scheme`. [#13376](https://github.com/handsontable/handsontable/pull/13376)
|
|
108
108
|
- React: Changed `@handsontable/react-wrapper` to declare `react` and `react-dom` 18.0.0 or later as peer dependencies, matching the documented React 18 minimum. [#14009](https://github.com/handsontable/handsontable/pull/14009)
|
|
109
109
|
- Angular: Changed the wrapper to build with Angular 22, which replaces the per-file type declarations with a single bundled types file, while the supported range stays Angular 16 to 22. [#13835](https://github.com/handsontable/handsontable/pull/13835)
|
|
110
|
+
- Angular: Changed the `[data]` input to update the grid outside Angular's zone, like the `[settings]` input. A callback added with `addHook()` now runs outside the zone on a `[data]` change too, so async work it starts no longer triggers change detection by itself. [#14388](https://github.com/handsontable/handsontable/pull/14388)
|
|
110
111
|
|
|
111
112
|
### Deprecated
|
|
112
113
|
- Deprecated writing past the last column of an object data source. A paste, `populateFromArray()`, or `setDataAtCell()` still adds a property named after the column index, which no column can display, and prints a one-time console warning; the write will be ignored in Handsontable 20.0.0. Use `setDataAtRowProp()` to write a field the grid shows no column for. [#13343](https://github.com/handsontable/handsontable/pull/13343)
|
|
@@ -492,6 +493,7 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
492
493
|
- 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)
|
|
493
494
|
- 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
495
|
- 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)
|
|
496
|
+
- Fixed the XLSX export rounding numbers in a column whose `numericFormat` sets no fraction digits, such as a currency format with no `minimumFractionDigits`, and the XLSX import rounding numbers under a format with optional fraction digits, such as `0.##`. [#14376](https://github.com/handsontable/handsontable/pull/14376)
|
|
495
497
|
|
|
496
498
|
## [18.1.3] - 2026-11-20
|
|
497
499
|
|
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 = "
|
|
76
|
-
Handsontable.version = "19.0.0-
|
|
75
|
+
Handsontable.buildDate = "23/11/2026 11:53:06";
|
|
76
|
+
Handsontable.version = "19.0.0-rc6";
|
|
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 = "
|
|
47
|
-
Handsontable.version = "19.0.0-
|
|
46
|
+
Handsontable.buildDate = "23/11/2026 11:53:06";
|
|
47
|
+
Handsontable.version = "19.0.0-rc6";
|
|
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 `"
|
|
36
|
+
// The bundler inlines `"23/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 = "
|
|
39
|
+
const releaseDate = "23/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 `"
|
|
25
|
+
// The bundler inlines `"23/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 = "
|
|
28
|
+
const releaseDate = "23/11/2026" || '';
|
|
29
29
|
const state = _getLicenseState(licenseKey, releaseDate);
|
|
30
30
|
licenseStates.set(hot, {
|
|
31
31
|
key: licenseKey,
|