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.js
CHANGED
|
@@ -792,16 +792,18 @@ function Navbar({
|
|
|
792
792
|
...props
|
|
793
793
|
}) {
|
|
794
794
|
const classes = [
|
|
795
|
-
"w-full
|
|
796
|
-
|
|
795
|
+
"w-full",
|
|
796
|
+
"h-16",
|
|
797
|
+
"bg-white",
|
|
798
|
+
bordered ? "border-b border-gray-200" : "",
|
|
797
799
|
sticky ? "sticky top-0" : "",
|
|
798
|
-
"flex items-center px-
|
|
800
|
+
"flex items-center px-8 gap-4",
|
|
799
801
|
"z-40",
|
|
800
802
|
className
|
|
801
803
|
].filter(Boolean).join(" ");
|
|
802
804
|
return /* @__PURE__ */ jsxs("nav", { className: classes, ...props, children: [
|
|
803
805
|
(brand || left) && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 flex-shrink-0", children: [
|
|
804
|
-
brand && /* @__PURE__ */ jsx("div", { className: "text-lg font-semibold text-
|
|
806
|
+
brand && /* @__PURE__ */ jsx("div", { className: "text-lg font-semibold text-gray-900", children: brand }),
|
|
805
807
|
left && /* @__PURE__ */ jsx("div", { children: left })
|
|
806
808
|
] }),
|
|
807
809
|
center && /* @__PURE__ */ jsx("div", { className: "flex-1 flex items-center justify-center", children: center }),
|