@odx/websites-react 1.1.74 → 1.1.75

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.
@@ -5,7 +5,7 @@ const navigationLinkClasses = `
5
5
  flex items-center gap-4
6
6
  outline outline-1 -outline-offset-1 outline-transparent
7
7
  pr-px transition-colors
8
- text-interactions-brand hover:text-interactions-brand-hover active:font-semibold focus-within:outline-border-accent
8
+ text-interactions-brand hover:text-interactions-brand-hover visited:text-interactions-brand-visited focus-within:outline-border-accent
9
9
  `;
10
10
  export const NavigationLink = ({ children, elementLeft, elementRight, isActive, disabled, LinkComponent = 'a', className, ...linkProps }) => (_jsx(BodyText, { asChild: true, weight: isActive ? 'bold' : undefined, children: _jsxs(LinkComponent, { ...linkProps, "aria-disabled": disabled, tabIndex: disabled ? -1 : 0, href: disabled ? undefined : linkProps.href, className: cn(navigationLinkClasses, disabled && 'text-interactions-brand-disabled pointer-events-none', className), children: [elementLeft, _jsx("span", { className: "grow", children: children }), elementRight] }) }));
11
11
  //# sourceMappingURL=FlyoutLink.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@odx/websites-react",
3
3
  "author": "Drägerwerk AG & Co. KGaA",
4
- "version": "1.1.74",
4
+ "version": "1.1.75",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "description": "ODX React component library for websites",
7
7
  "type": "module",