@zealicsolutions/web-ui 0.4.85 → 0.4.87
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/helpers/utils.d.ts +2 -2
- package/dist/cjs/src/molecules/ZealUIModal/ZealUIModal.d.ts +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/helpers/utils.d.ts +2 -2
- package/dist/esm/src/molecules/ZealUIModal/ZealUIModal.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +2 -2
@@ -4,11 +4,11 @@ import { LinkAttributes, StateConfigType } from 'containers';
|
|
4
4
|
import type { Nullable } from 'typescript';
|
5
5
|
export declare const validateAndOpenUrl: (url: string) => void;
|
6
6
|
export declare const getParameterByName: (name: string, url: string) => string;
|
7
|
-
export declare const updateSearchParams: (
|
7
|
+
export declare const updateSearchParams: (currentParams: URLSearchParams, internalLink?: Nullable<string>, isPreview?: boolean) => URLSearchParams;
|
8
8
|
export declare const downloadFile: (url?: string, name?: string) => Promise<void>;
|
9
9
|
export declare const navigateToExternalLink: (externalLink?: Nullable<string>) => void;
|
10
10
|
export declare const checkIsInternalLink: (link?: LinkAttributes) => boolean;
|
11
|
-
export declare const addInternalParamsToCurrentLink: (internalLink?: Nullable<string
|
11
|
+
export declare const addInternalParamsToCurrentLink: (internalLink?: Nullable<string>, isPreview?: boolean) => string;
|
12
12
|
export declare const getHref: (link?: LinkAttributes) => string | undefined;
|
13
13
|
export declare const parseDescendantContent: (string: string) => CustomDescendant[];
|
14
14
|
export declare const matchSlateAndStateObject: (slateValue: Descendant[], stateConfig: StateConfigType) => Descendant[];
|
@@ -9,7 +9,7 @@ export declare type ZealUIModalProps = PropsWithChildren<Pick<MUIModalProps, 'op
|
|
9
9
|
modalStyles?: CSSProperties;
|
10
10
|
size?: string;
|
11
11
|
popupId: string;
|
12
|
-
onClose: (
|
12
|
+
onClose: () => void;
|
13
13
|
withCloseIcon?: boolean;
|
14
14
|
};
|
15
15
|
export declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, size, popupId, withCloseIcon, ...rest }: ZealUIModalProps) => JSX.Element;
|