hrm_ui_lib 4.0.0 → 4.0.1

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.
@@ -34,7 +34,7 @@ export interface ITimePickerProps extends TDatepickerBaseProps {
34
34
  }
35
35
  export interface IRangeDatePickerProps extends TDatepickerBaseProps {
36
36
  currentDates?: TRangePickerValues;
37
- changeHandler: (date: TRangePickerValues) => void;
37
+ changeHandler?: (date: TRangePickerValues) => void;
38
38
  maxDate?: Date | undefined;
39
39
  value?: [Date, Date];
40
40
  }
@@ -39,4 +39,5 @@ export interface InputCustomProps extends IFormCompProps, Omit<InputHTMLAttribut
39
39
  value: string;
40
40
  floatValue: number | undefined;
41
41
  }) => boolean;
42
+ allowEmptyFormatting?: boolean;
42
43
  }
@@ -19,7 +19,7 @@ export interface TRadioGroupProps extends IFormCompProps {
19
19
  label?: string | ReactElement;
20
20
  className?: string;
21
21
  isHorizontal?: boolean;
22
- selected: number | string;
22
+ selected?: number | string;
23
23
  options: TRadioOptionItem[];
24
24
  handleChange?: (selected: number | string) => void;
25
25
  required?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hrm_ui_lib",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "UI library for Dino",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
package/type/base.d.ts CHANGED
@@ -6,6 +6,7 @@ export interface IFormCompProps extends IBaseProps {
6
6
  isValid?: boolean;
7
7
  value?: TFormValue;
8
8
  onChange?: TOnChange;
9
+ placeholder?: string;
9
10
  name?: string;
10
11
  setFieldValue?: (name: string, value: TFormValue, shouldValidate?: {
11
12
  shouldValidate: boolean;