@atlaskit/renderer 108.15.6 → 108.15.8
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 +13 -0
- package/dist/cjs/i18n/cs.js +6 -1
- package/dist/cjs/i18n/en.js +6 -1
- package/dist/cjs/i18n/en_GB.js +6 -1
- package/dist/cjs/i18n/en_ZZ.js +6 -1
- package/dist/cjs/i18n/fi.js +6 -1
- package/dist/cjs/i18n/ja.js +6 -1
- package/dist/cjs/i18n/pt_BR.js +6 -1
- package/dist/cjs/i18n/ru.js +6 -1
- package/dist/cjs/i18n/uk.js +6 -1
- package/dist/cjs/ui/Renderer/index.js +40 -41
- package/dist/es2019/i18n/cs.js +6 -1
- package/dist/es2019/i18n/en.js +6 -1
- package/dist/es2019/i18n/en_GB.js +6 -1
- package/dist/es2019/i18n/en_ZZ.js +6 -1
- package/dist/es2019/i18n/fi.js +6 -1
- package/dist/es2019/i18n/ja.js +6 -1
- package/dist/es2019/i18n/pt_BR.js +6 -1
- package/dist/es2019/i18n/ru.js +6 -1
- package/dist/es2019/i18n/uk.js +6 -1
- package/dist/es2019/ui/Renderer/index.js +36 -37
- package/dist/esm/i18n/cs.js +6 -1
- package/dist/esm/i18n/en.js +6 -1
- package/dist/esm/i18n/en_GB.js +6 -1
- package/dist/esm/i18n/en_ZZ.js +6 -1
- package/dist/esm/i18n/fi.js +6 -1
- package/dist/esm/i18n/ja.js +6 -1
- package/dist/esm/i18n/pt_BR.js +6 -1
- package/dist/esm/i18n/ru.js +6 -1
- package/dist/esm/i18n/uk.js +6 -1
- package/dist/esm/ui/Renderer/index.js +40 -41
- package/dist/types/i18n/cs.d.ts +5 -0
- package/dist/types/i18n/en.d.ts +5 -0
- package/dist/types/i18n/en_GB.d.ts +5 -0
- package/dist/types/i18n/en_ZZ.d.ts +5 -0
- package/dist/types/i18n/fi.d.ts +5 -0
- package/dist/types/i18n/ja.d.ts +5 -0
- package/dist/types/i18n/pt_BR.d.ts +5 -0
- package/dist/types/i18n/ru.d.ts +5 -0
- package/dist/types/i18n/uk.d.ts +5 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +5 -0
- package/dist/types-ts4.5/i18n/en.d.ts +5 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +5 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +5 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +5 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +5 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +5 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +5 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +5 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 108.15.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#40912](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40912) [`1b1cb811d4d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1b1cb811d4d) - [ED-20170] Fix telepointer being duplicated when renderer telepointer feature flag is on
|
|
8
|
+
- [#40912](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40912) [`050cf3ed98f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/050cf3ed98f) - [ED-19844] Fix issue where mutation observer was being created in SSR environments
|
|
9
|
+
|
|
10
|
+
## 108.15.7
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749) [`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) - Connect yarn changeset to packages, upgrade adf-schema
|
|
15
|
+
|
|
3
16
|
## 108.15.6
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/cjs/i18n/cs.js
CHANGED
|
@@ -23,6 +23,11 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.headingLink.failedToCopy': 'Kopírování se nezdařilo',
|
|
24
24
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Tabulku se sloučenými buňkami nelze seřadit',
|
|
25
25
|
'fabric.editor.headingLink.noOrderLabel': 'Seřadit sloupec od A do Z',
|
|
26
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Žádné'
|
|
26
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Žádné',
|
|
27
|
+
'fabric.editor.tableHeader.sorting.asc': 'Bylo použito vzestupné řazení',
|
|
28
|
+
'fabric.editor.tableHeader.sorting.default': 'Seřadit sloupec',
|
|
29
|
+
'fabric.editor.tableHeader.sorting.desc': 'Bylo použito sestupné řazení',
|
|
30
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Tabulku se sloučenými buňkami nejde seřadit',
|
|
31
|
+
'fabric.editor.tableHeader.sorting.no': 'U sloupce není použito žádné řazení'
|
|
27
32
|
};
|
|
28
33
|
exports.default = _default;
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -23,6 +23,11 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.headingLink.failedToCopy': 'Copy failed',
|
|
24
24
|
'fabric.editor.headingLink.invalidLabel': "⚠️ You can't sort a table with merged cells",
|
|
25
25
|
'fabric.editor.headingLink.noOrderLabel': 'Sort column A to Z',
|
|
26
|
-
'fabric.editor.headingLink.noneSortingLabel': 'none'
|
|
26
|
+
'fabric.editor.headingLink.noneSortingLabel': 'none',
|
|
27
|
+
'fabric.editor.tableHeader.sorting.asc': 'Ascending sort applied',
|
|
28
|
+
'fabric.editor.tableHeader.sorting.default': 'Sort the column',
|
|
29
|
+
'fabric.editor.tableHeader.sorting.desc': 'Descending sort applied',
|
|
30
|
+
'fabric.editor.tableHeader.sorting.invalid': "You can't sort a table with merged cells",
|
|
31
|
+
'fabric.editor.tableHeader.sorting.no': 'No sort applied to the column'
|
|
27
32
|
};
|
|
28
33
|
exports.default = _default;
|
package/dist/cjs/i18n/en_GB.js
CHANGED
|
@@ -23,6 +23,11 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.headingLink.failedToCopy': 'Copy failed',
|
|
24
24
|
'fabric.editor.headingLink.invalidLabel': "⚠️ You can't sort a table with merged cells",
|
|
25
25
|
'fabric.editor.headingLink.noOrderLabel': 'Sort column A to Z',
|
|
26
|
-
'fabric.editor.headingLink.noneSortingLabel': 'none'
|
|
26
|
+
'fabric.editor.headingLink.noneSortingLabel': 'none',
|
|
27
|
+
'fabric.editor.tableHeader.sorting.asc': 'Ascending sort applied',
|
|
28
|
+
'fabric.editor.tableHeader.sorting.default': 'Sort the column',
|
|
29
|
+
'fabric.editor.tableHeader.sorting.desc': 'Descending sort applied',
|
|
30
|
+
'fabric.editor.tableHeader.sorting.invalid': "You can't sort a table with merged cells",
|
|
31
|
+
'fabric.editor.tableHeader.sorting.no': 'No sort applied to the column'
|
|
27
32
|
};
|
|
28
33
|
exports.default = _default;
|
package/dist/cjs/i18n/en_ZZ.js
CHANGED
|
@@ -23,6 +23,11 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.headingLink.failedToCopy': 'Copy failed',
|
|
24
24
|
'fabric.editor.headingLink.invalidLabel': "⚠️ You can't sort a table with merged cells",
|
|
25
25
|
'fabric.editor.headingLink.noOrderLabel': 'Sort column A to Z',
|
|
26
|
-
'fabric.editor.headingLink.noneSortingLabel': 'none'
|
|
26
|
+
'fabric.editor.headingLink.noneSortingLabel': 'none',
|
|
27
|
+
'fabric.editor.tableHeader.sorting.asc': 'Ascending sort applied',
|
|
28
|
+
'fabric.editor.tableHeader.sorting.default': 'Sort the column',
|
|
29
|
+
'fabric.editor.tableHeader.sorting.desc': 'Descending sort applied',
|
|
30
|
+
'fabric.editor.tableHeader.sorting.invalid': "You can't sort a table with merged cells",
|
|
31
|
+
'fabric.editor.tableHeader.sorting.no': 'No sort applied to the column'
|
|
27
32
|
};
|
|
28
33
|
exports.default = _default;
|
package/dist/cjs/i18n/fi.js
CHANGED
|
@@ -23,6 +23,11 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.headingLink.failedToCopy': 'Kopiointi epäonnistui',
|
|
24
24
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Et voi lajitella yhdistettyjä soluja sisältävää taulukkoa',
|
|
25
25
|
'fabric.editor.headingLink.noOrderLabel': 'Lajittele sarake A–Z',
|
|
26
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Ei mitään'
|
|
26
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Ei mitään',
|
|
27
|
+
'fabric.editor.tableHeader.sorting.asc': 'Nouseva lajittelu otettu käyttöön',
|
|
28
|
+
'fabric.editor.tableHeader.sorting.default': 'Lajittele sarake',
|
|
29
|
+
'fabric.editor.tableHeader.sorting.desc': 'Laskeva lajittelu otettu käyttöön',
|
|
30
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Et voi lajitella yhdistettyjä soluja sisältävää taulukkoa',
|
|
31
|
+
'fabric.editor.tableHeader.sorting.no': 'Ei lajittelua käytössä sarakkeessa'
|
|
27
32
|
};
|
|
28
33
|
exports.default = _default;
|
package/dist/cjs/i18n/ja.js
CHANGED
|
@@ -23,6 +23,11 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.headingLink.failedToCopy': 'コピーできませんでした。',
|
|
24
24
|
'fabric.editor.headingLink.invalidLabel': '⚠️ 統合したセルで表を並べ替えることはできません',
|
|
25
25
|
'fabric.editor.headingLink.noOrderLabel': '列の並べ替え: A から Z',
|
|
26
|
-
'fabric.editor.headingLink.noneSortingLabel': 'なし'
|
|
26
|
+
'fabric.editor.headingLink.noneSortingLabel': 'なし',
|
|
27
|
+
'fabric.editor.tableHeader.sorting.asc': '昇順並べ替えが適用されています',
|
|
28
|
+
'fabric.editor.tableHeader.sorting.default': '列を並べ替え',
|
|
29
|
+
'fabric.editor.tableHeader.sorting.desc': '降順並べ替えが適用されています',
|
|
30
|
+
'fabric.editor.tableHeader.sorting.invalid': '結合セルを含む表は並べ替えられません',
|
|
31
|
+
'fabric.editor.tableHeader.sorting.no': '並べ替えは列に適用されていません'
|
|
27
32
|
};
|
|
28
33
|
exports.default = _default;
|
package/dist/cjs/i18n/pt_BR.js
CHANGED
|
@@ -23,6 +23,11 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.headingLink.failedToCopy': 'Falha na cópia',
|
|
24
24
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Você não pode ordenar uma tabela com células mescladas',
|
|
25
25
|
'fabric.editor.headingLink.noOrderLabel': 'Ordenar coluna de A a Z',
|
|
26
|
-
'fabric.editor.headingLink.noneSortingLabel': 'nenhum'
|
|
26
|
+
'fabric.editor.headingLink.noneSortingLabel': 'nenhum',
|
|
27
|
+
'fabric.editor.tableHeader.sorting.asc': 'Ordenação crescente aplicada',
|
|
28
|
+
'fabric.editor.tableHeader.sorting.default': 'Ordenar coluna',
|
|
29
|
+
'fabric.editor.tableHeader.sorting.desc': 'Ordenação decrescente aplicada',
|
|
30
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Não é possível ordenar uma tabela com células mescladas',
|
|
31
|
+
'fabric.editor.tableHeader.sorting.no': 'Nenhuma ordenação aplicada à coluna'
|
|
27
32
|
};
|
|
28
33
|
exports.default = _default;
|
package/dist/cjs/i18n/ru.js
CHANGED
|
@@ -23,6 +23,11 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.headingLink.failedToCopy': 'Ошибка копирования',
|
|
24
24
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Невозможно отсортировать таблицу с объединением ячеек',
|
|
25
25
|
'fabric.editor.headingLink.noOrderLabel': 'Сортировать столбцы (А–Я)',
|
|
26
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Нет'
|
|
26
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Нет',
|
|
27
|
+
'fabric.editor.tableHeader.sorting.asc': 'Применяется сортировка по возрастанию',
|
|
28
|
+
'fabric.editor.tableHeader.sorting.default': 'Сортировать столбец',
|
|
29
|
+
'fabric.editor.tableHeader.sorting.desc': 'Применяется сортировка по убыванию',
|
|
30
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Невозможно отсортировать таблицу с объединенными ячейками',
|
|
31
|
+
'fabric.editor.tableHeader.sorting.no': 'Сортировка столбца не применяется'
|
|
27
32
|
};
|
|
28
33
|
exports.default = _default;
|
package/dist/cjs/i18n/uk.js
CHANGED
|
@@ -23,6 +23,11 @@ var _default = {
|
|
|
23
23
|
'fabric.editor.headingLink.failedToCopy': 'Не вдалося скопіювати',
|
|
24
24
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Не можна сортувати таблицю, у якій є об’єднані клітинки',
|
|
25
25
|
'fabric.editor.headingLink.noOrderLabel': 'Сортувати стовпці від А до Я',
|
|
26
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Немає'
|
|
26
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Немає',
|
|
27
|
+
'fabric.editor.tableHeader.sorting.asc': 'Застосовано сортування за зростанням',
|
|
28
|
+
'fabric.editor.tableHeader.sorting.default': 'Сортувати стовпець',
|
|
29
|
+
'fabric.editor.tableHeader.sorting.desc': 'Застосовано сортування за спаданням',
|
|
30
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Не можна сортувати таблицю, у якій є об’єднані клітинки',
|
|
31
|
+
'fabric.editor.tableHeader.sorting.no': 'До стовпця не застосовано сортування'
|
|
27
32
|
};
|
|
28
33
|
exports.default = _default;
|
|
@@ -55,7 +55,7 @@ exports.NORMAL_SEVERITY_THRESHOLD = NORMAL_SEVERITY_THRESHOLD;
|
|
|
55
55
|
var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
56
56
|
exports.DEGRADED_SEVERITY_THRESHOLD = DEGRADED_SEVERITY_THRESHOLD;
|
|
57
57
|
var packageName = "@atlaskit/renderer";
|
|
58
|
-
var packageVersion = "108.15.
|
|
58
|
+
var packageVersion = "108.15.8";
|
|
59
59
|
var Renderer = /*#__PURE__*/function (_PureComponent) {
|
|
60
60
|
(0, _inherits2.default)(Renderer, _PureComponent);
|
|
61
61
|
var _super = _createSuper(Renderer);
|
|
@@ -478,50 +478,49 @@ var RendererWrapper = /*#__PURE__*/_react.default.memo(function (props) {
|
|
|
478
478
|
};
|
|
479
479
|
var initialUpdate = _react.default.useRef(true);
|
|
480
480
|
_react.default.useEffect(function () {
|
|
481
|
-
if
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
481
|
+
// We must check if window is defined, if it isn't we are in a SSR environment
|
|
482
|
+
// and we don't want to add the telepointer
|
|
483
|
+
if (typeof window !== 'undefined' && addTelepointer && innerRef !== null && innerRef !== void 0 && innerRef.current) {
|
|
484
|
+
var renderer = innerRef.current.querySelector('.ak-renderer-document');
|
|
485
|
+
if (initialUpdate.current) {
|
|
486
|
+
var lastChild = renderer.lastChild;
|
|
487
|
+
lastChild && lastChild.appendChild(createTelepointer());
|
|
488
|
+
}
|
|
489
|
+
var mutateTelepointer = function mutateTelepointer(mutations) {
|
|
490
|
+
mutations.forEach(function (mutation) {
|
|
491
|
+
if (initialUpdate.current) {
|
|
492
|
+
var oldTelepointer = renderer.querySelector("#".concat(_style.TELEPOINTER_ID));
|
|
493
|
+
if (oldTelepointer) {
|
|
494
|
+
oldTelepointer.remove();
|
|
495
|
+
}
|
|
496
|
+
var _lastChild = renderer.lastChild;
|
|
497
|
+
_lastChild && _lastChild.appendChild(createTelepointer());
|
|
498
|
+
initialUpdate.current = false;
|
|
495
499
|
}
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
if (_oldTelepointer) {
|
|
505
|
-
_oldTelepointer.remove();
|
|
500
|
+
if (mutation.type === 'characterData') {
|
|
501
|
+
var parentNode = mutation.target.parentElement;
|
|
502
|
+
if (parentNode) {
|
|
503
|
+
var _oldTelepointer = renderer.querySelector("#".concat(_style.TELEPOINTER_ID));
|
|
504
|
+
if (_oldTelepointer) {
|
|
505
|
+
_oldTelepointer.remove();
|
|
506
|
+
}
|
|
507
|
+
parentNode.appendChild(createTelepointer());
|
|
506
508
|
}
|
|
507
|
-
// initialUpdate.current = true;
|
|
508
|
-
// Add a new telepointer
|
|
509
|
-
parentNode.appendChild(createTelepointer());
|
|
510
509
|
}
|
|
511
|
-
}
|
|
510
|
+
});
|
|
511
|
+
};
|
|
512
|
+
var observer = new MutationObserver(mutateTelepointer);
|
|
513
|
+
observer.observe(innerRef.current, {
|
|
514
|
+
characterData: true,
|
|
515
|
+
attributes: false,
|
|
516
|
+
childList: true,
|
|
517
|
+
subtree: true
|
|
512
518
|
});
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
childList: true,
|
|
519
|
-
subtree: true
|
|
520
|
-
});
|
|
521
|
-
return function () {
|
|
522
|
-
return observer.disconnect();
|
|
523
|
-
};
|
|
524
|
-
}, [innerRef, children, addTelepointer]);
|
|
519
|
+
return function () {
|
|
520
|
+
return observer.disconnect();
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
}, [innerRef, addTelepointer]);
|
|
525
524
|
return (0, _react2.jsx)(_ui.WidthProvider, {
|
|
526
525
|
className: "ak-renderer-wrapper is-".concat(appearance),
|
|
527
526
|
"data-appearance": appearance
|
package/dist/es2019/i18n/cs.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Kopírování se nezdařilo',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Tabulku se sloučenými buňkami nelze seřadit',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Seřadit sloupec od A do Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Žádné'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Žádné',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Bylo použito vzestupné řazení',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Seřadit sloupec',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Bylo použito sestupné řazení',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Tabulku se sloučenými buňkami nejde seřadit',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'U sloupce není použito žádné řazení'
|
|
21
26
|
};
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Copy failed',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': "⚠️ You can't sort a table with merged cells",
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Sort column A to Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'none'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'none',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Ascending sort applied',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Sort the column',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Descending sort applied',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': "You can't sort a table with merged cells",
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'No sort applied to the column'
|
|
21
26
|
};
|
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Copy failed',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': "⚠️ You can't sort a table with merged cells",
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Sort column A to Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'none'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'none',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Ascending sort applied',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Sort the column',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Descending sort applied',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': "You can't sort a table with merged cells",
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'No sort applied to the column'
|
|
21
26
|
};
|
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Copy failed',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': "⚠️ You can't sort a table with merged cells",
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Sort column A to Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'none'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'none',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Ascending sort applied',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Sort the column',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Descending sort applied',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': "You can't sort a table with merged cells",
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'No sort applied to the column'
|
|
21
26
|
};
|
package/dist/es2019/i18n/fi.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Kopiointi epäonnistui',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Et voi lajitella yhdistettyjä soluja sisältävää taulukkoa',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Lajittele sarake A–Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Ei mitään'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Ei mitään',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Nouseva lajittelu otettu käyttöön',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Lajittele sarake',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Laskeva lajittelu otettu käyttöön',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Et voi lajitella yhdistettyjä soluja sisältävää taulukkoa',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Ei lajittelua käytössä sarakkeessa'
|
|
21
26
|
};
|
package/dist/es2019/i18n/ja.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'コピーできませんでした。',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ 統合したセルで表を並べ替えることはできません',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': '列の並べ替え: A から Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'なし'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'なし',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': '昇順並べ替えが適用されています',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': '列を並べ替え',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': '降順並べ替えが適用されています',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': '結合セルを含む表は並べ替えられません',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': '並べ替えは列に適用されていません'
|
|
21
26
|
};
|
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Falha na cópia',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Você não pode ordenar uma tabela com células mescladas',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Ordenar coluna de A a Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'nenhum'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'nenhum',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Ordenação crescente aplicada',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Ordenar coluna',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Ordenação decrescente aplicada',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Não é possível ordenar uma tabela com células mescladas',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Nenhuma ordenação aplicada à coluna'
|
|
21
26
|
};
|
package/dist/es2019/i18n/ru.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Ошибка копирования',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Невозможно отсортировать таблицу с объединением ячеек',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Сортировать столбцы (А–Я)',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Нет'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Нет',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Применяется сортировка по возрастанию',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Сортировать столбец',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Применяется сортировка по убыванию',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Невозможно отсортировать таблицу с объединенными ячейками',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Сортировка столбца не применяется'
|
|
21
26
|
};
|
package/dist/es2019/i18n/uk.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Не вдалося скопіювати',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Не можна сортувати таблицю, у якій є об’єднані клітинки',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Сортувати стовпці від А до Я',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Немає'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Немає',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Застосовано сортування за зростанням',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Сортувати стовпець',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Застосовано сортування за спаданням',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Не можна сортувати таблицю, у якій є об’єднані клітинки',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'До стовпця не застосовано сортування'
|
|
21
26
|
};
|
|
@@ -35,7 +35,7 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
|
|
|
35
35
|
export const NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
36
36
|
export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
37
37
|
const packageName = "@atlaskit/renderer";
|
|
38
|
-
const packageVersion = "108.15.
|
|
38
|
+
const packageVersion = "108.15.8";
|
|
39
39
|
export class Renderer extends PureComponent {
|
|
40
40
|
constructor(props) {
|
|
41
41
|
super(props);
|
|
@@ -450,48 +450,47 @@ const RendererWrapper = /*#__PURE__*/React.memo(props => {
|
|
|
450
450
|
};
|
|
451
451
|
const initialUpdate = React.useRef(true);
|
|
452
452
|
React.useEffect(() => {
|
|
453
|
-
if
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
const oldTelepointer = renderer.querySelector(`#${TELEPOINTER_ID}`);
|
|
465
|
-
if (oldTelepointer) {
|
|
466
|
-
oldTelepointer.remove();
|
|
467
|
-
}
|
|
468
|
-
const lastChild = renderer.lastChild;
|
|
469
|
-
lastChild && lastChild.appendChild(createTelepointer());
|
|
470
|
-
initialUpdate.current = false;
|
|
471
|
-
}
|
|
472
|
-
if (mutation.type === 'characterData') {
|
|
473
|
-
const parentNode = mutation.target.parentElement;
|
|
474
|
-
if (parentNode) {
|
|
453
|
+
// We must check if window is defined, if it isn't we are in a SSR environment
|
|
454
|
+
// and we don't want to add the telepointer
|
|
455
|
+
if (typeof window !== 'undefined' && addTelepointer && innerRef !== null && innerRef !== void 0 && innerRef.current) {
|
|
456
|
+
const renderer = innerRef.current.querySelector('.ak-renderer-document');
|
|
457
|
+
if (initialUpdate.current) {
|
|
458
|
+
const lastChild = renderer.lastChild;
|
|
459
|
+
lastChild && lastChild.appendChild(createTelepointer());
|
|
460
|
+
}
|
|
461
|
+
const mutateTelepointer = mutations => {
|
|
462
|
+
mutations.forEach(mutation => {
|
|
463
|
+
if (initialUpdate.current) {
|
|
475
464
|
const oldTelepointer = renderer.querySelector(`#${TELEPOINTER_ID}`);
|
|
476
465
|
if (oldTelepointer) {
|
|
477
466
|
oldTelepointer.remove();
|
|
478
467
|
}
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
468
|
+
const lastChild = renderer.lastChild;
|
|
469
|
+
lastChild && lastChild.appendChild(createTelepointer());
|
|
470
|
+
initialUpdate.current = false;
|
|
482
471
|
}
|
|
483
|
-
|
|
472
|
+
if (mutation.type === 'characterData') {
|
|
473
|
+
const parentNode = mutation.target.parentElement;
|
|
474
|
+
if (parentNode) {
|
|
475
|
+
const oldTelepointer = renderer.querySelector(`#${TELEPOINTER_ID}`);
|
|
476
|
+
if (oldTelepointer) {
|
|
477
|
+
oldTelepointer.remove();
|
|
478
|
+
}
|
|
479
|
+
parentNode.appendChild(createTelepointer());
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
});
|
|
483
|
+
};
|
|
484
|
+
const observer = new MutationObserver(mutateTelepointer);
|
|
485
|
+
observer.observe(innerRef.current, {
|
|
486
|
+
characterData: true,
|
|
487
|
+
attributes: false,
|
|
488
|
+
childList: true,
|
|
489
|
+
subtree: true
|
|
484
490
|
});
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
characterData: true,
|
|
489
|
-
attributes: false,
|
|
490
|
-
childList: true,
|
|
491
|
-
subtree: true
|
|
492
|
-
});
|
|
493
|
-
return () => observer.disconnect();
|
|
494
|
-
}, [innerRef, children, addTelepointer]);
|
|
491
|
+
return () => observer.disconnect();
|
|
492
|
+
}
|
|
493
|
+
}, [innerRef, addTelepointer]);
|
|
495
494
|
return jsx(WidthProvider, {
|
|
496
495
|
className: `ak-renderer-wrapper is-${appearance}`,
|
|
497
496
|
"data-appearance": appearance
|
package/dist/esm/i18n/cs.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Kopírování se nezdařilo',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Tabulku se sloučenými buňkami nelze seřadit',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Seřadit sloupec od A do Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Žádné'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Žádné',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Bylo použito vzestupné řazení',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Seřadit sloupec',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Bylo použito sestupné řazení',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Tabulku se sloučenými buňkami nejde seřadit',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'U sloupce není použito žádné řazení'
|
|
21
26
|
};
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Copy failed',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': "⚠️ You can't sort a table with merged cells",
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Sort column A to Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'none'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'none',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Ascending sort applied',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Sort the column',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Descending sort applied',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': "You can't sort a table with merged cells",
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'No sort applied to the column'
|
|
21
26
|
};
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Copy failed',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': "⚠️ You can't sort a table with merged cells",
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Sort column A to Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'none'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'none',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Ascending sort applied',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Sort the column',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Descending sort applied',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': "You can't sort a table with merged cells",
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'No sort applied to the column'
|
|
21
26
|
};
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Copy failed',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': "⚠️ You can't sort a table with merged cells",
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Sort column A to Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'none'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'none',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Ascending sort applied',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Sort the column',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Descending sort applied',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': "You can't sort a table with merged cells",
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'No sort applied to the column'
|
|
21
26
|
};
|
package/dist/esm/i18n/fi.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Kopiointi epäonnistui',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Et voi lajitella yhdistettyjä soluja sisältävää taulukkoa',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Lajittele sarake A–Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Ei mitään'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Ei mitään',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Nouseva lajittelu otettu käyttöön',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Lajittele sarake',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Laskeva lajittelu otettu käyttöön',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Et voi lajitella yhdistettyjä soluja sisältävää taulukkoa',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Ei lajittelua käytössä sarakkeessa'
|
|
21
26
|
};
|
package/dist/esm/i18n/ja.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'コピーできませんでした。',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ 統合したセルで表を並べ替えることはできません',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': '列の並べ替え: A から Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'なし'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'なし',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': '昇順並べ替えが適用されています',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': '列を並べ替え',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': '降順並べ替えが適用されています',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': '結合セルを含む表は並べ替えられません',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': '並べ替えは列に適用されていません'
|
|
21
26
|
};
|
package/dist/esm/i18n/pt_BR.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Falha na cópia',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Você não pode ordenar uma tabela com células mescladas',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Ordenar coluna de A a Z',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'nenhum'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'nenhum',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Ordenação crescente aplicada',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Ordenar coluna',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Ordenação decrescente aplicada',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Não é possível ordenar uma tabela com células mescladas',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Nenhuma ordenação aplicada à coluna'
|
|
21
26
|
};
|
package/dist/esm/i18n/ru.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Ошибка копирования',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Невозможно отсортировать таблицу с объединением ячеек',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Сортировать столбцы (А–Я)',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Нет'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Нет',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Применяется сортировка по возрастанию',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Сортировать столбец',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Применяется сортировка по убыванию',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Невозможно отсортировать таблицу с объединенными ячейками',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'Сортировка столбца не применяется'
|
|
21
26
|
};
|
package/dist/esm/i18n/uk.js
CHANGED
|
@@ -17,5 +17,10 @@ export default {
|
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Не вдалося скопіювати',
|
|
18
18
|
'fabric.editor.headingLink.invalidLabel': '⚠️ Не можна сортувати таблицю, у якій є об’єднані клітинки',
|
|
19
19
|
'fabric.editor.headingLink.noOrderLabel': 'Сортувати стовпці від А до Я',
|
|
20
|
-
'fabric.editor.headingLink.noneSortingLabel': 'Немає'
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'Немає',
|
|
21
|
+
'fabric.editor.tableHeader.sorting.asc': 'Застосовано сортування за зростанням',
|
|
22
|
+
'fabric.editor.tableHeader.sorting.default': 'Сортувати стовпець',
|
|
23
|
+
'fabric.editor.tableHeader.sorting.desc': 'Застосовано сортування за спаданням',
|
|
24
|
+
'fabric.editor.tableHeader.sorting.invalid': 'Не можна сортувати таблицю, у якій є об’єднані клітинки',
|
|
25
|
+
'fabric.editor.tableHeader.sorting.no': 'До стовпця не застосовано сортування'
|
|
21
26
|
};
|
|
@@ -45,7 +45,7 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
|
|
|
45
45
|
export var NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
46
46
|
export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
47
47
|
var packageName = "@atlaskit/renderer";
|
|
48
|
-
var packageVersion = "108.15.
|
|
48
|
+
var packageVersion = "108.15.8";
|
|
49
49
|
export var Renderer = /*#__PURE__*/function (_PureComponent) {
|
|
50
50
|
_inherits(Renderer, _PureComponent);
|
|
51
51
|
var _super = _createSuper(Renderer);
|
|
@@ -467,50 +467,49 @@ var RendererWrapper = /*#__PURE__*/React.memo(function (props) {
|
|
|
467
467
|
};
|
|
468
468
|
var initialUpdate = React.useRef(true);
|
|
469
469
|
React.useEffect(function () {
|
|
470
|
-
if
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
470
|
+
// We must check if window is defined, if it isn't we are in a SSR environment
|
|
471
|
+
// and we don't want to add the telepointer
|
|
472
|
+
if (typeof window !== 'undefined' && addTelepointer && innerRef !== null && innerRef !== void 0 && innerRef.current) {
|
|
473
|
+
var renderer = innerRef.current.querySelector('.ak-renderer-document');
|
|
474
|
+
if (initialUpdate.current) {
|
|
475
|
+
var lastChild = renderer.lastChild;
|
|
476
|
+
lastChild && lastChild.appendChild(createTelepointer());
|
|
477
|
+
}
|
|
478
|
+
var mutateTelepointer = function mutateTelepointer(mutations) {
|
|
479
|
+
mutations.forEach(function (mutation) {
|
|
480
|
+
if (initialUpdate.current) {
|
|
481
|
+
var oldTelepointer = renderer.querySelector("#".concat(TELEPOINTER_ID));
|
|
482
|
+
if (oldTelepointer) {
|
|
483
|
+
oldTelepointer.remove();
|
|
484
|
+
}
|
|
485
|
+
var _lastChild = renderer.lastChild;
|
|
486
|
+
_lastChild && _lastChild.appendChild(createTelepointer());
|
|
487
|
+
initialUpdate.current = false;
|
|
484
488
|
}
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
if (_oldTelepointer) {
|
|
494
|
-
_oldTelepointer.remove();
|
|
489
|
+
if (mutation.type === 'characterData') {
|
|
490
|
+
var parentNode = mutation.target.parentElement;
|
|
491
|
+
if (parentNode) {
|
|
492
|
+
var _oldTelepointer = renderer.querySelector("#".concat(TELEPOINTER_ID));
|
|
493
|
+
if (_oldTelepointer) {
|
|
494
|
+
_oldTelepointer.remove();
|
|
495
|
+
}
|
|
496
|
+
parentNode.appendChild(createTelepointer());
|
|
495
497
|
}
|
|
496
|
-
// initialUpdate.current = true;
|
|
497
|
-
// Add a new telepointer
|
|
498
|
-
parentNode.appendChild(createTelepointer());
|
|
499
498
|
}
|
|
500
|
-
}
|
|
499
|
+
});
|
|
500
|
+
};
|
|
501
|
+
var observer = new MutationObserver(mutateTelepointer);
|
|
502
|
+
observer.observe(innerRef.current, {
|
|
503
|
+
characterData: true,
|
|
504
|
+
attributes: false,
|
|
505
|
+
childList: true,
|
|
506
|
+
subtree: true
|
|
501
507
|
});
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
childList: true,
|
|
508
|
-
subtree: true
|
|
509
|
-
});
|
|
510
|
-
return function () {
|
|
511
|
-
return observer.disconnect();
|
|
512
|
-
};
|
|
513
|
-
}, [innerRef, children, addTelepointer]);
|
|
508
|
+
return function () {
|
|
509
|
+
return observer.disconnect();
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
}, [innerRef, addTelepointer]);
|
|
514
513
|
return jsx(WidthProvider, {
|
|
515
514
|
className: "ak-renderer-wrapper is-".concat(appearance),
|
|
516
515
|
"data-appearance": appearance
|
package/dist/types/i18n/cs.d.ts
CHANGED
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
package/dist/types/i18n/en.d.ts
CHANGED
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
package/dist/types/i18n/fi.d.ts
CHANGED
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
package/dist/types/i18n/ja.d.ts
CHANGED
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
package/dist/types/i18n/ru.d.ts
CHANGED
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
package/dist/types/i18n/uk.d.ts
CHANGED
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
|
@@ -16,5 +16,10 @@ declare const _default: {
|
|
|
16
16
|
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
19
24
|
};
|
|
20
25
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "108.15.
|
|
3
|
+
"version": "108.15.8",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atlaskit/adf-schema": "^
|
|
27
|
+
"@atlaskit/adf-schema": "^32.0.0",
|
|
28
28
|
"@atlaskit/adf-utils": "^19.0.0",
|
|
29
29
|
"@atlaskit/analytics-listeners": "^8.7.0",
|
|
30
30
|
"@atlaskit/analytics-namespaced-context": "^6.7.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@atlaskit/editor-shared-styles": "^2.8.0",
|
|
39
39
|
"@atlaskit/emoji": "^67.5.0",
|
|
40
40
|
"@atlaskit/icon": "^21.12.0",
|
|
41
|
-
"@atlaskit/link-datasource": "^1.
|
|
41
|
+
"@atlaskit/link-datasource": "^1.5.0",
|
|
42
42
|
"@atlaskit/media-card": "^77.0.0",
|
|
43
43
|
"@atlaskit/media-client": "^24.0.0",
|
|
44
44
|
"@atlaskit/media-common": "^9.0.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/media-ui": "^25.0.0",
|
|
47
47
|
"@atlaskit/media-viewer": "^48.1.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
49
|
-
"@atlaskit/smart-card": "^26.
|
|
49
|
+
"@atlaskit/smart-card": "^26.31.0",
|
|
50
50
|
"@atlaskit/status": "^1.4.0",
|
|
51
51
|
"@atlaskit/task-decision": "^17.9.0",
|
|
52
52
|
"@atlaskit/theme": "^12.6.0",
|