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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.2.51",
3
+ "version": "1.2.52",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",