@zealicsolutions/web-ui 0.2.72 → 0.2.74
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/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/containers/MoleculeItem.d.ts +2 -0
- package/dist/cjs/src/containers/types/moleculeTypes.d.ts +3 -2
- package/dist/cjs/src/molecules/index.d.ts +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/containers/MoleculeItem.d.ts +2 -0
- package/dist/esm/src/containers/types/moleculeTypes.d.ts +3 -2
- package/dist/esm/src/molecules/index.d.ts +1 -0
- package/dist/index.d.ts +18 -3
- package/package.json +1 -1
@@ -1,3 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { Molecule } from 'containers/types/moleculeTypes';
|
3
|
+
export declare const getFullLink: (url: string) => string;
|
4
|
+
export declare const navigateToPage: (url: string) => void;
|
3
5
|
export declare const MoleculeItem: ({ type, config, attributes }: Molecule) => JSX.Element;
|
@@ -10,6 +10,7 @@ export declare type ImageAttributes = {
|
|
10
10
|
};
|
11
11
|
export interface TextAttributes {
|
12
12
|
attributeType: 'text';
|
13
|
+
isRichText: boolean;
|
13
14
|
text: string;
|
14
15
|
}
|
15
16
|
export interface VideoAttributes {
|
@@ -43,7 +44,7 @@ export interface ImageMolecule extends BaseMolecule {
|
|
43
44
|
type: 'image';
|
44
45
|
attributes: {
|
45
46
|
image: ImageAttributes;
|
46
|
-
altText: TextAttributes
|
47
|
+
altText: Omit<TextAttributes, 'isRichText'>;
|
47
48
|
link: LinkAttributes;
|
48
49
|
};
|
49
50
|
config: {
|
@@ -82,7 +83,7 @@ export interface VideoMolecule extends BaseMolecule {
|
|
82
83
|
type: 'video';
|
83
84
|
attributes: {
|
84
85
|
video: VideoAttributes;
|
85
|
-
altText: TextAttributes
|
86
|
+
altText: Omit<TextAttributes, 'isRichText'>;
|
86
87
|
autoPlayVideo: BooleanAttributes;
|
87
88
|
enableCoverImage: BooleanAttributes;
|
88
89
|
coverImage: ImageAttributes;
|