@atlaskit/avatar 21.10.0 → 21.10.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 +15 -0
- package/dist/cjs/Avatar.js +3 -2
- package/dist/cjs/AvatarImage.js +1 -0
- package/dist/cjs/AvatarItem.js +1 -0
- package/dist/cjs/IconWrapper.js +2 -0
- package/dist/cjs/Skeleton.js +1 -0
- package/dist/es2019/Avatar.js +3 -5
- package/dist/es2019/AvatarImage.js +2 -0
- package/dist/es2019/AvatarItem.js +2 -0
- package/dist/es2019/IconWrapper.js +1 -0
- package/dist/es2019/Skeleton.js +1 -0
- package/dist/esm/Avatar.js +4 -2
- package/dist/esm/AvatarImage.js +2 -0
- package/dist/esm/AvatarItem.js +2 -0
- package/dist/esm/IconWrapper.js +1 -0
- package/dist/esm/Skeleton.js +1 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/avatar
|
|
2
2
|
|
|
3
|
+
## 21.10.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#113372](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/113372)
|
|
8
|
+
[`4b4faf5caa25a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4b4faf5caa25a) -
|
|
9
|
+
[ux] The font size and font weight of avatar group more button is brought in line with design
|
|
10
|
+
system guidelines.
|
|
11
|
+
|
|
12
|
+
## 21.10.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 21.10.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
package/dist/cjs/Avatar.js
CHANGED
|
@@ -24,10 +24,11 @@ var _templateObject;
|
|
|
24
24
|
*/
|
|
25
25
|
/** @jsx jsx */
|
|
26
26
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
27
28
|
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; }
|
|
28
29
|
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; }
|
|
29
30
|
var packageName = "@atlaskit/avatar";
|
|
30
|
-
var packageVersion = "21.10.
|
|
31
|
+
var packageVersion = "21.10.2";
|
|
31
32
|
|
|
32
33
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
33
34
|
|
|
@@ -41,7 +42,7 @@ var getStyles = function getStyles(css, _ref) {
|
|
|
41
42
|
isInteractive = _ref.isInteractive,
|
|
42
43
|
isDisabled = _ref.isDisabled;
|
|
43
44
|
return (//eslint-disable-next-line @repo/internal/react/no-css-string-literals
|
|
44
|
-
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
|
|
45
|
+
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 :focus {\n outline: none;\n box-shadow: 0 0 0 ".concat(_constants.BORDER_WIDTH, "px ", "var(--ds-border-focused, ".concat(_colors.B300, ")"), "\n }\n\n :hover {\n &::after {\n background-color: ", "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(").concat(_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 "))
|
|
45
46
|
);
|
|
46
47
|
};
|
|
47
48
|
|
package/dist/cjs/AvatarImage.js
CHANGED
|
@@ -17,6 +17,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
17
17
|
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; } /**
|
|
18
18
|
* @jsxRuntime classic
|
|
19
19
|
*/ /** @jsx jsx */ // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
20
21
|
var ICON_BACKGROUND = exports.ICON_BACKGROUND = "var(--ds-icon-inverse, ".concat(_colors.N0, ")");
|
|
21
22
|
var ICON_COLOR = exports.ICON_COLOR = "var(--ds-icon-subtle, ".concat(_colors.N90, ")");
|
|
22
23
|
var avatarDefaultIconStyles = (0, _react2.css)({
|
package/dist/cjs/AvatarItem.js
CHANGED
|
@@ -21,6 +21,7 @@ var _templateObject;
|
|
|
21
21
|
*/
|
|
22
22
|
/** @jsx jsx */
|
|
23
23
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
24
25
|
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; }
|
|
25
26
|
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; }
|
|
26
27
|
var avatarItemStyles = (0, _react2.css)({
|
package/dist/cjs/IconWrapper.js
CHANGED
|
@@ -13,6 +13,8 @@ var _constants = require("./constants");
|
|
|
13
13
|
/** @jsx jsx */
|
|
14
14
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
15
15
|
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
|
+
|
|
16
18
|
var iconWrapperStyles = (0, _react.css)({
|
|
17
19
|
display: 'flex',
|
|
18
20
|
boxSizing: 'border-box',
|
package/dist/cjs/Skeleton.js
CHANGED
|
@@ -13,6 +13,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
13
13
|
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; } /**
|
|
14
14
|
* @jsxRuntime classic
|
|
15
15
|
*/ /** @jsx jsx */ // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
16
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
17
|
var skeletonStyles = (0, _react.css)({
|
|
17
18
|
display: 'inline-block',
|
|
18
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
package/dist/es2019/Avatar.js
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
6
6
|
import { createElement, forwardRef, isValidElement, useCallback, useEffect, useRef } from 'react';
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
9
|
import { ClassNames, jsx } from '@emotion/react';
|
|
8
10
|
import { useUIDSeed } from 'react-uid';
|
|
9
11
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
@@ -15,7 +17,7 @@ import { PresenceWrapper } from './Presence';
|
|
|
15
17
|
import { StatusWrapper } from './Status';
|
|
16
18
|
import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
|
|
17
19
|
const packageName = "@atlaskit/avatar";
|
|
18
|
-
const packageVersion = "21.10.
|
|
20
|
+
const packageVersion = "21.10.2";
|
|
19
21
|
|
|
20
22
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
21
23
|
|
|
@@ -52,10 +54,6 @@ css`
|
|
|
52
54
|
margin: ${"var(--ds-space-025, 2px)"};
|
|
53
55
|
padding: ${"var(--ds-space-0, 0px)"};
|
|
54
56
|
|
|
55
|
-
/* Added font-size and font-family styles to fix alignment issue in firefox for interactive button avatar */
|
|
56
|
-
font-size: inherit;
|
|
57
|
-
font-family: inherit;
|
|
58
|
-
|
|
59
57
|
&::-moz-focus-inner {
|
|
60
58
|
border: 0;
|
|
61
59
|
margin: ${"var(--ds-space-0, 0px)"};
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
6
6
|
import { useEffect, useState } from 'react';
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
9
|
import { css, jsx } from '@emotion/react';
|
|
8
10
|
import PersonIcon from '@atlaskit/icon/glyph/person';
|
|
9
11
|
import ShipIcon from '@atlaskit/icon/glyph/ship';
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
6
6
|
import { createElement, forwardRef, Fragment } from 'react';
|
|
7
|
+
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
9
|
import { ClassNames, css, jsx } from '@emotion/react';
|
|
8
10
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
9
11
|
import { Text } from '@atlaskit/primitives';
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
6
6
|
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
8
|
import { css, jsx } from '@emotion/react';
|
|
8
9
|
import { N0 } from '@atlaskit/theme/colors';
|
|
9
10
|
import { BORDER_WIDTH } from './constants';
|
package/dist/es2019/Skeleton.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
6
6
|
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
8
|
import { css, jsx } from '@emotion/react';
|
|
8
9
|
import { AVATAR_RADIUS, AVATAR_SIZES, BORDER_WIDTH, CSS_VAR_AVATAR_BGCOLOR } from './constants';
|
|
9
10
|
const skeletonStyles = css({
|
package/dist/esm/Avatar.js
CHANGED
|
@@ -9,6 +9,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
9
9
|
/** @jsx jsx */
|
|
10
10
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
11
11
|
import { createElement, forwardRef, isValidElement, useCallback, useEffect, useRef } from 'react';
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
14
|
import { ClassNames, jsx } from '@emotion/react';
|
|
13
15
|
import { useUIDSeed } from 'react-uid';
|
|
14
16
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
@@ -20,7 +22,7 @@ import { PresenceWrapper } from './Presence';
|
|
|
20
22
|
import { StatusWrapper } from './Status';
|
|
21
23
|
import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
|
|
22
24
|
var packageName = "@atlaskit/avatar";
|
|
23
|
-
var packageVersion = "21.10.
|
|
25
|
+
var packageVersion = "21.10.2";
|
|
24
26
|
|
|
25
27
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
26
28
|
|
|
@@ -34,7 +36,7 @@ var getStyles = function getStyles(css, _ref) {
|
|
|
34
36
|
isInteractive = _ref.isInteractive,
|
|
35
37
|
isDisabled = _ref.isDisabled;
|
|
36
38
|
return (//eslint-disable-next-line @repo/internal/react/no-css-string-literals
|
|
37
|
-
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
|
|
39
|
+
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 :focus {\n outline: none;\n box-shadow: 0 0 0 ".concat(BORDER_WIDTH, "px ", "var(--ds-border-focused, ".concat(B300, ")"), "\n }\n\n :hover {\n &::after {\n background-color: ", "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(").concat(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 "))
|
|
38
40
|
);
|
|
39
41
|
};
|
|
40
42
|
|
package/dist/esm/AvatarImage.js
CHANGED
|
@@ -8,6 +8,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
/** @jsx jsx */
|
|
9
9
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
10
10
|
import { useEffect, useState } from 'react';
|
|
11
|
+
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
13
|
import { css, jsx } from '@emotion/react';
|
|
12
14
|
import PersonIcon from '@atlaskit/icon/glyph/person';
|
|
13
15
|
import ShipIcon from '@atlaskit/icon/glyph/ship';
|
package/dist/esm/AvatarItem.js
CHANGED
|
@@ -9,6 +9,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
9
9
|
/** @jsx jsx */
|
|
10
10
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
11
11
|
import { createElement, forwardRef, Fragment } from 'react';
|
|
12
|
+
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
14
|
import { ClassNames, css, jsx } from '@emotion/react';
|
|
13
15
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
14
16
|
import { Text } from '@atlaskit/primitives';
|
package/dist/esm/IconWrapper.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
/** @jsx jsx */
|
|
5
5
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
6
6
|
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
8
|
import { css, jsx } from '@emotion/react';
|
|
8
9
|
import { N0 } from '@atlaskit/theme/colors';
|
|
9
10
|
import { BORDER_WIDTH } from './constants';
|
package/dist/esm/Skeleton.js
CHANGED
|
@@ -8,6 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
/** @jsx jsx */
|
|
9
9
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
12
|
import { css, jsx } from '@emotion/react';
|
|
12
13
|
import { AVATAR_RADIUS, AVATAR_SIZES, BORDER_WIDTH, CSS_VAR_AVATAR_BGCOLOR } from './constants';
|
|
13
14
|
var skeletonStyles = css({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/avatar",
|
|
3
|
-
"version": "21.10.
|
|
3
|
+
"version": "21.10.2",
|
|
4
4
|
"description": "An avatar is a visual representation of a user or entity.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
48
|
-
"@atlaskit/icon": "^22.
|
|
48
|
+
"@atlaskit/icon": "^22.4.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
50
|
-
"@atlaskit/primitives": "^
|
|
51
|
-
"@atlaskit/theme": "^12.
|
|
52
|
-
"@atlaskit/tokens": "^1.
|
|
50
|
+
"@atlaskit/primitives": "^8.0.0",
|
|
51
|
+
"@atlaskit/theme": "^12.11.0",
|
|
52
|
+
"@atlaskit/tokens": "^1.51.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"@emotion/react": "^11.7.1",
|
|
55
55
|
"@emotion/serialize": "^1.1.0",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"@af/visual-regression": "*",
|
|
64
64
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
65
65
|
"@atlaskit/ssr": "*",
|
|
66
|
-
"@atlaskit/textfield": "^6.
|
|
67
|
-
"@atlaskit/tooltip": "^18.
|
|
66
|
+
"@atlaskit/textfield": "^6.4.0",
|
|
67
|
+
"@atlaskit/tooltip": "^18.5.0",
|
|
68
68
|
"@atlaskit/visual-regression": "*",
|
|
69
69
|
"@emotion/styled": "^11.0.0",
|
|
70
70
|
"@testing-library/react": "^12.1.5",
|