@jsenv/navi 0.12.32 → 0.12.34

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.
@@ -15247,6 +15247,11 @@ installImportMetaCss(import.meta);import.meta.css = /* css */`
15247
15247
  &[data-disabled] > * {
15248
15248
  opacity: 0.5;
15249
15249
  }
15250
+ &[data-discrete] {
15251
+ --link-color: inherit;
15252
+ --link-text-decoration: none;
15253
+ --x-link-color: var(--link-color);
15254
+ }
15250
15255
  /* Reveal on interaction */
15251
15256
  &[data-reveal-on-interaction] {
15252
15257
  position: absolute !important;
@@ -15346,6 +15351,7 @@ const LinkPlain = props => {
15346
15351
  preventDefault,
15347
15352
  anchor,
15348
15353
  // visual
15354
+ discrete,
15349
15355
  blankTargetIcon,
15350
15356
  anchorIcon,
15351
15357
  icon,
@@ -15410,6 +15416,7 @@ const LinkPlain = props => {
15410
15416
  ,
15411
15417
  "data-anchor": anchor ? "" : undefined,
15412
15418
  "data-reveal-on-interaction": revealOnInteraction ? "" : undefined,
15419
+ "data-discrete": discrete ? "" : undefined,
15413
15420
  baseClassName: "navi_link",
15414
15421
  styleCSSVars: LinkStyleCSSVars,
15415
15422
  pseudoClasses: LinkPseudoClasses,
@@ -15819,8 +15826,7 @@ const TabRoute = ({
15819
15826
  ...props,
15820
15827
  children: jsx(RouteLink, {
15821
15828
  route: route,
15822
- underline: false,
15823
- color: "inherit",
15829
+ discrete: true,
15824
15830
  children: children
15825
15831
  })
15826
15832
  });