@zealicsolutions/web-ui 0.1.93 → 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 +5 -5
- 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>;
|
package/dist/index.d.ts
CHANGED
@@ -22,6 +22,7 @@ import { ControllerProps as ControllerProps$1, DeepPartial, FieldValues, FormSta
|
|
22
22
|
import { ProcessTrackerStatus as ProcessTrackerStatus$1, FilteredFeedContentType as FilteredFeedContentType$1, ConsentProps as ConsentProps$1, ProcessTrackerProps as ProcessTrackerProps$1 } from 'organisms';
|
23
23
|
import { FieldSectionProps as FieldSectionProps$1, MenuItemsProps as MenuItemsProps$1, InputFieldProps as InputFieldProps$1, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, TabGroupProps as TabGroupProps$1, AvatarDropdownProps as AvatarDropdownProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1 } from 'molecules';
|
24
24
|
import { SetPasswordFields, MaxRuleValidation, MinRuleValidation } from 'organisms/SetPasswordForm/types';
|
25
|
+
import { UIFields as UIFields$2 } from 'fieldsConfiguration';
|
25
26
|
import { ConsentProps as ConsentProps$2 } from 'organisms/Consent/Consent';
|
26
27
|
import { FooterAProps } from 'organisms/Footer/FooterA';
|
27
28
|
import { FooterBProps } from 'organisms/Footer/FooterB';
|
@@ -651,7 +652,7 @@ declare const SetPasswordForm: ({ logoUrl, fields, validations, onBack, onSubmit
|
|
651
652
|
|
652
653
|
declare const showAcceptToastMessage: () => void | undefined;
|
653
654
|
declare type AcquisitionFormProps<T extends object> = {
|
654
|
-
fields: UIFields<T>;
|
655
|
+
fields: UIFields$2<T>;
|
655
656
|
consents: ConsentProps$1[];
|
656
657
|
logoUrl: string;
|
657
658
|
isLoading?: boolean;
|
@@ -721,6 +722,9 @@ declare type FeedContentProps = {
|
|
721
722
|
disabled?: boolean;
|
722
723
|
onClick?: () => void;
|
723
724
|
};
|
725
|
+
withCloseIcon?: {
|
726
|
+
onClose: Callback;
|
727
|
+
};
|
724
728
|
isMobile?: boolean;
|
725
729
|
isExpanded?: boolean;
|
726
730
|
isPreview?: boolean;
|