@ctlyst.id/internal-ui 4.1.2 → 4.1.4

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.js CHANGED
@@ -3119,6 +3119,9 @@ var Datepicker = ({
3119
3119
  {
3120
3120
  autoComplete: "off",
3121
3121
  isError,
3122
+ onKeyPress: (e) => {
3123
+ if (props.selectsRange) e.preventDefault();
3124
+ },
3122
3125
  addOnRight: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react20.InputRightElement, { alignSelf: "center", bottom: 0, flexDir: "row-reverse", width: "auto", mr: 2, gap: 2, children: [
3123
3126
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_internal_icon6.Calendar, { size: 4, color: "neutral.400" }),
3124
3127
  value && !props.disabled && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(