@soubiran/ui 0.8.3 → 0.8.4

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