@atlaskit/avatar 25.8.0 → 25.8.1

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,11 @@
1
1
  # @atlaskit/avatar
2
2
 
3
+ ## 25.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 25.8.0
4
10
 
5
11
  ### Minor Changes
@@ -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.8.0";
27
+ var packageVersion = "0.0.0-development";
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.8.0";
15
+ const packageVersion = "0.0.0-development";
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.8.0";
18
+ var packageVersion = "0.0.0-development";
19
19
  var containerStyles = null;
20
20
 
21
21
  // eslint-disable-next-line @repo/internal/react/consistent-types-definitions
@@ -16,7 +16,7 @@ export type AvatarContextProps = {
16
16
  * </AvatarContext.Provider>
17
17
  * ```
18
18
  */
19
- export declare const AvatarContext: import("react").Context<AvatarContextProps | undefined>;
19
+ export declare const AvatarContext: import('react').Context<AvatarContextProps | undefined>;
20
20
  export declare const useAvatarContext: () => AvatarContextProps | undefined;
21
21
  type AvatarContentContextProps = {
22
22
  as: 'a' | 'button' | 'span';
@@ -43,12 +43,12 @@ type AvatarContentContextProps = {
43
43
  * This context provides the props for the AvatarContent component, enabling
44
44
  * consumers to compose the AvatarContent with the Avatar component.
45
45
  */
46
- export declare const AvatarContentContext: import("react").Context<AvatarContentContextProps>;
46
+ export declare const AvatarContentContext: import('react').Context<AvatarContentContextProps>;
47
47
  export declare const useAvatarContent: () => AvatarContentContextProps;
48
48
  /**
49
49
  * Used to ensure Avatar sub-components are used within a Avatar component,
50
50
  * and provide a useful error message if not.
51
51
  */
52
- export declare const EnsureIsInsideAvatarContext: import("react").Context<boolean>;
52
+ export declare const EnsureIsInsideAvatarContext: import('react').Context<boolean>;
53
53
  export declare const useEnsureIsInsideAvatar: () => void;
54
54
  export {};
@@ -1,4 +1,4 @@
1
1
  import { type MouseEventHandler } from 'react';
2
2
  import type { AppearanceType } from './types';
3
- export declare const getCustomElement: (isDisabled?: boolean, href?: string, onClick?: MouseEventHandler, ariaHasPopup?: boolean | 'dialog') => "a" | "button" | "span";
3
+ export declare const getCustomElement: (isDisabled?: boolean, href?: string, onClick?: MouseEventHandler, ariaHasPopup?: boolean | 'dialog') => 'a' | 'button' | 'span';
4
4
  export declare function getAppearanceForAppType(appType: string | null | undefined): AppearanceType;
@@ -16,7 +16,7 @@ export type AvatarContextProps = {
16
16
  * </AvatarContext.Provider>
17
17
  * ```
18
18
  */
19
- export declare const AvatarContext: import("react").Context<AvatarContextProps | undefined>;
19
+ export declare const AvatarContext: import('react').Context<AvatarContextProps | undefined>;
20
20
  export declare const useAvatarContext: () => AvatarContextProps | undefined;
21
21
  type AvatarContentContextProps = {
22
22
  as: 'a' | 'button' | 'span';
@@ -43,12 +43,12 @@ type AvatarContentContextProps = {
43
43
  * This context provides the props for the AvatarContent component, enabling
44
44
  * consumers to compose the AvatarContent with the Avatar component.
45
45
  */
46
- export declare const AvatarContentContext: import("react").Context<AvatarContentContextProps>;
46
+ export declare const AvatarContentContext: import('react').Context<AvatarContentContextProps>;
47
47
  export declare const useAvatarContent: () => AvatarContentContextProps;
48
48
  /**
49
49
  * Used to ensure Avatar sub-components are used within a Avatar component,
50
50
  * and provide a useful error message if not.
51
51
  */
52
- export declare const EnsureIsInsideAvatarContext: import("react").Context<boolean>;
52
+ export declare const EnsureIsInsideAvatarContext: import('react').Context<boolean>;
53
53
  export declare const useEnsureIsInsideAvatar: () => void;
54
54
  export {};
@@ -1,4 +1,4 @@
1
1
  import { type MouseEventHandler } from 'react';
2
2
  import type { AppearanceType } from './types';
3
- export declare const getCustomElement: (isDisabled?: boolean, href?: string, onClick?: MouseEventHandler, ariaHasPopup?: boolean | 'dialog') => "a" | "button" | "span";
3
+ export declare const getCustomElement: (isDisabled?: boolean, href?: string, onClick?: MouseEventHandler, ariaHasPopup?: boolean | 'dialog') => 'a' | 'button' | 'span';
4
4
  export declare function getAppearanceForAppType(appType: string | null | undefined): AppearanceType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/avatar",
3
- "version": "25.8.0",
3
+ "version": "25.8.1",
4
4
  "description": "An avatar is a visual representation of a user or entity.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -35,7 +35,7 @@
35
35
  "@atlaskit/analytics-next": "^11.1.0",
36
36
  "@atlaskit/css": "^0.19.0",
37
37
  "@atlaskit/ds-lib": "^5.3.0",
38
- "@atlaskit/icon": "^31.0.0",
38
+ "@atlaskit/icon": "^32.0.0",
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
40
  "@atlaskit/primitives": "^18.0.0",
41
41
  "@atlaskit/theme": "^21.0.0",
@@ -52,7 +52,7 @@
52
52
  "@af/visual-regression": "workspace:^",
53
53
  "@atlaskit/button": "^23.9.0",
54
54
  "@atlaskit/code": "^17.4.0",
55
- "@atlaskit/docs": "^11.3.0",
55
+ "@atlaskit/docs": "^11.4.0",
56
56
  "@atlaskit/form": "^15.3.0",
57
57
  "@atlaskit/heading": "^5.3.0",
58
58
  "@atlaskit/link": "^3.3.0",
@@ -96,9 +96,6 @@
96
96
  "platform.design-system-team.avatar-item-font-size_830x6": {
97
97
  "type": "boolean"
98
98
  },
99
- "platform-visual-refresh-icons": {
100
- "type": "boolean"
101
- },
102
99
  "platform_dst_avatar_tile": {
103
100
  "type": "boolean"
104
101
  },