diff --git a/src/runtime/components/LinkBase.vue b/src/runtime/components/LinkBase.vue index 4a03c5d1..3634dbed 100644 --- a/src/runtime/components/LinkBase.vue +++ b/src/runtime/components/LinkBase.vue @@ -10,6 +10,7 @@ export interface LinkBaseProps { navigate?: (e: MouseEvent) => void target?: LinkProps['target'] rel?: LinkProps['rel'] + active?: boolean isExternal?: boolean } diff --git a/test/components/__snapshots__/NavigationMenu-vue.spec.ts.snap b/test/components/__snapshots__/NavigationMenu-vue.spec.ts.snap index 1294a451..baf4ffdf 100644 --- a/test/components/__snapshots__/NavigationMenu-vue.spec.ts.snap +++ b/test/components/__snapshots__/NavigationMenu-vue.spec.ts.snap @@ -12,7 +12,7 @@ exports[`NavigationMenu > renders with arrow correctly 1`] = ` -
  • +
  • @@ -62,7 +62,7 @@ exports[`NavigationMenu > renders with as correctly 1`] = `
  • -
  • +
  • @@ -106,7 +106,7 @@ exports[`NavigationMenu > renders with class correctly 1`] = `
  • -
  • +
  • @@ -149,7 +149,7 @@ exports[`NavigationMenu > renders with content orientation vertical correctly 1`
  • -
  • +
  • @@ -195,7 +195,7 @@ exports[`NavigationMenu > renders with custom slot correctly 1`] = `
  • -
  • +
  • @@ -239,7 +239,7 @@ exports[`NavigationMenu > renders with externalIcon correctly 1`] = `
  • -
  • +
  • @@ -281,7 +281,7 @@ exports[`NavigationMenu > renders with item slot correctly 1`] = `
  • -
  • +
  • @@ -321,7 +321,7 @@ exports[`NavigationMenu > renders with item-label slot correctly 1`] = `
  • -
  • +
  • @@ -365,7 +365,7 @@ exports[`NavigationMenu > renders with item-leading slot correctly 1`] = `
  • -
  • +
  • @@ -407,7 +407,7 @@ exports[`NavigationMenu > renders with item-trailing slot correctly 1`] = `
  • -
  • +
  • @@ -447,7 +447,7 @@ exports[`NavigationMenu > renders with items correctly 1`] = `
  • -
  • +
  • @@ -491,7 +491,7 @@ exports[`NavigationMenu > renders with labelKey correctly 1`] = `
  • -
  • +
  • @@ -534,7 +534,7 @@ exports[`NavigationMenu > renders with modelValue correctly 1`] = `
  • -
  • +
  • @@ -580,7 +580,7 @@ exports[`NavigationMenu > renders with neutral variant link correctly 1`] = `
  • -
  • +
  • @@ -624,7 +624,7 @@ exports[`NavigationMenu > renders with neutral variant link highlight correctly
  • -
  • +
  • @@ -668,7 +668,7 @@ exports[`NavigationMenu > renders with neutral variant link highlight neutral co
  • -
  • +
  • @@ -712,7 +712,7 @@ exports[`NavigationMenu > renders with neutral variant pill correctly 1`] = `
  • -
  • +
  • @@ -756,7 +756,7 @@ exports[`NavigationMenu > renders with neutral variant pill highlight correctly
  • -
  • +
  • @@ -800,7 +800,7 @@ exports[`NavigationMenu > renders with neutral variant pill highlight neutral co
  • -
  • +
  • @@ -937,7 +937,7 @@ exports[`NavigationMenu > renders with primary variant link correctly 1`] = `
  • -
  • +
  • @@ -981,7 +981,7 @@ exports[`NavigationMenu > renders with primary variant link highlight correctly
  • -
  • +
  • @@ -1025,7 +1025,7 @@ exports[`NavigationMenu > renders with primary variant pill correctly 1`] = `
  • -
  • +
  • @@ -1069,7 +1069,7 @@ exports[`NavigationMenu > renders with primary variant pill highlight correctly
  • -
  • +
  • @@ -1113,7 +1113,7 @@ exports[`NavigationMenu > renders with trailingIcon correctly 1`] = `
  • -
  • +
  • @@ -1157,7 +1157,7 @@ exports[`NavigationMenu > renders with ui correctly 1`] = `
  • -
  • +
  • @@ -1200,7 +1200,7 @@ exports[`NavigationMenu > renders with unmountOnHide correctly 1`] = `
  • -
  • +
  • @@ -1332,7 +1332,7 @@ exports[`NavigationMenu > renders without externalIcon correctly 1`] = `
  • -
  • +
  • diff --git a/test/components/__snapshots__/NavigationMenu.spec.ts.snap b/test/components/__snapshots__/NavigationMenu.spec.ts.snap index da6d1a9f..df40b770 100644 --- a/test/components/__snapshots__/NavigationMenu.spec.ts.snap +++ b/test/components/__snapshots__/NavigationMenu.spec.ts.snap @@ -12,7 +12,7 @@ exports[`NavigationMenu > renders with arrow correctly 1`] = `
  • -
  • +
  • @@ -62,7 +62,7 @@ exports[`NavigationMenu > renders with as correctly 1`] = `
  • -
  • +
  • @@ -106,7 +106,7 @@ exports[`NavigationMenu > renders with class correctly 1`] = `
  • -
  • +
  • @@ -149,7 +149,7 @@ exports[`NavigationMenu > renders with content orientation vertical correctly 1`
  • -
  • +
  • @@ -195,7 +195,7 @@ exports[`NavigationMenu > renders with custom slot correctly 1`] = `
  • -
  • +
  • @@ -239,7 +239,7 @@ exports[`NavigationMenu > renders with externalIcon correctly 1`] = `
  • -
  • +
  • @@ -281,7 +281,7 @@ exports[`NavigationMenu > renders with item slot correctly 1`] = `
  • -
  • +
  • @@ -321,7 +321,7 @@ exports[`NavigationMenu > renders with item-label slot correctly 1`] = `
  • -
  • +
  • @@ -365,7 +365,7 @@ exports[`NavigationMenu > renders with item-leading slot correctly 1`] = `
  • -
  • +
  • @@ -407,7 +407,7 @@ exports[`NavigationMenu > renders with item-trailing slot correctly 1`] = `
  • -
  • +
  • @@ -447,7 +447,7 @@ exports[`NavigationMenu > renders with items correctly 1`] = `
  • -
  • +
  • @@ -491,7 +491,7 @@ exports[`NavigationMenu > renders with labelKey correctly 1`] = `
  • -
  • +
  • @@ -534,7 +534,7 @@ exports[`NavigationMenu > renders with modelValue correctly 1`] = `
  • -
  • +
  • @@ -580,7 +580,7 @@ exports[`NavigationMenu > renders with neutral variant link correctly 1`] = `
  • -
  • +
  • @@ -624,7 +624,7 @@ exports[`NavigationMenu > renders with neutral variant link highlight correctly
  • -
  • +
  • @@ -668,7 +668,7 @@ exports[`NavigationMenu > renders with neutral variant link highlight neutral co
  • -
  • +
  • @@ -712,7 +712,7 @@ exports[`NavigationMenu > renders with neutral variant pill correctly 1`] = `
  • -
  • +
  • @@ -756,7 +756,7 @@ exports[`NavigationMenu > renders with neutral variant pill highlight correctly
  • -
  • +
  • @@ -800,7 +800,7 @@ exports[`NavigationMenu > renders with neutral variant pill highlight neutral co
  • -
  • +
  • @@ -937,7 +937,7 @@ exports[`NavigationMenu > renders with primary variant link correctly 1`] = `
  • -
  • +
  • @@ -981,7 +981,7 @@ exports[`NavigationMenu > renders with primary variant link highlight correctly
  • -
  • +
  • @@ -1025,7 +1025,7 @@ exports[`NavigationMenu > renders with primary variant pill correctly 1`] = `
  • -
  • +
  • @@ -1069,7 +1069,7 @@ exports[`NavigationMenu > renders with primary variant pill highlight correctly
  • -
  • +
  • @@ -1113,7 +1113,7 @@ exports[`NavigationMenu > renders with trailingIcon correctly 1`] = `
  • -
  • +
  • @@ -1157,7 +1157,7 @@ exports[`NavigationMenu > renders with ui correctly 1`] = `
  • -
  • +
  • @@ -1200,7 +1200,7 @@ exports[`NavigationMenu > renders with unmountOnHide correctly 1`] = `
  • -
  • +
  • @@ -1332,7 +1332,7 @@ exports[`NavigationMenu > renders without externalIcon correctly 1`] = `
  • -
  • +