sales-frontend-design-system 0.0.141 → 0.0.143

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.cjs.js CHANGED
@@ -4756,11 +4756,11 @@ function DatePickerDropdown({
4756
4756
  if (!dropdownProps) {
4757
4757
  return null;
4758
4758
  }
4759
- const { DropDown, classname } = dropdownProps;
4760
- if (!DropDown) {
4759
+ const { style, DropDownComponent, classname } = dropdownProps;
4760
+ if (!DropDownComponent) {
4761
4761
  return null;
4762
4762
  }
4763
- return /* @__PURE__ */ jsxRuntime.jsx(DropDown, { className: classname, children });
4763
+ return /* @__PURE__ */ jsxRuntime.jsx(DropDownComponent, { className: classname, style, children });
4764
4764
  }
4765
4765
 
4766
4766
  const DatePickerInput = (props) => {
@@ -4908,7 +4908,8 @@ function DatePickerRoot({ children, ...props }) {
4908
4908
  }
4909
4909
  };
4910
4910
  const { isOpen, setIsOpen, triggerRef, DropDown } = useDropDown({
4911
- className: mergedProps?.dropdownProps?.classname
4911
+ className: mergedProps?.dropdownProps?.classname,
4912
+ width: "304px"
4912
4913
  });
4913
4914
  const initialContext = {
4914
4915
  ...mergedProps,
@@ -4917,7 +4918,7 @@ function DatePickerRoot({ children, ...props }) {
4917
4918
  triggerRef,
4918
4919
  isOpen,
4919
4920
  setIsOpen,
4920
- DropDown
4921
+ DropDownComponent: DropDown
4921
4922
  }
4922
4923
  };
4923
4924
  React.useEffect(() => {