@atlaskit/editor-plugin-emoji 14.0.5 → 14.0.6
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
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-emoji
|
|
2
2
|
|
|
3
|
+
## 14.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2857e277050c6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2857e277050c6) -
|
|
8
|
+
Behind the `platform-dst-top-layer` feature gate, `@atlaskit/popper/unsafe-imperative`'s
|
|
9
|
+
`createPopper` now renders and positions in the browser top layer via `@atlaskit/top-layer`
|
|
10
|
+
instead of running the Popper.js engine. Positioning and teardown are applied asynchronously, as
|
|
11
|
+
Popper.js' own first update is. Flag-off behaviour is unchanged.
|
|
12
|
+
|
|
13
|
+
`@atlaskit/top-layer`: the JavaScript positioning fallback no longer clears a consumer's own
|
|
14
|
+
inline positioning and visibility styles.
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 14.0.5
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -271,6 +271,8 @@ var EmojiNodeView = exports.EmojiNodeView = /*#__PURE__*/function () {
|
|
|
271
271
|
_this2.destroyLazyTooltipListeners = undefined;
|
|
272
272
|
var tooltipId = typeof crypto !== 'undefined' && typeof crypto.randomUUID === 'function' ? "emoji-tooltip-".concat(crypto.randomUUID()) : (0, _uniqueId.default)('emoji-tooltip-');
|
|
273
273
|
try {
|
|
274
|
+
// Flag-on (platform-dst-top-layer), positioning is async via a React root;
|
|
275
|
+
// safe here as VanillaTooltip stays hidden until positioned.
|
|
274
276
|
var tooltipInstance = new _vanillaTooltip.VanillaTooltip(
|
|
275
277
|
// VanillaTooltip types expect HTMLButtonElement but works with any HTMLElement
|
|
276
278
|
element, shortName, tooltipId, EMOJI_TOOLTIP_CLASS,
|
|
@@ -239,6 +239,8 @@ export class EmojiNodeView {
|
|
|
239
239
|
this.destroyLazyTooltipListeners = undefined;
|
|
240
240
|
const tooltipId = typeof crypto !== 'undefined' && typeof crypto.randomUUID === 'function' ? `emoji-tooltip-${crypto.randomUUID()}` : uniqueId('emoji-tooltip-');
|
|
241
241
|
try {
|
|
242
|
+
// Flag-on (platform-dst-top-layer), positioning is async via a React root;
|
|
243
|
+
// safe here as VanillaTooltip stays hidden until positioned.
|
|
242
244
|
const tooltipInstance = new VanillaTooltip(
|
|
243
245
|
// VanillaTooltip types expect HTMLButtonElement but works with any HTMLElement
|
|
244
246
|
element, shortName, tooltipId, EMOJI_TOOLTIP_CLASS,
|
|
@@ -263,6 +263,8 @@ export var EmojiNodeView = /*#__PURE__*/function () {
|
|
|
263
263
|
_this2.destroyLazyTooltipListeners = undefined;
|
|
264
264
|
var tooltipId = typeof crypto !== 'undefined' && typeof crypto.randomUUID === 'function' ? "emoji-tooltip-".concat(crypto.randomUUID()) : uniqueId('emoji-tooltip-');
|
|
265
265
|
try {
|
|
266
|
+
// Flag-on (platform-dst-top-layer), positioning is async via a React root;
|
|
267
|
+
// safe here as VanillaTooltip stays hidden until positioned.
|
|
266
268
|
var tooltipInstance = new VanillaTooltip(
|
|
267
269
|
// VanillaTooltip types expect HTMLButtonElement but works with any HTMLElement
|
|
268
270
|
element, shortName, tooltipId, EMOJI_TOOLTIP_CLASS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-emoji",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.6",
|
|
4
4
|
"description": "Emoji plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@atlaskit/adf-schema": "^56.6.0",
|
|
25
25
|
"@atlaskit/browser-apis": "^1.2.0",
|
|
26
26
|
"@atlaskit/editor-plugin-analytics": "^13.0.0",
|
|
27
|
-
"@atlaskit/editor-plugin-annotation": "^13.
|
|
27
|
+
"@atlaskit/editor-plugin-annotation": "^13.1.0",
|
|
28
28
|
"@atlaskit/editor-plugin-base": "^14.0.0",
|
|
29
29
|
"@atlaskit/editor-plugin-connectivity": "^13.0.0",
|
|
30
30
|
"@atlaskit/editor-plugin-editor-viewmode": "^15.0.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"react-loadable": "^5.1.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@atlaskit/editor-common": "^117.
|
|
52
|
+
"@atlaskit/editor-common": "^117.6.0",
|
|
53
53
|
"react": "^18.2.0 || ^19.2.0",
|
|
54
54
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
55
55
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|