Track HiveGrid Cloud planning reference

This commit is contained in:
david committed 2026-06-26 20:48:01 +02:00
1 parent b3d5ea6764
commit e341c5938a
5784 files changed
+1104929 -3

No files matched your search

@@ -0,0 +1,49 @@
"use client";
/*
* Documentation:
* Kanban Subbar — https://app.subframe.com/f023064a5ca0/library?component=Kanban+Subbar_75a855a6-3419-4c84-97bd-540dd2f180a4
*/
import React from "react";
import * as SubframeUtils from "../../utils";
export interface KanbanSubbarRootProps
extends React.HTMLAttributes<HTMLDivElement> {
header?: React.ReactNode;
badge?: React.ReactNode;
children?: React.ReactNode;
className?: string;
}
const KanbanSubbarRoot = React.forwardRef<
HTMLDivElement,
KanbanSubbarRootProps
>(function KanbanSubbarRoot(
{ header, badge, children, className, ...otherProps }: KanbanSubbarRootProps,
ref
) {
return (
<div
className={SubframeUtils.twClassNames(
"flex w-full flex-col items-start gap-4 bg-surface-neutral-secondary px-4 py-4",
className
)}
ref={ref}
{...otherProps}
>
<div className="flex items-center gap-4 px-2 py-1">
{header ? (
<span className="text-body-large-0 font-body-large-0 text-text-neutral-primary">
{header}
</span>
) : null}
{badge ? <div className="flex items-center gap-4">{badge}</div> : null}
</div>
{children ? (
<div className="flex w-full flex-col items-start gap-2">{children}</div>
) : null}
</div>
);
});
export const KanbanSubbar = KanbanSubbarRoot;
@@ -0,0 +1,10 @@
"use client";
import { KanbanSubbar as KanbanSubbarComponent } from "./KanbanSubbar";
/**
* Add wrapper components and business logic here.
* If you modify this file, disable Subframe sync for it to prevent overwrites.
* Learn more: https://docs.subframe.com/concepts/syncing-components#wrapping-components
*/
export const KanbanSubbar = KanbanSubbarComponent;