@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.
- package/discussion/components/form/index.d.ts +1 -1
- package/discussion/sections/activity-section/cache/hooks/like/like.hook.d.ts +1 -1
- package/discussion/sections/activity-section/cache/hooks/unlike/unlike.hook.d.ts +1 -1
- package/helpers/index.d.ts +0 -1
- package/helpers/intl.d.ts +1 -1
- package/index.d.ts +1 -1
- package/index.js +38 -43
- package/index.mjs +5842 -5952
- package/modals/components/modal/index.d.ts +1 -1
- package/modals/components/modal/modal.d.ts +2 -5
- package/package.json +1 -1
- package/style.css +1 -1
- package/styles/variables/colors/theme/_modals.scss +0 -1
- package/helpers/calendar-details.d.ts +0 -19
|
@@ -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 {};
|
package/helpers/index.d.ts
CHANGED
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
|
-
|
|
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,
|
|
25
|
+
export { basicReducer, checkIntlPathExists, generateCssIcon, getLongDate, getShortDate, passwordValidator, } from './helpers';
|