@atlaskit/avatar 25.4.2 → 25.4.4

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/avatar
2
2
 
3
+ ## 25.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 25.4.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 25.4.2
4
16
 
5
17
  ### Patch Changes
@@ -1363,7 +1375,6 @@
1363
1375
  on the codemod CLI.
1364
1376
 
1365
1377
  **Change summary:**
1366
-
1367
1378
  - BREAKING: `Avatar`'s `component` prop is now a
1368
1379
  [renderProp](https://reactjs.org/docs/render-props.html) and has been renamed to `render`
1369
1380
  - BREAKING: `AvatarItem`'s `component` prop is now a
@@ -1439,7 +1450,6 @@
1439
1450
  [this doc](https://atlaskit.atlassian.com/docs/guides/atlassian-codemods)
1440
1451
 
1441
1452
  **Summary**
1442
-
1443
1453
  - Fixes re-rendering issues
1444
1454
  - Removes all deprecated theme API. This includes previous experimental dark-mode theme support
1445
1455
  - Stop accepting and spreading arbitrary props
@@ -1448,7 +1458,6 @@
1448
1458
  - Replaces `styled-components` v3 with `@emotion/core` to improve runtime and bundlesize
1449
1459
 
1450
1460
  **Avatar API / PROP CHANGES**
1451
-
1452
1461
  - `enableTooltip` removed. Please use `@atlaskit/tooltip` instead
1453
1462
  - `onClick` method signature has been simplified to `onChange(event, analyticsEvent)`
1454
1463
  - `isHover` removed
@@ -1463,7 +1472,6 @@
1463
1472
  the AvatarGroup component.
1464
1473
 
1465
1474
  **Avatar Item API / PROP CHANGES**
1466
-
1467
1475
  - `enableTruncation` renamed to `isTruncationDisabled`
1468
1476
  - `onClick` method signature has been simplified to `onChange(event, analyticsEvent)`
1469
1477
  - `isHover` removed
@@ -1553,7 +1561,6 @@
1553
1561
 
1554
1562
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
1555
1563
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
1556
-
1557
1564
  - @atlaskit/docs@8.3.2
1558
1565
  - @atlaskit/visual-regression@0.1.9
1559
1566
  - @atlaskit/analytics-next@6.3.5
@@ -1573,7 +1580,6 @@
1573
1580
 
1574
1581
  Avatar-item will now respect the width of it's parent container- Updated dependencies
1575
1582
  [c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
1576
-
1577
1583
  - @atlaskit/field-base@14.0.0
1578
1584
  - @atlaskit/icon@20.0.0
1579
1585
  - @atlaskit/section-message@4.1.4
@@ -1769,12 +1775,10 @@
1769
1775
  safety. Flow types are no longer provided. No behavioural changes.
1770
1776
 
1771
1777
  **Breaking changes**
1772
-
1773
1778
  - `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
1774
1779
  - `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
1775
1780
 
1776
1781
  **Breaking changes to TypeScript annotations**
1777
-
1778
1782
  - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
1779
1783
  props as a generic type.
1780
1784
  - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
@@ -1865,20 +1869,17 @@
1865
1869
  ## 16.0.1
1866
1870
 
1867
1871
  - [patch][21854842b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/21854842b5):
1868
-
1869
1872
  - Clean couple of TODO's that were already done
1870
1873
 
1871
1874
  ## 16.0.0
1872
1875
 
1873
1876
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
1874
-
1875
1877
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
1876
1878
  this package, please ensure you use at least this version of react and react-dom.
1877
1879
 
1878
1880
  ## 15.0.5
1879
1881
 
1880
1882
  - [patch][d01ab3961b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d01ab3961b):
1881
-
1882
1883
  - Bugfix: fixes issue with src image flickering
1883
1884
 
1884
1885
  ## 15.0.4
@@ -1910,7 +1911,6 @@
1910
1911
  ## 15.0.2
1911
1912
 
1912
1913
  - [patch][ea173a3ee2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ea173a3ee2):
1913
-
1914
1914
  - Internal changes only. Component is now SSR compatible. If server side rendered, Avatar Images
1915
1915
  will begin to load immediately; before client bundle is ready. If this is undesired, `imageUrl`
1916
1916
  can be passed in after component is mounted.
@@ -1931,7 +1931,6 @@
1931
1931
  ## 15.0.0
1932
1932
 
1933
1933
  - [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
1934
-
1935
1934
  - Drop ES5 from all the flow modules
1936
1935
 
1937
1936
  ### Dropping CJS support in all @atlaskit packages
@@ -1976,7 +1975,6 @@
1976
1975
  ## 14.1.9
1977
1976
 
1978
1977
  - [patch][92d8e6317c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/92d8e6317c):
1979
-
1980
1978
  - Check if the DOM is available when rendering an AvatarImage so that SSR rendered Avatars will
1981
1979
  render with the provided image.
1982
1980
 
@@ -2008,7 +2006,6 @@
2008
2006
  ## 14.1.6
2009
2007
 
2010
2008
  - [patch][d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
2011
-
2012
2009
  - Change API to experimental theming API to namespace component themes into separate contexts and
2013
2010
  make theming simpler. Update all dependant components.
2014
2011
 
@@ -2038,7 +2035,6 @@
2038
2035
  ## 14.1.3
2039
2036
 
2040
2037
  - [patch][a981c43](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a981c43):
2041
-
2042
2038
  - Update Avatar to allow to use a custom icon as status.
2043
2039
 
2044
2040
  ## 14.1.2
@@ -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.1";
27
+ var packageVersion = "25.4.3";
28
28
  var containerStyles = null;
29
29
 
30
30
  // eslint-disable-next-line @repo/internal/react/consistent-types-definitions
@@ -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.1";
15
+ const packageVersion = "25.4.3";
16
16
  const containerStyles = null;
17
17
 
18
18
  // eslint-disable-next-line @repo/internal/react/consistent-types-definitions
@@ -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.1";
18
+ var packageVersion = "25.4.3";
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.2",
3
+ "version": "25.4.4",
4
4
  "description": "An avatar is a visual representation of a user or entity.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -38,11 +38,11 @@
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": "^15.0.0",
41
+ "@atlaskit/primitives": "^16.0.0",
42
42
  "@atlaskit/theme": "^21.0.0",
43
- "@atlaskit/tokens": "^6.5.0",
43
+ "@atlaskit/tokens": "^7.0.0",
44
44
  "@babel/runtime": "^7.0.0",
45
- "@compiled/react": "^0.18.3"
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.1.0",
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",