mywhy-ui 0.6.0 → 0.6.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.
- package/dist/index.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -799,16 +799,18 @@ function Navbar({
|
|
|
799
799
|
...props
|
|
800
800
|
}) {
|
|
801
801
|
const classes = [
|
|
802
|
-
"w-full
|
|
803
|
-
|
|
802
|
+
"w-full",
|
|
803
|
+
"h-16",
|
|
804
|
+
"bg-white",
|
|
805
|
+
bordered ? "border-b border-gray-200" : "",
|
|
804
806
|
sticky ? "sticky top-0" : "",
|
|
805
|
-
"flex items-center px-
|
|
807
|
+
"flex items-center px-8 gap-4",
|
|
806
808
|
"z-40",
|
|
807
809
|
className
|
|
808
810
|
].filter(Boolean).join(" ");
|
|
809
811
|
return /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: classes, ...props, children: [
|
|
810
812
|
(brand || left) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4 flex-shrink-0", children: [
|
|
811
|
-
brand && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-semibold text-
|
|
813
|
+
brand && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-semibold text-gray-900", children: brand }),
|
|
812
814
|
left && /* @__PURE__ */ jsxRuntime.jsx("div", { children: left })
|
|
813
815
|
] }),
|
|
814
816
|
center && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 flex items-center justify-center", children: center }),
|