@atlaskit/emoji 67.9.0 → 67.11.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 +16 -0
- package/afm-jira/tsconfig.json +65 -65
- package/afm-post-office/tsconfig.json +65 -65
- package/dist/cjs/components/common/Scrollable.js +1 -1
- package/dist/cjs/components/common/styles.js +6 -6
- package/dist/cjs/components/picker/styles.js +2 -2
- package/dist/cjs/i18n/index.js +7 -0
- package/dist/cjs/i18n/languages.js +1 -0
- package/dist/cjs/util/analytics/analytics.js +1 -1
- package/dist/es2019/components/common/Scrollable.js +1 -1
- package/dist/es2019/components/common/styles.js +6 -6
- package/dist/es2019/components/picker/styles.js +2 -2
- package/dist/es2019/i18n/index.js +4 -2
- package/dist/es2019/i18n/languages.js +1 -0
- package/dist/es2019/util/analytics/analytics.js +1 -1
- package/dist/esm/components/common/Scrollable.js +1 -1
- package/dist/esm/components/common/styles.js +6 -6
- package/dist/esm/components/picker/styles.js +2 -2
- package/dist/esm/i18n/index.js +4 -2
- package/dist/esm/i18n/languages.js +1 -0
- package/dist/esm/util/analytics/analytics.js +1 -1
- package/dist/types/i18n/index.d.ts +4 -2
- package/dist/types/i18n/languages.d.ts +1 -0
- package/dist/types-ts4.5/i18n/index.d.ts +4 -2
- package/dist/types-ts4.5/i18n/languages.d.ts +1 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/emoji
|
|
2
2
|
|
|
3
|
+
## 67.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#165604](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165604)
|
|
8
|
+
[`ad82b7ebbed5f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ad82b7ebbed5f) -
|
|
9
|
+
Update font size to use tokens
|
|
10
|
+
|
|
11
|
+
## 67.10.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#161683](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/161683)
|
|
16
|
+
[`f3f374290027a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f3f374290027a) -
|
|
17
|
+
Adding en-zz locale support to elements package
|
|
18
|
+
|
|
3
19
|
## 67.9.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/afm-jira/tsconfig.json
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.jira.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../tsDist/@atlaskit__emoji/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../analytics/analytics-next/afm-jira/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../../design-system/button/afm-jira/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../design-system/icon/afm-jira/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../../media/media-client/afm-jira/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../media/media-client-react/afm-jira/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../../design-system/primitives/afm-jira/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../../design-system/spinner/afm-jira/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../../design-system/textfield/afm-jira/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../../design-system/theme/afm-jira/tsconfig.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../../design-system/tokens/afm-jira/tsconfig.json"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "../../../design-system/tooltip/afm-jira/tsconfig.json"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "../../../data/ufo-external/afm-jira/tsconfig.json"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "../../util-service-support/afm-jira/tsconfig.json"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "../../../design-system/visually-hidden/afm-jira/tsconfig.json"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.post-office.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../post-office/tsDist/@atlaskit__emoji/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../analytics/analytics-next/afm-post-office/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../../design-system/button/afm-post-office/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../design-system/icon/afm-post-office/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../../media/media-client/afm-post-office/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../../media/media-client-react/afm-post-office/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../../design-system/primitives/afm-post-office/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../../design-system/spinner/afm-post-office/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../../design-system/textfield/afm-post-office/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../../design-system/theme/afm-post-office/tsconfig.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "../../../design-system/tooltip/afm-post-office/tsconfig.json"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "../../../data/ufo-external/afm-post-office/tsconfig.json"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "../../util-service-support/afm-post-office/tsconfig.json"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "../../../design-system/visually-hidden/afm-post-office/tsconfig.json"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
@@ -43,7 +43,7 @@ var Scrollable = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
|
43
43
|
// Not using Element.scrollIntoView as it scrolls even to top/bottom of view even if
|
|
44
44
|
// already visible
|
|
45
45
|
var scrollableRect = _this.scrollableDiv.getBoundingClientRect();
|
|
46
|
-
var elementRect = (0, _platformFeatureFlags.fg)('
|
|
46
|
+
var elementRect = (0, _platformFeatureFlags.fg)('platform_editor_react18_phase2_v2') ? child.getBoundingClientRect() : (0, _reactDom.findDOMNode)(child).getBoundingClientRect();
|
|
47
47
|
if (forceToTop || elementRect.top < scrollableRect.top) {
|
|
48
48
|
_this.scrollableDiv.scrollTop += elementRect.top - scrollableRect.top;
|
|
49
49
|
} else if (elementRect.bottom > scrollableRect.bottom) {
|
|
@@ -215,7 +215,7 @@ var emojiName = exports.emojiName = (0, _react.css)((0, _defineProperty2.default
|
|
|
215
215
|
var emojiShortName = exports.emojiShortName = (0, _react.css)((0, _defineProperty2.default)({
|
|
216
216
|
display: 'block',
|
|
217
217
|
color: "var(--ds-text-subtle, ".concat(_colors.N200, ")"),
|
|
218
|
-
|
|
218
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
219
219
|
lineHeight: 1,
|
|
220
220
|
marginBottom: "var(--ds-space-negative-025, -2px)",
|
|
221
221
|
overflow: 'hidden',
|
|
@@ -224,7 +224,7 @@ var emojiShortName = exports.emojiShortName = (0, _react.css)((0, _definePropert
|
|
|
224
224
|
whiteSpace: 'nowrap'
|
|
225
225
|
}, '&:first-of-type', {
|
|
226
226
|
color: "var(--ds-text, ".concat(_colors.N900, ")"),
|
|
227
|
-
|
|
227
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
228
228
|
}));
|
|
229
229
|
|
|
230
230
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -291,7 +291,7 @@ var emojiUploadTop = exports.emojiUploadTop = (0, _react.css)({
|
|
|
291
291
|
display: 'flex',
|
|
292
292
|
justifyContent: 'space-between',
|
|
293
293
|
alignItems: 'flex-end',
|
|
294
|
-
|
|
294
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
295
295
|
});
|
|
296
296
|
|
|
297
297
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -309,7 +309,7 @@ var closeEmojiUploadButton = exports.closeEmojiUploadButton = (0, _react.css)({
|
|
|
309
309
|
|
|
310
310
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
311
311
|
var emojiUploadBottom = exports.emojiUploadBottom = (0, _react.css)({
|
|
312
|
-
|
|
312
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
313
313
|
});
|
|
314
314
|
|
|
315
315
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -368,7 +368,7 @@ var uploadPreviewText = exports.uploadPreviewText = (0, _react.css)({
|
|
|
368
368
|
h5: {
|
|
369
369
|
color: "var(--ds-text-subtle, ".concat(_colors.N300, ")"),
|
|
370
370
|
paddingBottom: "var(--ds-space-050, 4px)",
|
|
371
|
-
|
|
371
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
372
372
|
},
|
|
373
373
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
374
374
|
img: {
|
|
@@ -422,7 +422,7 @@ var deletePreview = exports.deletePreview = (0, _react.css)({
|
|
|
422
422
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
423
423
|
var deleteText = exports.deleteText = (0, _react.css)({
|
|
424
424
|
height: '64px',
|
|
425
|
-
|
|
425
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
426
426
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
427
427
|
'&:first-of-type': {
|
|
428
428
|
color: "var(--ds-text-subtle, ".concat(_colors.N300, ")"),
|
|
@@ -97,7 +97,7 @@ var input = exports.input = (0, _react.css)((_css = {
|
|
|
97
97
|
boxSizing: 'border-box',
|
|
98
98
|
color: 'inherit',
|
|
99
99
|
cursor: 'inherit',
|
|
100
|
-
|
|
100
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
101
101
|
outline: 'none',
|
|
102
102
|
padding: "1px ".concat("var(--ds-space-0, 0px)", " ", "var(--ds-space-025, 2px)", " ", "var(--ds-space-075, 6px)"),
|
|
103
103
|
width: '100%'
|
|
@@ -140,7 +140,7 @@ var emojiPickerRow = exports.emojiPickerRow = (0, _react.css)({
|
|
|
140
140
|
var emojiCategoryTitle = exports.emojiCategoryTitle = (0, _react.css)({
|
|
141
141
|
boxSizing: 'border-box',
|
|
142
142
|
color: "var(--ds-text, ".concat(_colors.N900, ")"),
|
|
143
|
-
|
|
143
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
144
144
|
padding: "var(--ds-space-075, 6px)".concat(" ", "var(--ds-space-100, 8px)"),
|
|
145
145
|
textTransform: 'lowercase',
|
|
146
146
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
package/dist/cjs/i18n/index.js
CHANGED
|
@@ -34,6 +34,12 @@ Object.defineProperty(exports, "en_GB", {
|
|
|
34
34
|
return _en_GB.default;
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
|
+
Object.defineProperty(exports, "en_ZZ", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function get() {
|
|
40
|
+
return _en_ZZ.default;
|
|
41
|
+
}
|
|
42
|
+
});
|
|
37
43
|
Object.defineProperty(exports, "es", {
|
|
38
44
|
enumerable: true,
|
|
39
45
|
get: function get() {
|
|
@@ -205,5 +211,6 @@ var _uk = _interopRequireDefault(require("./uk"));
|
|
|
205
211
|
var _vi = _interopRequireDefault(require("./vi"));
|
|
206
212
|
var _en = _interopRequireDefault(require("./en"));
|
|
207
213
|
var _en_GB = _interopRequireDefault(require("./en_GB"));
|
|
214
|
+
var _en_ZZ = _interopRequireDefault(require("./en_ZZ"));
|
|
208
215
|
var _is = _interopRequireDefault(require("./is"));
|
|
209
216
|
var _ro = _interopRequireDefault(require("./ro"));
|
|
@@ -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: "67.
|
|
23
|
+
packageVersion: "67.11.0"
|
|
24
24
|
}, attributes)
|
|
25
25
|
};
|
|
26
26
|
};
|
|
@@ -21,7 +21,7 @@ export default class Scrollable extends PureComponent {
|
|
|
21
21
|
// Not using Element.scrollIntoView as it scrolls even to top/bottom of view even if
|
|
22
22
|
// already visible
|
|
23
23
|
const scrollableRect = this.scrollableDiv.getBoundingClientRect();
|
|
24
|
-
const elementRect = fg('
|
|
24
|
+
const elementRect = fg('platform_editor_react18_phase2_v2') ? child.getBoundingClientRect() : findDOMNode(child).getBoundingClientRect();
|
|
25
25
|
if (forceToTop || elementRect.top < scrollableRect.top) {
|
|
26
26
|
this.scrollableDiv.scrollTop += elementRect.top - scrollableRect.top;
|
|
27
27
|
} else if (elementRect.bottom > scrollableRect.bottom) {
|
|
@@ -236,7 +236,7 @@ export const emojiName = css({
|
|
|
236
236
|
export const emojiShortName = css({
|
|
237
237
|
display: 'block',
|
|
238
238
|
color: `var(--ds-text-subtle, ${N200})`,
|
|
239
|
-
|
|
239
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
240
240
|
lineHeight: 1,
|
|
241
241
|
marginBottom: "var(--ds-space-negative-025, -2px)",
|
|
242
242
|
overflow: 'hidden',
|
|
@@ -246,7 +246,7 @@ export const emojiShortName = css({
|
|
|
246
246
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
247
247
|
['&:first-of-type']: {
|
|
248
248
|
color: `var(--ds-text, ${N900})`,
|
|
249
|
-
|
|
249
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
250
250
|
}
|
|
251
251
|
});
|
|
252
252
|
|
|
@@ -318,7 +318,7 @@ export const emojiUploadTop = css({
|
|
|
318
318
|
display: 'flex',
|
|
319
319
|
justifyContent: 'space-between',
|
|
320
320
|
alignItems: 'flex-end',
|
|
321
|
-
|
|
321
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
322
322
|
});
|
|
323
323
|
|
|
324
324
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -336,7 +336,7 @@ export const closeEmojiUploadButton = css({
|
|
|
336
336
|
|
|
337
337
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
338
338
|
export const emojiUploadBottom = css({
|
|
339
|
-
|
|
339
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
340
340
|
});
|
|
341
341
|
|
|
342
342
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -399,7 +399,7 @@ export const uploadPreviewText = css({
|
|
|
399
399
|
h5: {
|
|
400
400
|
color: `var(--ds-text-subtle, ${N300})`,
|
|
401
401
|
paddingBottom: "var(--ds-space-050, 4px)",
|
|
402
|
-
|
|
402
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
403
403
|
},
|
|
404
404
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
405
405
|
img: {
|
|
@@ -453,7 +453,7 @@ export const deletePreview = css({
|
|
|
453
453
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
454
454
|
export const deleteText = css({
|
|
455
455
|
height: '64px',
|
|
456
|
-
|
|
456
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
457
457
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
458
458
|
'&:first-of-type': {
|
|
459
459
|
color: `var(--ds-text-subtle, ${N300})`,
|
|
@@ -89,7 +89,7 @@ export const input = css({
|
|
|
89
89
|
boxSizing: 'border-box',
|
|
90
90
|
color: 'inherit',
|
|
91
91
|
cursor: 'inherit',
|
|
92
|
-
|
|
92
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
93
93
|
outline: 'none',
|
|
94
94
|
padding: `1px ${"var(--ds-space-0, 0px)"} ${"var(--ds-space-025, 2px)"} ${"var(--ds-space-075, 6px)"}`,
|
|
95
95
|
width: '100%',
|
|
@@ -136,7 +136,7 @@ export const emojiPickerRow = css({
|
|
|
136
136
|
export const emojiCategoryTitle = css({
|
|
137
137
|
boxSizing: 'border-box',
|
|
138
138
|
color: `var(--ds-text, ${N900})`,
|
|
139
|
-
|
|
139
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
140
140
|
padding: `${"var(--ds-space-075, 6px)"} ${"var(--ds-space-100, 8px)"}`,
|
|
141
141
|
textTransform: 'lowercase',
|
|
142
142
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file
|
|
5
|
-
*
|
|
4
|
+
* This file was automatically generated by i18n-tools
|
|
5
|
+
* which is now deprecated. Changes must now be made
|
|
6
|
+
* manually.
|
|
6
7
|
*/
|
|
7
8
|
export { default as zh } from './zh';
|
|
8
9
|
export { default as zh_TW } from './zh_TW';
|
|
@@ -31,5 +32,6 @@ export { default as uk } from './uk';
|
|
|
31
32
|
export { default as vi } from './vi';
|
|
32
33
|
export { default as en } from './en';
|
|
33
34
|
export { default as en_GB } from './en_GB';
|
|
35
|
+
export { default as en_ZZ } from './en_ZZ';
|
|
34
36
|
export { default as is } from './is';
|
|
35
37
|
export { default as ro } from './ro';
|
|
@@ -36,7 +36,7 @@ var Scrollable = /*#__PURE__*/function (_PureComponent) {
|
|
|
36
36
|
// Not using Element.scrollIntoView as it scrolls even to top/bottom of view even if
|
|
37
37
|
// already visible
|
|
38
38
|
var scrollableRect = _this.scrollableDiv.getBoundingClientRect();
|
|
39
|
-
var elementRect = fg('
|
|
39
|
+
var elementRect = fg('platform_editor_react18_phase2_v2') ? child.getBoundingClientRect() : findDOMNode(child).getBoundingClientRect();
|
|
40
40
|
if (forceToTop || elementRect.top < scrollableRect.top) {
|
|
41
41
|
_this.scrollableDiv.scrollTop += elementRect.top - scrollableRect.top;
|
|
42
42
|
} else if (elementRect.bottom > scrollableRect.bottom) {
|
|
@@ -209,7 +209,7 @@ export var emojiName = css(_defineProperty({
|
|
|
209
209
|
export var emojiShortName = css(_defineProperty({
|
|
210
210
|
display: 'block',
|
|
211
211
|
color: "var(--ds-text-subtle, ".concat(N200, ")"),
|
|
212
|
-
|
|
212
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
213
213
|
lineHeight: 1,
|
|
214
214
|
marginBottom: "var(--ds-space-negative-025, -2px)",
|
|
215
215
|
overflow: 'hidden',
|
|
@@ -218,7 +218,7 @@ export var emojiShortName = css(_defineProperty({
|
|
|
218
218
|
whiteSpace: 'nowrap'
|
|
219
219
|
}, '&:first-of-type', {
|
|
220
220
|
color: "var(--ds-text, ".concat(N900, ")"),
|
|
221
|
-
|
|
221
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
222
222
|
}));
|
|
223
223
|
|
|
224
224
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -285,7 +285,7 @@ export var emojiUploadTop = css({
|
|
|
285
285
|
display: 'flex',
|
|
286
286
|
justifyContent: 'space-between',
|
|
287
287
|
alignItems: 'flex-end',
|
|
288
|
-
|
|
288
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
289
289
|
});
|
|
290
290
|
|
|
291
291
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -303,7 +303,7 @@ export var closeEmojiUploadButton = css({
|
|
|
303
303
|
|
|
304
304
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
305
305
|
export var emojiUploadBottom = css({
|
|
306
|
-
|
|
306
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
307
307
|
});
|
|
308
308
|
|
|
309
309
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -362,7 +362,7 @@ export var uploadPreviewText = css({
|
|
|
362
362
|
h5: {
|
|
363
363
|
color: "var(--ds-text-subtle, ".concat(N300, ")"),
|
|
364
364
|
paddingBottom: "var(--ds-space-050, 4px)",
|
|
365
|
-
|
|
365
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
366
366
|
},
|
|
367
367
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
368
368
|
img: {
|
|
@@ -416,7 +416,7 @@ export var deletePreview = css({
|
|
|
416
416
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
417
417
|
export var deleteText = css({
|
|
418
418
|
height: '64px',
|
|
419
|
-
|
|
419
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
420
420
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
421
421
|
'&:first-of-type': {
|
|
422
422
|
color: "var(--ds-text-subtle, ".concat(N300, ")"),
|
|
@@ -92,7 +92,7 @@ export var input = css((_css = {
|
|
|
92
92
|
boxSizing: 'border-box',
|
|
93
93
|
color: 'inherit',
|
|
94
94
|
cursor: 'inherit',
|
|
95
|
-
|
|
95
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
96
96
|
outline: 'none',
|
|
97
97
|
padding: "1px ".concat("var(--ds-space-0, 0px)", " ", "var(--ds-space-025, 2px)", " ", "var(--ds-space-075, 6px)"),
|
|
98
98
|
width: '100%'
|
|
@@ -135,7 +135,7 @@ export var emojiPickerRow = css({
|
|
|
135
135
|
export var emojiCategoryTitle = css({
|
|
136
136
|
boxSizing: 'border-box',
|
|
137
137
|
color: "var(--ds-text, ".concat(N900, ")"),
|
|
138
|
-
|
|
138
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
139
139
|
padding: "var(--ds-space-075, 6px)".concat(" ", "var(--ds-space-100, 8px)"),
|
|
140
140
|
textTransform: 'lowercase',
|
|
141
141
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
package/dist/esm/i18n/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file
|
|
5
|
-
*
|
|
4
|
+
* This file was automatically generated by i18n-tools
|
|
5
|
+
* which is now deprecated. Changes must now be made
|
|
6
|
+
* manually.
|
|
6
7
|
*/
|
|
7
8
|
export { default as zh } from './zh';
|
|
8
9
|
export { default as zh_TW } from './zh_TW';
|
|
@@ -31,5 +32,6 @@ export { default as uk } from './uk';
|
|
|
31
32
|
export { default as vi } from './vi';
|
|
32
33
|
export { default as en } from './en';
|
|
33
34
|
export { default as en_GB } from './en_GB';
|
|
35
|
+
export { default as en_ZZ } from './en_ZZ';
|
|
34
36
|
export { default as is } from './is';
|
|
35
37
|
export { default as ro } from './ro';
|
|
@@ -13,7 +13,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
13
13
|
actionSubjectId: actionSubjectId,
|
|
14
14
|
attributes: _objectSpread({
|
|
15
15
|
packageName: "@atlaskit/emoji",
|
|
16
|
-
packageVersion: "67.
|
|
16
|
+
packageVersion: "67.11.0"
|
|
17
17
|
}, attributes)
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file
|
|
5
|
-
*
|
|
4
|
+
* This file was automatically generated by i18n-tools
|
|
5
|
+
* which is now deprecated. Changes must now be made
|
|
6
|
+
* manually.
|
|
6
7
|
*/
|
|
7
8
|
export { default as zh } from './zh';
|
|
8
9
|
export { default as zh_TW } from './zh_TW';
|
|
@@ -31,5 +32,6 @@ export { default as uk } from './uk';
|
|
|
31
32
|
export { default as vi } from './vi';
|
|
32
33
|
export { default as en } from './en';
|
|
33
34
|
export { default as en_GB } from './en_GB';
|
|
35
|
+
export { default as en_ZZ } from './en_ZZ';
|
|
34
36
|
export { default as is } from './is';
|
|
35
37
|
export { default as ro } from './ro';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file
|
|
5
|
-
*
|
|
4
|
+
* This file was automatically generated by i18n-tools
|
|
5
|
+
* which is now deprecated. Changes must now be made
|
|
6
|
+
* manually.
|
|
6
7
|
*/
|
|
7
8
|
export { default as zh } from './zh';
|
|
8
9
|
export { default as zh_TW } from './zh_TW';
|
|
@@ -31,5 +32,6 @@ export { default as uk } from './uk';
|
|
|
31
32
|
export { default as vi } from './vi';
|
|
32
33
|
export { default as en } from './en';
|
|
33
34
|
export { default as en_GB } from './en_GB';
|
|
35
|
+
export { default as en_ZZ } from './en_ZZ';
|
|
34
36
|
export { default as is } from './is';
|
|
35
37
|
export { default as ro } from './ro';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/emoji",
|
|
3
|
-
"version": "67.
|
|
3
|
+
"version": "67.11.0",
|
|
4
4
|
"description": "Fabric emoji React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
37
37
|
"@atlaskit/button": "^20.3.0",
|
|
38
38
|
"@atlaskit/icon": "^22.24.0",
|
|
39
|
-
"@atlaskit/media-client": "^28.
|
|
40
|
-
"@atlaskit/media-client-react": "^2.
|
|
39
|
+
"@atlaskit/media-client": "^28.3.0",
|
|
40
|
+
"@atlaskit/media-client-react": "^2.3.0",
|
|
41
41
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
42
|
-
"@atlaskit/primitives": "^13.
|
|
42
|
+
"@atlaskit/primitives": "^13.2.0",
|
|
43
43
|
"@atlaskit/spinner": "^16.3.0",
|
|
44
44
|
"@atlaskit/textfield": "^6.5.0",
|
|
45
45
|
"@atlaskit/theme": "^14.0.0",
|
|
46
|
-
"@atlaskit/tokens": "^2.
|
|
47
|
-
"@atlaskit/tooltip": "^18.
|
|
46
|
+
"@atlaskit/tokens": "^2.2.0",
|
|
47
|
+
"@atlaskit/tooltip": "^18.9.0",
|
|
48
48
|
"@atlaskit/ufo": "^0.3.0",
|
|
49
49
|
"@atlaskit/util-service-support": "^6.2.0",
|
|
50
50
|
"@atlaskit/visually-hidden": "^1.5.0",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"platform_always_sample_rendered_emoji": {
|
|
124
124
|
"type": "boolean"
|
|
125
125
|
},
|
|
126
|
-
"
|
|
126
|
+
"platform_editor_react18_phase2_v2": {
|
|
127
127
|
"type": "boolean"
|
|
128
128
|
},
|
|
129
129
|
"platform_editor_react18_elements_emoji": {
|