@apolitical/component-library 8.3.21-ac.2 → 8.3.21-re.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.
@@ -20,7 +20,6 @@ export interface IParsedReplies {
20
20
  createdAt: string;
21
21
  parent: string;
22
22
  user: EnrichedUser<DefaultGenerics> | undefined;
23
- locale?: string;
24
23
  }
25
24
  export declare function parseReplies({ replies, user, replyType, }: {
26
25
  replies: IReaction[];
@@ -24,7 +24,6 @@ export declare const courseDiscussionRepliesFeedMock: {
24
24
  content: {
25
25
  original: string;
26
26
  };
27
- locale: string;
28
27
  };
29
28
  parent: string;
30
29
  latest_children: {
@@ -54,7 +53,6 @@ export declare const courseDiscussionRepliesFeedMock: {
54
53
  content: {
55
54
  original: string;
56
55
  };
57
- locale: string;
58
56
  };
59
57
  parent: string;
60
58
  latest_children: {
@@ -132,37 +130,6 @@ export declare const courseDiscussionRepliesFeedMock: {
132
130
  content: {
133
131
  original: string;
134
132
  };
135
- locale: string;
136
- };
137
- parent: string;
138
- latest_children: {
139
- reply?: undefined;
140
- };
141
- children_counts: {
142
- reply?: undefined;
143
- };
144
- own_children?: undefined;
145
- } | {
146
- created_at: string;
147
- updated_at: string;
148
- id: string;
149
- user_id: string;
150
- user: {
151
- created_at: string;
152
- updated_at: string;
153
- id: string;
154
- data: {
155
- name: string;
156
- badges?: undefined;
157
- };
158
- };
159
- kind: string;
160
- activity_id: string;
161
- data: {
162
- content: {
163
- original: string;
164
- };
165
- locale?: undefined;
166
133
  };
167
134
  parent: string;
168
135
  latest_children: {
@@ -33,13 +33,6 @@ interface Props {
33
33
  /** Whether to show the replies */
34
34
  showReplies: boolean;
35
35
  type?: DiscussionType;
36
- repliesFilters?: {
37
- isEnabled?: boolean;
38
- options?: {
39
- label: string;
40
- id: string;
41
- }[];
42
- };
43
36
  }
44
37
  declare const RepliesFeed: React.FC<Props>;
45
38
  export default RepliesFeed;
@@ -27,13 +27,6 @@ export interface IActivitySectionProps {
27
27
  /** The locale of the page */
28
28
  locale?: string;
29
29
  type?: DiscussionType;
30
- repliesFilters?: {
31
- isEnabled?: boolean;
32
- options?: {
33
- label: string;
34
- id: string;
35
- }[];
36
- };
37
30
  }
38
31
  declare const ActivitySection: React.FC<IActivitySectionProps>;
39
32
  export default ActivitySection;
@@ -151,11 +151,4 @@ export declare const argsForCourseDiscussion: {
151
151
  join: () => Promise<void>;
152
152
  leave: () => Promise<void>;
153
153
  };
154
- repliesFilters: {
155
- isEnabled: boolean;
156
- options: {
157
- id: string;
158
- label: string;
159
- }[];
160
- };
161
154
  };
package/helpers/intl.d.ts CHANGED
@@ -45,8 +45,6 @@ export declare const checkIntlPathExists: (path: string, language?: {
45
45
  carousel_pagination_ariaLive: string;
46
46
  carousel_pagination_ariaLive_slide: string;
47
47
  activitySection_notFoundError: string;
48
- activitySection_language_switcher_info: string;
49
- activitySection_language_switcher_all_languages_option: string;
50
48
  activitiesFeed_sorting_label: string;
51
49
  activitiesFeed_rankingMethod_recent: string;
52
50
  activitiesFeed_rankingMethod_popular: string;