lizaui 9.0.10 → 9.0.11

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.
@@ -669,7 +669,10 @@ const CalendarPicker = ({
669
669
  type = "date-picker",
670
670
  size = "md",
671
671
  tileContent = null,
672
- showActionButtons = true
672
+ showActionButtons = true,
673
+ dayPlaceholder = "dd",
674
+ monthPlaceholder = "mm",
675
+ yearPlaceholder = "yyyy"
673
676
  }) => {
674
677
  const [show, setShow] = useState(showCalendar);
675
678
  const inputRef = useRef(0);
@@ -772,7 +775,7 @@ const CalendarPicker = ({
772
775
  CalendarStyle,
773
776
  {
774
777
  color,
775
- className: twMerge(classNameContainer, "relative"),
778
+ className: twMerge(classNameContainer, "relative date-picker-component-container"),
776
779
  onClick: handleOpenCalendar,
777
780
  showcalendar: show.toString(),
778
781
  id: uui,
@@ -807,9 +810,9 @@ const CalendarPicker = ({
807
810
  onKeyDown,
808
811
  onKeyUp,
809
812
  onBlur,
810
- dayPlaceholder: "DD",
811
- monthPlaceholder: "MM",
812
- yearPlaceholder: "YYYY"
813
+ dayPlaceholder,
814
+ monthPlaceholder,
815
+ yearPlaceholder
813
816
  }
814
817
  ) : /* @__PURE__ */ jsx(
815
818
  DateRangePicker,
@@ -831,9 +834,9 @@ const CalendarPicker = ({
831
834
  isOpen: false,
832
835
  onKeyDown,
833
836
  onKeyUp,
834
- dayPlaceholder: "DD",
835
- monthPlaceholder: "MM",
836
- yearPlaceholder: "YYYY"
837
+ dayPlaceholder,
838
+ monthPlaceholder,
839
+ yearPlaceholder
837
840
  }
838
841
  ),
839
842
  !disabled && error ? /* @__PURE__ */ jsx(LabelError, { text: error }) : null