@atlaskit/avatar 25.4.1 → 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 +12 -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 +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/avatar
|
|
2
2
|
|
|
3
|
+
## 25.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 25.4.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 25.4.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1357,7 +1369,6 @@
|
|
|
1357
1369
|
on the codemod CLI.
|
|
1358
1370
|
|
|
1359
1371
|
**Change summary:**
|
|
1360
|
-
|
|
1361
1372
|
- BREAKING: `Avatar`'s `component` prop is now a
|
|
1362
1373
|
[renderProp](https://reactjs.org/docs/render-props.html) and has been renamed to `render`
|
|
1363
1374
|
- BREAKING: `AvatarItem`'s `component` prop is now a
|
|
@@ -1433,7 +1444,6 @@
|
|
|
1433
1444
|
[this doc](https://atlaskit.atlassian.com/docs/guides/atlassian-codemods)
|
|
1434
1445
|
|
|
1435
1446
|
**Summary**
|
|
1436
|
-
|
|
1437
1447
|
- Fixes re-rendering issues
|
|
1438
1448
|
- Removes all deprecated theme API. This includes previous experimental dark-mode theme support
|
|
1439
1449
|
- Stop accepting and spreading arbitrary props
|
|
@@ -1442,7 +1452,6 @@
|
|
|
1442
1452
|
- Replaces `styled-components` v3 with `@emotion/core` to improve runtime and bundlesize
|
|
1443
1453
|
|
|
1444
1454
|
**Avatar API / PROP CHANGES**
|
|
1445
|
-
|
|
1446
1455
|
- `enableTooltip` removed. Please use `@atlaskit/tooltip` instead
|
|
1447
1456
|
- `onClick` method signature has been simplified to `onChange(event, analyticsEvent)`
|
|
1448
1457
|
- `isHover` removed
|
|
@@ -1457,7 +1466,6 @@
|
|
|
1457
1466
|
the AvatarGroup component.
|
|
1458
1467
|
|
|
1459
1468
|
**Avatar Item API / PROP CHANGES**
|
|
1460
|
-
|
|
1461
1469
|
- `enableTruncation` renamed to `isTruncationDisabled`
|
|
1462
1470
|
- `onClick` method signature has been simplified to `onChange(event, analyticsEvent)`
|
|
1463
1471
|
- `isHover` removed
|
|
@@ -1547,7 +1555,6 @@
|
|
|
1547
1555
|
|
|
1548
1556
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1549
1557
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1550
|
-
|
|
1551
1558
|
- @atlaskit/docs@8.3.2
|
|
1552
1559
|
- @atlaskit/visual-regression@0.1.9
|
|
1553
1560
|
- @atlaskit/analytics-next@6.3.5
|
|
@@ -1567,7 +1574,6 @@
|
|
|
1567
1574
|
|
|
1568
1575
|
Avatar-item will now respect the width of it's parent container- Updated dependencies
|
|
1569
1576
|
[c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
|
|
1570
|
-
|
|
1571
1577
|
- @atlaskit/field-base@14.0.0
|
|
1572
1578
|
- @atlaskit/icon@20.0.0
|
|
1573
1579
|
- @atlaskit/section-message@4.1.4
|
|
@@ -1763,12 +1769,10 @@
|
|
|
1763
1769
|
safety. Flow types are no longer provided. No behavioural changes.
|
|
1764
1770
|
|
|
1765
1771
|
**Breaking changes**
|
|
1766
|
-
|
|
1767
1772
|
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1768
1773
|
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
1769
1774
|
|
|
1770
1775
|
**Breaking changes to TypeScript annotations**
|
|
1771
|
-
|
|
1772
1776
|
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
1773
1777
|
props as a generic type.
|
|
1774
1778
|
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
@@ -1859,20 +1863,17 @@
|
|
|
1859
1863
|
## 16.0.1
|
|
1860
1864
|
|
|
1861
1865
|
- [patch][21854842b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/21854842b5):
|
|
1862
|
-
|
|
1863
1866
|
- Clean couple of TODO's that were already done
|
|
1864
1867
|
|
|
1865
1868
|
## 16.0.0
|
|
1866
1869
|
|
|
1867
1870
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1868
|
-
|
|
1869
1871
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1870
1872
|
this package, please ensure you use at least this version of react and react-dom.
|
|
1871
1873
|
|
|
1872
1874
|
## 15.0.5
|
|
1873
1875
|
|
|
1874
1876
|
- [patch][d01ab3961b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d01ab3961b):
|
|
1875
|
-
|
|
1876
1877
|
- Bugfix: fixes issue with src image flickering
|
|
1877
1878
|
|
|
1878
1879
|
## 15.0.4
|
|
@@ -1904,7 +1905,6 @@
|
|
|
1904
1905
|
## 15.0.2
|
|
1905
1906
|
|
|
1906
1907
|
- [patch][ea173a3ee2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ea173a3ee2):
|
|
1907
|
-
|
|
1908
1908
|
- Internal changes only. Component is now SSR compatible. If server side rendered, Avatar Images
|
|
1909
1909
|
will begin to load immediately; before client bundle is ready. If this is undesired, `imageUrl`
|
|
1910
1910
|
can be passed in after component is mounted.
|
|
@@ -1925,7 +1925,6 @@
|
|
|
1925
1925
|
## 15.0.0
|
|
1926
1926
|
|
|
1927
1927
|
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1928
|
-
|
|
1929
1928
|
- Drop ES5 from all the flow modules
|
|
1930
1929
|
|
|
1931
1930
|
### Dropping CJS support in all @atlaskit packages
|
|
@@ -1970,7 +1969,6 @@
|
|
|
1970
1969
|
## 14.1.9
|
|
1971
1970
|
|
|
1972
1971
|
- [patch][92d8e6317c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/92d8e6317c):
|
|
1973
|
-
|
|
1974
1972
|
- Check if the DOM is available when rendering an AvatarImage so that SSR rendered Avatars will
|
|
1975
1973
|
render with the provided image.
|
|
1976
1974
|
|
|
@@ -2002,7 +2000,6 @@
|
|
|
2002
2000
|
## 14.1.6
|
|
2003
2001
|
|
|
2004
2002
|
- [patch][d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
|
|
2005
|
-
|
|
2006
2003
|
- Change API to experimental theming API to namespace component themes into separate contexts and
|
|
2007
2004
|
make theming simpler. Update all dependant components.
|
|
2008
2005
|
|
|
@@ -2032,7 +2029,6 @@
|
|
|
2032
2029
|
## 14.1.3
|
|
2033
2030
|
|
|
2034
2031
|
- [patch][a981c43](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a981c43):
|
|
2035
|
-
|
|
2036
2032
|
- Update Avatar to allow to use a custom icon as status.
|
|
2037
2033
|
|
|
2038
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 = "
|
|
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 = "
|
|
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 = "
|
|
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/"
|
|
@@ -33,16 +33,16 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
36
|
-
"@atlaskit/css": "^0.
|
|
36
|
+
"@atlaskit/css": "^0.15.0",
|
|
37
37
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
38
38
|
"@atlaskit/focus-ring": "^3.0.0",
|
|
39
39
|
"@atlaskit/icon": "^28.5.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
41
|
-
"@atlaskit/primitives": "^
|
|
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",
|