@zealicsolutions/web-ui 0.1.37 → 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.
Files changed (28) hide show
  1. package/dist/cjs/index.js +3 -3
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/src/atoms/RichTextViewer/types.d.ts +6 -1
  4. package/dist/cjs/src/atoms/Select/Select.d.ts +1 -1
  5. package/dist/cjs/src/atoms/Select/Select.stories.d.ts +1 -1
  6. package/dist/cjs/src/atoms/Select/types.d.ts +1 -0
  7. package/dist/cjs/src/molecules/FieldLabels/FieldLabels.d.ts +2 -1
  8. package/dist/cjs/src/molecules/FieldLabels/FieldLabels.stories.d.ts +1 -1
  9. package/dist/cjs/src/molecules/FieldMapper/FieldMapper.d.ts +3 -1
  10. package/dist/cjs/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +3 -1
  11. package/dist/cjs/src/organisms/AcquisitionForm/AcquisitionForm.stories.d.ts +1 -1
  12. package/dist/cjs/src/organisms/LoginForm/LoginForm.d.ts +2 -1
  13. package/dist/cjs/src/organisms/LoginForm/LoginForm.stories.d.ts +1 -1
  14. package/dist/esm/index.js +3 -3
  15. package/dist/esm/index.js.map +1 -1
  16. package/dist/esm/src/atoms/RichTextViewer/types.d.ts +6 -1
  17. package/dist/esm/src/atoms/Select/Select.d.ts +1 -1
  18. package/dist/esm/src/atoms/Select/Select.stories.d.ts +1 -1
  19. package/dist/esm/src/atoms/Select/types.d.ts +1 -0
  20. package/dist/esm/src/molecules/FieldLabels/FieldLabels.d.ts +2 -1
  21. package/dist/esm/src/molecules/FieldLabels/FieldLabels.stories.d.ts +1 -1
  22. package/dist/esm/src/molecules/FieldMapper/FieldMapper.d.ts +3 -1
  23. package/dist/esm/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +3 -1
  24. package/dist/esm/src/organisms/AcquisitionForm/AcquisitionForm.stories.d.ts +1 -1
  25. package/dist/esm/src/organisms/LoginForm/LoginForm.d.ts +2 -1
  26. package/dist/esm/src/organisms/LoginForm/LoginForm.stories.d.ts +1 -1
  27. package/dist/index.d.ts +12 -5
  28. 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>;
@@ -4,6 +4,7 @@ export declare type SelectOption = {
4
4
  };
5
5
  export declare type SelectProps = {
6
6
  value?: string;
7
+ optionsPresentation?: boolean;
7
8
  onChange?: (value: string) => void;
8
9
  placeholder?: string;
9
10
  disabled?: boolean;
@@ -4,6 +4,7 @@ export declare type FieldLabelsProps = {
4
4
  label: string;
5
5
  tooltipText?: string;
6
6
  isError?: boolean;
7
+ isTooltipVisible?: boolean;
7
8
  ruleLabel?: FieldRuleLabelTypes;
8
9
  };
9
- export declare const FieldLabels: ({ label, isError, ruleLabel, tooltipText }: FieldLabelsProps) => JSX.Element;
10
+ export declare const FieldLabels: ({ label, isTooltipVisible, isError, ruleLabel, tooltipText, }: FieldLabelsProps) => JSX.Element;
@@ -3,7 +3,7 @@ import type { ComponentStory } from '@storybook/react';
3
3
  import { FieldLabels as FieldLabelsComponent } from './FieldLabels';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: ({ label, isError, ruleLabel, tooltipText }: import("./FieldLabels").FieldLabelsProps) => JSX.Element;
6
+ component: ({ label, isTooltipVisible, isError, ruleLabel, tooltipText, }: import("./FieldLabels").FieldLabelsProps) => JSX.Element;
7
7
  };
8
8
  export default _default;
9
9
  export declare const FieldLabels: ComponentStory<typeof FieldLabelsComponent>;
@@ -6,5 +6,7 @@ export declare type FieldMapperProps<T extends object> = {
6
6
  isEditMode?: boolean;
7
7
  control?: Control<T>;
8
8
  spacer?: number;
9
+ isTooltipVisible?: boolean;
10
+ optionsPresentation?: boolean;
9
11
  };
10
- export declare const FieldMapper: <T extends object>({ field, isEditMode, spacer, control, }: FieldMapperProps<T>) => JSX.Element | null;
12
+ export declare const FieldMapper: <T extends object>({ field, isEditMode, spacer, control, isTooltipVisible, optionsPresentation, }: FieldMapperProps<T>) => JSX.Element | null;
@@ -15,5 +15,7 @@ export declare type AcquisitionFormProps<T extends object> = {
15
15
  onLinkButtonClick?: Callback;
16
16
  showConsentLabel?: boolean;
17
17
  triggerFormInitially?: boolean;
18
+ isTooltipVisible?: boolean;
19
+ optionsPresentation?: boolean;
18
20
  };
19
- export declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, triggerFormInitially, }: 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, }: 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>;
@@ -14,5 +14,6 @@ export declare type LoginFormProps = {
14
14
  onSubmit: (values: LoginFields) => void;
15
15
  onSignUpButtonClick?: Callback;
16
16
  onForgotPasswordButtonClick?: Callback;
17
+ isTooltipVisible?: boolean;
17
18
  };
18
- export declare const LoginForm: ({ logoUrl, fields, onSubmit, onSignUpButtonClick, isLoading, twoFactorAuthConfig, onForgotPasswordButtonClick, }: LoginFormProps) => JSX.Element;
19
+ export declare const LoginForm: ({ logoUrl, fields, isTooltipVisible, onSubmit, onSignUpButtonClick, isLoading, twoFactorAuthConfig, onForgotPasswordButtonClick, }: LoginFormProps) => JSX.Element;
@@ -3,7 +3,7 @@ import { ComponentStory } from '@storybook/react';
3
3
  import { LoginForm as LoginFormComponent } from './LoginForm';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: ({ logoUrl, fields, onSubmit, onSignUpButtonClick, isLoading, twoFactorAuthConfig, onForgotPasswordButtonClick, }: import("./LoginForm").LoginFormProps) => JSX.Element;
6
+ component: ({ logoUrl, fields, isTooltipVisible, onSubmit, onSignUpButtonClick, isLoading, twoFactorAuthConfig, onForgotPasswordButtonClick, }: import("./LoginForm").LoginFormProps) => JSX.Element;
7
7
  };
8
8
  export default _default;
9
9
  export declare const LoginForm: ComponentStory<typeof LoginFormComponent>;