@atlaskit/avatar 21.12.0 → 21.13.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 +19 -0
- package/dist/cjs/Avatar.js +15 -10
- package/dist/es2019/Avatar.js +17 -13
- package/dist/esm/Avatar.js +16 -11
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/avatar
|
|
2
2
|
|
|
3
|
+
## 21.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#128333](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128333)
|
|
8
|
+
[`e8ee91f820e6f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e8ee91f820e6f) -
|
|
9
|
+
Refactors the way focus-rings are applied to avatars and avatar-groups in relation to custom
|
|
10
|
+
border colors.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
16
|
+
## 21.12.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 21.12.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
package/dist/cjs/Avatar.js
CHANGED
|
@@ -11,6 +11,7 @@ var _react = require("react");
|
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
12
|
var _reactUid = require("react-uid");
|
|
13
13
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
14
|
+
var _focusRing = _interopRequireDefault(require("@atlaskit/focus-ring"));
|
|
14
15
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
16
|
var _colors = require("@atlaskit/theme/colors");
|
|
16
17
|
var _AvatarImage = _interopRequireDefault(require("./AvatarImage"));
|
|
@@ -29,7 +30,14 @@ var _templateObject;
|
|
|
29
30
|
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; }
|
|
30
31
|
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) { (0, _defineProperty2.default)(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; }
|
|
31
32
|
var packageName = "@atlaskit/avatar";
|
|
32
|
-
var packageVersion = "21.
|
|
33
|
+
var packageVersion = "21.13.0";
|
|
34
|
+
var getTestId = function getTestId(testId, children) {
|
|
35
|
+
return !children ? {
|
|
36
|
+
'data-testid': "".concat(testId, "--inner")
|
|
37
|
+
} : {
|
|
38
|
+
testId: "".concat(testId, "--inner")
|
|
39
|
+
};
|
|
40
|
+
};
|
|
33
41
|
|
|
34
42
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
35
43
|
|
|
@@ -43,7 +51,7 @@ var getStyles = function getStyles(css, _ref) {
|
|
|
43
51
|
isInteractive = _ref.isInteractive,
|
|
44
52
|
isDisabled = _ref.isDisabled;
|
|
45
53
|
return (//eslint-disable-next-line @repo/internal/react/no-css-string-literals
|
|
46
|
-
css(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t\theight: ", "px;\n\t\twidth: ", "px;\n\t\talign-items: stretch;\n\t\tbackground-color: ", ";\n\t\tborder-radius: ", ";\n\t\tbox-sizing: content-box;\n\t\tcursor: inherit;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\toutline: none;\n\t\toverflow: hidden;\n\t\tposition: static;\n\t\ttransform: translateZ(0);\n\t\ttransition:\n\t\t\ttransform 200ms,\n\t\t\topacity 200ms;\n\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\tborder: none;\n\t\tmargin: ", ";\n\t\tpadding: ", ";\n\n\t\t&::-moz-focus-inner {\n\t\t\tborder: 0;\n\t\t\tmargin: ", ";\n\t\t\tpadding: ", ";\n\t\t}\n\n\t\t&::after {\n\t\t\tbackground-color: transparent;\n\t\t\tinset: 0px;\n\n\t\t\t/* Added border-radius style to fix hover issue in safari */\n\t\t\tborder-radius: ", ";\n\t\t\tcontent: ' ';\n\t\t\topacity: 0;\n\t\t\tpointer-events: none;\n\t\t\tposition: absolute;\n\t\t\ttransition: opacity 200ms;\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t", "\n\n\t\t", "\n\n ", "\n\t"])), size, size, borderColor, appearance === 'circle' ? '50%' : "".concat(radius, "px"), _constants.BORDER_WIDTH, borderColor, "var(--ds-space-025, 2px)", "var(--ds-space-0, 0px)", "var(--ds-space-0, 0px)", "var(--ds-space-0, 0px)", appearance === 'circle' ? '50%' : "".concat(radius, "px"), stackIndex && "position: relative;", isInteractive && "\n cursor: pointer;\n\n :
|
|
54
|
+
css(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t\theight: ", "px;\n\t\twidth: ", "px;\n\t\talign-items: stretch;\n\t\tbackground-color: ", ";\n\t\tborder-radius: ", ";\n\t\tbox-sizing: content-box;\n\t\tcursor: inherit;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\toutline: none;\n\t\toverflow: hidden;\n\t\tposition: static;\n\t\ttransform: translateZ(0);\n\t\ttransition:\n\t\t\ttransform 200ms,\n\t\t\topacity 200ms;\n\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\tborder: none;\n\t\tmargin: ", ";\n\t\tpadding: ", ";\n\n\t\t&::-moz-focus-inner {\n\t\t\tborder: 0;\n\t\t\tmargin: ", ";\n\t\t\tpadding: ", ";\n\t\t}\n\n\t\t&::after {\n\t\t\tbackground-color: transparent;\n\t\t\tinset: 0px;\n\n\t\t\t/* Added border-radius style to fix hover issue in safari */\n\t\t\tborder-radius: ", ";\n\t\t\tcontent: ' ';\n\t\t\topacity: 0;\n\t\t\tpointer-events: none;\n\t\t\tposition: absolute;\n\t\t\ttransition: opacity 200ms;\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t:focus {\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t", "\n\n\t\t", "\n\n ", "\n\t"])), size, size, borderColor, appearance === 'circle' ? '50%' : "".concat(radius, "px"), _constants.BORDER_WIDTH, borderColor, "var(--ds-space-025, 2px)", "var(--ds-space-0, 0px)", "var(--ds-space-0, 0px)", "var(--ds-space-0, 0px)", appearance === 'circle' ? '50%' : "".concat(radius, "px"), stackIndex && "position: relative;", isInteractive && "\n cursor: pointer;\n\n :hover {\n &::after {\n background-color: ".concat("var(--ds-interaction-hovered, ".concat(_colors.N70A, ")"), ";\n opacity: 1;\n }\n }\n\n :active {\n &::after {\n background-color: ", "var(--ds-interaction-pressed, ".concat(_colors.N70A, ")"), ";\n opacity: 1;\n }\n }\n\n :active {\n transform: scale(", _constants.ACTIVE_SCALE_FACTOR, ");\n }\n\n @media screen and (forced-colors: active) {\n &:focus-visible {\n outline: 1px solid\n }\n }\n "), isDisabled && "\n cursor: not-allowed;\n\n &::after {\n opacity: ".concat("var(--ds-opacity-disabled, 0.7)", ";\n pointer-events: none;\n background-color: ", "var(--ds-surface, ".concat(_colors.N0, ")"), ";\n }\n "))
|
|
47
55
|
);
|
|
48
56
|
};
|
|
49
57
|
|
|
@@ -123,13 +131,6 @@ var Avatar = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
|
|
|
123
131
|
}
|
|
124
132
|
onClick(event, analyticsEvent);
|
|
125
133
|
}, [createAnalyticsEvent, isDisabled, onClick]);
|
|
126
|
-
var getTestId = function getTestId(testId, children) {
|
|
127
|
-
return !children ? {
|
|
128
|
-
'data-testid': "".concat(testId, "--inner")
|
|
129
|
-
} : {
|
|
130
|
-
testId: "".concat(testId, "--inner")
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
134
|
var componentProps = function componentProps() {
|
|
134
135
|
if (isDisabled) {
|
|
135
136
|
return {
|
|
@@ -190,7 +191,11 @@ var Avatar = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
|
|
|
190
191
|
}),
|
|
191
192
|
ref: ref
|
|
192
193
|
});
|
|
193
|
-
|
|
194
|
+
if (children) {
|
|
195
|
+
return children(props);
|
|
196
|
+
}
|
|
197
|
+
var element = (0, _utilities.getCustomElement)(isDisabled, href, onClick);
|
|
198
|
+
return element === 'a' || element === 'button' ? (0, _react2.jsx)(_focusRing.default, null, /*#__PURE__*/(0, _react.createElement)(element, props)) : ( /*#__PURE__*/(0, _react.createElement)(element, props));
|
|
194
199
|
}), isPresence && (0, _react2.jsx)(_Presence.PresenceWrapper, {
|
|
195
200
|
appearance: appearance,
|
|
196
201
|
size: size,
|
package/dist/es2019/Avatar.js
CHANGED
|
@@ -9,8 +9,9 @@ import { createElement, forwardRef, isValidElement, useCallback, useEffect, useR
|
|
|
9
9
|
import { ClassNames, jsx } from '@emotion/react';
|
|
10
10
|
import { useUIDSeed } from 'react-uid';
|
|
11
11
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
12
|
+
import FocusRing from '@atlaskit/focus-ring';
|
|
12
13
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
|
-
import {
|
|
14
|
+
import { N0, N70A } from '@atlaskit/theme/colors';
|
|
14
15
|
import AvatarImage from './AvatarImage';
|
|
15
16
|
import { ACTIVE_SCALE_FACTOR, AVATAR_RADIUS, AVATAR_SIZES, BORDER_WIDTH } from './constants';
|
|
16
17
|
import { useAvatarContext } from './context';
|
|
@@ -18,7 +19,12 @@ import { PresenceWrapper } from './Presence';
|
|
|
18
19
|
import { StatusWrapper } from './Status';
|
|
19
20
|
import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
|
|
20
21
|
const packageName = "@atlaskit/avatar";
|
|
21
|
-
const packageVersion = "21.
|
|
22
|
+
const packageVersion = "21.13.0";
|
|
23
|
+
const getTestId = (testId, children) => !children ? {
|
|
24
|
+
'data-testid': `${testId}--inner`
|
|
25
|
+
} : {
|
|
26
|
+
testId: `${testId}--inner`
|
|
27
|
+
};
|
|
22
28
|
|
|
23
29
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
24
30
|
|
|
@@ -75,16 +81,15 @@ css`
|
|
|
75
81
|
width: 100%;
|
|
76
82
|
}
|
|
77
83
|
|
|
84
|
+
:focus {
|
|
85
|
+
box-shadow: none;
|
|
86
|
+
}
|
|
87
|
+
|
|
78
88
|
${stackIndex && `position: relative;`}
|
|
79
89
|
|
|
80
90
|
${isInteractive && `
|
|
81
91
|
cursor: pointer;
|
|
82
92
|
|
|
83
|
-
:focus {
|
|
84
|
-
outline: none;
|
|
85
|
-
box-shadow: 0 0 0 ${BORDER_WIDTH}px ${`var(--ds-border-focused, ${B300})`}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
93
|
:hover {
|
|
89
94
|
&::after {
|
|
90
95
|
background-color: ${`var(--ds-interaction-hovered, ${N70A})`};
|
|
@@ -198,11 +203,6 @@ const Avatar = /*#__PURE__*/forwardRef(({
|
|
|
198
203
|
}
|
|
199
204
|
onClick(event, analyticsEvent);
|
|
200
205
|
}, [createAnalyticsEvent, isDisabled, onClick]);
|
|
201
|
-
const getTestId = (testId, children) => !children ? {
|
|
202
|
-
'data-testid': `${testId}--inner`
|
|
203
|
-
} : {
|
|
204
|
-
testId: `${testId}--inner`
|
|
205
|
-
};
|
|
206
206
|
const componentProps = () => {
|
|
207
207
|
if (isDisabled) {
|
|
208
208
|
return {
|
|
@@ -269,7 +269,11 @@ const Avatar = /*#__PURE__*/forwardRef(({
|
|
|
269
269
|
}),
|
|
270
270
|
ref
|
|
271
271
|
};
|
|
272
|
-
|
|
272
|
+
if (children) {
|
|
273
|
+
return children(props);
|
|
274
|
+
}
|
|
275
|
+
const element = getCustomElement(isDisabled, href, onClick);
|
|
276
|
+
return element === 'a' || element === 'button' ? jsx(FocusRing, null, /*#__PURE__*/createElement(element, props)) : ( /*#__PURE__*/createElement(element, props));
|
|
273
277
|
}), isPresence && jsx(PresenceWrapper, {
|
|
274
278
|
appearance: appearance,
|
|
275
279
|
size: size,
|
package/dist/esm/Avatar.js
CHANGED
|
@@ -14,8 +14,9 @@ import { createElement, forwardRef, isValidElement, useCallback, useEffect, useR
|
|
|
14
14
|
import { ClassNames, jsx } from '@emotion/react';
|
|
15
15
|
import { useUIDSeed } from 'react-uid';
|
|
16
16
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
17
|
+
import FocusRing from '@atlaskit/focus-ring';
|
|
17
18
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
18
|
-
import {
|
|
19
|
+
import { N0, N70A } from '@atlaskit/theme/colors';
|
|
19
20
|
import AvatarImage from './AvatarImage';
|
|
20
21
|
import { ACTIVE_SCALE_FACTOR, AVATAR_RADIUS, AVATAR_SIZES, BORDER_WIDTH } from './constants';
|
|
21
22
|
import { useAvatarContext } from './context';
|
|
@@ -23,7 +24,14 @@ import { PresenceWrapper } from './Presence';
|
|
|
23
24
|
import { StatusWrapper } from './Status';
|
|
24
25
|
import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
|
|
25
26
|
var packageName = "@atlaskit/avatar";
|
|
26
|
-
var packageVersion = "21.
|
|
27
|
+
var packageVersion = "21.13.0";
|
|
28
|
+
var getTestId = function getTestId(testId, children) {
|
|
29
|
+
return !children ? {
|
|
30
|
+
'data-testid': "".concat(testId, "--inner")
|
|
31
|
+
} : {
|
|
32
|
+
testId: "".concat(testId, "--inner")
|
|
33
|
+
};
|
|
34
|
+
};
|
|
27
35
|
|
|
28
36
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
29
37
|
|
|
@@ -37,7 +45,7 @@ var getStyles = function getStyles(css, _ref) {
|
|
|
37
45
|
isInteractive = _ref.isInteractive,
|
|
38
46
|
isDisabled = _ref.isDisabled;
|
|
39
47
|
return (//eslint-disable-next-line @repo/internal/react/no-css-string-literals
|
|
40
|
-
css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\theight: ", "px;\n\t\twidth: ", "px;\n\t\talign-items: stretch;\n\t\tbackground-color: ", ";\n\t\tborder-radius: ", ";\n\t\tbox-sizing: content-box;\n\t\tcursor: inherit;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\toutline: none;\n\t\toverflow: hidden;\n\t\tposition: static;\n\t\ttransform: translateZ(0);\n\t\ttransition:\n\t\t\ttransform 200ms,\n\t\t\topacity 200ms;\n\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\tborder: none;\n\t\tmargin: ", ";\n\t\tpadding: ", ";\n\n\t\t&::-moz-focus-inner {\n\t\t\tborder: 0;\n\t\t\tmargin: ", ";\n\t\t\tpadding: ", ";\n\t\t}\n\n\t\t&::after {\n\t\t\tbackground-color: transparent;\n\t\t\tinset: 0px;\n\n\t\t\t/* Added border-radius style to fix hover issue in safari */\n\t\t\tborder-radius: ", ";\n\t\t\tcontent: ' ';\n\t\t\topacity: 0;\n\t\t\tpointer-events: none;\n\t\t\tposition: absolute;\n\t\t\ttransition: opacity 200ms;\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t", "\n\n\t\t", "\n\n ", "\n\t"])), size, size, borderColor, appearance === 'circle' ? '50%' : "".concat(radius, "px"), BORDER_WIDTH, borderColor, "var(--ds-space-025, 2px)", "var(--ds-space-0, 0px)", "var(--ds-space-0, 0px)", "var(--ds-space-0, 0px)", appearance === 'circle' ? '50%' : "".concat(radius, "px"), stackIndex && "position: relative;", isInteractive && "\n cursor: pointer;\n\n :
|
|
48
|
+
css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\theight: ", "px;\n\t\twidth: ", "px;\n\t\talign-items: stretch;\n\t\tbackground-color: ", ";\n\t\tborder-radius: ", ";\n\t\tbox-sizing: content-box;\n\t\tcursor: inherit;\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\toutline: none;\n\t\toverflow: hidden;\n\t\tposition: static;\n\t\ttransform: translateZ(0);\n\t\ttransition:\n\t\t\ttransform 200ms,\n\t\t\topacity 200ms;\n\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\tborder: none;\n\t\tmargin: ", ";\n\t\tpadding: ", ";\n\n\t\t&::-moz-focus-inner {\n\t\t\tborder: 0;\n\t\t\tmargin: ", ";\n\t\t\tpadding: ", ";\n\t\t}\n\n\t\t&::after {\n\t\t\tbackground-color: transparent;\n\t\t\tinset: 0px;\n\n\t\t\t/* Added border-radius style to fix hover issue in safari */\n\t\t\tborder-radius: ", ";\n\t\t\tcontent: ' ';\n\t\t\topacity: 0;\n\t\t\tpointer-events: none;\n\t\t\tposition: absolute;\n\t\t\ttransition: opacity 200ms;\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t:focus {\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t", "\n\n\t\t", "\n\n ", "\n\t"])), size, size, borderColor, appearance === 'circle' ? '50%' : "".concat(radius, "px"), BORDER_WIDTH, borderColor, "var(--ds-space-025, 2px)", "var(--ds-space-0, 0px)", "var(--ds-space-0, 0px)", "var(--ds-space-0, 0px)", appearance === 'circle' ? '50%' : "".concat(radius, "px"), stackIndex && "position: relative;", isInteractive && "\n cursor: pointer;\n\n :hover {\n &::after {\n background-color: ".concat("var(--ds-interaction-hovered, ".concat(N70A, ")"), ";\n opacity: 1;\n }\n }\n\n :active {\n &::after {\n background-color: ", "var(--ds-interaction-pressed, ".concat(N70A, ")"), ";\n opacity: 1;\n }\n }\n\n :active {\n transform: scale(", ACTIVE_SCALE_FACTOR, ");\n }\n\n @media screen and (forced-colors: active) {\n &:focus-visible {\n outline: 1px solid\n }\n }\n "), isDisabled && "\n cursor: not-allowed;\n\n &::after {\n opacity: ".concat("var(--ds-opacity-disabled, 0.7)", ";\n pointer-events: none;\n background-color: ", "var(--ds-surface, ".concat(N0, ")"), ";\n }\n "))
|
|
41
49
|
);
|
|
42
50
|
};
|
|
43
51
|
|
|
@@ -117,13 +125,6 @@ var Avatar = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
117
125
|
}
|
|
118
126
|
onClick(event, analyticsEvent);
|
|
119
127
|
}, [createAnalyticsEvent, isDisabled, onClick]);
|
|
120
|
-
var getTestId = function getTestId(testId, children) {
|
|
121
|
-
return !children ? {
|
|
122
|
-
'data-testid': "".concat(testId, "--inner")
|
|
123
|
-
} : {
|
|
124
|
-
testId: "".concat(testId, "--inner")
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
128
|
var componentProps = function componentProps() {
|
|
128
129
|
if (isDisabled) {
|
|
129
130
|
return {
|
|
@@ -184,7 +185,11 @@ var Avatar = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
184
185
|
}),
|
|
185
186
|
ref: ref
|
|
186
187
|
});
|
|
187
|
-
|
|
188
|
+
if (children) {
|
|
189
|
+
return children(props);
|
|
190
|
+
}
|
|
191
|
+
var element = getCustomElement(isDisabled, href, onClick);
|
|
192
|
+
return element === 'a' || element === 'button' ? jsx(FocusRing, null, /*#__PURE__*/createElement(element, props)) : ( /*#__PURE__*/createElement(element, props));
|
|
188
193
|
}), isPresence && jsx(PresenceWrapper, {
|
|
189
194
|
appearance: appearance,
|
|
190
195
|
size: size,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/avatar",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.13.0",
|
|
4
4
|
"description": "An avatar is a visual representation of a user or entity.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,12 +44,13 @@
|
|
|
44
44
|
".": "./src/index.ts"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@atlaskit/analytics-next": "^
|
|
48
|
-
"@atlaskit/
|
|
47
|
+
"@atlaskit/analytics-next": "^10.0.0",
|
|
48
|
+
"@atlaskit/focus-ring": "^1.5.0",
|
|
49
|
+
"@atlaskit/icon": "^22.11.0",
|
|
49
50
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
50
51
|
"@atlaskit/primitives": "^11.1.0",
|
|
51
52
|
"@atlaskit/theme": "^12.11.0",
|
|
52
|
-
"@atlaskit/tokens": "^1.
|
|
53
|
+
"@atlaskit/tokens": "^1.57.0",
|
|
53
54
|
"@babel/runtime": "^7.0.0",
|
|
54
55
|
"@emotion/react": "^11.7.1",
|
|
55
56
|
"@emotion/serialize": "^1.1.0",
|
|
@@ -64,7 +65,7 @@
|
|
|
64
65
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
65
66
|
"@atlaskit/ssr": "*",
|
|
66
67
|
"@atlaskit/textfield": "^6.4.0",
|
|
67
|
-
"@atlaskit/tooltip": "^18.
|
|
68
|
+
"@atlaskit/tooltip": "^18.6.0",
|
|
68
69
|
"@atlaskit/visual-regression": "*",
|
|
69
70
|
"@atlassian/feature-flags-test-utils": "*",
|
|
70
71
|
"@emotion/styled": "^11.0.0",
|