@atlaskit/avatar 25.4.2 → 25.4.3
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 +6 -16
- package/dist/cjs/avatar.js +1 -1
- package/dist/es2019/avatar.js +1 -1
- package/dist/esm/avatar.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/avatar
|
|
2
2
|
|
|
3
|
+
## 25.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 25.4.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -1363,7 +1369,6 @@
|
|
|
1363
1369
|
on the codemod CLI.
|
|
1364
1370
|
|
|
1365
1371
|
**Change summary:**
|
|
1366
|
-
|
|
1367
1372
|
- BREAKING: `Avatar`'s `component` prop is now a
|
|
1368
1373
|
[renderProp](https://reactjs.org/docs/render-props.html) and has been renamed to `render`
|
|
1369
1374
|
- BREAKING: `AvatarItem`'s `component` prop is now a
|
|
@@ -1439,7 +1444,6 @@
|
|
|
1439
1444
|
[this doc](https://atlaskit.atlassian.com/docs/guides/atlassian-codemods)
|
|
1440
1445
|
|
|
1441
1446
|
**Summary**
|
|
1442
|
-
|
|
1443
1447
|
- Fixes re-rendering issues
|
|
1444
1448
|
- Removes all deprecated theme API. This includes previous experimental dark-mode theme support
|
|
1445
1449
|
- Stop accepting and spreading arbitrary props
|
|
@@ -1448,7 +1452,6 @@
|
|
|
1448
1452
|
- Replaces `styled-components` v3 with `@emotion/core` to improve runtime and bundlesize
|
|
1449
1453
|
|
|
1450
1454
|
**Avatar API / PROP CHANGES**
|
|
1451
|
-
|
|
1452
1455
|
- `enableTooltip` removed. Please use `@atlaskit/tooltip` instead
|
|
1453
1456
|
- `onClick` method signature has been simplified to `onChange(event, analyticsEvent)`
|
|
1454
1457
|
- `isHover` removed
|
|
@@ -1463,7 +1466,6 @@
|
|
|
1463
1466
|
the AvatarGroup component.
|
|
1464
1467
|
|
|
1465
1468
|
**Avatar Item API / PROP CHANGES**
|
|
1466
|
-
|
|
1467
1469
|
- `enableTruncation` renamed to `isTruncationDisabled`
|
|
1468
1470
|
- `onClick` method signature has been simplified to `onChange(event, analyticsEvent)`
|
|
1469
1471
|
- `isHover` removed
|
|
@@ -1553,7 +1555,6 @@
|
|
|
1553
1555
|
|
|
1554
1556
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1555
1557
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1556
|
-
|
|
1557
1558
|
- @atlaskit/docs@8.3.2
|
|
1558
1559
|
- @atlaskit/visual-regression@0.1.9
|
|
1559
1560
|
- @atlaskit/analytics-next@6.3.5
|
|
@@ -1573,7 +1574,6 @@
|
|
|
1573
1574
|
|
|
1574
1575
|
Avatar-item will now respect the width of it's parent container- Updated dependencies
|
|
1575
1576
|
[c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
|
|
1576
|
-
|
|
1577
1577
|
- @atlaskit/field-base@14.0.0
|
|
1578
1578
|
- @atlaskit/icon@20.0.0
|
|
1579
1579
|
- @atlaskit/section-message@4.1.4
|
|
@@ -1769,12 +1769,10 @@
|
|
|
1769
1769
|
safety. Flow types are no longer provided. No behavioural changes.
|
|
1770
1770
|
|
|
1771
1771
|
**Breaking changes**
|
|
1772
|
-
|
|
1773
1772
|
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1774
1773
|
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
1775
1774
|
|
|
1776
1775
|
**Breaking changes to TypeScript annotations**
|
|
1777
|
-
|
|
1778
1776
|
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
1779
1777
|
props as a generic type.
|
|
1780
1778
|
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
@@ -1865,20 +1863,17 @@
|
|
|
1865
1863
|
## 16.0.1
|
|
1866
1864
|
|
|
1867
1865
|
- [patch][21854842b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/21854842b5):
|
|
1868
|
-
|
|
1869
1866
|
- Clean couple of TODO's that were already done
|
|
1870
1867
|
|
|
1871
1868
|
## 16.0.0
|
|
1872
1869
|
|
|
1873
1870
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1874
|
-
|
|
1875
1871
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1876
1872
|
this package, please ensure you use at least this version of react and react-dom.
|
|
1877
1873
|
|
|
1878
1874
|
## 15.0.5
|
|
1879
1875
|
|
|
1880
1876
|
- [patch][d01ab3961b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d01ab3961b):
|
|
1881
|
-
|
|
1882
1877
|
- Bugfix: fixes issue with src image flickering
|
|
1883
1878
|
|
|
1884
1879
|
## 15.0.4
|
|
@@ -1910,7 +1905,6 @@
|
|
|
1910
1905
|
## 15.0.2
|
|
1911
1906
|
|
|
1912
1907
|
- [patch][ea173a3ee2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ea173a3ee2):
|
|
1913
|
-
|
|
1914
1908
|
- Internal changes only. Component is now SSR compatible. If server side rendered, Avatar Images
|
|
1915
1909
|
will begin to load immediately; before client bundle is ready. If this is undesired, `imageUrl`
|
|
1916
1910
|
can be passed in after component is mounted.
|
|
@@ -1931,7 +1925,6 @@
|
|
|
1931
1925
|
## 15.0.0
|
|
1932
1926
|
|
|
1933
1927
|
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1934
|
-
|
|
1935
1928
|
- Drop ES5 from all the flow modules
|
|
1936
1929
|
|
|
1937
1930
|
### Dropping CJS support in all @atlaskit packages
|
|
@@ -1976,7 +1969,6 @@
|
|
|
1976
1969
|
## 14.1.9
|
|
1977
1970
|
|
|
1978
1971
|
- [patch][92d8e6317c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/92d8e6317c):
|
|
1979
|
-
|
|
1980
1972
|
- Check if the DOM is available when rendering an AvatarImage so that SSR rendered Avatars will
|
|
1981
1973
|
render with the provided image.
|
|
1982
1974
|
|
|
@@ -2008,7 +2000,6 @@
|
|
|
2008
2000
|
## 14.1.6
|
|
2009
2001
|
|
|
2010
2002
|
- [patch][d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
|
|
2011
|
-
|
|
2012
2003
|
- Change API to experimental theming API to namespace component themes into separate contexts and
|
|
2013
2004
|
make theming simpler. Update all dependant components.
|
|
2014
2005
|
|
|
@@ -2038,7 +2029,6 @@
|
|
|
2038
2029
|
## 14.1.3
|
|
2039
2030
|
|
|
2040
2031
|
- [patch][a981c43](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a981c43):
|
|
2041
|
-
|
|
2042
2032
|
- Update Avatar to allow to use a custom icon as status.
|
|
2043
2033
|
|
|
2044
2034
|
## 14.1.2
|
package/dist/cjs/avatar.js
CHANGED
|
@@ -24,7 +24,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
24
24
|
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
25
|
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
26
|
var packageName = "@atlaskit/avatar";
|
|
27
|
-
var packageVersion = "25.4.
|
|
27
|
+
var packageVersion = "25.4.2";
|
|
28
28
|
var containerStyles = null;
|
|
29
29
|
|
|
30
30
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
package/dist/es2019/avatar.js
CHANGED
|
@@ -12,7 +12,7 @@ import { PresenceWrapper } from './presence';
|
|
|
12
12
|
import { StatusWrapper } from './status';
|
|
13
13
|
import { getCustomElement } from './utilities';
|
|
14
14
|
const packageName = "@atlaskit/avatar";
|
|
15
|
-
const packageVersion = "25.4.
|
|
15
|
+
const packageVersion = "25.4.2";
|
|
16
16
|
const containerStyles = null;
|
|
17
17
|
|
|
18
18
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
package/dist/esm/avatar.js
CHANGED
|
@@ -15,7 +15,7 @@ import { PresenceWrapper } from './presence';
|
|
|
15
15
|
import { StatusWrapper } from './status';
|
|
16
16
|
import { getCustomElement } from './utilities';
|
|
17
17
|
var packageName = "@atlaskit/avatar";
|
|
18
|
-
var packageVersion = "25.4.
|
|
18
|
+
var packageVersion = "25.4.2";
|
|
19
19
|
var containerStyles = null;
|
|
20
20
|
|
|
21
21
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/avatar",
|
|
3
|
-
"version": "25.4.
|
|
3
|
+
"version": "25.4.3",
|
|
4
4
|
"description": "An avatar is a visual representation of a user or entity.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
41
41
|
"@atlaskit/primitives": "^15.0.0",
|
|
42
42
|
"@atlaskit/theme": "^21.0.0",
|
|
43
|
-
"@atlaskit/tokens": "^
|
|
43
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
|
-
"@compiled/react": "^0.18.
|
|
45
|
+
"@compiled/react": "^0.18.6"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": "^18.2.0"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@af/visual-regression": "workspace:^",
|
|
54
54
|
"@atlaskit/button": "^23.5.0",
|
|
55
55
|
"@atlaskit/code": "^17.2.0",
|
|
56
|
-
"@atlaskit/docs": "^11.
|
|
56
|
+
"@atlaskit/docs": "^11.2.0",
|
|
57
57
|
"@atlaskit/form": "^14.2.0",
|
|
58
58
|
"@atlaskit/heading": "^5.2.0",
|
|
59
59
|
"@atlaskit/link": "^3.2.0",
|