@greghowe79/the-lib 2.15.0 → 2.15.1

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.
@@ -37,10 +37,12 @@ const NavigationMenu = qwik.component$(({ ariaLabel, logoComponent, listItems, a
37
37
  children: logoReload ? /* @__PURE__ */ jsxRuntime.jsx("a", {
38
38
  href: `/${locale}`,
39
39
  "aria-label": "Homepage",
40
+ title: "Homepage",
40
41
  children: logoComponent && logoComponent({}, null, 0)
41
42
  }) : /* @__PURE__ */ jsxRuntime.jsx(qwikCity.Link, {
42
43
  href: `/${locale}`,
43
44
  "aria-label": "Homepage",
45
+ title: "Homepage",
44
46
  children: logoComponent && logoComponent({}, null, 0)
45
47
  })
46
48
  }),
@@ -55,6 +57,7 @@ const NavigationMenu = qwik.component$(({ ariaLabel, logoComponent, listItems, a
55
57
  href: item.href,
56
58
  target: item.target,
57
59
  rel: item.rel,
60
+ title: item.title ?? item.label,
58
61
  class: "menu-link",
59
62
  children: item.label
60
63
  })
@@ -65,6 +68,7 @@ const NavigationMenu = qwik.component$(({ ariaLabel, logoComponent, listItems, a
65
68
  class: item.class,
66
69
  children: /* @__PURE__ */ jsxRuntime.jsx("a", {
67
70
  href: item.href,
71
+ title: item.title ?? item.label,
68
72
  class: location.url.pathname === item.href ? "active" : "menu-link",
69
73
  children: item.label
70
74
  })
@@ -74,6 +78,7 @@ const NavigationMenu = qwik.component$(({ ariaLabel, logoComponent, listItems, a
74
78
  class: item.class,
75
79
  children: /* @__PURE__ */ jsxRuntime.jsx(qwikCity.Link, {
76
80
  href: item.href,
81
+ title: item.title ?? item.label,
77
82
  class: location.url.pathname === item.href ? "active" : "menu-link",
78
83
  children: item.label
79
84
  })
@@ -35,10 +35,12 @@ const NavigationMenu = component$(({ ariaLabel, logoComponent, listItems, action
35
35
  children: logoReload ? /* @__PURE__ */ jsx("a", {
36
36
  href: `/${locale}`,
37
37
  "aria-label": "Homepage",
38
+ title: "Homepage",
38
39
  children: logoComponent && logoComponent({}, null, 0)
39
40
  }) : /* @__PURE__ */ jsx(Link, {
40
41
  href: `/${locale}`,
41
42
  "aria-label": "Homepage",
43
+ title: "Homepage",
42
44
  children: logoComponent && logoComponent({}, null, 0)
43
45
  })
44
46
  }),
@@ -53,6 +55,7 @@ const NavigationMenu = component$(({ ariaLabel, logoComponent, listItems, action
53
55
  href: item.href,
54
56
  target: item.target,
55
57
  rel: item.rel,
58
+ title: item.title ?? item.label,
56
59
  class: "menu-link",
57
60
  children: item.label
58
61
  })
@@ -63,6 +66,7 @@ const NavigationMenu = component$(({ ariaLabel, logoComponent, listItems, action
63
66
  class: item.class,
64
67
  children: /* @__PURE__ */ jsx("a", {
65
68
  href: item.href,
69
+ title: item.title ?? item.label,
66
70
  class: location.url.pathname === item.href ? "active" : "menu-link",
67
71
  children: item.label
68
72
  })
@@ -72,6 +76,7 @@ const NavigationMenu = component$(({ ariaLabel, logoComponent, listItems, action
72
76
  class: item.class,
73
77
  children: /* @__PURE__ */ jsx(Link, {
74
78
  href: item.href,
79
+ title: item.title ?? item.label,
75
80
  class: location.url.pathname === item.href ? "active" : "menu-link",
76
81
  children: item.label
77
82
  })
@@ -7,6 +7,7 @@ export interface NavItem {
7
7
  target?: string;
8
8
  rel?: string;
9
9
  class?: string;
10
+ title?: string;
10
11
  }
11
12
  export interface SearchLink {
12
13
  href: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greghowe79/the-lib",
3
- "version": "2.15.0",
3
+ "version": "2.15.1",
4
4
  "description": "Collection of fast components for Qwik",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",