@greghowe79/the-lib 0.3.5 → 0.3.6

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.
@@ -44,7 +44,8 @@ const NavigationMenu = qwik.component$(({ ariaLabel, logoComponent, listItems, a
44
44
  id: action.id,
45
45
  label: action.label ?? "",
46
46
  onClick$: action.onClick$,
47
- icon: action.icon
47
+ icon: action.icon,
48
+ variant: action.variant
48
49
  }, action.id);
49
50
  })
50
51
  })
@@ -42,7 +42,8 @@ const NavigationMenu = component$(({ ariaLabel, logoComponent, listItems, action
42
42
  id: action.id,
43
43
  label: action.label ?? "",
44
44
  onClick$: action.onClick$,
45
- icon: action.icon
45
+ icon: action.icon,
46
+ variant: action.variant
46
47
  }, action.id);
47
48
  })
48
49
  })
@@ -1,4 +1,5 @@
1
1
  import { type Component, type QRL, JSXOutput } from '@builder.io/qwik';
2
+ import { ButtonVariant } from '../button/button';
2
3
  import '@fontsource/roboto-condensed/500.css';
3
4
  export interface NavigationMenuProps {
4
5
  ariaLabel?: string;
@@ -12,6 +13,7 @@ export interface NavigationMenuProps {
12
13
  label?: string;
13
14
  onClick$?: QRL<() => void> | QRL<() => boolean> | QRL<() => Promise<void>>;
14
15
  icon?: JSXOutput | Component<unknown>;
16
+ variant?: ButtonVariant;
15
17
  }>;
16
18
  }
17
19
  export declare const NavigationMenu: Component<NavigationMenuProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greghowe79/the-lib",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "Collection of fast components for Qwik",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",