@zealicsolutions/web-ui 0.3.100 → 0.3.101
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/containers/types/moleculeTypes.d.ts +1 -0
- package/dist/cjs/src/molecules/InputField/InputField.d.ts +2 -1
- package/dist/cjs/src/molecules/InputField/InputField.stories.d.ts +2 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/containers/types/moleculeTypes.d.ts +1 -0
- package/dist/esm/src/molecules/InputField/InputField.d.ts +2 -1
- package/dist/esm/src/molecules/InputField/InputField.stories.d.ts +2 -1
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
@@ -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 {
|