@zealicsolutions/web-ui 0.3.143 → 0.3.145

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,4 +22,4 @@ export declare type RichTextEditorProps = Partial<{
22
22
  moleculeId: string;
23
23
  isTrigger: boolean;
24
24
  }>;
25
- export declare const RichTextViewer: ({ value, color, textStyles, font, numberOfLines, extraTextProps, renderElementWrapperComponent, renderElementWrapperProps, htmlElementId, moleculeId, isTrigger, }: RichTextEditorProps) => false | JSX.Element | null;
25
+ export declare const RichTextViewer: ({ value, color, textStyles, font, numberOfLines, extraTextProps, renderElementWrapperComponent, renderElementWrapperProps, htmlElementId, moleculeId, isTrigger, }: RichTextEditorProps) => JSX.Element | null;
@@ -1,5 +1,6 @@
1
+ import { Descendant } from 'slate';
1
2
  import { CustomDescendant } from 'atoms/RichTextViewer/types';
2
- import { LinkAttributes } from 'containers';
3
+ import { LinkAttributes, StateConfigType } from 'containers';
3
4
  import type { Nullable } from 'typescript';
4
5
  export declare const validateAndOpenUrl: (url: string) => void;
5
6
  export declare const getParameterByName: (name: string, url: string) => string;
@@ -10,3 +11,4 @@ export declare const checkIsInternalLink: (link?: LinkAttributes) => boolean;
10
11
  export declare const addInternalParamsToCurrentLink: (internalLink?: Nullable<string>) => string;
11
12
  export declare const getHref: (link?: LinkAttributes) => string;
12
13
  export declare const parseDescendantContent: (string: string) => CustomDescendant[];
14
+ export declare const matchSlateAndStateObject: (slateValue: Descendant[], stateConfig: StateConfigType) => Descendant[] | undefined;
package/dist/index.d.ts CHANGED
@@ -900,7 +900,7 @@ declare type RichTextEditorProps = Partial<{
900
900
  moleculeId: string;
901
901
  isTrigger: boolean;
902
902
  }>;
903
- declare const RichTextViewer: ({ value, color, textStyles, font, numberOfLines, extraTextProps, renderElementWrapperComponent, renderElementWrapperProps, htmlElementId, moleculeId, isTrigger, }: RichTextEditorProps) => false | JSX.Element | null;
903
+ declare const RichTextViewer: ({ value, color, textStyles, font, numberOfLines, extraTextProps, renderElementWrapperComponent, renderElementWrapperProps, htmlElementId, moleculeId, isTrigger, }: RichTextEditorProps) => JSX.Element | null;
904
904
 
905
905
  declare type RadioButtonInternalConfigProps = Partial<{
906
906
  selectedRadioOptionBackgroundColor: ThemeColors$1 | string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.3.143",
4
- "testVersion": "0.3.143",
3
+ "version": "0.3.145",
4
+ "testVersion": "0.3.145",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"