@ctlyst.id/internal-ui 5.5.4 → 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.d.mts CHANGED
@@ -453,7 +453,7 @@ interface NavItemProps extends LinkProps, PropsWithChildren {
453
453
  'data-test-id'?: string;
454
454
  }
455
455
  declare const NavItem: {
456
- ({ children, isActive, isChild, isDisabled, ...props }: NavItemProps): react_jsx_runtime.JSX.Element;
456
+ ({ children, isActive, isChild, isDisabled, _hover, ...props }: NavItemProps): react_jsx_runtime.JSX.Element;
457
457
  displayName: string;
458
458
  defaultProps: {
459
459
  isActive: boolean;
package/dist/index.d.ts CHANGED
@@ -453,7 +453,7 @@ interface NavItemProps extends LinkProps, PropsWithChildren {
453
453
  'data-test-id'?: string;
454
454
  }
455
455
  declare const NavItem: {
456
- ({ children, isActive, isChild, isDisabled, ...props }: NavItemProps): react_jsx_runtime.JSX.Element;
456
+ ({ children, isActive, isChild, isDisabled, _hover, ...props }: NavItemProps): react_jsx_runtime.JSX.Element;
457
457
  displayName: string;
458
458
  defaultProps: {
459
459
  isActive: boolean;
package/dist/index.js CHANGED
@@ -3686,7 +3686,7 @@ var import_fi2 = require("react-icons/fi");
3686
3686
  var import_react47 = require("@chakra-ui/react");
3687
3687
  var import_shared_utils9 = require("@chakra-ui/shared-utils");
3688
3688
  var import_jsx_runtime34 = require("react/jsx-runtime");
3689
- var NavItem = ({ children, isActive, isChild, isDisabled, ...props }) => {
3689
+ var NavItem = ({ children, isActive, isChild, isDisabled, _hover, ...props }) => {
3690
3690
  return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3691
3691
  import_react47.Link,
3692
3692
  {
@@ -3711,7 +3711,9 @@ var NavItem = ({ children, isActive, isChild, isDisabled, ...props }) => {
3711
3711
  },
3712
3712
  _hover: isDisabled ? {} : {
3713
3713
  textDecoration: "none",
3714
- bg: isActive ? "primary.100" : "primary.50"
3714
+ bg: isActive ? "primary.100" : "primary.50",
3715
+ color: "primary.500",
3716
+ ..._hover
3715
3717
  },
3716
3718
  ...props,
3717
3719
  onClick: isDisabled ? void 0 : props.onClick,