dfh-ui-library 1.2.51 → 1.2.52
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.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/shared/models/components/common.model.d.ts +6 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/shared/models/components/common.model.d.ts +6 -0
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
|
@@ -128,6 +128,8 @@ export interface CustomDatePickerProps {
|
|
|
128
128
|
label?: string;
|
|
129
129
|
placeHolder?: string;
|
|
130
130
|
error?: string;
|
|
131
|
+
isAdditionalErrorInput?: boolean;
|
|
132
|
+
additionalErrorClasses?: string;
|
|
131
133
|
/**
|
|
132
134
|
* Ser Error message
|
|
133
135
|
*/
|
|
@@ -161,6 +163,7 @@ export interface PhoneNumberInputProps {
|
|
|
161
163
|
label?: string | undefined;
|
|
162
164
|
additionalErrorClasses?: string;
|
|
163
165
|
isAdditionalErrorInput?: boolean;
|
|
166
|
+
name?: string;
|
|
164
167
|
}
|
|
165
168
|
export interface ModalProps {
|
|
166
169
|
children?: React.ReactNode;
|
|
@@ -231,4 +234,7 @@ export interface ButtonGroupProps {
|
|
|
231
234
|
options: string[];
|
|
232
235
|
onSelect: (selectedOption: string) => void;
|
|
233
236
|
label?: string;
|
|
237
|
+
error?: string;
|
|
238
|
+
isAdditionalErrorInput?: boolean;
|
|
239
|
+
additionalErrorClasses?: string;
|
|
234
240
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -87,6 +87,8 @@ interface CustomDatePickerProps {
|
|
|
87
87
|
label?: string;
|
|
88
88
|
placeHolder?: string;
|
|
89
89
|
error?: string;
|
|
90
|
+
isAdditionalErrorInput?: boolean;
|
|
91
|
+
additionalErrorClasses?: string;
|
|
90
92
|
/**
|
|
91
93
|
* Ser Error message
|
|
92
94
|
*/
|
|
@@ -120,6 +122,7 @@ interface PhoneNumberInputProps {
|
|
|
120
122
|
label?: string | undefined;
|
|
121
123
|
additionalErrorClasses?: string;
|
|
122
124
|
isAdditionalErrorInput?: boolean;
|
|
125
|
+
name?: string;
|
|
123
126
|
}
|
|
124
127
|
interface ModalProps {
|
|
125
128
|
children?: React.ReactNode;
|
|
@@ -190,6 +193,9 @@ interface ButtonGroupProps {
|
|
|
190
193
|
options: string[];
|
|
191
194
|
onSelect: (selectedOption: string) => void;
|
|
192
195
|
label?: string;
|
|
196
|
+
error?: string;
|
|
197
|
+
isAdditionalErrorInput?: boolean;
|
|
198
|
+
additionalErrorClasses?: string;
|
|
193
199
|
}
|
|
194
200
|
|
|
195
201
|
type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | undefined;
|