@ctlyst.id/internal-ui 4.1.3 → 4.1.5
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 +4 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -3001,11 +3001,6 @@ var Styles = ({ showHeader }) => {
|
|
3001
3001
|
width: 1px;
|
3002
3002
|
white-space: nowrap;
|
3003
3003
|
}
|
3004
|
-
.react-datepicker__day.react-datepicker__day--in-range.react-datepicker__day--today{
|
3005
|
-
border-radius:0px;
|
3006
|
-
border-color:transparent;
|
3007
|
-
background-color:var(--chakra-colors-primary-50);
|
3008
|
-
}
|
3009
3004
|
.react-datepicker__month-select,.react-datepicker__year-select {
|
3010
3005
|
background-color:transparent;
|
3011
3006
|
font-size:14px;
|
@@ -3099,6 +3094,9 @@ var Datepicker = ({
|
|
3099
3094
|
{
|
3100
3095
|
id: id2,
|
3101
3096
|
name,
|
3097
|
+
onChangeRaw: (e) => {
|
3098
|
+
if (props.selectsRange) e == null ? void 0 : e.preventDefault();
|
3099
|
+
},
|
3102
3100
|
selected,
|
3103
3101
|
popperModifiers: [
|
3104
3102
|
(0, import_react34.offset)(4),
|
@@ -3119,9 +3117,7 @@ var Datepicker = ({
|
|
3119
3117
|
{
|
3120
3118
|
autoComplete: "off",
|
3121
3119
|
isError,
|
3122
|
-
|
3123
|
-
if (props.selectsRange) e.preventDefault();
|
3124
|
-
},
|
3120
|
+
sx: props.selectsRange ? { caretColor: "transparent" } : {},
|
3125
3121
|
addOnRight: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_react20.InputRightElement, { alignSelf: "center", bottom: 0, flexDir: "row-reverse", width: "auto", mr: 2, gap: 2, children: [
|
3126
3122
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_internal_icon6.Calendar, { size: 4, color: "neutral.400" }),
|
3127
3123
|
value && !props.disabled && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|