@greghowe79/the-lib 2.3.7 → 2.3.8

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.
@@ -90,16 +90,14 @@ const NavigationMenu = qwik.component$(({ ariaLabel, logoComponent, listItems, a
90
90
  /* @__PURE__ */ jsxRuntime.jsx("div", {
91
91
  class: "menu-right desktop-only",
92
92
  children: actions?.map((action) => {
93
- return /* @__PURE__ */ jsxRuntime.jsx("button", {
94
- style: {
95
- background: "#00758a",
96
- color: "white",
97
- padding: "0.75rem 1.5rem",
98
- borderRadius: "2rem",
99
- border: "none",
100
- cursor: "pointer"
101
- },
102
- children: action.label
93
+ return /* @__PURE__ */ jsxRuntime.jsx(button.Button, {
94
+ id: action.id,
95
+ label: action.label ?? "",
96
+ onClick$: action.onClick$,
97
+ icon: action.icon,
98
+ variant: action.variant,
99
+ ariaLabel: action.ariaLabel,
100
+ customColors: action.customColors
103
101
  }, action.id);
104
102
  })
105
103
  })
@@ -88,16 +88,14 @@ const NavigationMenu = component$(({ ariaLabel, logoComponent, listItems, action
88
88
  /* @__PURE__ */ jsx("div", {
89
89
  class: "menu-right desktop-only",
90
90
  children: actions?.map((action) => {
91
- return /* @__PURE__ */ jsx("button", {
92
- style: {
93
- background: "#00758a",
94
- color: "white",
95
- padding: "0.75rem 1.5rem",
96
- borderRadius: "2rem",
97
- border: "none",
98
- cursor: "pointer"
99
- },
100
- children: action.label
91
+ return /* @__PURE__ */ jsx(Button, {
92
+ id: action.id,
93
+ label: action.label ?? "",
94
+ onClick$: action.onClick$,
95
+ icon: action.icon,
96
+ variant: action.variant,
97
+ ariaLabel: action.ariaLabel,
98
+ customColors: action.customColors
101
99
  }, action.id);
102
100
  })
103
101
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greghowe79/the-lib",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
4
4
  "description": "Collection of fast components for Qwik",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",