handsontable 0.0.0-next-fbc95c1-20241003 → 0.0.0-next-9e7a0e1-20241015

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.

@@ -3,7 +3,6 @@
3
3
  exports.__esModule = true;
4
4
  var _textEditor = require("../textEditor");
5
5
  var _element = require("../../helpers/dom/element");
6
- var _a11y = require("../../helpers/a11y");
7
6
  const EDITOR_TYPE = exports.EDITOR_TYPE = 'password';
8
7
 
9
8
  /**
@@ -23,9 +22,6 @@ class PasswordEditor extends _textEditor.TextEditor {
23
22
  this.textareaStyle = this.TEXTAREA.style;
24
23
  this.textareaStyle.width = 0;
25
24
  this.textareaStyle.height = 0;
26
- if (this.hot.getSettings().ariaTags) {
27
- (0, _element.setAttribute)(this.TEXTAREA, [(0, _a11y.A11Y_HIDDEN)()]);
28
- }
29
25
  (0, _element.empty)(this.TEXTAREA_PARENT);
30
26
  this.TEXTAREA_PARENT.appendChild(this.TEXTAREA);
31
27
  }
@@ -1,6 +1,5 @@
1
1
  import { TextEditor } from "../textEditor/index.mjs";
2
- import { empty, setAttribute } from "../../helpers/dom/element.mjs";
3
- import { A11Y_HIDDEN } from "../../helpers/a11y.mjs";
2
+ import { empty } from "../../helpers/dom/element.mjs";
4
3
  export const EDITOR_TYPE = 'password';
5
4
 
6
5
  /**
@@ -20,9 +19,6 @@ export class PasswordEditor extends TextEditor {
20
19
  this.textareaStyle = this.TEXTAREA.style;
21
20
  this.textareaStyle.width = 0;
22
21
  this.textareaStyle.height = 0;
23
- if (this.hot.getSettings().ariaTags) {
24
- setAttribute(this.TEXTAREA, [A11Y_HIDDEN()]);
25
- }
26
22
  empty(this.TEXTAREA_PARENT);
27
23
  this.TEXTAREA_PARENT.appendChild(this.TEXTAREA);
28
24
  }
@@ -196,9 +196,6 @@ class TextEditor extends _baseEditor.BaseEditor {
196
196
  // Makes the element recognizable by Hot as its own
197
197
  // component's element.
198
198
  (0, _element.setAttribute)(this.TEXTAREA, [['data-hot-input', ''], (0, _a11y.A11Y_TABINDEX)(-1)]);
199
- if (this.hot.getSettings().ariaTags) {
200
- (0, _element.setAttribute)(this.TEXTAREA, [(0, _a11y.A11Y_HIDDEN)()]);
201
- }
202
199
  (0, _element.addClass)(this.TEXTAREA, 'handsontableInput');
203
200
  this.textareaStyle = this.TEXTAREA.style;
204
201
  this.textareaStyle.width = 0;
@@ -10,7 +10,7 @@ import { rangeEach } from "../../helpers/number.mjs";
10
10
  import { createInputElementResizer } from "../../utils/autoResize.mjs";
11
11
  import { isDefined } from "../../helpers/mixed.mjs";
12
12
  import { updateCaretPosition } from "./caretPositioner.mjs";
13
- import { A11Y_HIDDEN, A11Y_TABINDEX } from "../../helpers/a11y.mjs";
13
+ import { A11Y_TABINDEX } from "../../helpers/a11y.mjs";
14
14
  const EDITOR_VISIBLE_CLASS_NAME = 'ht_editor_visible';
15
15
  const EDITOR_HIDDEN_CLASS_NAME = 'ht_editor_hidden';
16
16
  const SHORTCUTS_GROUP = 'textEditor';
@@ -192,9 +192,6 @@ export class TextEditor extends BaseEditor {
192
192
  // Makes the element recognizable by Hot as its own
193
193
  // component's element.
194
194
  setAttribute(this.TEXTAREA, [['data-hot-input', ''], A11Y_TABINDEX(-1)]);
195
- if (this.hot.getSettings().ariaTags) {
196
- setAttribute(this.TEXTAREA, [A11Y_HIDDEN()]);
197
- }
198
195
  addClass(this.TEXTAREA, 'handsontableInput');
199
196
  this.textareaStyle = this.TEXTAREA.style;
200
197
  this.textareaStyle.width = 0;
package/helpers/mixed.js CHANGED
@@ -134,7 +134,7 @@ const domMessages = {
134
134
  function _injectProductInfo(key, element) {
135
135
  const hasValidType = !isEmpty(key);
136
136
  const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
137
- const hotVersion = "0.0.0-next-fbc95c1-20241003";
137
+ const hotVersion = "0.0.0-next-9e7a0e1-20241015";
138
138
  let keyValidityDate;
139
139
  let consoleMessageState = 'invalid';
140
140
  let domMessageState = 'invalid';
package/helpers/mixed.mjs CHANGED
@@ -124,7 +124,7 @@ const domMessages = {
124
124
  export function _injectProductInfo(key, element) {
125
125
  const hasValidType = !isEmpty(key);
126
126
  const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
127
- const hotVersion = "0.0.0-next-fbc95c1-20241003";
127
+ const hotVersion = "0.0.0-next-9e7a0e1-20241015";
128
128
  let keyValidityDate;
129
129
  let consoleMessageState = 'invalid';
130
130
  let domMessageState = 'invalid';
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "url": "https://github.com/handsontable/handsontable/issues"
11
11
  },
12
12
  "author": "Handsoncode <hello@handsontable.com>",
13
- "version": "0.0.0-next-fbc95c1-20241003",
13
+ "version": "0.0.0-next-9e7a0e1-20241015",
14
14
  "main": "index",
15
15
  "module": "index.mjs",
16
16
  "jsnext:main": "index.mjs",