Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
This commit is contained in:
@@ -4,10 +4,5 @@ import React from 'react';
|
||||
import * as css from './Sidebar.css';
|
||||
|
||||
export const Sidebar = as<'div'>(({ as: AsSidebar = 'div', className, ...props }, ref) => (
|
||||
<AsSidebar
|
||||
className={classNames(css.Sidebar, className)}
|
||||
data-sidebar=""
|
||||
{...props}
|
||||
ref={ref}
|
||||
/>
|
||||
<AsSidebar className={classNames(css.Sidebar, className)} data-sidebar="" {...props} ref={ref} />
|
||||
));
|
||||
|
||||
@@ -8,7 +8,12 @@ type SidebarContentProps = {
|
||||
export function SidebarContent({ scrollable, sticky }: SidebarContentProps) {
|
||||
return (
|
||||
<>
|
||||
<Box direction="Column" grow="Yes" data-sidebar-scroll-region="" style={{ overflow: 'visible', minWidth: 0 }}>
|
||||
<Box
|
||||
direction="Column"
|
||||
grow="Yes"
|
||||
data-sidebar-scroll-region=""
|
||||
style={{ overflow: 'visible', minWidth: 0 }}
|
||||
>
|
||||
{scrollable}
|
||||
</Box>
|
||||
<Box direction="Column" shrink="No" data-sidebar-sticky="" style={{ overflow: 'visible' }}>
|
||||
|
||||
@@ -11,7 +11,7 @@ export const SidebarItem = as<'div', css.SidebarItemVariants>(
|
||||
{...props}
|
||||
ref={ref}
|
||||
/>
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
export const SidebarItemBadge = as<'div', css.SidebarItemBadgeVariants>(
|
||||
@@ -21,7 +21,7 @@ export const SidebarItemBadge = as<'div', css.SidebarItemBadgeVariants>(
|
||||
{...props}
|
||||
ref={ref}
|
||||
/>
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
export function SidebarItemTooltip({
|
||||
@@ -59,7 +59,7 @@ export const SidebarAvatar = as<'div', css.SidebarAvatarVariants & ComponentProp
|
||||
{...props}
|
||||
ref={ref}
|
||||
/>
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
export const SidebarFolder = as<'div', css.SidebarFolderVariants>(
|
||||
@@ -70,7 +70,7 @@ export const SidebarFolder = as<'div', css.SidebarFolderVariants>(
|
||||
{...props}
|
||||
ref={ref}
|
||||
/>
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
export const SidebarFolderDropTarget = as<'div', css.SidebarFolderDropTargetVariants>(
|
||||
@@ -80,5 +80,5 @@ export const SidebarFolderDropTarget = as<'div', css.SidebarFolderDropTargetVari
|
||||
{...props}
|
||||
ref={ref}
|
||||
/>
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
@@ -6,5 +6,5 @@ import * as css from './Sidebar.css';
|
||||
export const SidebarStack = as<'div'>(
|
||||
({ as: AsSidebarStack = 'div', className, ...props }, ref) => (
|
||||
<AsSidebarStack className={classNames(css.SidebarStack, className)} {...props} ref={ref} />
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user