Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+10
-10
@@ -1,9 +1,9 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { buttonAdapterNames, buttonAdapters } from "@toolctrl/ui/buttons";
|
||||
import { layoutAdapterNames, layoutAdapters } from "@toolctrl/ui/layout";
|
||||
import { navigationAdapterNames, navigationAdapters } from "@toolctrl/ui/navigation";
|
||||
import { buttonAdapterNames, buttonAdapters } from "@hivegrid/ui/buttons";
|
||||
import { layoutAdapterNames, layoutAdapters } from "@hivegrid/ui/layout";
|
||||
import { navigationAdapterNames, navigationAdapters } from "@hivegrid/ui/navigation";
|
||||
|
||||
describe("@toolctrl/ui button adapter contract", () => {
|
||||
describe("@hivegrid/ui button adapter contract", () => {
|
||||
it("exposes the first available button adapter targets without importing React components", () => {
|
||||
expect(buttonAdapterNames).toEqual(["Button", "buttonVariants"]);
|
||||
expect(buttonAdapters).toEqual([
|
||||
@@ -13,7 +13,7 @@ describe("@toolctrl/ui button adapter contract", () => {
|
||||
status: "available",
|
||||
source: "apps/web/app/components/ui/button.tsx",
|
||||
implementation: "shadcn/radix",
|
||||
packageExport: "@toolctrl/ui/buttons",
|
||||
packageExport: "@hivegrid/ui/buttons",
|
||||
}),
|
||||
expect.objectContaining({
|
||||
category: "buttons",
|
||||
@@ -21,13 +21,13 @@ describe("@toolctrl/ui button adapter contract", () => {
|
||||
status: "available",
|
||||
source: "apps/web/app/components/ui/button.tsx",
|
||||
implementation: "shadcn/radix",
|
||||
packageExport: "@toolctrl/ui/buttons",
|
||||
packageExport: "@hivegrid/ui/buttons",
|
||||
}),
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
describe("@toolctrl/ui shell and navigation adapter contracts", () => {
|
||||
describe("@hivegrid/ui shell and navigation adapter contracts", () => {
|
||||
it("exposes available layout adapter targets without importing React components", () => {
|
||||
expect(layoutAdapterNames).toEqual(["ShadcnSidebarLayout", "UiRegistry"]);
|
||||
expect(layoutAdapters).toEqual([
|
||||
@@ -37,7 +37,7 @@ describe("@toolctrl/ui shell and navigation adapter contracts", () => {
|
||||
status: "available",
|
||||
source: "apps/web/app/components/layouts/sidebars/shadcn/ShadcnSidebarLayout.tsx",
|
||||
implementation: "shell-layout",
|
||||
packageExport: "@toolctrl/ui/layout",
|
||||
packageExport: "@hivegrid/ui/layout",
|
||||
}),
|
||||
expect.objectContaining({
|
||||
category: "layout",
|
||||
@@ -45,7 +45,7 @@ describe("@toolctrl/ui shell and navigation adapter contracts", () => {
|
||||
status: "available",
|
||||
source: "apps/web/app/application/ui/uiRegistry.ts",
|
||||
implementation: "agent-registry",
|
||||
packageExport: "@toolctrl/ui/layout",
|
||||
packageExport: "@hivegrid/ui/layout",
|
||||
}),
|
||||
]);
|
||||
});
|
||||
@@ -71,6 +71,6 @@ describe("@toolctrl/ui shell and navigation adapter contracts", () => {
|
||||
expect.objectContaining({ name: "NavActions", source: "apps/web/app/components/layouts/sidebars/shadcn/nav-actions.tsx" }),
|
||||
expect.objectContaining({ name: "SidebarPrimitives", source: "apps/web/app/components/ui/sidebar.tsx" }),
|
||||
]);
|
||||
expect(navigationAdapters.every((adapter) => adapter.status === "available" && adapter.packageExport === "@toolctrl/ui/navigation")).toBe(true);
|
||||
expect(navigationAdapters.every((adapter) => adapter.status === "available" && adapter.packageExport === "@hivegrid/ui/navigation")).toBe(true);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user