@atlaskit/emoji 73.3.9 → 73.4.0
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 +15 -0
- package/dist/cjs/components/picker/EmojiPickerComponent.js +2 -1
- package/dist/cjs/util/analytics/createEvent.js +1 -1
- package/dist/es2019/components/picker/EmojiPickerComponent.js +2 -1
- package/dist/es2019/util/analytics/createEvent.js +1 -1
- package/dist/esm/components/picker/EmojiPickerComponent.js +2 -1
- package/dist/esm/util/analytics/createEvent.js +1 -1
- package/dist/types/api/EmojiResource.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/emoji
|
|
2
2
|
|
|
3
|
+
## 73.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`df88d83ca2263`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/df88d83ca2263) -
|
|
8
|
+
Add an optional asciiApi URL to EmojiResourceConfig for the confluence_on_demand_emoji_repository
|
|
9
|
+
experiment.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`5dd091d3c082d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5dd091d3c082d) -
|
|
14
|
+
Remove the presentation role from the emoji picker search wrapper behind
|
|
15
|
+
platform_ally_emoji_fixes_various
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 73.3.9
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -20,6 +20,7 @@ var _reactDom = require("react-dom");
|
|
|
20
20
|
var _reactIntl = require("react-intl");
|
|
21
21
|
var _browserApis = require("@atlaskit/browser-apis");
|
|
22
22
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
23
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
23
24
|
var _dropTargetForExternal = require("@atlaskit/pragmatic-drag-and-drop/adapter/drop-target-for-external");
|
|
24
25
|
var _monitorForExternal = require("@atlaskit/pragmatic-drag-and-drop/adapter/monitor-for-external");
|
|
25
26
|
var _combine = require("@atlaskit/pragmatic-drag-and-drop/utils/combine");
|
|
@@ -698,7 +699,7 @@ var EmojiPickerComponent = function EmojiPickerComponent(_ref) {
|
|
|
698
699
|
"--_gsvyy7": (0, _runtime.ix)("".concat(emojiPickerWidth, "px"))
|
|
699
700
|
}
|
|
700
701
|
}, /*#__PURE__*/React.createElement("div", {
|
|
701
|
-
role:
|
|
702
|
+
role: (0, _fg.fg)('platform_ally_emoji_fixes_various') ? undefined : 'presentation',
|
|
702
703
|
onKeyPress: suppressKeyPress,
|
|
703
704
|
onKeyUp: suppressKeyPress,
|
|
704
705
|
onKeyDown: suppressKeyPress,
|
|
@@ -17,7 +17,7 @@ var createEvent = exports.createEvent = function createEvent(eventType, action,
|
|
|
17
17
|
actionSubjectId: actionSubjectId,
|
|
18
18
|
attributes: _objectSpread({
|
|
19
19
|
packageName: "@atlaskit/emoji",
|
|
20
|
-
packageVersion: "73.3.
|
|
20
|
+
packageVersion: "73.3.9"
|
|
21
21
|
}, attributes)
|
|
22
22
|
};
|
|
23
23
|
};
|
|
@@ -7,6 +7,7 @@ import { unstable_batchedUpdates as batchedUpdates } from 'react-dom';
|
|
|
7
7
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
8
8
|
import { getDocument } from '@atlaskit/browser-apis';
|
|
9
9
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
11
|
import { dropTargetForExternal } from '@atlaskit/pragmatic-drag-and-drop/adapter/drop-target-for-external';
|
|
11
12
|
import { monitorForExternal } from '@atlaskit/pragmatic-drag-and-drop/adapter/monitor-for-external';
|
|
12
13
|
import { combine } from '@atlaskit/pragmatic-drag-and-drop/utils/combine';
|
|
@@ -598,7 +599,7 @@ const EmojiPickerComponent = ({
|
|
|
598
599
|
"aria-modal": true,
|
|
599
600
|
className: ax(["_19itahnd _2rko1mok _1e0c1txw _2lx21bp4 _1bah1yb4 _bfhk1bhr _16qs130s _4t3iaq3k _1bsb1edt _1ul91edt _c71l1y6z _kqswh2mm", !!emojiToDelete ? withDeleteRefreshHeight[size] : uploading ? hasUploadPreviewError ? withUploadRefreshAndPreviewErrorHeight[size] : withUploadRefreshHeight[size] : query && filteredEmojis.length === 0 ? withNoResultsRefreshHeight[size] : showPreview ? withPreviewHeight[size] : withoutPreviewHeight[size], showAiUpload && "_4t3ikbql _c71l8k0t"])
|
|
600
601
|
}, /*#__PURE__*/React.createElement("div", {
|
|
601
|
-
role:
|
|
602
|
+
role: fg('platform_ally_emoji_fixes_various') ? undefined : 'presentation',
|
|
602
603
|
onKeyPress: suppressKeyPress,
|
|
603
604
|
onKeyUp: suppressKeyPress,
|
|
604
605
|
onKeyDown: suppressKeyPress,
|
|
@@ -14,6 +14,7 @@ import { unstable_batchedUpdates as batchedUpdates } from 'react-dom';
|
|
|
14
14
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
15
15
|
import { getDocument } from '@atlaskit/browser-apis';
|
|
16
16
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
17
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
17
18
|
import { dropTargetForExternal } from '@atlaskit/pragmatic-drag-and-drop/adapter/drop-target-for-external';
|
|
18
19
|
import { monitorForExternal } from '@atlaskit/pragmatic-drag-and-drop/adapter/monitor-for-external';
|
|
19
20
|
import { combine } from '@atlaskit/pragmatic-drag-and-drop/utils/combine';
|
|
@@ -689,7 +690,7 @@ var EmojiPickerComponent = function EmojiPickerComponent(_ref) {
|
|
|
689
690
|
"--_gsvyy7": ix("".concat(emojiPickerWidth, "px"))
|
|
690
691
|
}
|
|
691
692
|
}, /*#__PURE__*/React.createElement("div", {
|
|
692
|
-
role:
|
|
693
|
+
role: fg('platform_ally_emoji_fixes_various') ? undefined : 'presentation',
|
|
693
694
|
onKeyPress: suppressKeyPress,
|
|
694
695
|
onKeyUp: suppressKeyPress,
|
|
695
696
|
onKeyDown: suppressKeyPress,
|
|
@@ -10,7 +10,7 @@ export var createEvent = function createEvent(eventType, action, actionSubject,
|
|
|
10
10
|
actionSubjectId: actionSubjectId,
|
|
11
11
|
attributes: _objectSpread({
|
|
12
12
|
packageName: "@atlaskit/emoji",
|
|
13
|
-
packageVersion: "73.3.
|
|
13
|
+
packageVersion: "73.3.9"
|
|
14
14
|
}, attributes)
|
|
15
15
|
};
|
|
16
16
|
};
|