Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: group-drop-down-component-changes #97

Merged
merged 11 commits into from
Dec 19, 2023
2 changes: 2 additions & 0 deletions src/components/InputFields.res
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ let selectInput = (
~ellipsisOnly=false,
~showBtnTextToolTip=false,
~dropdownClassName="",
~descriptionOnHover=false,
(),
) => {
let accessHook = useGetAccessLevel()
Expand Down Expand Up @@ -252,6 +253,7 @@ let selectInput = (
ellipsisOnly
showBtnTextToolTip
dropdownClassName
descriptionOnHover
/>
}

Expand Down
39 changes: 17 additions & 22 deletions src/components/InputFields.resi
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ let selectInput: (
~customButtonStyle: Js.String2.t=?,
~textStyle: string=?,
~marginTop: string=?,
~customStyle: string=?,
~customStyle: Js.String2.t=?,
~searchable: bool=?,
~showBorder: bool=?,
~showToolTipOptions: bool=?,
Expand All @@ -43,16 +43,16 @@ let selectInput: (
~fixedDropDownDirection: SelectBox.direction=?,
~customButton: React.element=?,
~buttonType: Button.buttonType=?,
~dropdownCustomWidth: string=?,
~dropdownCustomWidth: Js.String2.t=?,
JeevaRamu0104 marked this conversation as resolved.
Show resolved Hide resolved
~allowButtonTextMinWidth: bool=?,
~setExtSearchString: (string => string) => unit=?,
~textStyleClass: string=?,
~setExtSearchString: ('b => string) => unit=?,
JeevaRamu0104 marked this conversation as resolved.
Show resolved Hide resolved
~textStyleClass: Js.String2.t=?,
~ellipsisOnly: bool=?,
~showBtnTextToolTip: bool=?,
~dropdownClassName: string=?,
~descriptionOnHover: bool=?,
unit,
) => React.element

let asyncSelectInput: (
~input: ReactFinalForm.fieldRenderPropsInput,
~url: Js.String2.t=?,
Expand Down Expand Up @@ -123,7 +123,7 @@ let multiSelectInput: (
~searchable: bool=?,
~showBorder: bool=?,
~optionRigthElement: React.element=?,
~customStyle: string=?,
~customStyle: Js.String2.t=?,
~customMargin: string=?,
~customButtonStyle: Js.String2.t=?,
~hideBorder: bool=?,
Expand All @@ -135,7 +135,7 @@ let multiSelectInput: (
~isHorizontal: bool=?,
~fullLength: bool=?,
~fixedDropDownDirection: SelectBox.direction=?,
~dropdownCustomWidth: string=?,
~dropdownCustomWidth: Js.String2.t=?,
~customMarginStyle: string=?,
~buttonTextWeight: string=?,
~marginTop: string=?,
Expand All @@ -154,13 +154,12 @@ let multiSelectInput: (
~leftIcon: Button.iconType=?,
~customBackColor: string=?,
~customSelectAllStyle: string=?,
~onItemSelect: (ReactEvent.Mouse.t, string) => unit=?,
~onItemSelect: (JsxEvent.Mouse.t, Js_string.t) => unit=?,
~wrapBasis: string=?,
~dropdownClassName: string=?,
~baseComponentMethod: bool => React.element=?,
unit,
) => React.element

let btnGroupInput: (
~input: ReactFinalForm.fieldRenderPropsInput,
~options: array<SelectBox.dropdownOption>,
Expand All @@ -180,11 +179,11 @@ let radioInput: (
~optionSize: CheckBoxIcon.size=?,
~isHorizontal: bool=?,
~deselectDisable: bool=?,
~customStyle: string=?,
~customStyle: Js.String2.t=?,
~baseComponentCustomStyle: string=?,
~customSelectStyle: string=?,
~fill: string=?,
~maxHeight: string=?,
~maxHeight: Js.String2.t=?,
unit,
) => React.element
let checkboxInput: (
Expand All @@ -196,14 +195,14 @@ let checkboxInput: (
~disableSelect: bool=?,
~buttonText: Js.String2.t=?,
~placeholder: 'a,
~maxHeight: string=?,
~maxHeight: Js.String2.t=?,
~searchable: bool=?,
~searchInputPlaceHolder: string=?,
~dropdownCustomWidth: string=?,
~dropdownCustomWidth: Js.String2.t=?,
~customSearchStyle: string=?,
~customLabelStyle: string=?,
~customMarginStyle: string=?,
~customStyle: string=?,
~customStyle: Js.String2.t=?,
~checkboxDimension: string=?,
~wrapBasis: string=?,
unit,
Expand Down Expand Up @@ -320,7 +319,6 @@ let multipleFileInput: (
~pointerDisable: bool=?,
unit,
) => React.element

let csvFileUploadInput: (
~input: ReactFinalForm.fieldRenderPropsInput,
~placeholder: 'a,
Expand All @@ -329,7 +327,6 @@ let csvFileUploadInput: (
~messageId: string,
unit,
) => React.element

let imageInput: (
~input: ReactFinalForm.fieldRenderPropsInput,
~placeholder: 'a,
Expand Down Expand Up @@ -394,7 +391,6 @@ let datePickerInput: (
~format: string=?,
unit,
) => React.element

let singleDatePickerInput: (
~input: ReactFinalForm.fieldRenderPropsInput,
~placeholder: 'a,
Expand All @@ -406,7 +402,7 @@ let singleDatePickerInput: (
~currentDateMinuteFormat: Js.String2.t=?,
~currentDateSecondsFormat: Js.String2.t=?,
~customButtonStyle: Js.String2.t=?,
~newThemeCustomButtonStyle: Js.String2.t=?,
~newThemeCustomButtonStyle: string=?,
~calendarContaierStyle: string=?,
~buttonSize: Button.buttonSize=?,
~showTime: bool=?,
Expand Down Expand Up @@ -559,7 +555,6 @@ let multiLineTextInput: (
~maxLength: int=?,
unit,
) => React.element

let fieldWithMessage: (
(~input: ReactFinalForm.fieldRenderPropsInput, ~placeholder: 'a) => React.element,
~input: ReactFinalForm.fieldRenderPropsInput,
Expand All @@ -581,19 +576,19 @@ let passwordCreateField: (
~leftIcon: React.element=?,
unit,
) => React.element
let passwordFieldWithCheckChips: (
let passwordFieldWithCheckWindow: (
~input: ReactFinalForm.fieldRenderPropsInput,
~placeholder: string,
~leftIcon: React.element=?,
~autoComplete: string=?,
~customStyle: string=?,
~customPaddingClass: string=?,
~customTextStyle: string=?,
~specialCharatersInfoText: Js.String2.t=?,
~specialCharatersInfoText: string=?,
~customDashboardClass: string=?,
unit,
) => React.element
let passwordFieldWithCheckWindow: (
let passwordFieldWithCheckChips: (
~input: ReactFinalForm.fieldRenderPropsInput,
~placeholder: string,
~leftIcon: React.element=?,
Expand Down
Loading
Loading