@bccampus/ui-components 0.9.9 → 0.9.10
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.
|
@@ -3,7 +3,7 @@ import { S as Slot, a as Slottable } from "../../_chunks/index.js";
|
|
|
3
3
|
import { PageSection } from "./page-section.js";
|
|
4
4
|
function PageHeader({ children, asChild, logo, ...props }) {
|
|
5
5
|
const Comp = asChild ? Slot : "div";
|
|
6
|
-
return /* @__PURE__ */ jsx(PageSection, { py: "none", className: "sticky top-0 right-0 left-0 z-50 bg-background", ...props, children: /* @__PURE__ */ jsxs(Comp, { className: "h-page-nav
|
|
6
|
+
return /* @__PURE__ */ jsx(PageSection, { py: "none", className: "sticky top-0 right-0 left-0 z-50 bg-background", ...props, children: /* @__PURE__ */ jsxs(Comp, { className: "h-page-nav flex flex-row flex-nowrap border-b-1 border-b-complement-1-50 gap-2 sm:gap-12 justify-between items-center sm:justify-start", children: [
|
|
7
7
|
logo,
|
|
8
8
|
/* @__PURE__ */ jsx(Slottable, { children })
|
|
9
9
|
] }) });
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ function PageHeader({ children, asChild, logo, ...props }: PageHeaderProps) {
|
|
|
10
10
|
const Comp = asChild ? Root : "div";
|
|
11
11
|
return (
|
|
12
12
|
<PageSection py="none" className="sticky top-0 right-0 left-0 z-50 bg-background" {...props}>
|
|
13
|
-
<Comp className="h-page-nav
|
|
13
|
+
<Comp className="h-page-nav flex flex-row flex-nowrap border-b-1 border-b-complement-1-50 gap-2 sm:gap-12 justify-between items-center sm:justify-start">
|
|
14
14
|
{logo}
|
|
15
15
|
<Slottable>{children}</Slottable>
|
|
16
16
|
</Comp>
|
package/vite.ladle.config.ts
CHANGED
|
@@ -9,6 +9,9 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
|
9
9
|
// https://vite.dev/config/
|
|
10
10
|
export default defineConfig({
|
|
11
11
|
plugins: [react(), tailwindcss()],
|
|
12
|
+
server: {
|
|
13
|
+
allowedHosts: ["desk.sailfish-dragon.ts.net"],
|
|
14
|
+
},
|
|
12
15
|
resolve: {
|
|
13
16
|
alias: {
|
|
14
17
|
"@": path.resolve(__dirname, "./src"),
|