@apolitical/component-library 6.6.23-ac.3 → 6.6.23-beta.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.
@@ -1,2 +1,2 @@
1
- export type { IDiscussionForm, IDiscussionFormMeta } from './form.type';
1
+ export type { IDiscussionForm, IDiscussionFormMeta, } from './form.type';
2
2
  export { default as DiscussionForm } from './form';
@@ -4,5 +4,5 @@ interface ILikeVars {
4
4
  activityId: string;
5
5
  reactionId?: string;
6
6
  }
7
- export declare function useLikeActivity({ mutationFn, mutationHandlers: { mutate: mutateWrapper, error: onError }, queryClient, queryKey, }: IMutationContext<ICacheSubitem, Error, ILikeVars, ICache>): import("@tanstack/react-query/build/legacy/types").UseMutateFunction<import('../../../../../../discussion/shared').IReaction, Error, ILikeVars, import('../../../../../../discussion/shared').IActivity>;
7
+ export declare function useLikeActivity({ mutationFn, mutationHandlers: { mutate: mutateWrapper, error: onError, }, queryClient, queryKey, }: IMutationContext<ICacheSubitem, Error, ILikeVars, ICache>): import("@tanstack/react-query/build/legacy/types").UseMutateFunction<import('../../../../../../discussion/shared').IReaction, Error, ILikeVars, import('../../../../../../discussion/shared').IActivity>;
8
8
  export {};
@@ -4,5 +4,5 @@ interface IUnlikeVars {
4
4
  activityId: string;
5
5
  reactionId?: string;
6
6
  }
7
- export declare function useUnlikeActivity({ mutationFn, mutationHandlers: { mutate: mutateWrapper, error: onError }, user, }: IMutationContext<unknown, Error, IUnlikeVars, ICache>): import("@tanstack/react-query/build/legacy/types").UseMutateFunction<unknown, Error, IUnlikeVars, import('../../../../../../discussion/shared').IActivity>;
7
+ export declare function useUnlikeActivity({ mutationFn, mutationHandlers: { mutate: mutateWrapper, error: onError, }, user, }: IMutationContext<unknown, Error, IUnlikeVars, ICache>): import("@tanstack/react-query/build/legacy/types").UseMutateFunction<unknown, Error, IUnlikeVars, import('../../../../../../discussion/shared').IActivity>;
8
8
  export {};
@@ -1,6 +1,5 @@
1
1
  export { default as basicReducer } from './basic-reducer';
2
2
  export * from './breakpoints';
3
- export * from './calendar-details';
4
3
  export * from './cases';
5
4
  export * from './inline-styling';
6
5
  export * from './dates';
package/helpers/intl.d.ts CHANGED
@@ -542,7 +542,7 @@ export declare const checkIntlPathExists: (path: string, language?: {
542
542
  markdown_iframe_video: string;
543
543
  markdown_iframe_padlet: string;
544
544
  markdown_iframe_poll: string;
545
- general_event_invite_message: string;
545
+ markdown_iframe_survey: string;
546
546
  }) => boolean;
547
547
  export declare const getIntlPath: (callback: (args1: {
548
548
  id: string;
package/index.d.ts CHANGED
@@ -22,4 +22,4 @@ export * from './text';
22
22
  export * from './user';
23
23
  export * from './helpers/cases';
24
24
  export * from './helpers/prerender';
25
- export { basicReducer, checkIntlPathExists, generateCssIcon, getCalendarDetails, getLongDate, getShortDate, passwordValidator, } from './helpers';
25
+ export { basicReducer, checkIntlPathExists, generateCssIcon, getLongDate, getShortDate, passwordValidator, } from './helpers';