Reorganize repo structure and standards references

This commit is contained in:
david committed 2026-06-29 05:03:42 +02:00
1 parent 3cb93a81be
commit be2054274d
5885 files changed
+2588 -195

No files matched your search

@@ -0,0 +1,38 @@
"use client";
/*
* Documentation:
* Drawer — https://app.subframe.com/f023064a5ca0/library?component=Drawer_1e71b2cb-8d72-4e67-b368-8805179e9444
* Drawer Layout — https://app.subframe.com/f023064a5ca0/library?component=Drawer+Layout_2f6803ed-5ed0-4934-b093-a1a46df2d1d1
*/
import React from "react";
import { Drawer } from "../../components/Drawer";
import * as SubframeUtils from "../../utils";
export interface DrawerLayoutRootProps
extends React.ComponentProps<typeof Drawer> {
children?: React.ReactNode;
className?: string;
}
const DrawerLayoutRoot = React.forwardRef<
React.ElementRef<typeof Drawer>,
DrawerLayoutRootProps
>(function DrawerLayoutRoot(
{ children, className, ...otherProps }: DrawerLayoutRootProps,
ref
) {
return (
<Drawer className={className} ref={ref} {...otherProps}>
<Drawer.Content>
{children ? (
<div className="flex w-full grow shrink-0 basis-0 flex-col items-start gap-8">
{children}
</div>
) : null}
</Drawer.Content>
</Drawer>
);
});
export const DrawerLayout = DrawerLayoutRoot;
@@ -0,0 +1,10 @@
"use client";
import { DrawerLayout as DrawerLayoutComponent } from "./DrawerLayout";
/**
* 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 DrawerLayout = DrawerLayoutComponent;