@apolitical/component-library 4.7.5-beta.1 → 4.7.5-test.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.
@@ -4,6 +4,5 @@ export * from './discussion-form-card';
4
4
  export * from './form';
5
5
  export * from './likes';
6
6
  export * from './post';
7
- export * from './profile-modal-launcher';
8
7
  export * from './responses-heading';
9
8
  export * from './thread';
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { type IProfileFormProps } from '../../../form';
3
2
  import type { IMentionsFns } from '../../../discussion/discussion.d';
4
3
  import type { IQueryFns } from './cache';
5
4
  interface Props {
@@ -20,8 +19,6 @@ interface Props {
20
19
  /** Function to leave the community */
21
20
  leave: () => Promise<void>;
22
21
  };
23
- /** Props to pass into the profile form */
24
- profile: IProfileFormProps;
25
22
  }
26
23
  declare const ActivitiesFeed: React.FC<Props>;
27
24
  export default ActivitiesFeed;
@@ -1,7 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { type IProfileFormProps } from '../../../form';
3
2
  import type { IMentionsFns } from './../../discussion';
4
- import { type IQueryFns } from './cache';
3
+ import type { IQueryFns } from './cache';
5
4
  interface Props {
6
5
  /** The base path, used for slugs */
7
6
  basePath: string;
@@ -22,8 +21,6 @@ interface Props {
22
21
  /** Function to leave the community */
23
22
  leave: () => Promise<void>;
24
23
  };
25
- /** Props to pass into the profile form */
26
- profile: IProfileFormProps;
27
24
  }
28
25
  declare const RepliesFeed: React.FC<Props>;
29
26
  export default RepliesFeed;
@@ -1,8 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { type IProfileFormProps } from '../../../form';
3
- import { type IRepliesFeedQueryFns } from '../../../discussion/feeds';
2
+ import type { IRepliesFeedQueryFns } from '../../../discussion/feeds';
4
3
  import type { IMentionsFns } from './../../discussion.d';
5
- import { type IQueryFns } from './cache';
4
+ import type { IQueryFns } from './cache';
6
5
  interface IActivitySectionQueryFns extends IQueryFns {
7
6
  remove: () => Promise<void>;
8
7
  }
@@ -18,7 +17,6 @@ interface Props {
18
17
  join: () => Promise<void>;
19
18
  leave: () => Promise<void>;
20
19
  };
21
- profile: IProfileFormProps;
22
20
  }
23
21
  declare const ActivitySection: React.FC<Props>;
24
22
  export default ActivitySection;
@@ -1,5 +1,4 @@
1
1
  export declare enum CustomEvents {
2
- DISCUSSION_FORM_SUBMITTED = "discussionFormSubmitted",
3
2
  DISCUSSION_POST_CLICKED = "discussionPostClicked",
4
3
  MEMBER_CLICKED = "memberClicked"
5
4
  }
@@ -12,7 +12,7 @@ export interface ILabel {
12
12
  /** The ID of the input to be labelled */
13
13
  htmlFor?: string;
14
14
  }
15
- export type FormActionTypes = 'addError' | 'formSubmitted' | 'formSubmittedAndReset' | 'removeError' | 'submitForm' | 'updateValue';
15
+ export type FormActionTypes = 'addError' | 'formSubmitted' | 'formSubmittedAndReset' | 'removeError' | 'submitForm' | 'toggleSubmitting' | 'updateValue';
16
16
  export type FieldValidationConditions = boolean | 'no-numbers' | 'required' | 'valid-email' | 'valid-url' | 'custom-validation' | ((arg: IFormValues) => boolean);
17
17
  export interface IFieldOption {
18
18
  /** The ID of the option */
@@ -9,7 +9,6 @@ export * from './intl';
9
9
  export * from './numbers';
10
10
  export { default as passPropsToChildren } from './pass-props-to-children';
11
11
  export * from './prerender';
12
- export * from './profile-is-complete';
13
12
  export { default as replaceMentionData } from './replace-mention-data';
14
13
  export * from './urls';
15
14
  export * from './validation';
package/helpers/intl.d.ts CHANGED
@@ -166,9 +166,6 @@ export declare const checkIntlPathExists: (path: string, language?: {
166
166
  discussion_thread_show: string;
167
167
  discussion_thread_hide: string;
168
168
  discussion_thread_loadMore: string;
169
- profileModalLauncher_successMessage: string;
170
- profileModalLauncher_title: string;
171
- profileModalLauncher_text: string;
172
169
  contactFooter_title: string;
173
170
  contactFooter_text: string;
174
171
  contactFooter_phone: string;