@zealicsolutions/web-ui 0.1.26 → 0.1.27

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.
@@ -4,7 +4,7 @@ import type { Callback } from 'typescript';
4
4
  import { UIFields } from '../../fieldsConfiguration';
5
5
  export declare type AcquisitionFormProps<T extends object> = {
6
6
  fields: UIFields<T>;
7
- consents?: ConsentProps[];
7
+ consents: ConsentProps[];
8
8
  logoUrl: string;
9
9
  isLoading?: boolean;
10
10
  isSubmitDisabled?: boolean;
@@ -13,5 +13,6 @@ export declare type AcquisitionFormProps<T extends object> = {
13
13
  buttonText?: string;
14
14
  onSubmit: (values: T) => void;
15
15
  onLinkButtonClick?: Callback;
16
+ showConsentLabel?: boolean;
16
17
  };
17
- export declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, onLinkButtonClick, isSubmitDisabled, consents, isLoading, }: AcquisitionFormProps<T>) => JSX.Element;
18
+ export declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, }: 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, onLinkButtonClick, isSubmitDisabled, consents, isLoading, }: import("./AcquisitionForm").AcquisitionFormProps<T>) => JSX.Element;
6
+ component: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, }: import("./AcquisitionForm").AcquisitionFormProps<T>) => JSX.Element;
7
7
  };
8
8
  export default _default;
9
9
  export declare const AcquisitionForm: ComponentStory<typeof AcquisitionFormComponent>;
package/dist/index.d.ts CHANGED
@@ -538,7 +538,7 @@ declare const SetPasswordForm: ({ logoUrl, fields, validations, onBack, onSubmit
538
538
 
539
539
  declare type AcquisitionFormProps<T extends object> = {
540
540
  fields: UIFields<T>;
541
- consents?: ConsentProps$1[];
541
+ consents: ConsentProps$1[];
542
542
  logoUrl: string;
543
543
  isLoading?: boolean;
544
544
  isSubmitDisabled?: boolean;
@@ -547,8 +547,9 @@ declare type AcquisitionFormProps<T extends object> = {
547
547
  buttonText?: string;
548
548
  onSubmit: (values: T) => void;
549
549
  onLinkButtonClick?: Callback;
550
+ showConsentLabel?: boolean;
550
551
  };
551
- declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, onLinkButtonClick, isSubmitDisabled, consents, isLoading, }: AcquisitionFormProps<T>) => JSX.Element;
552
+ declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, }: AcquisitionFormProps<T>) => JSX.Element;
552
553
 
553
554
  declare type VerificationCodeForm = {
554
555
  code: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"