@atlaskit/emoji 70.16.0 → 70.16.2
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 +14 -0
- package/afm-cc/tsconfig.json +3 -0
- package/afm-products/tsconfig.json +3 -0
- package/dist/cjs/components/picker/categories.js +2 -1
- package/dist/cjs/util/analytics/analytics.js +1 -1
- package/dist/es2019/components/picker/categories.js +2 -1
- package/dist/es2019/util/analytics/analytics.js +1 -1
- package/dist/esm/components/picker/categories.js +2 -1
- package/dist/esm/util/analytics/analytics.js +1 -1
- package/dist/types/types.d.ts +6 -0
- package/dist/types-ts4.5/types.d.ts +6 -0
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/emoji
|
|
2
2
|
|
|
3
|
+
## 70.16.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3480b659bfe0a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3480b659bfe0a) -
|
|
8
|
+
CEPS-7849: Add the Atlassian icon to emoji picker categories.
|
|
9
|
+
|
|
10
|
+
## 70.16.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`0cc0348368042`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0cc0348368042) -
|
|
15
|
+
Update Atlassian emoji types to include color, color group data, subcategories + hidden properties
|
|
16
|
+
|
|
3
17
|
## 70.16.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -17,6 +17,7 @@ var _emoji = _interopRequireDefault(require("@atlaskit/icon/core/emoji"));
|
|
|
17
17
|
var _heart = _interopRequireDefault(require("@atlaskit/icon/core/heart"));
|
|
18
18
|
var _vehicleCar = _interopRequireDefault(require("@atlaskit/icon/core/vehicle-car"));
|
|
19
19
|
var _checkCircle = _interopRequireDefault(require("@atlaskit/icon/core/check-circle"));
|
|
20
|
+
var _atlassian = _interopRequireDefault(require("@atlaskit/icon-lab/core/atlassian"));
|
|
20
21
|
var _constants = require("../../util/constants");
|
|
21
22
|
var CategoryDescriptionMap = exports.CategoryDescriptionMap = {
|
|
22
23
|
SEARCH: {
|
|
@@ -116,7 +117,7 @@ var CategoryDescriptionMapNew = exports.CategoryDescriptionMapNew = {
|
|
|
116
117
|
ATLASSIAN: {
|
|
117
118
|
id: 'ATLASSIAN',
|
|
118
119
|
name: 'productivityCategory',
|
|
119
|
-
icon:
|
|
120
|
+
icon: _atlassian.default,
|
|
120
121
|
order: 2
|
|
121
122
|
},
|
|
122
123
|
PEOPLE: {
|
|
@@ -20,7 +20,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
20
20
|
actionSubjectId: actionSubjectId,
|
|
21
21
|
attributes: _objectSpread({
|
|
22
22
|
packageName: "@atlaskit/emoji",
|
|
23
|
-
packageVersion: "70.
|
|
23
|
+
packageVersion: "70.16.1"
|
|
24
24
|
}, attributes)
|
|
25
25
|
};
|
|
26
26
|
};
|
|
@@ -10,6 +10,7 @@ import EmojiIcon from '@atlaskit/icon/core/emoji';
|
|
|
10
10
|
import HeartIcon from '@atlaskit/icon/core/heart';
|
|
11
11
|
import VehicleCarIcon from '@atlaskit/icon/core/vehicle-car';
|
|
12
12
|
import CheckCircleIcon from '@atlaskit/icon/core/check-circle';
|
|
13
|
+
import AtlassianIcon from '@atlaskit/icon-lab/core/atlassian';
|
|
13
14
|
import { customCategory, userCustomTitle, customTitle } from '../../util/constants';
|
|
14
15
|
export const CategoryDescriptionMap = {
|
|
15
16
|
SEARCH: {
|
|
@@ -109,7 +110,7 @@ export const CategoryDescriptionMapNew = {
|
|
|
109
110
|
ATLASSIAN: {
|
|
110
111
|
id: 'ATLASSIAN',
|
|
111
112
|
name: 'productivityCategory',
|
|
112
|
-
icon:
|
|
113
|
+
icon: AtlassianIcon,
|
|
113
114
|
order: 2
|
|
114
115
|
},
|
|
115
116
|
PEOPLE: {
|
|
@@ -10,6 +10,7 @@ import EmojiIcon from '@atlaskit/icon/core/emoji';
|
|
|
10
10
|
import HeartIcon from '@atlaskit/icon/core/heart';
|
|
11
11
|
import VehicleCarIcon from '@atlaskit/icon/core/vehicle-car';
|
|
12
12
|
import CheckCircleIcon from '@atlaskit/icon/core/check-circle';
|
|
13
|
+
import AtlassianIcon from '@atlaskit/icon-lab/core/atlassian';
|
|
13
14
|
import { customCategory, userCustomTitle, customTitle } from '../../util/constants';
|
|
14
15
|
export var CategoryDescriptionMap = {
|
|
15
16
|
SEARCH: {
|
|
@@ -109,7 +110,7 @@ export var CategoryDescriptionMapNew = {
|
|
|
109
110
|
ATLASSIAN: {
|
|
110
111
|
id: 'ATLASSIAN',
|
|
111
112
|
name: 'productivityCategory',
|
|
112
|
-
icon:
|
|
113
|
+
icon: AtlassianIcon,
|
|
113
114
|
order: 2
|
|
114
115
|
},
|
|
115
116
|
PEOPLE: {
|
|
@@ -14,7 +14,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
14
14
|
actionSubjectId: actionSubjectId,
|
|
15
15
|
attributes: _objectSpread({
|
|
16
16
|
packageName: "@atlaskit/emoji",
|
|
17
|
-
packageVersion: "70.
|
|
17
|
+
packageVersion: "70.16.1"
|
|
18
18
|
}, attributes)
|
|
19
19
|
};
|
|
20
20
|
};
|
package/dist/types/types.d.ts
CHANGED
|
@@ -246,16 +246,22 @@ export interface EmojiServiceDescription {
|
|
|
246
246
|
altRepresentations?: AltRepresentations;
|
|
247
247
|
ascii?: string[];
|
|
248
248
|
category: string;
|
|
249
|
+
color?: string;
|
|
249
250
|
createdDate?: string;
|
|
250
251
|
creatorUserId?: string;
|
|
251
252
|
fallback?: string;
|
|
253
|
+
hidden?: boolean;
|
|
252
254
|
id: string;
|
|
255
|
+
keywords?: string[];
|
|
253
256
|
name?: string;
|
|
254
257
|
order?: number;
|
|
255
258
|
representation: EmojiServiceRepresentation;
|
|
256
259
|
searchable: boolean;
|
|
257
260
|
shortName: string;
|
|
258
261
|
type: string;
|
|
262
|
+
variantBase?: boolean;
|
|
263
|
+
variantChildren?: string[];
|
|
264
|
+
variantParent?: string;
|
|
259
265
|
}
|
|
260
266
|
export interface EmojiServiceDescriptionWithVariations extends EmojiServiceDescription {
|
|
261
267
|
skinVariations?: EmojiServiceDescription[];
|
|
@@ -246,16 +246,22 @@ export interface EmojiServiceDescription {
|
|
|
246
246
|
altRepresentations?: AltRepresentations;
|
|
247
247
|
ascii?: string[];
|
|
248
248
|
category: string;
|
|
249
|
+
color?: string;
|
|
249
250
|
createdDate?: string;
|
|
250
251
|
creatorUserId?: string;
|
|
251
252
|
fallback?: string;
|
|
253
|
+
hidden?: boolean;
|
|
252
254
|
id: string;
|
|
255
|
+
keywords?: string[];
|
|
253
256
|
name?: string;
|
|
254
257
|
order?: number;
|
|
255
258
|
representation: EmojiServiceRepresentation;
|
|
256
259
|
searchable: boolean;
|
|
257
260
|
shortName: string;
|
|
258
261
|
type: string;
|
|
262
|
+
variantBase?: boolean;
|
|
263
|
+
variantChildren?: string[];
|
|
264
|
+
variantParent?: string;
|
|
259
265
|
}
|
|
260
266
|
export interface EmojiServiceDescriptionWithVariations extends EmojiServiceDescription {
|
|
261
267
|
skinVariations?: EmojiServiceDescription[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/emoji",
|
|
3
|
-
"version": "70.16.
|
|
3
|
+
"version": "70.16.2",
|
|
4
4
|
"description": "Fabric emoji React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"@atlaskit/form": "^15.5.0",
|
|
47
47
|
"@atlaskit/heading": "^5.4.0",
|
|
48
48
|
"@atlaskit/icon": "^35.4.0",
|
|
49
|
+
"@atlaskit/icon-lab": "^6.13.0",
|
|
49
50
|
"@atlaskit/image": "^3.0.0",
|
|
50
51
|
"@atlaskit/media-client": "^36.3.0",
|
|
51
52
|
"@atlaskit/media-client-react": "^5.2.0",
|
|
@@ -54,14 +55,14 @@
|
|
|
54
55
|
"@atlaskit/primitives": "^19.0.0",
|
|
55
56
|
"@atlaskit/spinner": "^19.1.0",
|
|
56
57
|
"@atlaskit/textfield": "^8.3.0",
|
|
57
|
-
"@atlaskit/tmp-editor-statsig": "^89.
|
|
58
|
-
"@atlaskit/tokens": "^13.
|
|
58
|
+
"@atlaskit/tmp-editor-statsig": "^89.4.0",
|
|
59
|
+
"@atlaskit/tokens": "^13.3.0",
|
|
59
60
|
"@atlaskit/tooltip": "^22.6.0",
|
|
60
61
|
"@atlaskit/ufo": "^0.5.0",
|
|
61
62
|
"@atlaskit/util-service-support": "^6.4.0",
|
|
62
63
|
"@atlaskit/visually-hidden": "^3.1.0",
|
|
63
64
|
"@babel/runtime": "^7.0.0",
|
|
64
|
-
"@compiled/react": "
|
|
65
|
+
"@compiled/react": "patch:@compiled/react@npm%3A0.20.0#~/.yarn/patches/@compiled-react-npm-0.20.0-a771aa67a6.patch",
|
|
65
66
|
"@tanstack/react-virtual": "3.0.0-beta.60",
|
|
66
67
|
"js-search": "^2.0.0",
|
|
67
68
|
"lru_map": "^0.4.1",
|