@zealicsolutions/web-ui 0.1.94 → 0.1.95
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 +11 -11
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/RichTextViewer/types.d.ts +6 -1
- package/dist/cjs/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +1 -1
- package/dist/cjs/src/organisms/FeedContent/constants.d.ts +2 -2
- package/dist/cjs/src/organisms/FeedContent/styles.d.ts +10 -0
- package/dist/cjs/src/organisms/FeedContent/types.d.ts +3 -0
- package/dist/esm/index.js +8 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/RichTextViewer/types.d.ts +6 -1
- package/dist/esm/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +1 -1
- package/dist/esm/src/organisms/FeedContent/constants.d.ts +2 -2
- package/dist/esm/src/organisms/FeedContent/styles.d.ts +10 -0
- package/dist/esm/src/organisms/FeedContent/types.d.ts +3 -0
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
@@ -1,10 +1,11 @@
|
|
1
|
-
export declare type Format = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'numbered-list' | 'bulleted-list' | 'communicationLink' | 'tag';
|
1
|
+
export declare type Format = 'bold' | 'italic' | 'underline' | 'strikethrough' | 'numbered-list' | 'bulleted-list' | 'communicationLink' | 'tag' | 'variable';
|
2
2
|
export declare type TextFormat = Partial<{
|
3
3
|
bold: boolean;
|
4
4
|
italic: boolean;
|
5
5
|
underline: boolean;
|
6
6
|
strikethrough: boolean;
|
7
7
|
communicationLink: CommunicationLinkPayload;
|
8
|
+
variable: VariablePayload;
|
8
9
|
tag: {
|
9
10
|
id: string;
|
10
11
|
};
|
@@ -27,4 +28,8 @@ export declare type CommunicationLinkPayload = {
|
|
27
28
|
type: LinkType;
|
28
29
|
url: string;
|
29
30
|
};
|
31
|
+
export declare type VariablePayload = {
|
32
|
+
id: string;
|
33
|
+
text: string;
|
34
|
+
};
|
30
35
|
export declare type CustomDescendant = CustomText | CustomElement;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
+
import { UIFields } from 'fieldsConfiguration';
|
2
3
|
import { ConsentProps } from 'organisms';
|
3
4
|
import type { Callback } from 'typescript';
|
4
|
-
import { UIFields } from '../../fieldsConfiguration';
|
5
5
|
export declare const showAcceptToastMessage: () => void | undefined;
|
6
6
|
export declare type AcquisitionFormProps<T extends object> = {
|
7
7
|
fields: UIFields<T>;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const defaultTitle = "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"
|
2
|
-
export declare const defaultDescription = "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"
|
1
|
+
export declare const defaultTitle = "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"\"}]}]";
|
2
|
+
export declare const defaultDescription = "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"\"}]}]";
|
@@ -1,3 +1,5 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { FeedContentProps } from 'organisms/FeedContent/types';
|
1
3
|
export declare const ExpandedWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
2
4
|
isMobile?: boolean | undefined;
|
3
5
|
}, never>;
|
@@ -5,5 +7,13 @@ export declare const TitleWrapper: import("styled-components").StyledComponent<"
|
|
5
7
|
export declare const CollapsedWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
6
8
|
src?: string | undefined;
|
7
9
|
isMobile?: boolean | undefined;
|
10
|
+
isPreview?: boolean | undefined;
|
8
11
|
}, never>;
|
9
12
|
export declare const TruncatedText: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").BoxTypeMap<{}, "div">>, import("styled-components").DefaultTheme, import("atoms").TextWrapperProps, never>;
|
13
|
+
export declare const CloseButton: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
14
|
+
activeOpacity?: number | undefined;
|
15
|
+
withoutOpacityEffect?: boolean | undefined;
|
16
|
+
disabled?: boolean | undefined;
|
17
|
+
} & {
|
18
|
+
children?: import("react").ReactNode;
|
19
|
+
} & Pick<FeedContentProps, "withCloseIcon" | "feedContentTemplate">, never>;
|