@atlaskit/emoji 67.5.9 → 67.5.11

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,18 @@
1
1
  # @atlaskit/emoji
2
2
 
3
+ ## 67.5.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [#41659](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41659) [`a0c97a19dba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a0c97a19dba) - Remove unused utils and depreciated exports in mediaClient.
8
+ - Updated dependencies
9
+
10
+ ## 67.5.10
11
+
12
+ ### Patch Changes
13
+
14
+ - [#41409](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41409) [`54e3f8659fc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54e3f8659fc) - update usage of angle-bracket type assertion to instead use 'as' type assertion
15
+
3
16
  ## 67.5.9
4
17
 
5
18
  ### Patch Changes
@@ -12,7 +12,7 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
12
12
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
13
13
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
14
14
  var _utilServiceSupport = require("@atlaskit/util-service-support");
15
- var _mediaClient = require("@atlaskit/media-client");
15
+ var _mediaClientReact = require("@atlaskit/media-client-react");
16
16
  var _typeHelpers = require("../../util/type-helpers");
17
17
  var _MediaEmojiCache = _interopRequireDefault(require("./MediaEmojiCache"));
18
18
  var _EmojiUtils = require("../EmojiUtils");
@@ -149,7 +149,7 @@ var SiteEmojiResource = exports.default = /*#__PURE__*/function () {
149
149
  var url = uploadToken.url,
150
150
  clientId = uploadToken.clientId,
151
151
  collectionName = uploadToken.collectionName;
152
- var mediaClient = (0, _mediaClient.getMediaClient)({
152
+ var mediaClient = (0, _mediaClientReact.getMediaClient)({
153
153
  authProvider: function authProvider() {
154
154
  return Promise.resolve({
155
155
  clientId: clientId,
@@ -19,7 +19,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
19
19
  actionSubjectId: actionSubjectId,
20
20
  attributes: _objectSpread({
21
21
  packageName: "@atlaskit/emoji",
22
- packageVersion: "67.5.9"
22
+ packageVersion: "67.5.11"
23
23
  }, attributes)
24
24
  };
25
25
  };
@@ -1,6 +1,6 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import { utils as serviceUtils } from '@atlaskit/util-service-support';
3
- import { getMediaClient } from '@atlaskit/media-client';
3
+ import { getMediaClient } from '@atlaskit/media-client-react';
4
4
  import { buildEmojiDescriptionWithAltRepresentation, isMediaRepresentation, isMediaEmoji, convertImageToMediaRepresentation, isLoadedMediaEmoji } from '../../util/type-helpers';
5
5
  import MediaEmojiCache from './MediaEmojiCache';
6
6
  import { denormaliseEmojiServiceResponse, emojiRequest, getAltRepresentation } from '../EmojiUtils';
@@ -7,7 +7,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
7
7
  actionSubjectId,
8
8
  attributes: {
9
9
  packageName: "@atlaskit/emoji",
10
- packageVersion: "67.5.9",
10
+ packageVersion: "67.5.11",
11
11
  ...attributes
12
12
  }
13
13
  });
@@ -8,7 +8,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
8
8
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9
9
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
10
10
  import { utils as serviceUtils } from '@atlaskit/util-service-support';
11
- import { getMediaClient } from '@atlaskit/media-client';
11
+ import { getMediaClient } from '@atlaskit/media-client-react';
12
12
  import { buildEmojiDescriptionWithAltRepresentation, isMediaRepresentation, isMediaEmoji, convertImageToMediaRepresentation, isLoadedMediaEmoji } from '../../util/type-helpers';
13
13
  import MediaEmojiCache from './MediaEmojiCache';
14
14
  import { denormaliseEmojiServiceResponse, emojiRequest, getAltRepresentation } from '../EmojiUtils';
@@ -12,7 +12,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
12
12
  actionSubjectId: actionSubjectId,
13
13
  attributes: _objectSpread({
14
14
  packageName: "@atlaskit/emoji",
15
- packageVersion: "67.5.9"
15
+ packageVersion: "67.5.11"
16
16
  }, attributes)
17
17
  };
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/emoji",
3
- "version": "67.5.9",
3
+ "version": "67.5.11",
4
4
  "description": "Fabric emoji React components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -34,13 +34,14 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/analytics-next": "^9.1.0",
37
- "@atlaskit/button": "^16.10.0",
37
+ "@atlaskit/button": "^16.11.0",
38
38
  "@atlaskit/icon": "^21.12.0",
39
- "@atlaskit/media-client": "^24.0.0",
39
+ "@atlaskit/media-client": "^25.0.0",
40
+ "@atlaskit/media-client-react": "^1.3.0",
40
41
  "@atlaskit/spinner": "^15.6.0",
41
42
  "@atlaskit/textfield": "^5.6.0",
42
43
  "@atlaskit/theme": "^12.6.0",
43
- "@atlaskit/tokens": "^1.25.0",
44
+ "@atlaskit/tokens": "^1.28.0",
44
45
  "@atlaskit/tooltip": "^17.8.0",
45
46
  "@atlaskit/ufo": "^0.2.0",
46
47
  "@atlaskit/util-service-support": "^6.2.0",