jodit-pro-react 5.4.23 → 5.4.24
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.
|
@@ -182,7 +182,7 @@ var APP_VERSION, ES, IS_ES_MODERN, IS_ES_NEXT, IS_PROD, IS_TEST, FAT_MODE, HOMEP
|
|
|
182
182
|
var init_constants = __esm({
|
|
183
183
|
"node_modules/jodit/esm/core/constants.js"() {
|
|
184
184
|
"use strict";
|
|
185
|
-
APP_VERSION = "4.9.
|
|
185
|
+
APP_VERSION = "4.9.11";
|
|
186
186
|
ES = "es2020";
|
|
187
187
|
IS_ES_MODERN = true;
|
|
188
188
|
IS_ES_NEXT = true;
|
|
@@ -7599,6 +7599,7 @@ init_component3();
|
|
|
7599
7599
|
init_derive();
|
|
7600
7600
|
init_dom();
|
|
7601
7601
|
init_is_string();
|
|
7602
|
+
init_attr();
|
|
7602
7603
|
|
|
7603
7604
|
// node_modules/jodit/esm/core/traits/elms.js
|
|
7604
7605
|
init_to_array();
|
|
@@ -7664,6 +7665,9 @@ var __decorate2 = function(decorators, target, key3, desc) {
|
|
|
7664
7665
|
};
|
|
7665
7666
|
var UIElement_1;
|
|
7666
7667
|
var UIElement = UIElement_1 = class UIElement2 extends ViewComponent {
|
|
7668
|
+
getRole() {
|
|
7669
|
+
return "";
|
|
7670
|
+
}
|
|
7667
7671
|
get parentElement() {
|
|
7668
7672
|
return this.__parentElement;
|
|
7669
7673
|
}
|
|
@@ -7768,6 +7772,8 @@ var UIElement = UIElement_1 = class UIElement2 extends ViewComponent {
|
|
|
7768
7772
|
this.__parentElement = null;
|
|
7769
7773
|
this.mods = {};
|
|
7770
7774
|
this.container = this.createContainer(options2);
|
|
7775
|
+
const role = this.getRole();
|
|
7776
|
+
role && attr(this.container, "role", role);
|
|
7771
7777
|
Object.defineProperty(this.container, "component", {
|
|
7772
7778
|
value: this,
|
|
7773
7779
|
configurable: true
|
|
@@ -8075,6 +8081,9 @@ var UIGroup = UIGroup_1 = class UIGroup2 extends UIElement {
|
|
|
8075
8081
|
className() {
|
|
8076
8082
|
return "UIGroup";
|
|
8077
8083
|
}
|
|
8084
|
+
getRole() {
|
|
8085
|
+
return "list";
|
|
8086
|
+
}
|
|
8078
8087
|
/**
|
|
8079
8088
|
* All group children
|
|
8080
8089
|
*/
|
|
@@ -15178,6 +15187,9 @@ var ToolbarButton = class ToolbarButton2 extends UIButton {
|
|
|
15178
15187
|
className() {
|
|
15179
15188
|
return "ToolbarButton";
|
|
15180
15189
|
}
|
|
15190
|
+
getRole() {
|
|
15191
|
+
return "listitem";
|
|
15192
|
+
}
|
|
15181
15193
|
/**
|
|
15182
15194
|
* Get parent toolbar
|
|
15183
15195
|
*/
|
|
@@ -15248,7 +15260,6 @@ var ToolbarButton = class ToolbarButton2 extends UIButton {
|
|
|
15248
15260
|
const cn = this.componentName;
|
|
15249
15261
|
const container = this.j.c.span(cn);
|
|
15250
15262
|
const button = super.createContainer();
|
|
15251
|
-
attr(container, "role", "listitem");
|
|
15252
15263
|
button.classList.remove(cn);
|
|
15253
15264
|
button.classList.add(cn + "__button");
|
|
15254
15265
|
Object.defineProperty(button, "component", {
|