jodit-pro-react 5.4.21 → 5.4.23
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.
|
@@ -9372,7 +9372,8 @@ svg.jodit-icon {
|
|
|
9372
9372
|
align-items: center;
|
|
9373
9373
|
background: #fff;
|
|
9374
9374
|
display: flex;
|
|
9375
|
-
flex
|
|
9375
|
+
flex: 1 1 0;
|
|
9376
|
+
min-height: 0;
|
|
9376
9377
|
overflow: hidden;
|
|
9377
9378
|
padding: 6px 8px;
|
|
9378
9379
|
pointer-events: none;
|
|
@@ -9385,6 +9386,7 @@ svg.jodit-icon {
|
|
|
9385
9386
|
}
|
|
9386
9387
|
.jodit-style-popup__card-label {
|
|
9387
9388
|
background: #f0f0f0;
|
|
9389
|
+
flex-shrink: 0;
|
|
9388
9390
|
font-size: 11px;
|
|
9389
9391
|
line-height: 20px;
|
|
9390
9392
|
overflow: hidden;
|
|
@@ -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.10";
|
|
186
186
|
ES = "es2020";
|
|
187
187
|
IS_ES_MODERN = true;
|
|
188
188
|
IS_ES_NEXT = true;
|
|
@@ -7866,6 +7866,7 @@ var UIButton = class UIButton2 extends UIElement {
|
|
|
7866
7866
|
}
|
|
7867
7867
|
onChangeText() {
|
|
7868
7868
|
this.text.textContent = this.jodit.i18n(this.state.text);
|
|
7869
|
+
this.__updateAriaLabel();
|
|
7869
7870
|
}
|
|
7870
7871
|
onChangeTextSetMode() {
|
|
7871
7872
|
this.setMod("text-icons", Boolean(this.state.text.trim().length));
|
|
@@ -7888,6 +7889,13 @@ var UIButton = class UIButton2 extends UIElement {
|
|
|
7888
7889
|
attr(this.container, "title", i8nTooltip);
|
|
7889
7890
|
}
|
|
7890
7891
|
attr(this.container, "aria-label", i8nTooltip);
|
|
7892
|
+
this.__updateAriaLabel();
|
|
7893
|
+
}
|
|
7894
|
+
__updateAriaLabel() {
|
|
7895
|
+
const hasText = this.state.text.trim().length > 0;
|
|
7896
|
+
const i8nTooltip = this.state.tooltip ? this.jodit.i18n(this.state.tooltip) : null;
|
|
7897
|
+
attr(this.container, "aria-label", i8nTooltip);
|
|
7898
|
+
attr(this.button, "aria-label", !hasText ? i8nTooltip : null);
|
|
7891
7899
|
}
|
|
7892
7900
|
onChangeTabIndex() {
|
|
7893
7901
|
attr(this.container, "tabindex", this.state.tabIndex);
|
|
@@ -47117,6 +47125,8 @@ Config.prototype.customStyles = { definitions: [] }, Config.prototype.controls.s
|
|
|
47117
47125
|
if (!o48.length) return;
|
|
47118
47126
|
const n48 = d42(t42, o48), i48 = ((s50 = e40.control) === null || s50 === void 0 ? void 0 : s50.component) === "select";
|
|
47119
47127
|
(t42.o.textIcons || i48) && (n48 ? e40.state.text = n48.name : e40.state.text = i48 ? t42.i18n("Styles") : "");
|
|
47128
|
+
}, exec() {
|
|
47129
|
+
return false;
|
|
47120
47130
|
}, popup(t42, e40, s50) {
|
|
47121
47131
|
const o48 = t42.o.customStyles.definitions;
|
|
47122
47132
|
if (!o48.length) return false;
|
|
@@ -47836,6 +47846,7 @@ jodit/esm/core/helpers/array/to-array.js:
|
|
|
47836
47846
|
jodit/esm/core/helpers/utils/assert.js:
|
|
47837
47847
|
jodit/esm/core/event-emitter/store.js:
|
|
47838
47848
|
jodit/esm/core/event-emitter/event-emitter.js:
|
|
47849
|
+
jodit/esm/core/event-emitter/global.js:
|
|
47839
47850
|
jodit/esm/core/helpers/checker/is-html.js:
|
|
47840
47851
|
jodit/esm/core/helpers/checker/is-set.js:
|
|
47841
47852
|
jodit/esm/core/helpers/string/trim.js:
|
|
@@ -47991,6 +48002,7 @@ jodit/esm/core/storage/engines/indexed-db-provider.js:
|
|
|
47991
48002
|
jodit/esm/core/storage/engines/local-storage-provider.js:
|
|
47992
48003
|
jodit/esm/core/storage/engines/memory-storage-provider.js:
|
|
47993
48004
|
jodit/esm/core/storage/storage.js:
|
|
48005
|
+
jodit/esm/core/storage/async-storage.js:
|
|
47994
48006
|
jodit/esm/modules/messages/message.js:
|
|
47995
48007
|
jodit/esm/modules/messages/messages.js:
|
|
47996
48008
|
jodit/esm/core/view/view.js:
|
|
@@ -48008,6 +48020,7 @@ jodit/esm/modules/file-browser/config.js:
|
|
|
48008
48020
|
jodit/esm/modules/file-browser/fetch/load-items.js:
|
|
48009
48021
|
jodit/esm/modules/file-browser/fetch/load-tree.js:
|
|
48010
48022
|
jodit/esm/modules/file-browser/builders/elements-map.js:
|
|
48023
|
+
jodit/esm/modules/file-browser/builders/utils.js:
|
|
48011
48024
|
jodit/esm/core/request/response.js:
|
|
48012
48025
|
jodit/esm/core/request/ajax.js:
|
|
48013
48026
|
jodit/esm/core/request/index.js:
|
package/build/esm/index.css
CHANGED
|
@@ -9372,7 +9372,8 @@ svg.jodit-icon {
|
|
|
9372
9372
|
align-items: center;
|
|
9373
9373
|
background: #fff;
|
|
9374
9374
|
display: flex;
|
|
9375
|
-
flex
|
|
9375
|
+
flex: 1 1 0;
|
|
9376
|
+
min-height: 0;
|
|
9376
9377
|
overflow: hidden;
|
|
9377
9378
|
padding: 6px 8px;
|
|
9378
9379
|
pointer-events: none;
|
|
@@ -9385,6 +9386,7 @@ svg.jodit-icon {
|
|
|
9385
9386
|
}
|
|
9386
9387
|
.jodit-style-popup__card-label {
|
|
9387
9388
|
background: #f0f0f0;
|
|
9389
|
+
flex-shrink: 0;
|
|
9388
9390
|
font-size: 11px;
|
|
9389
9391
|
line-height: 20px;
|
|
9390
9392
|
overflow: hidden;
|