@zealicsolutions/web-ui 0.1.38 → 0.1.39
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 +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/RichTextViewer/types.d.ts +6 -1
- package/dist/cjs/src/atoms/Select/Select.d.ts +1 -1
- package/dist/cjs/src/atoms/Select/Select.stories.d.ts +1 -1
- package/dist/cjs/src/atoms/Select/types.d.ts +1 -0
- package/dist/cjs/src/molecules/FieldMapper/FieldMapper.d.ts +2 -1
- package/dist/cjs/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +2 -1
- package/dist/cjs/src/organisms/AcquisitionForm/AcquisitionForm.stories.d.ts +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/RichTextViewer/types.d.ts +6 -1
- package/dist/esm/src/atoms/Select/Select.d.ts +1 -1
- package/dist/esm/src/atoms/Select/Select.stories.d.ts +1 -1
- package/dist/esm/src/atoms/Select/types.d.ts +1 -0
- package/dist/esm/src/molecules/FieldMapper/FieldMapper.d.ts +2 -1
- package/dist/esm/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +2 -1
- package/dist/esm/src/organisms/AcquisitionForm/AcquisitionForm.stories.d.ts +1 -1
- package/dist/index.d.ts +6 -3
- 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' | 'button' | 'tag';
|
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
|
+
button: ButtonPayload;
|
8
9
|
tag: {
|
9
10
|
id: string;
|
10
11
|
};
|
@@ -27,3 +28,7 @@ export declare type CommunicationLinkPayload = {
|
|
27
28
|
type: LinkType;
|
28
29
|
url: string;
|
29
30
|
};
|
31
|
+
export declare type ButtonPayload = {
|
32
|
+
buttonLink: string;
|
33
|
+
elementId?: string;
|
34
|
+
};
|
@@ -1,3 +1,3 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import type { SelectProps } from './types';
|
3
|
-
export declare const Select: ({ onChange, value, placeholder, options, disabled, isError, }: SelectProps) => JSX.Element;
|
3
|
+
export declare const Select: ({ onChange, value, placeholder, options, disabled, optionsPresentation, isError, }: SelectProps) => JSX.Element;
|
@@ -3,7 +3,7 @@ import type { ComponentStory } from '@storybook/react';
|
|
3
3
|
import { Select as SelectComponent } from './Select';
|
4
4
|
declare const _default: {
|
5
5
|
title: string;
|
6
|
-
component: ({ onChange, value, placeholder, options, disabled, isError, }: import("./types").SelectProps) => JSX.Element;
|
6
|
+
component: ({ onChange, value, placeholder, options, disabled, optionsPresentation, isError, }: import("./types").SelectProps) => JSX.Element;
|
7
7
|
};
|
8
8
|
export default _default;
|
9
9
|
export declare const Select: ComponentStory<typeof SelectComponent>;
|
@@ -7,5 +7,6 @@ export declare type FieldMapperProps<T extends object> = {
|
|
7
7
|
control?: Control<T>;
|
8
8
|
spacer?: number;
|
9
9
|
isTooltipVisible?: boolean;
|
10
|
+
optionsPresentation?: boolean;
|
10
11
|
};
|
11
|
-
export declare const FieldMapper: <T extends object>({ field, isEditMode, spacer, control, isTooltipVisible, }: FieldMapperProps<T>) => JSX.Element | null;
|
12
|
+
export declare const FieldMapper: <T extends object>({ field, isEditMode, spacer, control, isTooltipVisible, optionsPresentation, }: FieldMapperProps<T>) => JSX.Element | null;
|
@@ -16,5 +16,6 @@ export declare type AcquisitionFormProps<T extends object> = {
|
|
16
16
|
showConsentLabel?: boolean;
|
17
17
|
triggerFormInitially?: boolean;
|
18
18
|
isTooltipVisible?: boolean;
|
19
|
+
optionsPresentation?: boolean;
|
19
20
|
};
|
20
|
-
export declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, triggerFormInitially, isTooltipVisible, }: AcquisitionFormProps<T>) => JSX.Element;
|
21
|
+
export declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, optionsPresentation, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, triggerFormInitially, isTooltipVisible, }: AcquisitionFormProps<T>) => JSX.Element;
|
@@ -3,7 +3,7 @@ import { ComponentStory } from '@storybook/react';
|
|
3
3
|
import { AcquisitionForm as AcquisitionFormComponent } from './AcquisitionForm';
|
4
4
|
declare const _default: {
|
5
5
|
title: string;
|
6
|
-
component: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, triggerFormInitially, isTooltipVisible, }: import("./AcquisitionForm").AcquisitionFormProps<T>) => JSX.Element;
|
6
|
+
component: <T extends object>({ logoUrl, title, description, buttonText, fields, optionsPresentation, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, triggerFormInitially, isTooltipVisible, }: import("./AcquisitionForm").AcquisitionFormProps<T>) => JSX.Element;
|
7
7
|
};
|
8
8
|
export default _default;
|
9
9
|
export declare const AcquisitionForm: ComponentStory<typeof AcquisitionFormComponent>;
|