@zealicsolutions/web-ui 0.3.100 → 0.3.101

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.
@@ -77,6 +77,7 @@ export interface DataConnectionAttributes {
77
77
  subtype?: string;
78
78
  fieldName: string;
79
79
  code: string;
80
+ defaultValue?: string;
80
81
  };
81
82
  }
82
83
  export interface ConditionConfigAttributes {
@@ -11,6 +11,7 @@ export declare type InputFieldProps = Partial<{
11
11
  required: boolean;
12
12
  optional: boolean;
13
13
  defaultValue: string;
14
+ displayOnlyInputDefaultValue?: string;
14
15
  inputProps: InputProps;
15
16
  styles: StylesType;
16
17
  labelsProps: FieldLabelsProps;
@@ -19,4 +20,4 @@ export declare type InputFieldProps = Partial<{
19
20
  formData: AnyObject;
20
21
  htmlElementId: string;
21
22
  }>;
22
- export declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, }: InputFieldProps) => JSX.Element | null;
23
+ export declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, displayOnlyInputDefaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, }: InputFieldProps) => JSX.Element | null;
@@ -3,7 +3,7 @@ import { StoryFn } from '@storybook/react';
3
3
  import { InputFieldProps } from './InputField';
4
4
  declare const _default: {
5
5
  title: string;
6
- component: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, }: Partial<{
6
+ component: ({ control, name, inputProps, styles, labelsProps, defaultValue, displayOnlyInputDefaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, }: Partial<{
7
7
  name: string;
8
8
  control: import("react-hook-form").Control<any, any>;
9
9
  rules: Omit<Partial<{
@@ -27,6 +27,7 @@ declare const _default: {
27
27
  required: boolean;
28
28
  optional: boolean;
29
29
  defaultValue: string;
30
+ displayOnlyInputDefaultValue?: string | undefined;
30
31
  inputProps: Partial<{
31
32
  value: string;
32
33
  leftIcon: import("../..").InputIconProps;
package/dist/index.d.ts CHANGED
@@ -1036,6 +1036,7 @@ declare type InputFieldProps = Partial<{
1036
1036
  required: boolean;
1037
1037
  optional: boolean;
1038
1038
  defaultValue: string;
1039
+ displayOnlyInputDefaultValue?: string;
1039
1040
  inputProps: InputProps$1;
1040
1041
  styles: StylesType;
1041
1042
  labelsProps: FieldLabelsProps;
@@ -1044,7 +1045,7 @@ declare type InputFieldProps = Partial<{
1044
1045
  formData: AnyObject$1;
1045
1046
  htmlElementId: string;
1046
1047
  }>;
1047
- declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, }: InputFieldProps) => JSX.Element | null;
1048
+ declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, displayOnlyInputDefaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, }: InputFieldProps) => JSX.Element | null;
1048
1049
 
1049
1050
  declare type FieldMapperProps<T extends object> = {
1050
1051
  field: UIField$1<keyof T>;
@@ -1682,6 +1683,7 @@ interface DataConnectionAttributes {
1682
1683
  subtype?: string;
1683
1684
  fieldName: string;
1684
1685
  code: string;
1686
+ defaultValue?: string;
1685
1687
  };
1686
1688
  }
1687
1689
  interface ConditionConfigAttributes {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zealicsolutions/web-ui",
3
- "version": "0.3.100",
3
+ "version": "0.3.101",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"