@ctlyst.id/internal-ui 5.5.3 → 5.5.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.mjs CHANGED
@@ -2999,7 +2999,7 @@ var Datepicker = ({
2999
2999
  sx: props.selectsRange ? { caretColor: "transparent" } : {},
3000
3000
  addOnRight: /* @__PURE__ */ jsxs10(InputRightElement, { alignSelf: "center", bottom: 0, flexDir: "row-reverse", width: "auto", mr: 2, gap: 2, children: [
3001
3001
  /* @__PURE__ */ jsx27(Calendar, { size: 4, color: "neutral.400" }),
3002
- value && !props.disabled && /* @__PURE__ */ jsx27(
3002
+ value && !props.disabled && props.isClearable && /* @__PURE__ */ jsx27(
3003
3003
  IconButton4,
3004
3004
  {
3005
3005
  "data-test-id": "H0rseVCzGIaqoLho-EPbu",
@@ -3343,7 +3343,7 @@ import { FiPower } from "react-icons/fi";
3343
3343
  import { Link as Link2 } from "@chakra-ui/react";
3344
3344
  import { cx as cx9 } from "@chakra-ui/shared-utils";
3345
3345
  import { jsx as jsx34 } from "react/jsx-runtime";
3346
- var NavItem = ({ children, isActive, isChild, isDisabled, ...props }) => {
3346
+ var NavItem = ({ children, isActive, isChild, isDisabled, _hover, ...props }) => {
3347
3347
  return /* @__PURE__ */ jsx34(
3348
3348
  Link2,
3349
3349
  {
@@ -3368,7 +3368,9 @@ var NavItem = ({ children, isActive, isChild, isDisabled, ...props }) => {
3368
3368
  },
3369
3369
  _hover: isDisabled ? {} : {
3370
3370
  textDecoration: "none",
3371
- bg: isActive ? "primary.100" : "primary.50"
3371
+ bg: isActive ? "primary.100" : "primary.50",
3372
+ color: "primary.500",
3373
+ ..._hover
3372
3374
  },
3373
3375
  ...props,
3374
3376
  onClick: isDisabled ? void 0 : props.onClick,