@atlaskit/emoji 73.4.8 → 73.4.9
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 +7 -0
- package/dist/cjs/components/picker/CategorySelector.compiled.css +6 -2
- package/dist/cjs/components/picker/CategorySelector.js +3 -1
- package/dist/cjs/util/analytics/createEvent.js +1 -1
- package/dist/es2019/components/picker/CategorySelector.compiled.css +6 -2
- package/dist/es2019/components/picker/CategorySelector.js +3 -1
- package/dist/es2019/util/analytics/createEvent.js +1 -1
- package/dist/esm/components/picker/CategorySelector.compiled.css +6 -2
- package/dist/esm/components/picker/CategorySelector.js +3 -1
- package/dist/esm/util/analytics/createEvent.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/emoji
|
|
2
2
|
|
|
3
|
+
## 73.4.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d9151fc03c40e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d9151fc03c40e) -
|
|
8
|
+
Inset the emoji category focus outline so it stays clear of the picker edge.
|
|
9
|
+
|
|
3
10
|
## 73.4.8
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
._v564h5h4{transition:color .2s ease}
|
|
2
|
-
._189eidpf{border-width:0}
|
|
2
|
+
._189eidpf{border-width:0}
|
|
3
|
+
._13li1mok{border-top-left-radius:var(--ds-radius-large,8px)}
|
|
3
4
|
._16jlidpf{flex-grow:0}
|
|
4
5
|
._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
5
6
|
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
@@ -28,7 +29,10 @@
|
|
|
28
29
|
._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
|
|
29
30
|
._syaz6x5g{color:var(--ds-text-selected,#1868db)}
|
|
30
31
|
._u5f312x7{padding-right:var(--ds-space-075,6px)}
|
|
31
|
-
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
32
|
+
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}._128mdkaa:focus-visible{outline-width:var(--ds-border-width-focused,2px)}
|
|
33
|
+
._1ah31i6y:focus-visible{outline-offset:var(--ds-space-negative-025,-2px)}
|
|
34
|
+
._mizu1v1w:focus-visible{outline-color:var(--ds-border-focused,#4688ec)}
|
|
35
|
+
._ra3xnqa1:focus-visible{outline-style:solid}
|
|
32
36
|
._1jc41ihb:hover{border-bottom-color:var(--ds-border-bold,#7d818a)}
|
|
33
37
|
._1jc4a755:hover{border-bottom-color:var(--ds-border-brand,#1868db)}
|
|
34
38
|
._30l31rpy:hover{color:var(--ds-text-subtlest,#6b6e76)}
|
|
@@ -14,6 +14,7 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
14
14
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
15
15
|
var _reactIntl = require("react-intl");
|
|
16
16
|
var _css = require("@atlaskit/css");
|
|
17
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
17
18
|
var _pressable = require("@atlaskit/primitives/compiled/pressable");
|
|
18
19
|
var _Tooltip = _interopRequireDefault(require("@atlaskit/tooltip/Tooltip"));
|
|
19
20
|
var _usePrevious = require("../../hooks/usePrevious");
|
|
@@ -28,6 +29,7 @@ var styles = {
|
|
|
28
29
|
commonCategoryNew: "_v564h5h4 _189eidpf _bfhksm61 _ca0qu2gc _n3tdu2gc _19bv12x7 _u5f312x7 _1e0c1txw _4cvr1h6o _1bah1h6o",
|
|
29
30
|
defaultCategoryNew: "_syaz1rpy _1doc1dm9 _1il9nqa1 _1o3i1j28 _30l31rpy _1jc41ihb",
|
|
30
31
|
activeCategoryNew: "_syaz6x5g _1doc1dm9 _1il9nqa1 _1o3ia755 _30l36x5g _1jc4a755",
|
|
32
|
+
focusedCategoryNew: "_mizu1v1w _ra3xnqa1 _128mdkaa _1ah31i6y",
|
|
31
33
|
disabledCategory: "_syaz1rpy"
|
|
32
34
|
};
|
|
33
35
|
var categorySelectorNew = null;
|
|
@@ -152,7 +154,7 @@ var CategorySelector = function CategorySelector(props) {
|
|
|
152
154
|
"aria-label": categoryName,
|
|
153
155
|
"aria-controls": currentFocus === index ? _EmojiPickerList.RENDER_EMOJI_PICKER_LIST_TESTID : undefined,
|
|
154
156
|
"aria-selected": categoryId === activeCategoryId,
|
|
155
|
-
xcss: (0, _css.cx)(styles.commonCategoryNew, styles.defaultCategoryNew, categoryId === activeCategoryId && styles.activeCategoryNew, disableCategories && styles.disabledCategory),
|
|
157
|
+
xcss: (0, _css.cx)(styles.commonCategoryNew, styles.defaultCategoryNew, (0, _fg.fg)('platform_ally_emoji_fixes_various') && styles.focusedCategoryNew, categoryId === activeCategoryId && styles.activeCategoryNew, disableCategories && styles.disabledCategory),
|
|
156
158
|
isDisabled: disableCategories,
|
|
157
159
|
onClick: handleClick(categoryId, index),
|
|
158
160
|
testId: (0, _categorySelectorCategoryTestId.categorySelectorCategoryTestId)(categoryId),
|
|
@@ -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.4.
|
|
20
|
+
packageVersion: "73.4.8"
|
|
21
21
|
}, attributes)
|
|
22
22
|
};
|
|
23
23
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
._v564h5h4{transition:color .2s ease}
|
|
2
|
-
._189eidpf{border-width:0}
|
|
2
|
+
._189eidpf{border-width:0}
|
|
3
|
+
._13li1mok{border-top-left-radius:var(--ds-radius-large,8px)}
|
|
3
4
|
._16jlidpf{flex-grow:0}
|
|
4
5
|
._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
5
6
|
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
@@ -28,7 +29,10 @@
|
|
|
28
29
|
._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
|
|
29
30
|
._syaz6x5g{color:var(--ds-text-selected,#1868db)}
|
|
30
31
|
._u5f312x7{padding-right:var(--ds-space-075,6px)}
|
|
31
|
-
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
32
|
+
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}._128mdkaa:focus-visible{outline-width:var(--ds-border-width-focused,2px)}
|
|
33
|
+
._1ah31i6y:focus-visible{outline-offset:var(--ds-space-negative-025,-2px)}
|
|
34
|
+
._mizu1v1w:focus-visible{outline-color:var(--ds-border-focused,#4688ec)}
|
|
35
|
+
._ra3xnqa1:focus-visible{outline-style:solid}
|
|
32
36
|
._1jc41ihb:hover{border-bottom-color:var(--ds-border-bold,#7d818a)}
|
|
33
37
|
._1jc4a755:hover{border-bottom-color:var(--ds-border-brand,#1868db)}
|
|
34
38
|
._30l31rpy:hover{color:var(--ds-text-subtlest,#6b6e76)}
|
|
@@ -5,6 +5,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
6
6
|
import { useIntl } from 'react-intl';
|
|
7
7
|
import { cx } from '@atlaskit/css';
|
|
8
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
9
|
import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
9
10
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
10
11
|
import { usePrevious } from '../../hooks/usePrevious';
|
|
@@ -18,6 +19,7 @@ const styles = {
|
|
|
18
19
|
commonCategoryNew: "_v564h5h4 _189eidpf _bfhksm61 _ca0qu2gc _n3tdu2gc _19bv12x7 _u5f312x7 _1e0c1txw _4cvr1h6o _1bah1h6o",
|
|
19
20
|
defaultCategoryNew: "_syaz1rpy _1doc1dm9 _1il9nqa1 _1o3i1j28 _30l31rpy _1jc41ihb",
|
|
20
21
|
activeCategoryNew: "_syaz6x5g _1doc1dm9 _1il9nqa1 _1o3ia755 _30l36x5g _1jc4a755",
|
|
22
|
+
focusedCategoryNew: "_mizu1v1w _ra3xnqa1 _128mdkaa _1ah31i6y",
|
|
21
23
|
disabledCategory: "_syaz1rpy"
|
|
22
24
|
};
|
|
23
25
|
const categorySelectorNew = null;
|
|
@@ -135,7 +137,7 @@ const CategorySelector = props => {
|
|
|
135
137
|
"aria-label": categoryName,
|
|
136
138
|
"aria-controls": currentFocus === index ? RENDER_EMOJI_PICKER_LIST_TESTID : undefined,
|
|
137
139
|
"aria-selected": categoryId === activeCategoryId,
|
|
138
|
-
xcss: cx(styles.commonCategoryNew, styles.defaultCategoryNew, categoryId === activeCategoryId && styles.activeCategoryNew, disableCategories && styles.disabledCategory),
|
|
140
|
+
xcss: cx(styles.commonCategoryNew, styles.defaultCategoryNew, fg('platform_ally_emoji_fixes_various') && styles.focusedCategoryNew, categoryId === activeCategoryId && styles.activeCategoryNew, disableCategories && styles.disabledCategory),
|
|
139
141
|
isDisabled: disableCategories,
|
|
140
142
|
onClick: handleClick(categoryId, index),
|
|
141
143
|
testId: categorySelectorCategoryTestId(categoryId),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
._v564h5h4{transition:color .2s ease}
|
|
2
|
-
._189eidpf{border-width:0}
|
|
2
|
+
._189eidpf{border-width:0}
|
|
3
|
+
._13li1mok{border-top-left-radius:var(--ds-radius-large,8px)}
|
|
3
4
|
._16jlidpf{flex-grow:0}
|
|
4
5
|
._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
5
6
|
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
@@ -28,7 +29,10 @@
|
|
|
28
29
|
._syaz1rpy{color:var(--ds-text-subtlest,#6b6e76)}
|
|
29
30
|
._syaz6x5g{color:var(--ds-text-selected,#1868db)}
|
|
30
31
|
._u5f312x7{padding-right:var(--ds-space-075,6px)}
|
|
31
|
-
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
32
|
+
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}._128mdkaa:focus-visible{outline-width:var(--ds-border-width-focused,2px)}
|
|
33
|
+
._1ah31i6y:focus-visible{outline-offset:var(--ds-space-negative-025,-2px)}
|
|
34
|
+
._mizu1v1w:focus-visible{outline-color:var(--ds-border-focused,#4688ec)}
|
|
35
|
+
._ra3xnqa1:focus-visible{outline-style:solid}
|
|
32
36
|
._1jc41ihb:hover{border-bottom-color:var(--ds-border-bold,#7d818a)}
|
|
33
37
|
._1jc4a755:hover{border-bottom-color:var(--ds-border-brand,#1868db)}
|
|
34
38
|
._30l31rpy:hover{color:var(--ds-text-subtlest,#6b6e76)}
|
|
@@ -6,6 +6,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
7
7
|
import { useIntl } from 'react-intl';
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
9
10
|
import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
10
11
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
11
12
|
import { usePrevious } from '../../hooks/usePrevious';
|
|
@@ -19,6 +20,7 @@ var styles = {
|
|
|
19
20
|
commonCategoryNew: "_v564h5h4 _189eidpf _bfhksm61 _ca0qu2gc _n3tdu2gc _19bv12x7 _u5f312x7 _1e0c1txw _4cvr1h6o _1bah1h6o",
|
|
20
21
|
defaultCategoryNew: "_syaz1rpy _1doc1dm9 _1il9nqa1 _1o3i1j28 _30l31rpy _1jc41ihb",
|
|
21
22
|
activeCategoryNew: "_syaz6x5g _1doc1dm9 _1il9nqa1 _1o3ia755 _30l36x5g _1jc4a755",
|
|
23
|
+
focusedCategoryNew: "_mizu1v1w _ra3xnqa1 _128mdkaa _1ah31i6y",
|
|
22
24
|
disabledCategory: "_syaz1rpy"
|
|
23
25
|
};
|
|
24
26
|
var categorySelectorNew = null;
|
|
@@ -143,7 +145,7 @@ var CategorySelector = function CategorySelector(props) {
|
|
|
143
145
|
"aria-label": categoryName,
|
|
144
146
|
"aria-controls": currentFocus === index ? RENDER_EMOJI_PICKER_LIST_TESTID : undefined,
|
|
145
147
|
"aria-selected": categoryId === activeCategoryId,
|
|
146
|
-
xcss: cx(styles.commonCategoryNew, styles.defaultCategoryNew, categoryId === activeCategoryId && styles.activeCategoryNew, disableCategories && styles.disabledCategory),
|
|
148
|
+
xcss: cx(styles.commonCategoryNew, styles.defaultCategoryNew, fg('platform_ally_emoji_fixes_various') && styles.focusedCategoryNew, categoryId === activeCategoryId && styles.activeCategoryNew, disableCategories && styles.disabledCategory),
|
|
147
149
|
isDisabled: disableCategories,
|
|
148
150
|
onClick: handleClick(categoryId, index),
|
|
149
151
|
testId: categorySelectorCategoryTestId(categoryId),
|
|
@@ -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.4.
|
|
13
|
+
packageVersion: "73.4.8"
|
|
14
14
|
}, attributes)
|
|
15
15
|
};
|
|
16
16
|
};
|