Skip to content

Commit 592eb8d

Browse files
authored
Merge pull request #36 from uselagoon/disable-changefeed
Change: Adds override for changeFeed link
2 parents 9ea3721 + 6b4574c commit 592eb8d

22 files changed

+111
-96
lines changed

dist/components/RootLayout/RootLayout.cjs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/components/RootLayout/RootLayout.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ interface RootLayoutProps {
1414
documentationUrl?: string;
1515
cardProps?: AnnouncementCardProps;
1616
disableAccountLink?: boolean;
17+
disableChangeFeedLink?: boolean;
1718
}
18-
export default function RootLayout({ userInfo, appInfo, signOutFn, currentPath, children, sidenavItems, documentationUrl, cardProps, disableAccountLink, }: RootLayoutProps): import("react/jsx-dev-runtime").JSX.Element;
19+
export default function RootLayout({ userInfo, appInfo, signOutFn, currentPath, children, sidenavItems, documentationUrl, cardProps, disableAccountLink, disableChangeFeedLink, }: RootLayoutProps): import("react/jsx-dev-runtime").JSX.Element;
1920
export {};
2021
//# sourceMappingURL=RootLayout.d.ts.map

dist/components/RootLayout/RootLayout.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { jsx as e, jsxs as d } from "react/jsx-runtime";
2-
import { SidebarProvider as f } from "../ui/sidebar.es.js";
3-
import u from "../Sidenav/Sidenav.es.js";
4-
import c from "../../providers/ThemeProvider.es.js";
5-
function b({
1+
import { jsx as e, jsxs as f } from "react/jsx-runtime";
2+
import { SidebarProvider as u } from "../ui/sidebar.es.js";
3+
import c from "../Sidenav/Sidenav.es.js";
4+
import h from "../../providers/ThemeProvider.es.js";
5+
function y({
66
userInfo: r,
77
appInfo: l,
88
signOutFn: t,
@@ -11,13 +11,14 @@ function b({
1111
sidenavItems: o,
1212
documentationUrl: m,
1313
cardProps: s,
14-
disableAccountLink: n
14+
disableAccountLink: n,
15+
disableChangeFeedLink: d
1516
}) {
16-
return /* @__PURE__ */ e(c, { attribute: "class", defaultTheme: "system", enableSystem: !0, disableTransitionOnChange: !0, children: /* @__PURE__ */ e(f, { defaultOpen: !0, children: /* @__PURE__ */ d("div", { className: "flex h-screen w-full overflow-hidden", children: [
17-
/* @__PURE__ */ e(u, { userInfo: r, appInfo: l, signOutFn: t, currentPath: a, sidenavItems: o, documentationUrl: m, cardProps: s, disableAccountLink: n }),
17+
return /* @__PURE__ */ e(h, { attribute: "class", defaultTheme: "system", enableSystem: !0, disableTransitionOnChange: !0, children: /* @__PURE__ */ e(u, { defaultOpen: !0, children: /* @__PURE__ */ f("div", { className: "flex h-screen w-full overflow-hidden", children: [
18+
/* @__PURE__ */ e(c, { userInfo: r, appInfo: l, signOutFn: t, currentPath: a, sidenavItems: o, documentationUrl: m, cardProps: s, disableAccountLink: n, disableChangeFeedLink: d }),
1819
/* @__PURE__ */ e("main", { className: "flex-1 overflow-y-auto ml-0 lg:ml-[290px]", children: /* @__PURE__ */ e("div", { className: "mx-[16px]", children: i }) })
1920
] }) }) });
2021
}
2122
export {
22-
b as default
23+
y as default
2324
};

dist/components/Sidenav/Sidenav.cjs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/components/Sidenav/Sidenav.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export type SidenavProps = SidebarProps & {
2121
documentationUrl?: string;
2222
cardProps?: AnnouncementCardProps;
2323
disableAccountLink?: boolean;
24+
disableChangeFeedLink?: boolean;
2425
};
2526
export type SidebarItem = {
2627
title: string;
@@ -34,6 +35,6 @@ export type SidebarSection = {
3435
section: string;
3536
sectionItems: SidebarItem[];
3637
};
37-
export default function Sidenav({ userInfo, appInfo, currentPath, sidenavItems, signOutFn, documentationUrl, cardProps, disableAccountLink, ...props }: SidenavProps): import("react/jsx-dev-runtime").JSX.Element;
38+
export default function Sidenav({ userInfo, appInfo, currentPath, sidenavItems, signOutFn, documentationUrl, cardProps, disableAccountLink, disableChangeFeedLink, ...props }: SidenavProps): import("react/jsx-dev-runtime").JSX.Element;
3839
export {};
3940
//# sourceMappingURL=Sidenav.d.ts.map

dist/components/Sidenav/Sidenav.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)