sales-frontend-components 0.0.69 → 0.0.70

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/index.d.ts CHANGED
@@ -14,7 +14,7 @@ declare const FormDatePicker: <TFormValues extends FieldValues>({ name, control,
14
14
 
15
15
  declare const FormDateRangePicker: <TFormValues extends FieldValues>({ name, control, disabled, defaultValue, ...props }: Pick<UseControllerProps<TFormValues>, "name" | "control" | "disabled" | "defaultValue"> & DatePickerRangeHtmlProps) => react_jsx_runtime.JSX.Element;
16
16
 
17
- declare const FormSearchJobField: <TFormValues extends FieldValues>({ name, control, disabled, rootProps, error, size, placeholder, ...props }: Pick<UseControllerProps<TFormValues>, "name" | "control" | "disabled"> & FormField.TextFieldProps & {
17
+ declare const FormSearchJobField: <TFormValues extends FieldValues>({ name, control, disabled, error, size, placeholder, ...props }: Pick<UseControllerProps<TFormValues>, "name" | "control" | "disabled"> & FormField.TextFieldProps & {
18
18
  onValueChange?: (value?: OccupationResponseDto) => void;
19
19
  }) => react_jsx_runtime.JSX.Element;
20
20
 
package/dist/index.esm.js CHANGED
@@ -648,7 +648,6 @@ const FormSearchJobField = ({
648
648
  name,
649
649
  control,
650
650
  disabled,
651
- rootProps,
652
651
  error,
653
652
  size = "medium",
654
653
  placeholder = "\uC9C1\uC885 \uAC80\uC0C9",
@@ -666,21 +665,16 @@ const FormSearchJobField = ({
666
665
  }, [selectedJob]);
667
666
  return /* @__PURE__ */ jsxs(Fragment, { children: [
668
667
  /* @__PURE__ */ jsx(
669
- FormField.TextField,
668
+ FormField.ComboBox,
670
669
  {
671
670
  ...props,
672
671
  ...field,
673
672
  id: field.name,
674
673
  error: fieldState.invalid || error,
675
674
  value: selected?.occupationIndustryName ?? "",
676
- rootProps: {
677
- ...rootProps,
678
- endElement: /* @__PURE__ */ jsx(Icon, { name: "sub-ui/search" })
679
- },
680
- readOnly: true,
675
+ icon: "search",
681
676
  size,
682
677
  placeholder,
683
- style: { background: "#fff", cursor: "pointer" },
684
678
  autoComplete: "off",
685
679
  onClick: openJobSearchModal
686
680
  }