@zealicsolutions/web-ui 0.4.21 → 0.4.22

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,12 +1,5 @@
1
- import { CustomDescendant } from 'atoms/RichTextViewer/types';
2
- import { LinkAttributes, Molecule } from 'containers';
1
+ import { Molecule } from 'containers';
3
2
  import { TabGroupProps } from 'molecules';
4
- import type { Nullable } from 'typescript';
5
- export declare const downloadFile: (url?: string, name?: string) => Promise<void>;
6
- export declare const navigateToExternalLink: (link?: LinkAttributes) => void;
7
- export declare const addInternalParamsToCurrentLink: (internalLink?: Nullable<string>) => string;
8
- export declare const getHref: (link?: LinkAttributes) => string;
9
- export declare const parseDescendantContent: (string: string) => CustomDescendant[];
10
3
  export declare const MoleculeItem: ({ type, config, attributes, tabsProps, form, id, formData, setFormData, isMobile, metadata, }: Molecule & {
11
4
  tabsProps?: Pick<TabGroupProps<string, string>, "tabs" | "activeTabKey" | "onTabChange"> | undefined;
12
5
  isMobile?: boolean | undefined;
@@ -1 +1,12 @@
1
+ import { CustomDescendant } from 'atoms/RichTextViewer/types';
2
+ import { LinkAttributes } from 'containers';
3
+ import type { Nullable } from 'typescript';
1
4
  export declare const validateAndOpenUrl: (url: string) => void;
5
+ export declare const getParameterByName: (name: string, url: string) => string;
6
+ export declare const updateSearchParams: (currentParams: URLSearchParams, internalLink?: Nullable<string>) => URLSearchParams;
7
+ export declare const downloadFile: (url?: string, name?: string) => Promise<void>;
8
+ export declare const navigateToExternalLink: (externalLink?: Nullable<string>) => void;
9
+ export declare const checkIsInternalLink: (link?: LinkAttributes) => boolean;
10
+ export declare const addInternalParamsToCurrentLink: (internalLink?: Nullable<string>) => string;
11
+ export declare const getHref: (link?: LinkAttributes) => string;
12
+ export declare const parseDescendantContent: (string: string) => CustomDescendant[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.4.21",
3
+ "version": "0.4.22",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"