@soubiran/ui 0.8.2 → 0.8.3

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.
@@ -22,6 +22,8 @@ export interface HeaderProps {
22
22
  icon: FunctionalComponent<SVGAttributes>
23
23
  label: string
24
24
  to: string
25
+ target?: string
26
+ rel?: string
25
27
  }[]
26
28
  class?: any
27
29
  ui?: Partial<typeof header.slots>
@@ -57,6 +59,8 @@ const ui = computed(() => header())
57
59
  :to="link.to"
58
60
  :aria-label="link.label"
59
61
  :icon="link.icon"
62
+ :target="link.target"
63
+ :rel="link.rel"
60
64
  :class="ui.link({ class: props.ui?.link })"
61
65
  @click="trackClick(link.label)"
62
66
  />
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@soubiran/ui",
3
3
  "type": "module",
4
- "version": "0.8.2",
4
+ "version": "0.8.3",
5
5
  "author": "Estéban Soubiran <esteban@soubiran.dev>",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/Barbapapazes",