@apolitical/component-library 5.5.6-ac.0 → 6.0.0-RR.0

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.
@@ -11,7 +11,7 @@ declare const _default: {
11
11
  };
12
12
  };
13
13
  location: {
14
- country: string;
14
+ en: string;
15
15
  };
16
16
  image: {
17
17
  thumbnail: string;
@@ -23,7 +23,7 @@ declare const _default: {
23
23
  jobTitle: string;
24
24
  organization: string;
25
25
  location: {
26
- country: string;
26
+ en: string;
27
27
  };
28
28
  image: {
29
29
  thumbnail: string;
@@ -36,7 +36,7 @@ declare const _default: {
36
36
  jobTitle: string;
37
37
  organization: string;
38
38
  location: {
39
- country: string;
39
+ en: string;
40
40
  };
41
41
  image: {
42
42
  thumbnail: string;
@@ -49,7 +49,7 @@ declare const _default: {
49
49
  jobTitle: string;
50
50
  organization: string;
51
51
  location: {
52
- country: string;
52
+ en: string;
53
53
  };
54
54
  badges?: undefined;
55
55
  image?: undefined;
@@ -7,7 +7,6 @@ export interface IUserDetailsLocation {
7
7
  id?: string;
8
8
  code?: string;
9
9
  en?: string;
10
- country?: string;
11
10
  }
12
11
  export interface IUserDetails {
13
12
  id?: string;
@@ -94,5 +94,5 @@ export interface IDiscussionPostProps {
94
94
  /** The ID of the parent, used for slugs */
95
95
  parentId: string;
96
96
  }
97
- declare const Post: ({ element, content, userHasPermissions, userHasOwnerPermissions, isLoading, originalAuthorId, forceHide, functions, links, className, gtmContext, children, isTruncated, styling, setFocus, isCommunity, badges, categories, basePath, parentId, }: IDiscussionPostProps) => import("react/jsx-runtime").JSX.Element;
97
+ declare const Post: ({ element, content, userHasPermissions, userHasOwnerPermissions, isLoading, originalAuthorId, forceHide, functions, links, className, gtmContext, children, isTruncated, styling: { showShareLinkButton, showMoreMenuButton }, setFocus, isCommunity, badges, categories, basePath, parentId, }: IDiscussionPostProps) => import("react/jsx-runtime").JSX.Element;
98
98
  export default Post;
@@ -10,7 +10,9 @@ export declare const getAuthorData: (author: IUser) => "deleted" | {
10
10
  organization: string;
11
11
  jobTitle: string;
12
12
  location: {
13
- country?: string | undefined;
13
+ code?: string | undefined;
14
+ en?: string | undefined;
15
+ id?: string | undefined;
14
16
  } | undefined;
15
17
  image: {
16
18
  thumbnail: string | undefined;
@@ -40,7 +40,7 @@ export namespace authors {
40
40
  }
41
41
  let jobTitle: string;
42
42
  namespace location {
43
- let country: string;
43
+ let en: string;
44
44
  }
45
45
  }
46
46
  namespace otherUser {
@@ -8,7 +8,7 @@ export declare const activitySectionMock: {
8
8
  name: string;
9
9
  organization: string;
10
10
  location: {
11
- country: string;
11
+ en: string;
12
12
  };
13
13
  badges: {
14
14
  communities: {
@@ -7,7 +7,9 @@ export interface IUser extends EnrichedUser {
7
7
  organization?: string;
8
8
  jobTitle?: string;
9
9
  location?: {
10
- country?: string;
10
+ code?: string;
11
+ en?: string;
12
+ id?: string;
11
13
  };
12
14
  thumbnail?: string;
13
15
  badges?: IBadgesObject;