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