@zealicsolutions/web-ui 0.1.4 → 0.1.6

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.
@@ -11,6 +11,7 @@ export declare type UIField<T = string> = (UIInputField | UISelectField | UIChec
11
11
  optional?: boolean;
12
12
  tooltip?: string;
13
13
  rules?: ControllerProps['rules'];
14
+ order?: number;
14
15
  };
15
16
  export declare type UIInputField = {
16
17
  type: 'input';
@@ -5,7 +5,10 @@ export declare type AcquisitionFormProps<T extends object> = {
5
5
  fields: UIFields<T>;
6
6
  logoUrl: string;
7
7
  isLoading?: boolean;
8
+ title: string;
9
+ description?: string;
10
+ buttonText?: string;
8
11
  onSubmit: (values: T) => void;
9
12
  onLinkButtonClick?: Callback;
10
13
  };
11
- export declare const AcquisitionForm: <T extends object>({ logoUrl, fields, onSubmit, onLinkButtonClick, isLoading, }: AcquisitionFormProps<T>) => JSX.Element;
14
+ export declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, onLinkButtonClick, 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, fields, onSubmit, onLinkButtonClick, isLoading, }: import("./AcquisitionForm").AcquisitionFormProps<T>) => JSX.Element;
6
+ component: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, onLinkButtonClick, 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
@@ -286,6 +286,7 @@ declare type UIField<T = string> = (UIInputField | UISelectField | UICheckboxFie
286
286
  optional?: boolean;
287
287
  tooltip?: string;
288
288
  rules?: ControllerProps$1['rules'];
289
+ order?: number;
289
290
  };
290
291
  declare type UIInputField = {
291
292
  type: 'input';
@@ -460,10 +461,13 @@ declare type AcquisitionFormProps<T extends object> = {
460
461
  fields: UIFields<T>;
461
462
  logoUrl: string;
462
463
  isLoading?: boolean;
464
+ title: string;
465
+ description?: string;
466
+ buttonText?: string;
463
467
  onSubmit: (values: T) => void;
464
468
  onLinkButtonClick?: Callback;
465
469
  };
466
- declare const AcquisitionForm: <T extends object>({ logoUrl, fields, onSubmit, onLinkButtonClick, isLoading, }: AcquisitionFormProps<T>) => JSX.Element;
470
+ declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, onSubmit, onLinkButtonClick, isLoading, }: AcquisitionFormProps<T>) => JSX.Element;
467
471
 
468
472
  declare type LoginFields = {
469
473
  email: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"