@zealicsolutions/web-ui 0.1.28 → 0.1.29

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.
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { InputProps } from 'atoms';
3
- import { Control, ControllerProps } from 'react-hook-form/dist/types';
4
2
  import { CSSProperties } from 'styled-components';
3
+ import { Control, ControllerProps } from 'react-hook-form/dist/types';
4
+ import { InputProps } from 'atoms';
5
5
  import { FieldLabelsProps } from '../FieldLabels/FieldLabels';
6
6
  export declare type InputFieldProps = {
7
7
  name: string;
@@ -13,7 +13,5 @@ export declare type AcquisitionFormProps<T extends object> = {
13
13
  buttonText?: string;
14
14
  onSubmit: (values: T) => void;
15
15
  onLinkButtonClick?: Callback;
16
- showConsentLabel?: boolean;
17
- triggerFormInitially?: boolean;
18
16
  };
19
- export declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, triggerFormInitially, }: AcquisitionFormProps<T>) => JSX.Element;
17
+ export declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, 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, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, triggerFormInitially, }: import("./AcquisitionForm").AcquisitionFormProps<T>) => JSX.Element;
6
+ component: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, 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
@@ -14,8 +14,8 @@ import { ThemeColors as ThemeColors$2, SizesTypes as SizesTypes$1, FontSizesType
14
14
  import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip';
15
15
  import { WithGoogleMapProps } from 'react-google-maps/lib/withGoogleMap';
16
16
  import { WithScriptjsProps } from 'react-google-maps/lib/withScriptjs';
17
- import { InputProps as InputProps$1, RadioButtonsProps as RadioButtonsProps$1, ButtonProps as ButtonProps$1 } from 'atoms';
18
17
  import { Control, ControllerProps } from 'react-hook-form/dist/types';
18
+ import { InputProps as InputProps$1, RadioButtonsProps as RadioButtonsProps$1, ButtonProps as ButtonProps$1 } from 'atoms';
19
19
  import { SelectOption as SelectOption$1 } from 'atoms/Select/types';
20
20
  import { ControllerProps as ControllerProps$1, DeepPartial, FieldValues, FormState } from 'react-hook-form';
21
21
  import { SetPasswordFields, MaxRuleValidation, MinRuleValidation } from 'organisms/SetPasswordForm/types';
@@ -547,10 +547,8 @@ declare type AcquisitionFormProps<T extends object> = {
547
547
  buttonText?: string;
548
548
  onSubmit: (values: T) => void;
549
549
  onLinkButtonClick?: Callback;
550
- showConsentLabel?: boolean;
551
- triggerFormInitially?: boolean;
552
550
  };
553
- declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, triggerFormInitially, }: AcquisitionFormProps<T>) => JSX.Element;
551
+ declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, onLinkButtonClick, isSubmitDisabled, consents, isLoading, }: AcquisitionFormProps<T>) => JSX.Element;
554
552
 
555
553
  declare type VerificationCodeForm = {
556
554
  code: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"
@@ -1,5 +0,0 @@
1
- import { InputFieldTypes } from 'fieldsConfiguration';
2
- import { ValidationRule } from 'react-hook-form';
3
- export declare const phoneNumberValidation: RegExp;
4
- export declare const emailValidation: RegExp;
5
- export declare const getInputValidation: (type?: InputFieldTypes) => ValidationRule<RegExp> | undefined;
@@ -1,5 +0,0 @@
1
- import { InputFieldTypes } from 'fieldsConfiguration';
2
- import { ValidationRule } from 'react-hook-form';
3
- export declare const phoneNumberValidation: RegExp;
4
- export declare const emailValidation: RegExp;
5
- export declare const getInputValidation: (type?: InputFieldTypes) => ValidationRule<RegExp> | undefined;