@ctlyst.id/internal-ui 3.5.0 → 3.5.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -2746,7 +2746,7 @@ var Datepicker = ({
|
|
2746
2746
|
const hasMultipleMonthShow = ((_b = props == null ? void 0 : props.monthsShown) != null ? _b : 1) < 2;
|
2747
2747
|
const component = /* @__PURE__ */ jsxs10(Fragment2, { children: [
|
2748
2748
|
/* @__PURE__ */ jsx27(styles_default, { showHeader: !hasMultipleMonthShow }),
|
2749
|
-
/* @__PURE__ */ jsx27(
|
2749
|
+
/* @__PURE__ */ jsx27(field_default, { label, isRequired, isError, children: /* @__PURE__ */ jsx27(
|
2750
2750
|
ReactDatePicker,
|
2751
2751
|
{
|
2752
2752
|
id: id2,
|
@@ -2769,8 +2769,6 @@ var Datepicker = ({
|
|
2769
2769
|
customInput: /* @__PURE__ */ jsx27(
|
2770
2770
|
input_field_default,
|
2771
2771
|
{
|
2772
|
-
label,
|
2773
|
-
isRequired,
|
2774
2772
|
autoComplete: "off",
|
2775
2773
|
isError,
|
2776
2774
|
addOnRight: /* @__PURE__ */ jsxs10(InputRightElement, { alignSelf: "center", bottom: 0, flexDir: "row-reverse", width: "auto", mr: 2, gap: 2, children: [
|
@@ -2805,7 +2803,7 @@ var Datepicker = ({
|
|
2805
2803
|
...getTimeProps(),
|
2806
2804
|
...props
|
2807
2805
|
}
|
2808
|
-
)
|
2806
|
+
) })
|
2809
2807
|
] });
|
2810
2808
|
if (props.inline) {
|
2811
2809
|
return component;
|