@atlaskit/util-data-test 17.6.5 → 17.6.7
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/dist/cjs/emoji/mock-emoji-resource.js +1 -1
- package/dist/cjs/emoji/mock-non-uploading-emoji-resource.js +1 -1
- package/dist/cjs/user-picker/ChevronRight.js +1 -3
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/emoji/mock-emoji-resource.js +1 -1
- package/dist/es2019/emoji/mock-non-uploading-emoji-resource.js +1 -1
- package/dist/es2019/user-picker/ChevronRight.js +1 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/emoji/mock-emoji-resource.js +1 -1
- package/dist/esm/emoji/mock-non-uploading-emoji-resource.js +1 -1
- package/dist/esm/user-picker/ChevronRight.js +1 -2
- package/dist/esm/version.json +1 -1
- package/dist/types/emoji/get-emoji-repository.d.ts +2 -1
- package/dist/types/emoji/mock-emoji-resource.d.ts +1 -1
- package/dist/types/emoji/mock-non-uploading-emoji-resource.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/util-data-test
|
|
2
2
|
|
|
3
|
+
## 17.6.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving performance.
|
|
8
|
+
|
|
9
|
+
## 17.6.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`1d41bbc2965`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d41bbc2965) - This changeset introduces non breaking changes to support ssr within the loader emoji component
|
|
14
|
+
- [`b7678f756b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7678f756b3) - useEmoji hook introduced to work along side EmojiCommonProvider
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 17.6.5
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -139,7 +139,7 @@ var MockEmojiResource = /*#__PURE__*/function (_MockNonUploadingEmoj) {
|
|
|
139
139
|
}, {
|
|
140
140
|
key: "getOptimisticImageURL",
|
|
141
141
|
value: function getOptimisticImageURL(emojiId) {
|
|
142
|
-
return
|
|
142
|
+
return undefined;
|
|
143
143
|
}
|
|
144
144
|
}, {
|
|
145
145
|
key: "isUploadSupported",
|
|
@@ -95,7 +95,7 @@ var MockNonUploadingEmojiResource = /*#__PURE__*/function (_AbstractResource) {
|
|
|
95
95
|
}, {
|
|
96
96
|
key: "getOptimisticImageURL",
|
|
97
97
|
value: function getOptimisticImageURL(emojiId) {
|
|
98
|
-
return
|
|
98
|
+
return undefined;
|
|
99
99
|
}
|
|
100
100
|
}, {
|
|
101
101
|
key: "getCurrentUser",
|
|
@@ -17,8 +17,6 @@ var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron
|
|
|
17
17
|
|
|
18
18
|
var _colors = require("@atlaskit/theme/colors");
|
|
19
19
|
|
|
20
|
-
var _tokens = require("@atlaskit/tokens");
|
|
21
|
-
|
|
22
20
|
/** @jsx jsx */
|
|
23
21
|
var wrapper = (0, _react2.css)({
|
|
24
22
|
display: 'flex'
|
|
@@ -44,7 +42,7 @@ var _default = function _default() {
|
|
|
44
42
|
testId: "chevron-right-icon",
|
|
45
43
|
label: "chevron right",
|
|
46
44
|
size: "large",
|
|
47
|
-
primaryColor: (
|
|
45
|
+
primaryColor: "var(--ds-text-subtlest, ".concat(isMouseHovered ? _colors.N200 : _colors.N50, ")")
|
|
48
46
|
}));
|
|
49
47
|
};
|
|
50
48
|
|
package/dist/cjs/version.json
CHANGED
|
@@ -3,7 +3,6 @@ import { useCallback, useState } from 'react';
|
|
|
3
3
|
import { css, jsx } from '@emotion/react';
|
|
4
4
|
import ChevronRightIcon from '@atlaskit/icon/glyph/chevron-right';
|
|
5
5
|
import { N50, N200 } from '@atlaskit/theme/colors';
|
|
6
|
-
import { token } from '@atlaskit/tokens';
|
|
7
6
|
const wrapper = css({
|
|
8
7
|
display: 'flex'
|
|
9
8
|
});
|
|
@@ -19,6 +18,6 @@ export default (() => {
|
|
|
19
18
|
testId: "chevron-right-icon",
|
|
20
19
|
label: "chevron right",
|
|
21
20
|
size: "large",
|
|
22
|
-
primaryColor:
|
|
21
|
+
primaryColor: `var(--ds-text-subtlest, ${isMouseHovered ? N200 : N50})`
|
|
23
22
|
}));
|
|
24
23
|
});
|
package/dist/es2019/version.json
CHANGED
|
@@ -122,7 +122,7 @@ export var MockEmojiResource = /*#__PURE__*/function (_MockNonUploadingEmoj) {
|
|
|
122
122
|
}, {
|
|
123
123
|
key: "getOptimisticImageURL",
|
|
124
124
|
value: function getOptimisticImageURL(emojiId) {
|
|
125
|
-
return
|
|
125
|
+
return undefined;
|
|
126
126
|
}
|
|
127
127
|
}, {
|
|
128
128
|
key: "isUploadSupported",
|
|
@@ -80,7 +80,7 @@ export var MockNonUploadingEmojiResource = /*#__PURE__*/function (_AbstractResou
|
|
|
80
80
|
}, {
|
|
81
81
|
key: "getOptimisticImageURL",
|
|
82
82
|
value: function getOptimisticImageURL(emojiId) {
|
|
83
|
-
return
|
|
83
|
+
return undefined;
|
|
84
84
|
}
|
|
85
85
|
}, {
|
|
86
86
|
key: "getCurrentUser",
|
|
@@ -5,7 +5,6 @@ import { useCallback, useState } from 'react';
|
|
|
5
5
|
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import ChevronRightIcon from '@atlaskit/icon/glyph/chevron-right';
|
|
7
7
|
import { N50, N200 } from '@atlaskit/theme/colors';
|
|
8
|
-
import { token } from '@atlaskit/tokens';
|
|
9
8
|
var wrapper = css({
|
|
10
9
|
display: 'flex'
|
|
11
10
|
});
|
|
@@ -29,6 +28,6 @@ export default (function () {
|
|
|
29
28
|
testId: "chevron-right-icon",
|
|
30
29
|
label: "chevron right",
|
|
31
30
|
size: "large",
|
|
32
|
-
primaryColor:
|
|
31
|
+
primaryColor: "var(--ds-text-subtlest, ".concat(isMouseHovered ? N200 : N50, ")")
|
|
33
32
|
}));
|
|
34
33
|
});
|
package/dist/esm/version.json
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { EmojiRepository } from '@atlaskit/emoji/resource';
|
|
2
|
+
export declare const getEmojiRepository: () => EmojiRepository;
|
|
@@ -10,7 +10,7 @@ export declare class MockEmojiResource extends MockNonUploadingEmojiResource imp
|
|
|
10
10
|
getMediaEmojiDescriptionURLWithInlineToken(emoji: EmojiDescription): Promise<EmojiDescription>;
|
|
11
11
|
fetchEmojiProvider(force?: boolean): Promise<EmojiRepository | undefined>;
|
|
12
12
|
fetchByEmojiId(emojiId: EmojiId, optimistic: boolean): Promise<OptionalEmojiDescriptionWithVariations>;
|
|
13
|
-
getOptimisticImageURL(emojiId: EmojiId):
|
|
13
|
+
getOptimisticImageURL(emojiId: EmojiId): undefined;
|
|
14
14
|
isUploadSupported(): Promise<boolean>;
|
|
15
15
|
uploadCustomEmoji(upload: EmojiUpload): Promise<any>;
|
|
16
16
|
getUploads(): UploadDetail[];
|
|
@@ -12,7 +12,7 @@ export declare class MockNonUploadingEmojiResource extends AbstractResource<stri
|
|
|
12
12
|
recordedSelections: EmojiDescription[];
|
|
13
13
|
constructor(emojiService: EmojiRepository, config?: MockEmojiResourceConfig);
|
|
14
14
|
fetchEmojiProvider(force?: boolean): Promise<EmojiRepository | undefined>;
|
|
15
|
-
getOptimisticImageURL(emojiId: EmojiId):
|
|
15
|
+
getOptimisticImageURL(emojiId: EmojiId): undefined;
|
|
16
16
|
getCurrentUser(): OptionalUser;
|
|
17
17
|
filter(query?: string, options?: SearchOptions): void;
|
|
18
18
|
findByShortName(shortName: string): Promise<OptionalEmojiDescription>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/util-data-test",
|
|
3
|
-
"version": "17.6.
|
|
3
|
+
"version": "17.6.7",
|
|
4
4
|
"description": "Shared test and story data",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@atlaskit/analytics-next": "^8.0.0",
|
|
71
|
-
"@atlaskit/emoji": "^
|
|
71
|
+
"@atlaskit/emoji": "^67.0.0",
|
|
72
72
|
"@atlaskit/icon": "^21.11.0",
|
|
73
73
|
"@atlaskit/mention": "^21.0.0",
|
|
74
|
-
"@atlaskit/profilecard": "^18.
|
|
74
|
+
"@atlaskit/profilecard": "^18.1.0",
|
|
75
75
|
"@atlaskit/task-decision": "^17.5.0",
|
|
76
76
|
"@atlaskit/theme": "^12.2.1",
|
|
77
77
|
"@atlaskit/tokens": "^0.13.0",
|